{
  "openapi": "3.1.0",
  "info": {
    "title": "AppPortal Ops Console browser API",
    "version": "1.0.0",
    "description": "Exact same-origin browser route and method contract. Internal service endpoints, Client API ingestion, provider callbacks outside this surface, and arbitrary proxy paths are intentionally excluded."
  },
  "servers": [
    {
      "url": "/",
      "description": "The frontend and its owning BFF share one origin."
    }
  ],
  "tags": [
    {
      "name": "admin"
    },
    {
      "name": "session"
    }
  ],
  "paths": {
    "/api/admin/bff/session": {
      "get": {
        "operationId": "adminGetApiAdminBffSession",
        "summary": "Read optional current staff browser-session summary",
        "tags": [
          "session"
        ],
        "security": [
          {},
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "optional-browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual optional native session projection; false/null preserved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBrowserSession"
                }
              }
            }
          }
        },
        "description": "Authenticate the opaque server-owned cookie; missing session returns authenticated:false, not401. Expired/unusable existing cookie is signed out and both browser cookies are removed; current summary still returns200. operator/operatorId are nullable native projection fields. entraEnabled is configuration availability, not successful provider authorization; devLoginEnabled is alwaysfalse in Release and actual configured DEBUG capability otherwise. Token refresh/group revalidation remains server-owned, fails closed and never exposes provider tokens.",
        "x-appportal-current-authority": "Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.",
        "x-appportal-contract-group": "browser-session",
        "x-appportal-preserved-native-protocol": true,
        "parameters": []
      }
    },
    "/api/admin/bff/login": {
      "get": {
        "operationId": "adminGetApiAdminBffLogin",
        "summary": "Start native Microsoft Entra staff sign-in",
        "tags": [
          "session"
        ],
        "security": [],
        "x-appportal-authentication": "anonymous",
        "x-appportal-csrf": false,
        "responses": {
          "302": {
            "description": "Configured native provider challenge; no JSON session/token body.",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native authentication redirect, not an API credential."
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                },
                "description": "Opaque server ticket/correlation/nonce cookies when applicable; provider tokens remain server-owned."
              }
            }
          },
          "403": {
            "description": "Existing cookie plus cross-site sign-in request denied; bodyless native403."
          },
          "503": {
            "description": "Microsoft Entra sign-in is not configured; actual native Problem response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Native authorization-code challenge with PKCE and select_account; openid/profile/email/offline_access/User.Read scopes. Four required server configuration values enable OIDC, not a customer query or role. Optional native string returnUrl is accepted only when nonblank, starts with slash and not double slash; otherwise slash fallback. Existing opaque session is revoked before challenge so callback cannot renew its old handle. With a session cookie, cross-site login rejects403. This endpoint is navigation/redirect, not JSON login or an access-token response.",
        "x-appportal-current-authority": "Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.",
        "x-appportal-contract-group": "browser-session",
        "x-appportal-preserved-native-protocol": true,
        "parameters": [
          {
            "name": "returnUrl",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Native optional local return candidate; no new query-count/length grammar is imposed by metadata."
          }
        ]
      }
    },
    "/api/admin/bff/logout": {
      "post": {
        "operationId": "adminPostApiAdminBffLogout",
        "summary": "Revoke native staff browser-session cookie",
        "tags": [
          "session"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Native cookie/ticket cleanup completed; no body."
          },
          "403": {
            "description": "Cross-site unsafe request or authenticated session CSRF mismatch; explicit RFC9457 management problem with preserved public error alias. Successful cookie cleanup and native OIDC callbacks remain unchanged.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBrowserMutationError"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Same-origin native POST signs out the server cookie/ticket and deletes session+CSRF cookies, returning204 with no body or redirect. Normal authenticated browser use requires matching CSRF header/cookie/current ticket claim hash; cross-site unsafe requests reject403. Cross-site detection uses Sec-Fetch-Site first. Outside Development, Origin is compared with the effective forwarded scheme/authority; Development retains Vite proxy Origin compatibility. Authenticated-cookie CSRF validation still applies. The handler also permits same-origin anonymous cookie cleanup without granting a session; no blanket new anonymous business-mutation policy is introduced. No body, Idempotency-Key, access token, session-version header or provider logout/credential revocation is invented.",
        "x-appportal-current-authority": "Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.",
        "x-appportal-contract-group": "browser-session",
        "x-appportal-preserved-native-protocol": true,
        "parameters": []
      }
    },
    "/api/admin/bff/signin-oidc": {
      "get": {
        "operationId": "adminGetApiAdminBffSigninOidc",
        "summary": "Complete native Entra staff authorization-code callback",
        "tags": [
          "session"
        ],
        "security": [],
        "x-appportal-authentication": "anonymous",
        "x-appportal-csrf": false,
        "responses": {
          "302": {
            "description": "Native successful sign-in redirect or fixed handled Entra failure redirect; not JSON success.",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native authentication redirect, not an API credential."
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                },
                "description": "Opaque server ticket/correlation/nonce cookies when applicable; provider tokens remain server-owned."
              }
            }
          },
          "404": {
            "description": "No configured native OIDC handler; ordinary unmatched-route behavior, not a JSON callback implementation."
          },
          "default": {
            "description": "Other native authentication/framework failure retains its existing protocol; no RFC/JSON replacement is promised."
          }
        },
        "description": "Consumed by the configured ASP.NET OpenIdConnect handler, not an ordinary JSON business endpoint. GET query or POST form_post values remain native protocol. Protected state, nonce/correlation cookie, code, issuer/audience/lifetime, PKCE and configured operator-group enrichment own acceptance. Cross-site POST is deliberately exempt ONLY at the exact callback path; business CSRF header is not required here. Success redirects to the authentication return path and writes a new opaque cookie; provider/state/group failure uses native OnRemoteFailure redirect /?authError=entra-login-failed. It never returns browser access/refresh tokens. When OIDC is not configured the callback is not an active handler; no successful session is invented.",
        "x-appportal-current-authority": "Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.",
        "x-appportal-contract-group": "browser-session",
        "x-appportal-preserved-native-protocol": true,
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned."
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned."
          },
          {
            "name": "error",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned."
          },
          {
            "name": "error_description",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned."
          },
          {
            "name": "session_state",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminBffSigninOidc",
        "summary": "Complete native Entra staff authorization-code callback",
        "tags": [
          "session"
        ],
        "security": [],
        "x-appportal-authentication": "anonymous",
        "x-appportal-csrf": false,
        "responses": {
          "302": {
            "description": "Native successful sign-in redirect or fixed handled Entra failure redirect; not JSON success.",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native authentication redirect, not an API credential."
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                },
                "description": "Opaque server ticket/correlation/nonce cookies when applicable; provider tokens remain server-owned."
              }
            }
          },
          "404": {
            "description": "No configured native OIDC handler; ordinary unmatched-route behavior, not a JSON callback implementation."
          },
          "default": {
            "description": "Other native authentication/framework failure retains its existing protocol; no RFC/JSON replacement is promised."
          }
        },
        "description": "Consumed by the configured ASP.NET OpenIdConnect handler, not an ordinary JSON business endpoint. GET query or POST form_post values remain native protocol. Protected state, nonce/correlation cookie, code, issuer/audience/lifetime, PKCE and configured operator-group enrichment own acceptance. Cross-site POST is deliberately exempt ONLY at the exact callback path; business CSRF header is not required here. Success redirects to the authentication return path and writes a new opaque cookie; provider/state/group failure uses native OnRemoteFailure redirect /?authError=entra-login-failed. It never returns browser access/refresh tokens. When OIDC is not configured the callback is not an active handler; no successful session is invented.",
        "x-appportal-current-authority": "Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.",
        "x-appportal-contract-group": "browser-session",
        "x-appportal-preserved-native-protocol": true,
        "parameters": [],
        "requestBody": {
          "required": false,
          "description": "Native provider form response; no JSON DTO or client completion flag.",
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/capacity": {
      "get": {
        "operationId": "adminGetApiAdminAdminCapacity",
        "summary": "Read current capacity and recorded billing evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized read response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CapacityQueuePage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid filters/page; capacity_query_invalid. Native code: capacity_query_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "capacity_query_invalid"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independent current PlatformOperator authority is required; a customer role is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Complete legacy collection exceeds100 records; use the same /page cursor resource. Native code: operations_pagination_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_pagination_required"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Capacity evidence unavailable; no zero usage is inferred. Native code: capacity_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "capacity_unavailable"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Read-only staff evidence. Nullable used/limit/observed values, units, observation windows, coverage and reasons remain distinct from a factual zero. Recorded credit, grace and telemetryEnforcement fields report their actual sources; they do not authorize a charge or establish live enforcement. The ranking is the actual bounded queue, not an invented total population. A dependency failure returns 503 capacity_unavailable without successful zero-usage rows. Legacy numbered pages are sliced only after the same priority reader proves the complete filtered collection fits100; overflow409 operations_pagination_required directs /capacity/page. This bounded capture does not promise an immutable cross-request population.",
        "x-appportal-current-authority": "Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.",
        "deprecated": true,
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200,
              "x-appportal-max-utf16-code-units": 200
            },
            "description": "Optional search, at most 200 UTF-16 code units."
          },
          {
            "name": "plan",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100,
              "x-appportal-max-utf16-code-units": 100
            },
            "description": "Optional selected plan filter, at most 100 UTF-16 code units."
          },
          {
            "name": "risk",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all",
              "enum": [
                "all",
                "payment-attention",
                "over-limit",
                "at-limit",
                "approaching",
                "within-limit",
                "unavailable"
              ]
            },
            "description": "Exact current risk selector; unknown/case-changed values are rejected."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 1,
              "minimum": 1,
              "maximum": 100000
            },
            "description": "One-based page; this endpoint rejects rather than clamps an invalid page."
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Requested page size; invalid values are rejected."
          }
        ]
      }
    },
    "/api/admin/admin/tenants": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenants",
        "summary": "Read the legacy bounded staff account directory",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized read response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsLegacyAccountDirectory"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid HTTP-bound input; the framework may return a problem or no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independent current PlatformOperator authority is required; a customer role is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Complete legacy collection exceeds100 records; use the same /page cursor resource. Native code: operations_pagination_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_pagination_required"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Directory source unavailable; no successful empty capture is fabricated. Native code: operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_page_unavailable"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Identity-owned account directory plus the actual organizationAdmissionWorkflowEnabled flag. Successful store reads normalize page to at least 1 and clamp pageSize to 1–100. kind uses the existing case-insensitive Enum.TryParse, including its numeric forms; an unparseable selector is ignored. A complete SQL capture of at most100 matching accounts preserves original identifier ordering and small numbered pages; total is exact for that capture. Overflow409 operations_pagination_required directs to the protected account page route. Source failure503 operations_page_unavailable is never a fabricated empty directory.",
        "x-appportal-current-authority": "Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.",
        "deprecated": true,
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional legacy search."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 1,
              "x-appportal-normalized-minimum": 1
            },
            "description": "One-based page, normalized to at least one on the successful store path."
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "x-appportal-clamped-minimum": 1,
              "x-appportal-clamped-maximum": 100
            },
            "description": "Legacy successful store path clamps the page size; it does not reject out-of-range integers."
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Existing case-insensitive enum parser; an unparseable value does not filter."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/provision": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsProvision",
        "summary": "Provision an ownerless pending organization record",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationAdmissionProvisionResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "enterprise_customer_missing: the supplied Enterprise customer ID was not found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "The customer’s Enterprise offer is pending or its organization limit has been reached.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires the independently enabled organization-admission workflow, current operator authorization and actual name/canonical-slug/reason validation. Creates a Pending decision and directory target with the actual transaction-owned initial Free-account offering pin; creates no organization membership or owner. The pin is not an admitted-organization decision or a provider charge. Native OrganizationAdmissionException validation is403, not an invented400 success policy; malformed JSON still follows the binder. An optional Enterprise customer ID records the relationship in the same transaction.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProvisionPendingOrganizationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/enterprise-customer": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdEnterpriseCustomer",
        "summary": "Read the organization’s Enterprise customer",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnterpriseCustomerSummary"
                }
              }
            }
          },
          "204": {
            "description": "No linked customer."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns 204 when there is no linked customer.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          }
        ]
      }
    },
    "/api/admin/admin/enterprise-customers/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminEnterpriseCustomersPage",
        "summary": "List Enterprise customers",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEnterpriseCustomerPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "enterprise_customer_invalid: use a bounded query and the original protected continuation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Search customer names and continue the selected page with the protected cursor.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "description": "Optional customer name search."
          }
        ]
      }
    },
    "/api/admin/admin/enterprise-customers/{customerId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminEnterpriseCustomersCustomerId",
        "summary": "Read an Enterprise customer",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnterpriseCustomerSummary"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Reads the customer by its exact identifier under current operator authority.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminEnterpriseCustomersCustomerId",
        "summary": "Register an Enterprise customer",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnterpriseCustomerSummary"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Retry the same identifier with the same name. Registration records an audit reason automatically when none is supplied.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterEnterpriseCustomerRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/enterprise-customers/{customerId}/organizations/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminEnterpriseCustomersCustomerIdOrganizationsPage",
        "summary": "List organizations for an Enterprise customer",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEnterpriseOrganizationPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "enterprise_customer_invalid: use a bounded query and the original protected continuation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns linked organizations, the offer limit and the number of slots reserved by requests awaiting review. A pending offer has a null limit.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          }
        ]
      }
    },
    "/api/admin/admin/enterprise-customers/{customerId}/organizations/{tenantId}": {
      "put": {
        "operationId": "adminPutApiAdminAdminEnterpriseCustomersCustomerIdOrganizationsTenantId",
        "summary": "Link an existing organization",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Successful operation; no response body."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Links an active organization to the selected customer and records the reason. Organization admission, billing and access are governed separately.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkEnterpriseOrganizationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/enterprise-customers/{customerId}/administrators/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminEnterpriseCustomersCustomerIdAdministratorsPage",
        "summary": "List Enterprise customer administrators",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEnterpriseAdministratorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "enterprise_customer_invalid: use a bounded query and the original protected continuation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns customer administration grants and the current state of the associated AppPortal accounts.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          }
        ]
      }
    },
    "/api/admin/admin/enterprise-customers/{customerId}/administrators/{userId}": {
      "put": {
        "operationId": "adminPutApiAdminAdminEnterpriseCustomersCustomerIdAdministratorsUserId",
        "summary": "Grant or revoke Enterprise customer administration",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Successful operation; no response body."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires an explicit enabled decision and reason. Grants apply to the commercial relationship.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The existing AppPortal account ID."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetEnterpriseCustomerAdministratorRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/branding": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdBranding",
        "summary": "Read organization marketing permission and bounded use history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationBrandingWorkspace"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "Existing private/no-store owning response."
              }
            }
          },
          "400": {
            "description": "Invalid actor/reason; organization_branding_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing organization/logo; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Legacy beforeRevision or history overflow operations_pagination_required; current native branding target/permission conflict organization_branding_conflict remains distinct.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Legacy complete-within100 branding workspace; original permission/logoAvailable/history/nextBeforeRevision JSON remains. Any supplied numeric beforeRevision409operations_pagination_required; another history row beyond100 also409. A complete successful response has nextBeforeRevision:null, not a fabricated continuation or population. Permission is reread after logo/history access, and the read is audited. Current verified default permission is not a new explicit customer grant. Use /page for protected limit/cursor history traversal; personal scope409/missing organization404 retain native branding semantics.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "deprecated": true,
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          },
          {
            "name": "beforeRevision",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "description": "Legacy numeric binding remains recognized, but any supplied value409; use /page."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/app-data-bindings": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAppDataBindings",
        "summary": "Read configured application data routes",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDataBindingVisibilityPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid visibility query/continuation; app_data_binding_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: the selection does not identify exactly one organization. No binding inventory was read.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Configuration read unavailable; app_data_binding_unavailable. No successful empty page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Read-only persisted configuration, not a provider probe or current routing guarantee: statusBasis is configuration. enterpriseAuthorized, registered provider capabilities, configuredStatus, effectiveRoute and revisions retain their actual independent meaning. Unknown/unregistered provider configuration is not fabricated reachable/zero evidence. No host, connection string, secret reference or raw provider diagnostic is exposed. Closed limit/cursor query; default25/max50; protected cursor binds operator, canonical account, limit and ordering (actual expiry30minutes). Missing, ambiguous or non-organization selection returns 404 before any binding read. Successful reads are audited.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 50
            },
            "description": "One decimal integer; unknown/repeated query names rejected."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation from the preceding response; no authority or total count."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/regulated-workload": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdRegulatedWorkload",
        "summary": "Read current regulated-workload policy evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegulatedWorkloadStatus"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "Existing private/no-store owning response."
              }
            }
          },
          "400": {
            "description": "Invalid selector/strict body/key; regulated_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Existing account-operation boundary can reject a missing account; the native missing-account error remains distinct from current policy evidence. Its exact code is retained in the response schema metadata.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem",
                  "x-appportal-native-error-codes": [
                    "tenant-not-found"
                  ]
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "x-appportal-native-error-codes": [
                    "tenant-not-found"
                  ]
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current command/revision/acknowledgment/binding conflict: regulated_command_conflict, regulated_revision_conflict, regulated_acknowledgement_required or regulated_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Existing account-operation policy locks ordinary reads/approval on held/inactive scope; revoke retains its safety policy.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Policy/source/recorded receipt unavailable; regulated_workload_unavailable. Unknown is not current approval.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Optional single appId<=200, trimmed/control-free; unknown/repeated selectors400. Current staff authorization/account-operation policy and source binding snapshot are checked; read audited. Revision0/NotApproved and nullable currentBindingAcknowledgement are actual stored/current evidence. An acknowledgment does not grant approval. Approved policy is durable evidence, not certification of usable provider credentials or cloud ownership.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          },
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Optional exact application selector; absence selects the organization-wide policy."
          }
        ]
      }
    },
    "/api/admin/admin/legal/accounts/{subjectUserId}/history": {
      "get": {
        "operationId": "adminGetApiAdminAdminLegalAccountsSubjectUserIdHistory",
        "summary": "Read retained account acceptance history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyAcceptanceHistoryPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "legal_history_selection_invalid or legal_history_cursor_invalid: closed selection/account-subject/continuation invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "legal_history_unavailable or legal_history_integrity_unavailable; unavailable is not empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns recorded policy acceptances newest first by actedAt, then evidenceId. Reuse the cursor with the same account, scope and page size. Invalid, repeated or unknown parameters return 400. The total is unknown and an empty page establishes no acceptance. History or integrity failures return 503. Select the account or organization in the path. History may include deleted accounts or organizations. Requires the Operations session and PlatformOperator permission.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "subjectUserId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected subjectUserId; no membership or authority grant."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 25
            },
            "description": "One invariant unsigned decimal page size; not clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            "description": "One unchanged protected cursor, already trimmed and control-free; no cursor grants authority."
          }
        ]
      }
    },
    "/api/admin/admin/legal/organizations/{tenantId}/history": {
      "get": {
        "operationId": "adminGetApiAdminAdminLegalOrganizationsTenantIdHistory",
        "summary": "Read retained organization acceptance history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyAcceptanceHistoryPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "legal_history_selection_invalid or legal_history_cursor_invalid: closed selection/account-subject/continuation invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "legal_history_unavailable or legal_history_integrity_unavailable; unavailable is not empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns recorded policy acceptances newest first by actedAt, then evidenceId. Reuse the cursor with the same account, scope and page size. Invalid, repeated or unknown parameters return 400. The total is unknown and an empty page establishes no acceptance. History or integrity failures return 503. Select the account or organization in the path. History may include deleted accounts or organizations. Requires the Operations session and PlatformOperator permission.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 25
            },
            "description": "One invariant unsigned decimal page size; not clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            "description": "One unchanged protected cursor, already trimmed and control-free; no cursor grants authority."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/regulated-workload/approve": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdRegulatedWorkloadApprove",
        "summary": "Record exact reviewed regulated approval",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsRegulatedCommandReceipt"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "Existing private/no-store owning response."
              }
            }
          },
          "400": {
            "description": "Invalid selector/strict body/key; regulated_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Existing account-operation boundary can reject a missing account; the native missing-account error remains distinct from current policy evidence. Its exact code is retained in the response schema metadata.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem",
                  "x-appportal-native-error-codes": [
                    "tenant-not-found"
                  ]
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "x-appportal-native-error-codes": [
                    "tenant-not-found"
                  ]
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current command/revision/acknowledgment/binding conflict: regulated_command_conflict, regulated_revision_conflict, regulated_acknowledgement_required or regulated_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "Body exceeds the owning byte limit; payload_too_large.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Not a JSON media type recognized by the existing reader; unsupported_media_type.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Existing account-operation policy locks ordinary reads/approval on held/inactive scope; revoke retains its safety policy.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Policy/source/recorded receipt unavailable; regulated_workload_unavailable. Unknown is not current approval.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "ExpectedRevision>=0, trimmed/control-free agreementReference<=256 and acknowledgementId<=40. Exact current customer acknowledgment must match current binding revision/fingerprint, notice versions, ownership/responsibility/US-processing acknowledgments and selected object generation where present. Updates durable approval policy/audit; it does not contact a provider or verify cloud ownership. Single exact trimmed/control-free command key1..200 binds account/app/actor/action/intent. Current authority is rechecked on replay; changed key reuse409. Returns receiptId/replayed/recordedOutcome. A replayed old approved outcome is not fresh current approval; use GET for current state. No query accepted. Owning JSON reader permits recognized JSON media types, at most8192UTF-8 body bytes, depth8, exact case-sensitive property names and required constructor fields (nullable appId still must be present). Unknown members and recursive duplicate names even with different casing reject400; numeric-string Web behavior remains native.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-body-max-bytes": 8192,
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "One exact nonblank key retained without trimming and required already trimmed; no controls/repeated values."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveRegulatedWorkloadRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveRegulatedWorkloadRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/regulated-workload/revoke": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdRegulatedWorkloadRevoke",
        "summary": "Revoke the current regulated approval",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsRegulatedCommandReceipt"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "Existing private/no-store owning response."
              }
            }
          },
          "400": {
            "description": "Invalid selector/strict body/key; regulated_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Existing account-operation boundary can reject a missing account; the native missing-account error remains distinct from current policy evidence. Its exact code is retained in the response schema metadata.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem",
                  "x-appportal-native-error-codes": [
                    "tenant-not-found"
                  ]
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "x-appportal-native-error-codes": [
                    "tenant-not-found"
                  ]
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current command/revision/acknowledgment/binding conflict: regulated_command_conflict, regulated_revision_conflict, regulated_acknowledgement_required or regulated_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "Body exceeds the owning byte limit; payload_too_large.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Not a JSON media type recognized by the existing reader; unsupported_media_type.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Existing account-operation policy locks ordinary reads/approval on held/inactive scope; revoke retains its safety policy.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Policy/source/recorded receipt unavailable; regulated_workload_unavailable. Unknown is not current approval.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "ExpectedRevision>0 and nonblank/trimmed/control-free reason<=1000. Current revision required; revocation retains storageRequired:true, original agreement/approval evidence and increments policy revision. Existing revoke-access policy allows safety revocation where ordinary inactive-account reads/approval are locked. Single exact trimmed/control-free command key1..200 binds account/app/actor/action/intent. Current authority is rechecked on replay; changed key reuse409. Returns receiptId/replayed/recordedOutcome. A replayed old approved outcome is not fresh current approval; use GET for current state. No query accepted. Owning JSON reader permits recognized JSON media types, at most8192UTF-8 body bytes, depth8, exact case-sensitive property names and required constructor fields (nullable appId still must be present). Unknown members and recursive duplicate names even with different casing reject400; numeric-string Web behavior remains native.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-body-max-bytes": 8192,
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "One exact nonblank key retained without trimming and required already trimmed; no controls/repeated values."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeRegulatedWorkloadRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RevokeRegulatedWorkloadRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/app-data-bindings/test-connection": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdAppDataBindingsTestConnection",
        "summary": "Probe only the current configured data connection",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDataBindingConnectionResult"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current configuration, revision, secret or command changed; app_data_binding_changed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query or replacement credential accepted. Optional appId selects the existing exact binding. The current secret and supported provider are resolved server-side and actual connectivity tested under an existing bounded deadline, with fresh authority/configuration/secret rechecks and audited outcome. Reachable is one checkedAt observation, not permanent health. Missing binding404, changed binding/secret409, unavailable provider/secret/dependency503. Provider diagnostics and connection details are not returned.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestAppDataBindingConnectionRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/app-data-bindings/scope": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAppDataBindingsScope",
        "summary": "Read one application data configuration scope",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDataBindingScope"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current configuration, revision, secret or command changed; app_data_binding_changed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Only optional appId accepted once (<=1024, nonblank when supplied). Returned appId is canonical; requestedAppId preserves selection separately. Name/revision/provider/configuredStatus/operation are actual persisted values, not a secret or a probe. An absent binding/operation remains null; known revision0 is not omitted or a health assertion. Current authority and organization/app selection are rechecked and the read audited.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          },
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            },
            "description": "Optional selected application; absence selects the organization default."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/object-storage-bindings": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdObjectStorageBindings",
        "summary": "Configure a separately owned object-storage scope",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectStorageBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "202": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectStorageBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid selection/body; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed current snapshot/operation/intent; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "428": {
            "description": "expectedVersion is required; native object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current organization/app/Enterprise BYO storage authority is rechecked before candidate preparation and conditional activation. Uses nonempty Guid requestId and protected expectedVersion from the selected scope; missing version428, malformed/mismatched version409. Body includes current provider-specific container/region/serviceUrl/credential/createContainer and nonblank/control-free reason<=512. Explicit createContainer:true creates a missing private Azure container or supported S3 bucket; false/omission confirms only. S3 requires definitive missing-bucket404 before creation;403/uncertain checks do not create. Existing bucket settings are untouched. AWS us-east-1 has a legacy ACL-reset limitation if external same-account creation races the missing check; coordinate setup to avoid concurrent creators. Optional creation requires the supplied credential to have the provider creation capability; no new grants or control-plane fallback. expectedVersion<=4096 and appId<=1024. Provider accepts only an exact case-insensitive defined name, not a numeric value. Credentials must fit the staged vault and actual provider preparation policy. Body requestId binds exact intent: same command reconciles its operation; changed reuse409. Previous active storage remains authoritative until exact candidate/container confirmation. Pending, Provisioning, Unknown or CleanupPending return202; terminal200 still requires inspection of state/containerState. This does not claim a real provider deployment.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/object-storage-bindings/scope": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdObjectStorageBindingsScope",
        "summary": "Read the current object-storage versioned scope",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectStorageBindingScope"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid selection/body; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed current snapshot/operation/intent; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Only optional appId once; absence selects organization default. Returns protected version, safe current binding metadata and latestOperation, each with their actual nullable/unknown state. Protected version binds exact account/app/current snapshot; it is not a provider token or downloadable credential. No binding remains null rather than an invented active default. Server rechecks authority and audits the read.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          },
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            },
            "description": "Optional current exact app selection; nonblank when present."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/object-storage-bindings/operations/{operationId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdObjectStorageBindingsOperationsOperationId",
        "summary": "Read retained object-storage operation evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectStorageBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid selection/body; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed current snapshot/operation/intent; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query. Exact current account operation Guid required; malformed/missing/other-account404. State, containerState and nullable appliedGenerationId report the retained operation, not a newly successful provider call or current signed download entitlement. Fresh authority and read audit remain.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          },
          {
            "name": "operationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Retained operation Guid in the same canonical account."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/object-storage-bindings/operations/{operationId}/cleanup": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdObjectStorageBindingsOperationsOperationIdCleanup",
        "summary": "Reconcile only pending object-storage cleanup",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectStorageBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "202": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectStorageBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid selection/body; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed current snapshot/operation/intent; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query/new credential; strict empty JSON body. Only current CleanupPending is eligible, else409. Rechecks current authority and reconciles the same candidate/secret under its existing operation; no automatic replacement. Pending, Provisioning, Unknown or CleanupPending report202; other recorded states200. Neither200nor an absent appliedGenerationId is fabricated activation evidence.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          },
          {
            "name": "operationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Retained operation Guid in the same canonical account."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetryObjectStorageCleanupRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/app-data-bindings/operations/{operationId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAppDataBindingsOperationsOperationId",
        "summary": "Read a retained application data operation",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDataBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current configuration, revision, secret or command changed; app_data_binding_changed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query accepted. operationId must parse as the current account's actual operation Guid; a malformed/missing/other-account operation404. Returns stored state/revisions/updatedAt with fresh authority checks and audit, without a credential or raw provider error. Unknown is an unconfirmed outcome, not an implicit failure, completed activation or permission to create a new command.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          },
          {
            "name": "operationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Retained operation Guid in the same canonical account."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/app-data-bindings/operations/{operationId}/cleanup": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdAppDataBindingsOperationsOperationIdCleanup",
        "summary": "Reconcile application data candidate cleanup",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDataBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "202": {
            "description": "Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppDataBindingOperation"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/internal-service boundary required; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current configuration, revision, secret or command changed; app_data_binding_changed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query or new credential. The actual empty strict JSON request is required. Only an existing CleanupPending operation is eligible; otherwise409. Fresh staff/account authority and revoke-operation policy remain. Reconciles that same operation and secret identity rather than provisioning another candidate. Only remaining CleanupPending returns202 here; another recorded state returns200 without implying Active.",
        "x-appportal-current-authority": "Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact account selector resolved to one current organization; no browser authority header."
          },
          {
            "name": "operationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Retained operation Guid in the same canonical account."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetryAppDataBindingCleanupRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/branding/record-use": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBrandingRecordUse",
        "summary": "Record current organization marketing use",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationBrandingPermission"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "Existing private/no-store owning response."
              }
            }
          },
          "400": {
            "description": "Invalid actor/reason; organization_branding_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing organization/logo; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current permission/revision/usage/target/image conflict; organization_branding_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported native JSON media type; may be bodyless for ordinary binder requests.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Record current marketing use only with current verified permission and available logo. Body revision must equal current revision (initial0); nonblank reason trimmed8..500. No Idempotency-Key or staff opt-in route. For use/download, open/read the logo before locking, then recheck current verification/opt-out/revision under the organization row lock before audit/commit. Current permission loss/conflict409. Source errors remain sanitized; stored permission does not promise marketing publication or provider availability.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BrandingPermissionChange"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/branding/clear-use": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBrandingClearUse",
        "summary": "Clear recorded organization marketing use",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationBrandingPermission"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "Existing private/no-store owning response."
              }
            }
          },
          "400": {
            "description": "Invalid actor/reason; organization_branding_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing organization/logo; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current permission/revision/usage/target/image conflict; organization_branding_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported native JSON media type; may be bodyless for ordinary binder requests.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Clear an existing recorded use; no active use409. This records removal completion without manufacturing consent. Body revision must equal current revision (initial0); nonblank reason trimmed8..500. No Idempotency-Key or staff opt-in route. For use/download, open/read the logo before locking, then recheck current verification/opt-out/revision under the organization row lock before audit/commit. Current permission loss/conflict409. Source errors remain sanitized; stored permission does not promise marketing publication or provider availability.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BrandingPermissionChange"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/branding/logo-download": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBrandingLogoDownload",
        "summary": "Download current authorized organization logo",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/webp": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "*/*": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "Existing private/no-store owning response."
              },
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "description": "attachment; organization-logo.png/.jpg/.webp. Actual stored Content-Type is retained (normal upload supports PNG/JPEG/WebP); no signed URL or range processing."
              }
            },
            "x-appportal-response-max-bytes": 2097152
          },
          "400": {
            "description": "Invalid actor/reason; organization_branding_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing organization/logo; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current permission/revision/usage/target/image conflict; organization_branding_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported native JSON media type; may be bodyless for ordinary binder requests.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Download actual logo bytes only under current verified permission; this records an audited revision, not inUse:true. Body revision must equal current revision (initial0); nonblank reason trimmed8..500. No Idempotency-Key or staff opt-in route. For use/download, open/read the logo before locking, then recheck current verification/opt-out/revision under the organization row lock before audit/commit. Current permission loss/conflict409. Source errors remain sanitized; stored permission does not promise marketing publication or provider availability. Stream output is capped at the owning 2097152 bytes; oversized409, empty/missing404. This is binary content, not a JSON permission result.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; no membership or authority grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BrandingPermissionChange"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/admission": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAdmission",
        "summary": "Read the current organization admission decision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationAdmissionRecord"
                }
              }
            },
            "x-appportal-body-may-be-absent": true
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Reads the actual nullable admission row under current operator authority. A missing row is not approval: the handler returns native200 with an absent body when Results.Ok receives null. Includes the first-owner invitation status for this organization. Existing record fields retain revision, reason, current actors and nullable initialOwnerInvitationId.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdAdmission",
        "summary": "Record an explicit organization admission decision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationAdmissionUpdateResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_admission_revision_conflict: reload the current admission revision. Nonretryable invitation eligibility/revision failures remain403.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "429": {
            "description": "organization_invitation_rate_limited: current invitation-producing operation throttle; actual Retry-After is clamped1..3600 seconds, not a universal invitation TTL.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 3600
                }
              },
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Uses current ExpectedRevision, defined admission state and actual reason/initial-owner rules. A changed revision is409 organization_admission_revision_conflict. Nullable returned Invitation remains distinct from a new owner or accepted membership. The operator is not added to the organization; saved admission alone does not override operational restrictions.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizationAdmissionUpdateRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/eligibility-reviews/source": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdEligibilityReviewsSource",
        "summary": "Read immutable eligibility review source",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OfferingDeclarationReviewPage"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Legacy OfferingDeclarationReviewPage retains items/nextAfter only when the selected source is complete within the accepted bound: default50/max100, suppliedlimit1..100. Any supplied raw after or another selected row409operations_pagination_required. Successful nextAfter is null, not a public UUID continuation. Unknown/repeated selection400offering_review_invalid. Current operator authorization is rechecked around the same audited UUID-keyset source read. Owner declarations and review receipts do not create account, group or financial authority; use /source/page for protected traversal.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "deprecated": true,
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected account under current independent Operations authority."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 50,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Legacy completeness bound; no arbitrary resource cap."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/eligibility-reviews/controlled-group": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdEligibilityReviewsControlledGroup",
        "summary": "Record a prospective controlled-group review",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OfferingDeclarationReceipt"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current source/revision or exact mutation identity changed; reconcile before a new intent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "SourceVersion must equal offering-eligibility-declarations/v1. Actual required DTO fields include mutationId, expectedRevision, definition, effectiveFromUtc and reason; effectiveFromUtc has zero UTC offset. A valid current account-owner declaration and matching independent/controlled-group outcome are required, with private control evidence, actual canonical group when controlled and coherent optional whole-group financial window. New review is prospective, cannot precede source, and checks expectedRevision. Exact body/actor/mutationId replays the immutable receipt after current source validation; changed reuse409. Do not replace the mutation ID or expected revision after an unknown outcome. No HTTP Idempotency-Key, cross-account consent, shared-identity consent or automatic commercial eligibility is created.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact existing account selected by the trusted Operations operator."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsControlledGroupReviewRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/eligibility-reviews/history": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdEligibilityReviewsHistory",
        "summary": "Review an exact retained historical declaration interval",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEligibilityHistoryReviewReceipt"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current source/revision or exact mutation identity changed; reconcile before a new intent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "SourceVersion must equal offering-eligibility-declarations/v1; expectedPayloadHash is64 hex characters matching the immutable owner declaration. reviewId must be nonempty, range has exact UTC-zero-offset fromUtc<toUtc and cannot extend beyond declaration time/current time. evidenceId uses the existing opaque1..128 character grammar and reason is nonblank/trimmed<=2048. Only current valid owner environment/exclusion declarations are reviewable. Exact reviewId/source hash/range/evidence/actor/reason replays the same reviewId; changed reuse409. This review does not backdate identity consent, activate a provider, infer control from membership or change retention. No HTTP idempotency header is invented.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact existing account selected by the trusted Operations operator."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OfferingDeclarationHistoryReviewRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/invitations": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdInvitations",
        "summary": "Read audited staff invitation management pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsManagementInvitations"
                }
              }
            },
            "headers": {
              "X-AppPortal-Next-Cursor": {
                "schema": {
                  "type": "string"
                },
                "description": "Present only when the actual next page exists; send unchanged as after."
              }
            }
          },
          "400": {
            "description": "invitation_page_invalid: actual invitation limit/after rejected; body/query binding failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns an array of OrganizationInvitationManagementRecord (summary plus recipientEmail), solely for the authorized staff management view. Includes unconsumed/unrevoked rows; expiry affects summary.canAccept rather than silently removing every expired row. Default limit100, maximum100; use the existing after cursor. More rows are exposed by X-AppPortal-Next-Cursor. This cursor is unsigned navigation bound to the selected account, not an authentication or claim credential. No email/token is exposed to the public preview.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            },
            "description": "The existing nullable integer binder and domain range check apply."
          },
          {
            "name": "after",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2048,
              "pattern": "^[A-Za-z0-9_-]+$"
            },
            "description": "Opaque base64url navigation cursor from the same account. Invalid cursor or range gives400 invitation_page_invalid."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/invitations/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdInvitationsPage",
        "summary": "List organization invitations",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsInvitationPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "invitation_page_invalid: Invalid limit or cursor. Only limit and cursor are accepted.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "The invitation service is temporarily unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns invitation summaries and recipient emails for the selected organization. Pass nextCursor as cursor for the next page.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/invitations/{invitationId}/revoke": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdInvitationsInvitationIdRevoke",
        "summary": "Revoke a current invitation revision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Successful operation; no response body."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Uses actual ExpectedRevision and current invitation-manager/admission authority; stale or consumed revision is native403, not409. Successful204 is bodyless. This command creates no membership and does not accept an idempotency key.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "invitationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizationInvitationRevisionRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/invitations/{invitationId}/reissue": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdInvitationsInvitationIdReissue",
        "summary": "Reissue a current invitation revision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationInvitationSummary"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "429": {
            "description": "organization_invitation_rate_limited: current invitation-producing operation throttle; actual Retry-After is clamped1..3600 seconds, not a universal invitation TTL.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 3600
                }
              },
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current stored invitation/admission/recipient eligibility and ExpectedRevision are checked before rotating the token/revision. Delivery availability and throttling remain actual domain decisions;200 returns only the summary, never the claim token. No provider-delivery proof is inferred.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "invitationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizationInvitationRevisionRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/users": {
      "get": {
        "operationId": "adminGetApiAdminAdminUsers",
        "summary": "Read the legacy bounded staff user directory",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized read response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUserPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid HTTP-bound input; the framework may return a problem or no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independent current PlatformOperator authority is required; a customer role is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Complete legacy collection exceeds100 records; use the same /page cursor resource. Native code: operations_pagination_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_pagination_required"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Directory source unavailable; no successful empty capture is fabricated. Native code: operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_page_unavailable"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Minimal global user projection: userId, email, displayName, createdAt and active only. Password hashes, local-password state and linked identities are not returned. page defaults to 1 and is normalized to at least 1; pageSize defaults to 25 and is clamped to 1–50. Legacy numbered pages are sliced from a complete100-record capture in original displayName/email order; total is exact only for that capture. More than100 matching users returns409 operations_pagination_required directing /users/page; never a partial known total.",
        "x-appportal-current-authority": "Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.",
        "deprecated": true,
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional legacy search."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 1,
              "x-appportal-normalized-minimum": 1
            },
            "description": "One-based page, normalized to at least one on the successful store path."
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "x-appportal-clamped-minimum": 1,
              "x-appportal-clamped-maximum": 50
            },
            "description": "Legacy successful store path clamps the page size; it does not reject out-of-range integers."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTickets",
        "summary": "Read the legacy staff ticket queue",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportTicketPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "support_pagination_required: use the same-authority /tickets/page resource.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/OpsBetaProblem"
                    },
                    {
                      "type": "object",
                      "required": [
                        "code"
                      ],
                      "properties": {
                        "code": {
                          "const": "support_pagination_required"
                        }
                      }
                    }
                  ]
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "support_page_unavailable: current support list source unavailable.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/OpsBetaProblem"
                    },
                    {
                      "type": "object",
                      "required": [
                        "code"
                      ],
                      "properties": {
                        "code": {
                          "const": "support_page_unavailable"
                        }
                      }
                    }
                  ]
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Legacy numbered page defaults1/25; page is normalized to at least1 and pageSize clamped1..100. queue is trimmed; unparseable state is ignored by case-insensitive Enum.TryParse (numeric forms remain native). The current operator/queue/state reader captures at most100+1 before any in-memory numbered-page slice. More than100 matching tickets returns409 support_pagination_required directing /tickets/page; no partial total is returned. For complete small collections total is exact, including zero. Current source failure503 remains unknown rather than zero. This is not the protected cursor contract.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "deprecated": true,
        "parameters": [
          {
            "name": "queue",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional queue; legacy binding does not impose this cursor bound."
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional legacy enum parse; unknown names ignored."
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 1
            },
            "description": "One-based offset page; values below1 normalize to1."
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25
            },
            "description": "Native service clamps to1..100."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsPage",
        "summary": "Read protected staff ticket cursor pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsSupportTicketCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/cursor invalid; support_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed query accepts queue/state/limit/cursor once. Queue<=128 and state<=64 have no surrounding whitespace or controls; state must parse to a defined case-insensitive enum value (native numeric forms included). limit defaults25/range1..100. Protected cursor binds current operator claims, exact selection and updated-desc/id-desc ordering; unchanged cursor and selection are required. totalCount is null, not a known zero.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          },
          {
            "name": "queue",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Exact queue; no surrounding whitespace or controls."
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "description": "Defined native enum value, case-insensitive; no surrounding whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/workspace": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketIdWorkspace",
        "summary": "Read bounded staff ticket metadata",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportTicketWorkspace"
                }
              }
            }
          },
          "400": {
            "description": "No query is accepted; invalid bounded ticket selector/query returns support_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query accepted; ticketId<=512, trimmed and control-free. Returns ticket metadata only. Omitted conversation collections do not assert an empty conversation. This audited operator projection does not grant customer access.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/messages/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketIdMessagesPage",
        "summary": "Read staff message history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsSupportMessagePage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/cursor invalid; support_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed limit/cursor query. The protected continuation binds operator claims, ticket authority, collection, limit and created-desc/id-desc. Current authority is rechecked around materialization; selected count is not a total. totalCount remains null; grantsTicketAccess and canViewTicket are separate actual booleans. Message bodies use current revisions and preserve tombstone redaction.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/participants/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketIdParticipantsPage",
        "summary": "Read staff participant evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsSupportParticipantPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/cursor invalid; support_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed limit/cursor query. The protected continuation binds operator claims, ticket authority, collection, limit and added-asc/id-asc. Current authority is rechecked around materialization; selected count is not a total. totalCount remains null; grantsTicketAccess and canViewTicket are separate actual booleans. Message bodies use current revisions and preserve tombstone redaction.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/transitions/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketIdTransitionsPage",
        "summary": "Read staff transition history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsSupportTransitionPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/cursor invalid; support_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed limit/cursor query. The protected continuation binds operator claims, ticket authority, collection, limit and occurred-asc/id-asc. Current authority is rechecked around materialization; selected count is not a total. totalCount remains null; grantsTicketAccess and canViewTicket are separate actual booleans. Message bodies use current revisions and preserve tombstone redaction.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/participants/{userId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketIdParticipantsUserIdDirectoryDetail",
        "summary": "Read one selected staff participant",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportTicketParticipant"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/cursor invalid; support_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query accepted; ticketId<=512 and userId<=256, trimmed and control-free. Resolves current thread authority and actual selected participant rather than a client-generated directory projection. Missing/inaccessible participant404.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected userId; this is a resource selector, not an authority credential."
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketId",
        "summary": "Read complete small staff ticket detail",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/SupportTicketDetail"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "messages": {
                          "type": "array",
                          "maxItems": 100
                        },
                        "participants": {
                          "type": "array",
                          "maxItems": 100
                        },
                        "transitions": {
                          "type": "array",
                          "maxItems": 100
                        }
                      }
                    }
                  ]
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "support_thread_pagination_required: use same-authority workspace/messages/participants/transitions pages; never a successful partial legacy detail.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/OpsBetaProblem"
                    },
                    {
                      "type": "object",
                      "required": [
                        "code"
                      ],
                      "properties": {
                        "code": {
                          "const": "support_thread_pagination_required"
                        }
                      }
                    }
                  ]
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "support_page_unavailable: current source failed or ticket changed during bounded projection; retry same selection.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/OpsBetaProblem"
                    },
                    {
                      "type": "object",
                      "required": [
                        "code"
                      ],
                      "properties": {
                        "code": {
                          "const": "support_page_unavailable"
                        }
                      }
                    }
                  ]
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Complete legacy GET only when each visible messages/participants/transitions collection fits100; otherwise409 support_thread_pagination_required directs this ticket /workspace and /messages/page, /participants/page and /transitions/page. No partial detail or resource cap. Current operator projection retains operator-only/participant-private evidence, latest revisions, tombstone redaction and private-evidence audit. Current thread authority/ticket version rechecked before success; unavailable or changed projection503 support_page_unavailable. Existing legacy query handling, full internal exports and legacy mutation representations remain unchanged.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminSupportTicketsTicketId",
        "summary": "Update staff ticket routing",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/SupportTicketDetail"
                    },
                    {
                      "$ref": "#/components/schemas/SupportTicketMutationReceipt"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid ticket request/representation; support_request_invalid or support_representation_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed ticket version/lifecycle/key body; support_request_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Defined priority, nonblank queue trimmed<=80, reason trimmed<=500 and current expectedVersion. Assignment can only be empty/unassigned or the current operator; arbitrary operator delegation is rejected. Same exact actor/operation/key/body replays the existing result; changed reuse or version/lifecycle conflict409. No automatic retry changes the expected version. Only optional representation=receipt is accepted; its two-field ticketId/version result omits collections without asserting they are empty.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "const": "receipt"
            },
            "description": "Absent: full detail. One exact receipt: bounded mutation receipt. Unknown/repeated/other query400 support_representation_invalid."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupportTicketRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/replies": {
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdReplies",
        "summary": "Reply to a support ticket as the current operator",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/SupportTicketDetail"
                    },
                    {
                      "$ref": "#/components/schemas/SupportTicketMutationReceipt"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid ticket request/representation; support_request_invalid or support_representation_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed ticket version/lifecycle/key body; support_request_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Nonblank message, trimmed length<=20000; defined visibility and current expectedVersion. Participant-private replies require an eligible selected participant. Same exact actor/operation/key/body replays the existing result; changed reuse or version/lifecycle conflict409. No automatic retry changes the expected version. Only optional representation=receipt is accepted; its two-field ticketId/version result omits collections without asserting they are empty.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "const": "receipt"
            },
            "description": "Absent: full detail. One exact receipt: bounded mutation receipt. Unknown/repeated/other query400 support_representation_invalid."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplySupportTicketRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/transitions": {
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdTransitions",
        "summary": "Apply an eligible staff ticket transition",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/SupportTicketDetail"
                    },
                    {
                      "$ref": "#/components/schemas/SupportTicketMutationReceipt"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid ticket request/representation; support_request_invalid or support_representation_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed ticket version/lifecycle/key body; support_request_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Reason trimmed<=500, current expectedVersion and actual allowed state transition. Competing open subject/reopen rules remain authoritative. Same exact actor/operation/key/body replays the existing result; changed reuse or version/lifecycle conflict409. No automatic retry changes the expected version. Only optional representation=receipt is accepted; its two-field ticketId/version result omits collections without asserting they are empty.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "const": "receipt"
            },
            "description": "Absent: full detail. One exact receipt: bounded mutation receipt. Unknown/repeated/other query400 support_representation_invalid."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionSupportTicketRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/legal-hold": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketIdLegalHold",
        "summary": "Read the actual ticket legal hold",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportLegalHoldStatus"
                }
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Audited hold read returns actual legalHold and version. false is a known false, not unavailable; missing ticket404.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdLegalHold",
        "summary": "Change a ticket legal hold",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsSupportHoldChanged"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid hold command; support_command_invalid or support_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed hold revision/body; support_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "One nonblank/control-free Idempotency-Key8..200 is retained without trimming; unlike attachment keys, outer whitespace is not separately rejected by this service. Nonblank reason trimmed<=500, expectedVersion>=1; current version checked and command replay bound to exact body. Returns only {legalHold:boolean}, not a new version. No retention policy or purge permission is enabled.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSupportLegalHoldRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/attachments": {
      "get": {
        "operationId": "adminGetApiAdminAdminSupportTicketsTicketIdAttachments",
        "summary": "Read current managed attachment evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsSupportAttachmentPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "const": "nosniff"
                }
              }
            }
          },
          "400": {
            "description": "Invalid attachment command/query/body; support_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "messageId is required, nonblank/control-free/trimmed<=40. Closed messageId/limit/cursor query; limit defaults10/range1..100. Protected cursor binds operator/claims, current ticket authority, message, limit and created-desc/id-desc order. Flags report current storage/scanner/purge configuration; false is retained. totalCount is always null. No storage locator, scanner diagnostics, private-participant or uploader identity is returned. Clean presentation is re-attested and can become quarantined/infected when current evidence changes.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 10,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          },
          {
            "name": "messageId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "description": "The exact selected message.",
            "required": true
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdAttachments",
        "summary": "Reserve immutable support evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAttachmentSummary"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "const": "nosniff"
                }
              }
            }
          },
          "400": {
            "description": "Invalid attachment command/query/body; support_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Immutable attachment/current revision conflicts; support_evidence_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires strict attachment command key and an accessible message. FileName trimmed/control-free<=160 with no path separator/colon; declared length1..10485760; sha256 exactly64 lowercase hexadecimal characters. Reservation binds actor/ticket/message/key and exact request. Success is reserved evidence, not uploaded or clean evidence. Managed storage/scanner unavailable503; missing evidence authority404.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "One nonempty/control-free key8..200, exactly trimmed; no surrounding whitespace. Reuse the identical command body."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReserveSupportAttachmentRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/content": {
      "put": {
        "operationId": "adminPutApiAdminAdminSupportTicketsTicketIdAttachmentsAttachmentIdContent",
        "summary": "Upload the exact reserved evidence bytes",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAttachmentSummary"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "const": "nosniff"
                }
              }
            }
          },
          "400": {
            "description": "Invalid attachment command/query/body; support_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Immutable attachment/current revision conflicts; support_evidence_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "The existing wire request-body limit rejected the upload; content length remains independently bounded by the reservation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Raw byte stream, not multipart/base64 JSON. Only the reserving actor may upload; exact reserved length and original SHA256 must match. Content cap10485760 bytes; existing HTTP wire allowance11534336 includes chunk overhead. Filename/content inspection accepts only bounded UTF-8 .txt, PNG or JPEG; image metadata is stripped. Accepted bytes remain quarantined until an exact scanner attestation. Reusing an immutable upload reconciles its stored hash/ETag, never silently overwrites it.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-body-max-bytes": 11534336,
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected attachmentId; this is a resource selector, not an authority credential."
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/scan": {
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdAttachmentsAttachmentIdScan",
        "summary": "Reconcile current scanner evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAttachmentSummary"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "const": "nosniff"
                }
              }
            }
          },
          "400": {
            "description": "Invalid attachment command/query/body; support_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Immutable attachment/current revision conflicts; support_evidence_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No request body or Idempotency-Key. A client cannot assert a clean verdict. An unavailable/pending verdict may leave the actual attachment quarantined; exact object ETag/hash and bounded scanner evidence are checked before finalization. Current evidence authority is rechecked.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected attachmentId; this is a resource selector, not an authority credential."
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/download-proof": {
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdAttachmentsAttachmentIdDownloadProof",
        "summary": "Issue an actor-bound evidence download proof",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportEvidenceDownload"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "const": "nosniff"
                }
              }
            }
          },
          "400": {
            "description": "Invalid attachment command/query/body; support_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No request body or Idempotency-Key. Only currently clean, exactly attested and accessible evidence is eligible. The protected proof expires after the owning 5 minutes and binds actor/type/ticket/attachment/hash/ETag/version. It is not a Blob URL, anonymous grant or provider token; store it only for this explicit POST download.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected attachmentId; this is a resource selector, not an authority credential."
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ]
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/download": {
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdAttachmentsAttachmentIdDownload",
        "summary": "Download currently authorized evidence bytes",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "image/jpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "const": "nosniff"
                }
              },
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "description": "attachment with the retained sanitized file name; range processing disabled."
              }
            }
          },
          "400": {
            "description": "Invalid attachment command/query/body; support_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Proof is in the JSON POST body, never a query string. Invalid/expired/wrong-actor/version proof, missing clean attestation or revoked current evidence authority returns404. Storage integrity, scanner attestation and authority are rechecked before delivery; reads are audited. No byte ranges; Content-Disposition is attachment. A signed proof does not bypass the current operator/session or CSRF checks.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected attachmentId; this is a resource selector, not an authority credential."
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportDownloadProofRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/purge": {
      "post": {
        "operationId": "adminPostApiAdminAdminSupportTicketsTicketIdAttachmentsAttachmentIdPurge",
        "summary": "Purge only explicitly eligible retained evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized Support result; no deployment/provider readiness is inferred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAttachmentSummary"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "const": "nosniff"
                }
              }
            }
          },
          "400": {
            "description": "Invalid attachment command/query/body; support_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated independent Ops principal required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Immutable attachment/current revision conflicts; support_evidence_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Strict attachment command key, current expectedTicketVersion and reason trimmed<=500/control-free. Requires enabled purge configuration, storage, explicit closed-before/retention-class selection, closed ticket and no hold. Verification/protected evidence is excluded. Current row locks serialize hold/reopen with deletion; purge-pending/unknown work is reconciled under the same command, never inferred complete from configuration. Disabled/unavailable503, changed selection/revision/hold409.",
        "x-appportal-current-authority": "Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.",
        "x-appportal-contract-group": "support",
        "parameters": [
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected attachmentId; this is a resource selector, not an authority credential."
          },
          {
            "name": "ticketId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected ticketId; this is a resource selector, not an authority credential."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "One nonempty/control-free key8..200, exactly trimmed; no surrounding whitespace. Reuse the identical command body."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportAttachmentPurgeRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCases",
        "summary": "Read the bounded verification case directory",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCasePage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Legacy selected collection exceeds100 or requests a later numeric/offset page; operations_pagination_required. Use the same resource at /page.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Legacy compatibility directory: only absent/page1 is supported; a later page409operations_pagination_required. A supplied pageSize must1..100, but the completeness read uses100. A recognized defined state is parsed case-insensitively; malformed state400 rather than silently removing its restriction. If the selected directory fits within100, returns the original OrganizationVerificationCasePage with page1/pageSize100 and its known complete item count. Overflow409 directs the caller to /page; no silent truncation or invented population.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-contract-group": "protected-brand-verification",
        "deprecated": true,
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional existing defined enum, case-insensitive; malformed/undefined400."
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            },
            "description": "Compatibility selector: only omission/1; any later page409. Use /page for traversal."
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            },
            "description": "When supplied must1..100; successful completeness response uses100."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCases",
        "summary": "Start or recover a verification case from an identity ticket",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "New case/proposal; same actual DTO as200. The owning Created result has no declared Location header.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires an eligible organization-identity ticket with subject slug; any selected account must own that slug. Success may return201 for the new case or200 for an existing/replayed case. The returned requiredConfirmation/version are authoritative inputs for later actions; no operator identity or ownership is accepted from the body. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StartOrganizationVerificationCaseRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/protected-brands": {
      "get": {
        "operationId": "adminGetApiAdminAdminProtectedBrands",
        "summary": "Read the current managed brand registry",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsProtectedBrandCurrent"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns exactly {current: revision-or-null}. No managed publication is current:null, not an empty approved registry. Reads are audited; retained entries are reference evidence, not legal ownership or account authority.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": []
      },
      "post": {
        "operationId": "adminPostApiAdminAdminProtectedBrands",
        "summary": "Publish an explicitly reviewed registry revision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsProtectedBrandPublished"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Exact action/content/parent or preview fingerprint conflict; protected_brand_registry_command_conflict, protected_brand_registry_revision_changed, protected_brand_rescan_command_conflict or protected_brand_rescan_preview_changed where applicable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "protected_brand_request_too_large: actual declared/streamed byte bound exceeded.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires a nonempty actionId, expected current revision (null only for no current head), nonblank/control-free reason<=1000 and at most1000 entries. Entry source/reason<=1000, marketNotes<=2000, nondefault reviewAt and up to50 aliases/official domains apply; domains are bounded253 characters. actionId binds exact actor/content/reason/parent; same command replays its revision, changed reuse or head conflicts409. This managed revision changes future matching input, not existing account holds or ownership. The initial bundled reference is never automatically published. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Owning registry actor requires authentication within its actual fixed15-minute window (at most1minute future skew).",
        "x-appportal-body-max-bytes": 2000000,
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProtectedBrandPublishRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/protected-brands/reference-draft": {
      "get": {
        "operationId": "adminGetApiAdminAdminProtectedBrandsReferenceDraft",
        "summary": "Read the unpublished reference draft",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsProtectedBrandReferenceDraft"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns referenceOnly:true, automaticPublication:false and the actual bundled entries. Reference data, official-domain context and notes establish neither legal ownership nor automatic publication. Missing bundled input503 is not an empty draft.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": []
      }
    },
    "/api/admin/admin/protected-brands/history": {
      "get": {
        "operationId": "adminGetApiAdminAdminProtectedBrandsHistory",
        "summary": "Read retained registry revision history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtectedBrandRevisionPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed legacy selection invalid; protected_brand_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Legacy ProtectedBrandRevisionPage retains items/nextBefore only after a complete bounded read: default100/max100, suppliedlimit1..100. Any raw before or another selected row409operations_pagination_required; success has nextBefore:null. Unknown/repeated selectors400protected_brand_request_invalid. Existing independent operator, RepeatableRead current-head observation and read audit remain. Retained reference evidence is not legal ownership or account authority. Use /history/page for the protected publication-time/revision-ID keyset.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "Closed bounded query as individually declared.",
        "x-appportal-contract-group": "protected-brand-verification",
        "deprecated": true,
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Legacy completeness bound; no new registry-size or retention policy."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesPage",
        "summary": "Read protected verification case queue pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current bounded projection; explicit nullable continuation and unknown total.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed selection/continuation invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Ops session/service boundary required; middleware/native response semantics retained.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator/actor unavailable; access_denied. Page selectors do not grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Current source/read/audit unavailable; operations_page_unavailable. No successful empty/zero substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed state/limit/cursor query. state is one exact canonical case-sensitive existing state name; numeric, unknown or differently cased values400. UpdatedAt descending with C-collated case-ID ascending tie-breaker. Current independent operator authority is rechecked after the bounded read. Each request returns current source rows, not a cross-page snapshot or automatic verification decision. limit defaults25/range1..100; opaque cursor<=8192 is forwarded unchanged. Duplicate/unknown/blank/padded/control selectors reject400. Protection binds immutable operator, current claims, exact route/collection/filters and limit. totalCount:null is unknown, never zero; tampered or changed selection is rejected rather than retargeted; refresh starts a new traversal.",
        "x-appportal-current-authority": "Independent current Ops staff session and PlatformOperator, owning current authorization/read audit; internal/customer credentials alone do not grant authority.",
        "x-appportal-contract-group": "queue-pages",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One literal decimal bound; invalid selectors are rejected rather than clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged current operator/selection continuation."
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "Open",
                "EvidenceRequested",
                "UnderReview",
                "DecisionPending",
                "Resolved",
                "Appealed",
                "Closed"
              ]
            },
            "description": "Optional exact canonical state; omission selects all currently authorized case states."
          }
        ]
      }
    },
    "/api/admin/admin/protected-brands/revisions/{revisionId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminProtectedBrandsRevisionsRevisionId",
        "summary": "Read one immutable retained registry revision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtectedBrandRevisionView"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "An existing revision remains readable after a newer head; revision.current reports its actual relationship to the current head. Invalid identifier400, missing revision404, corrupt/unavailable retained content503.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "revisionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          }
        ]
      }
    },
    "/api/admin/admin/protected-brands/dry-run": {
      "post": {
        "operationId": "adminPostApiAdminAdminProtectedBrandsDryRun",
        "summary": "Evaluate a proposed name against one retained revision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtectedBrandMatchDecision"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "protected_brand_request_too_large: actual declared/streamed byte bound exceeded.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns actual matches and the derived blocking flag. The selected matcher/normalization version and retained revision must be usable. This dry run audits input hashes/counts and changes no account access, hold or ownership; private proposed names are not general audit messages. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-body-max-bytes": 4096,
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProtectedBrandDryRunRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/protected-brands/rescans/preview": {
      "post": {
        "operationId": "adminPostApiAdminAdminProtectedBrandsRescansPreview",
        "summary": "Preview one bounded retained-registry rescan batch",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtectedBrandRescanPreview"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "protected_brand_request_too_large: actual declared/streamed byte bound exceeded.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Selection limit defaults100 and is1..100. afterTenantId is an optional existing ordering position, bounded200/control-free. Counts are actual evaluated/matching/exact/watch evidence for this batch, not the entire account population. The returned fingerprint binds actor, selection, matcher and source candidates; preview is not a queued job or a hold change. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-body-max-bytes": 4096,
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProtectedBrandRescanSelection"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/protected-brands/rescans": {
      "post": {
        "operationId": "adminPostApiAdminAdminProtectedBrandsRescans",
        "summary": "Queue the exact reviewed rescan batch",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtectedBrandRescanJob"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Exact action/content/parent or preview fingerprint conflict; protected_brand_registry_command_conflict, protected_brand_registry_revision_changed, protected_brand_rescan_command_conflict or protected_brand_rescan_preview_changed where applicable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "protected_brand_request_too_large: actual declared/streamed byte bound exceeded.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Uses nonempty actionId, exact selection/fingerprint (64 hexadecimal characters) and nonblank/control-free reason<=1000. Source candidates are re-read; changed fingerprint or conflicting action reuse409. Same actor/selection/fingerprint/reason replays the retained job. Queued job counts/completedAt/failureCode may be null and caseIds empty; that is not completed zero-work evidence. Processing records review evidence and may create verification cases, but does not itself alter account authority or holds. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Owning registry actor requires authentication within its actual fixed15-minute window (at most1minute future skew).",
        "x-appportal-body-max-bytes": 8192,
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProtectedBrandRescanCommand"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/protected-brands/rescans/{jobId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminProtectedBrandsRescansJobId",
        "summary": "Read one retained rescan job",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtectedBrandRescanJob"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Reads the actual job lifecycle and nullable completion/failure/count evidence. Missing job404; it does not fabricate a completed scan or prove provider deployment.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseId",
        "summary": "Read the current verification case workspace",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "operations_pagination_required: a complete legacy collection would exceed100; read the finite workspace and bounded histories.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns the actual case, parties/tickets/evidence/findings/decisions/holds/appeals and current approval projection. Nullable account/current metadata and separate approvalsNextBefore remain native. Reading observes and persists approval expiry/invalidation before materializing the response; it is not a decision or new authority grant. Legacy complete representation remains available only when each retained history has at most100 records; otherwise409 operations_pagination_required. Use /workspace plus the independent collection pages; no partial legacy array is presented as complete.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/workspace": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdWorkspace",
        "summary": "Read the finite current verification workspace",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationCaseWorkspace"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query parameters accepted. Current case, requiredConfirmation, version and current finite approval/appeal/decision summaries remain authoritative. CollectionsIncluded:false never means the histories are complete-empty. Sensitive read observes current approval expiry/invalidation and audits the actual current approval count.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/decision-approvals/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdDecisionApprovalsPage",
        "summary": "Read protected retained decision-approval history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded source evidence, not an approval, new grant or provider outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsDecisionApprovalCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Protected selection invalid operations_page_invalid or native approval validation organization_verification_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations session/service boundary required; authentication_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent operator unavailable; access_denied or organization_verification_forbidden.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "No accessible current case; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Explicit unavailable dependency remains dependency_unavailable under the existing shared handler; no successful empty substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Sequence-descending keyset in the exact current case. The existing transaction locks the case, refreshes lazy expiry/current-case invalidation, writes that existing audit and commits before returning the page. This GET can therefore persist approval expiry/invalidation; it does not execute a decision. History is retained evidence, not authority to review or consume an old proposal. Current workspace activeApproval remains authoritative for action controls; history pages do not manufacture it. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.",
        "x-appportal-current-authority": "Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.",
        "x-appportal-contract-group": "review-pages",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact currently authorized verification case; missing/other-scope case404."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Single native bounded decimal value; invalid input is not silently clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged current operator/route/selection continuation."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/parties/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdPartiesPage",
        "summary": "Read a bounded verification parties history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationPartiesPage"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly=true selects nonremoved parties or Submitted/UnderReview appeals; false retains history.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Closed single-valued query: limit,cursor,search,caseVersion,activeOnly.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "Exactly one decimal value; omitted defaults to25."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          },
          {
            "name": "activeOnly",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Optional exact lowercase true or false; no numeric/empty Boolean coercion."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/parties/{recordId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdPartiesRecordIdDirectoryDetail",
        "summary": "Read one selected verification parties reference",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationParty"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Only optional single-valued caseVersion; all other query names rejected.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/tickets/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdTicketsPage",
        "summary": "Read a bounded verification tickets history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationTicketsPage"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Closed single-valued query: limit,cursor,search,caseVersion. activeOnly is rejected even when false.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "Exactly one decimal value; omitted defaults to25."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/tickets/{recordId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdTicketsRecordIdDirectoryDetail",
        "summary": "Read one selected verification tickets reference",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationTicketLink"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Only optional single-valued caseVersion; all other query names rejected.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/evidence-requests/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdEvidenceRequestsPage",
        "summary": "Read a bounded verification evidence-requests history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationEvidenceRequestsPage"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Closed single-valued query: limit,cursor,search,caseVersion. activeOnly is rejected even when false.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "Exactly one decimal value; omitted defaults to25."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/evidence-requests/{recordId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdEvidenceRequestsRecordIdDirectoryDetail",
        "summary": "Read one selected verification evidence-requests reference",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationEvidenceRequest"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Only optional single-valued caseVersion; all other query names rejected.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/findings/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdFindingsPage",
        "summary": "Read a bounded verification findings history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationFindingsPage"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Closed single-valued query: limit,cursor,search,caseVersion. activeOnly is rejected even when false.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "Exactly one decimal value; omitted defaults to25."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/findings/{recordId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdFindingsRecordIdDirectoryDetail",
        "summary": "Read one selected verification findings reference",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationFinding"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Only optional single-valued caseVersion; all other query names rejected.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/decisions/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdDecisionsPage",
        "summary": "Read a bounded verification decisions history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationDecisionsPage"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Closed single-valued query: limit,cursor,search,caseVersion. activeOnly is rejected even when false.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "Exactly one decimal value; omitted defaults to25."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/decisions/{recordId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdDecisionsRecordIdDirectoryDetail",
        "summary": "Read one selected verification decisions reference",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationDecision"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Only optional single-valued caseVersion; all other query names rejected.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/hold-history/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdHoldHistoryPage",
        "summary": "Read a bounded verification hold-history history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationHoldHistoryPage"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Closed single-valued query: limit,cursor,search,caseVersion. activeOnly is rejected even when false.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "Exactly one decimal value; omitted defaults to25."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/hold-history/{recordId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdHoldHistoryRecordIdDirectoryDetail",
        "summary": "Read one selected verification hold-history reference",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationHoldEvent"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Only optional single-valued caseVersion; all other query names rejected.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/appeals/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdAppealsPage",
        "summary": "Read a bounded verification appeals history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsVerificationAppealsPage"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly=true selects nonremoved parties or Submitted/UnderReview appeals; false retains history.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Closed single-valued query: limit,cursor,search,caseVersion,activeOnly.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "Exactly one decimal value; omitted defaults to25."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          },
          {
            "name": "activeOnly",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            },
            "description": "Optional exact lowercase true or false; no numeric/empty Boolean coercion."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/appeals/{recordId}/directory-detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdAppealsRecordIdDirectoryDetail",
        "summary": "Read one selected verification appeals reference",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded private workspace or original family response, never an invented complete history.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationAppeal"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations authentication middleware may reject an unauthenticated request before the handler.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "access_denied: current independently authenticated platform operator required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: current caseVersion changed; reload current workspace and selection.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.",
        "x-appportal-query": "Only optional single-valued caseVersion; all other query names rejected.",
        "x-appportal-contract-group": "verification-workspace",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact current verification case; authority and optional expected version are checked before reading private records."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence."
          },
          {
            "name": "caseVersion",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            },
            "description": "Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/brand-matches": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdBrandMatches",
        "summary": "Read retained protected-brand evidence for a verification case",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProtectedBrandCaseEvidencePage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Audited private evidence only for the current Operations case. Closed limit/cursor query: default/max25, range1..25; cursor<=4096 binds actor/case/limit and is data-protected. Sources are retained Claim/Rescan evidence merged in bounded SQL pages; no matcher rerun is implied. Hash/matcher/normalization disagreement503 is unknown, never empty evidence. No total-count field is returned.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "Closed bounded query as individually declared.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 25
            },
            "description": "One decimal value; unknown or repeated query names rejected."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            "description": "Opaque unchanged continuation; no outer whitespace or control characters. Invalid/mismatched400 protected_brand_case_evidence_cursor_invalid."
          }
        ]
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/tickets": {
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdTickets",
        "summary": "Link an eligible communication ticket to a case",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current case version, selected party/ticket relationship and support-ticket subject rules are checked. Customer communication must match the case subject; the actual current case detail is returned. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkOrganizationVerificationTicketRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/evidence-requests": {
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdEvidenceRequests",
        "summary": "Request bounded evidence from an active case party",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires current version, active party, bounded staff-only description and future due date when supplied. Optional partyMessage is deliberately composed private ticket text, never the internal description. It requires an eligible current linked communication ticket or 409, and commits with case/request, outbox intent and audit. Null/absent retains legacy internal tracking and generic notices. Email never contains either text; no external delivery is claimed. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestOrganizationVerificationEvidenceRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/findings": {
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdFindings",
        "summary": "Record a supported verification finding",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Uses current case version and actual finding/outcome/source validation. Optional evidenceRequestId/supersedesFindingId must belong to this case. Optional supportMessageId requires a linked request and a current customer reply from that active party's accessible linked communication ticket. Staff review records existing submission/review timestamps and Submitted/Verified/Rejected state; terminal invalid requests 409, wrong or inaccessible references 400. Only opaque identities enter audit. Unlinked documentary review remains available. A finding is not a decision or ownership grant. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordOrganizationVerificationFindingRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/appeals": {
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdAppeals",
        "summary": "Open an eligible appeal for a decided case",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires an eligible personal organization-identity ticket matching the case subject and an existing decided lifecycle. Current version and bounded reason apply; a new appeal does not itself activate account access. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenOrganizationVerificationAppealRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/rename-preview": {
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdRenamePreview",
        "summary": "Preview the existing organization rename remedy",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationRenamePreview"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Read-only impact preview, with an audited sensitive read and recent Operations authentication. No query parameters or Idempotency-Key. Uses the current case/version and exact requested replacement slug and optional bounded replacement name (absence preserves the name). Returns at most100 actual active app bookmark paths plus the organization path, and an explicit completeness flag. Paths are authenticated Dashboard bookmarks, never inferred public hosts. Public Pages AppSlug and SmartLink bindings are unchanged; external URL/domain/signing inventory remains Unknown. The fingerprint binds current case, immutable account identity, current state, exact requested name/slug and normalized target and the complete active app identifier inventory. Forward it as renamePreviewFingerprint in the exact existing proposal/decision; it grants no authority. Changed/missing preview409 before a new proposal or execution; completed idempotent receipts still replay. No data transfer, redirects, memberships, DNS or host writes occur.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewOrganizationRenameRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/decisions": {
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdDecisions",
        "summary": "Execute a current eligible verification decision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Uses the actual current version, requiredConfirmation and supported decision fields. This existing operation can change verification/holds, access recovery, slug or user state according to its decision; it is not a dry run. Fresh authentication uses the configured RecentAuthenticationMinutes (compiled default15, clamped1..60); the current response's dualControlRequired and exact approved proposal determine whether independent approval is required. Eligible actor/source authority is rechecked before protected mutation. VerifyAndActivatePendingTenant requires a current same-case supporting staff finding and no unresolved contrary finding; linked evidence must be Submitted or Verified, so requested, expired, rejected, withdrawn or unknown states cannot qualify. Missing or conflicting evidence returns409 before activation. The decision audit identifies the reviewed finding without copying private evidence content. No new grant, universal approval or provider proof is introduced by this reference. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions. New RequireRename requests require the current rename-preview fingerprint bound to the exact replacement slug; stale account/app/case state409. Executed audit records actual old/new name and slug. Legacy slug-as-ID remains reserved and personal workspaces cannot use this remedy.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideOrganizationVerificationCaseRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/decision-approvals": {
      "get": {
        "operationId": "adminGetApiAdminAdminVerificationCasesCaseIdDecisionApprovals",
        "summary": "Read current retained decision approval history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationApprovalPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Legacy complete-within100 approval-history wrapper retains items/nextBefore. Any supplied before409operations_pagination_required; other query names400. The bounded101-row proof returns the original OrganizationVerificationApprovalPage only when complete, with nextBefore:null; overflow409. Existing case lock, lazy expiry/invalidation and read audit remain. History is read-only evidence; use current activeApproval from the workspace for action controls and /page for traversal.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.",
        "x-appportal-contract-group": "protected-brand-verification",
        "deprecated": true,
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "before",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            },
            "description": "Legacy selector: any supplied before is rejected409; use the protected /page route."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdDecisionApprovals",
        "summary": "Propose the exact decision for independent approval",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "201": {
            "description": "New case/proposal; same actual DTO as200. The owning Created result has no declared Location header.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires current case version, supported exact decision payload and fresh configured operator authentication. approvalId must be absent/null when proposing. New proposal201; unchanged replay/current proposal200. Expiry uses configured ApprovalLifetimeMinutes (compiled default15, clamped1..60), not an invented token TTL. This records a proposal, never executes the decision or activates access. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions. New RequireRename requests require the current rename-preview fingerprint bound to the exact replacement slug; stale account/app/case state409. Executed audit records actual old/new name and slug. Legacy slug-as-ID remains reserved and personal workspaces cannot use this remedy.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideOrganizationVerificationCaseRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/verification/cases/{caseId}/decision-approvals/{approvalId}/review": {
      "post": {
        "operationId": "adminPostApiAdminAdminVerificationCasesCaseIdDecisionApprovalsApprovalIdReview",
        "summary": "Independently review the current proposal revision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing response body.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              },
              "Preference-Applied": {
                "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "representation=workspace"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated staff Ops session required; middleware may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires a different current operator from the proposer, fresh configured authentication, exact approval version and bounded review reason. Self-review403; changed/expired proposal or key-payload mismatch409. Approve=false and nullable review/consumption fields retain their native meanings. Review does not itself execute a verification decision. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.",
        "x-appportal-query": "Only optional single-valued representation=workspace; unknown or repeated query names400 before mutation.",
        "x-appportal-contract-group": "protected-brand-verification",
        "parameters": [
          {
            "name": "caseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource; exact owning validation and sanitized missing-resource semantics apply."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200
            },
            "description": "Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented."
          },
          {
            "name": "approvalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Selected current approval identifier; no actor identity is supplied by this path."
          },
          {
            "name": "representation",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "workspace"
              ]
            },
            "description": "Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewOrganizationVerificationApprovalRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/leads": {
      "get": {
        "operationId": "adminGetApiAdminAdminLeads",
        "summary": "Read a complete bounded legacy lead array",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceLeadArray"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Complete legacy projection does not fit; operations_pagination_required. Use the same-authority /page and nested claimant resource as applicable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Stored sales lead projection includes workEmail, name, company/teamSize and submitted message/source; this is staff-confidential contact data, not a public lead feed. SQL orders submittedAt descending then leadId using PostgreSQL C ascending, and fetches only limit+1. No search/filter selector is bound here. Closed query with only listed selectors plus limit; default 100/max 100. No cursor is accepted on this legacy route. A limit+1 source read proves the complete original array fits or returns 409 operations_pagination_required; this response bound is not a business quota or resource-count cap. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          }
        ]
      }
    },
    "/api/admin/admin/platform/summary": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlatformSummary",
        "summary": "Read current platform directory and catalog summary",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformSummary"
                }
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Aggregate account counts use the current directory active flag, not observed activity or active subscriptions. monthlyRecurringRevenue and each plan slice monthlyRevenue are catalog-price estimates: active account count multiplied by catalog monthly price. Missing catalog keys retain the handler's zero-price/key-name fallback; these are not known zero invoices, negotiated or annual revenue, collected payments, lifetime usage or a live billing statement. Plan distribution includes referenced legacy keys, omits zero-population slices and orders by account count. No query-bound selectors.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": []
      }
    },
    "/api/admin/admin/platform/sdk-adoption": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlatformSdkAdoption",
        "summary": "Read protected sdk-adoption evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformSdkAdoptionReport"
                }
              }
            }
          },
          "400": {
            "description": "Invalid days; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual typed report with Unavailable completeness, never an empty successful report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformSdkAdoptionReport"
                }
              }
            }
          }
        },
        "description": "Session-unit SDK/framework/runtime/platform/form-factor/provider aggregate coverage. High-volume logs cannot inflate a family. No account/app/user/session/device/property/payload identifiers are returned. Partial reports preserve healthy-source totals and incomplete coverage; missing evidence is not a known zero. Optional native days integer defaults30; no new closed-query grammar is imposed.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 30,
              "minimum": 1,
              "maximum": 365
            },
            "description": "Owning native integer range; invalid values return400."
          }
        ]
      }
    },
    "/api/admin/admin/platform/telemetry-provenance": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlatformTelemetryProvenance",
        "summary": "Read protected telemetry-provenance evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TelemetryProvenanceAuditReport"
                }
              }
            }
          },
          "400": {
            "description": "Invalid days; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Actual typed report with Unavailable completeness, never an empty successful report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TelemetryProvenanceAuditReport"
                }
              }
            }
          }
        },
        "description": "Read-only policy-versioned inventory for governed legacy telemetry remediation. Authorized scope identifiers can be present to plan work; record/session/device/payload/connection identifiers are excluded. This GET does not perform a backfill or grant remediation authority. Unavailable evidence cannot authorize mutation. Optional native days integer defaults30; no new closed-query grammar is imposed.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 30,
              "minimum": 1,
              "maximum": 30
            },
            "description": "Owning native integer range; invalid values return400."
          }
        ]
      }
    },
    "/api/admin/admin/platform/metrics": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlatformMetrics",
        "summary": "Read complete legacy platform volume windows",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformVolumeReport"
                }
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Required aggregate source unavailable; bounded native problem, not a successful zero report.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current UTC calendar month to server now, preceding complete calendar month and null-start to now windows. Existing telemetry and engagement sources must both succeed; a PlatformVolumeUnavailableException returns503, never a successful invented zero report. Numeric events/exceptions/sessions/messages are the actual source aggregates, not financial usage or proof all historical data remains retained. No caller-selected window or account selector.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": []
      }
    },
    "/api/admin/admin/platform/delivery-records": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlatformDeliveryRecords",
        "summary": "Read retained managed delivery-record counts",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformDeliveryRecordCounts"
                }
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current and previous UTC calendar-month and all-retained engagement counts only. This source does not depend on telemetry volume; unavailable persistence is503, not a confirmed zero or whole-platform activity estimate. Counts do not prove provider acceptance or recipient delivery.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": []
      }
    },
    "/api/admin/admin/platform/volume-health": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlatformVolumeHealth",
        "summary": "Read retained platform volume with provider coverage",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformVolumeHealthReport"
                }
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retained volume calculation/audit unavailable; no successful zero fallback.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "thisMonth/lastMonth/allTime are retained logical-record windows, not globally distinct lifetime records or commercial accounting. SourceDiscoveryComplete and available/unavailable source counts are independent; Complete/Partial/Unavailable is an actual string enum. availableTotals remains null when unavailable, whereas a verified zero stays numeric zero. Providers expose only aggregate engine/coverage counts, no account, connection, secret or database identity. Read outcome is audited; calculator/audit failures return503 without raw exception diagnostics. No query-bound selectors.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": []
      }
    },
    "/api/admin/admin/platform/observed-activity": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlatformObservedActivity",
        "summary": "Read retained observed activity and source coverage",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformObservedActivityReport"
                }
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Observed activity calculation/audit unavailable; no successful empty or zero substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current, previous and retained windows are selected by the owning calculator. Organizations/apps describe retained observed telemetry; portalAccounts uses successful authentication evidence. Complete/Partial/Unavailable, nullable counts/extrema, independent source discovery/coverage and nullable current-minus-prior comparisons remain explicit. Partial values are observed lower bounds, never lifetime first use, continuous activity or missing-as-zero. Aggregate read is audited under platform with complete/partial/unavailable outcome; failures log only error type and return503. No per-account payload or caller-selected scope.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": []
      }
    },
    "/api/admin/admin/plan-catalog": {
      "get": {
        "operationId": "adminGetApiAdminAdminPlanCatalog",
        "summary": "Read finite reference plan and entitlement catalog",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsPlanCatalogArray"
                }
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual BillingPlanCatalogEntry array pairs each plan with its capability catalog; optional offeringDefinition preserves its actual null-omitted serializer behavior. This finite reference catalog has no continuation or account selector and contains no customer credentials. Catalog values do not grant a selected account an offering, beta permission, negotiated agreement, charge or access. Independently staff-gated even though the underlying catalog is public reference information.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": []
      }
    },
    "/api/admin/admin/status/components": {
      "get": {
        "operationId": "adminGetApiAdminAdminStatusComponents",
        "summary": "Read canonical staff component status",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsStatusComponents"
                }
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns actual persisted component states and updatedAt; a recorded Operational value is not a new dependency probe, independent freshness observation, uptime sample or invented zero-failure count. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": []
      }
    },
    "/api/admin/admin/status/health": {
      "get": {
        "operationId": "adminGetApiAdminAdminStatusHealth",
        "summary": "Read automatic service monitoring evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceHealthReport"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Monitoring evidence unavailable; internal_error. No current health can be confirmed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns monitor availability/freshness and current component observations. Missing/stale/disabled evidence remains Unknown or Unavailable; it is not inferred Operational or manually repaired. No query selector is consumed. Private/no-store; this read does not run a new probe or publish independent Status. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": []
      }
    },
    "/api/admin/admin/status/incidents/{incidentId}/annotations": {
      "post": {
        "operationId": "adminPostApiAdminAdminStatusIncidentsIncidentIdAnnotations",
        "summary": "Append additional incident context",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentRecord"
                }
              }
            }
          },
          "400": {
            "description": "Invalid management request; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing incident/component; native404.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Request identity already records different incident context; operations_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native normal JSON binder media rejection, may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Incident identifier<=200, nonempty requestId and nonblank message<=4000 required. The trimmed narrative is keyed by current server-owned actor, incident and request identity. Reusing it with different context409; matching retries do not append twice. May annotate a monitored or resolved incident without changing lifecycle, component health or monitor ownership. Public publication remains independently owned. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact protected staff resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentAnnotationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/status/deployments/evidence": {
      "post": {
        "operationId": "adminPostApiAdminAdminStatusDeploymentsEvidence",
        "summary": "Import bounded deployment observation evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusEvidenceImportResult"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid/oversized/deep/unknown-field manifest, query or media type; status_evidence_invalid (native400, not an invented413/415).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Conflicting retained evidence; status_evidence_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Observation source unavailable; status_evidence_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Manual application/json reader, MaxDepth8 and at most32768body bytes. Unknown DTO properties rejected; native Web case-insensitive property binding/numeric forms remain. Closed operational service/probe/outcome vocabulary, schemaVersion1, positive workflow identity and bounded retained observation window are validated. Same retained workflow evidence is alreadyStored:true; first stored evidence is false, never omitted. Conflicting content409. Server rechecks current operator and audits. Evidence correlation is time proximity, not proof of outage cause or live deployment success. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-body-max-bytes": 32768,
        "x-appportal-contract-group": "bindings-status",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsStatusManifestInput"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/status/episodes/{episodeId}/evidence": {
      "get": {
        "operationId": "adminGetApiAdminAdminStatusEpisodesEpisodeIdEvidence",
        "summary": "Read protected episode correlation evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusEpisodeEvidence"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store, private"
                }
              }
            }
          },
          "400": {
            "description": "Invalid evidence query/body; status_evidence_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing operational evidence; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Observation source unavailable; status_evidence_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query. Current operator is rechecked before/after materialization and audited. Missing episode/evidence404. Actual nullable deployment, nullable runtime durations and runtimeTruncated flag remain distinct from known zeros or complete capture. Reported retentionDays belongs to this actual evidence policy; no customer retention promise is inferred. CorrelationBasis states time-proximity evidence rather than cause. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "episodeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact protected staff resource identifier."
          }
        ]
      }
    },
    "/api/admin/admin/status/components/{componentId}/status": {
      "put": {
        "operationId": "adminPutApiAdminAdminStatusComponentsComponentIdStatus",
        "summary": "Start or end scheduled component maintenance",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusComponent"
                }
              }
            }
          },
          "400": {
            "description": "Invalid management request; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing incident/component; native404.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native normal JSON binder media rejection, may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Only Maintenance, or Operational when ending existing Maintenance, is an operator change. Automatic health monitoring owns operational/degraded/outage transitions. Defined enum, existing component and audit required; no automatic incident ownership transfer or Idempotency-Key protocol is added. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "componentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact protected staff resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComponentStatusUpdateRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/status/incidents": {
      "get": {
        "operationId": "adminGetApiAdminAdminStatusIncidents",
        "summary": "Read the bounded legacy staff incident array",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsStatusIncidents"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Collection exceeds the requested bound; operations_pagination_required. Continue using /page; no partial successful legacy array.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "History unavailable; operations_page_unavailable. No successful zero/empty page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed includeResolved/limit query. includeResolved defaultsfalse and uses native bool.TryParse; selector is nonblank/control-free/trimmed<=256. limit defaults100/range1..100. An additional row returns409 operations_pagination_required rather than a silently truncated successful array; use /page. No cursor is accepted on this legacy path. Actual staff timeline includes operator authors, metadataRevision and optional monitor/postmortem fields; this is not the independently sanitized public Worker projection. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value; unknown/repeated selectors rejected."
          },
          {
            "name": "includeResolved",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional native boolean, case-insensitive and trimmed/control-free. Defaultfalse."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminStatusIncidents",
        "summary": "Create an operator-owned incident",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "201": {
            "description": "Incident committed; native Location accompanies the actual record.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentRecord"
                }
              }
            },
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native relative /admin/status/incidents/{incidentId}."
              }
            }
          },
          "400": {
            "description": "Invalid management request; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native normal JSON binder media rejection, may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Title/message required, defined severity and existing affected components. The selected legacy handler does not read an Idempotency-Key; retrying can create another incident. Native Location is /admin/status/incidents/{id}; it is not rewritten into a new browser route. Success is an operator incident, not a claim of independent signed Worker publication. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentCreateRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/status/incidents/{incidentId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminStatusIncidentsIncidentId",
        "summary": "Read one staff incident timeline",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentRecord"
                }
              }
            }
          },
          "400": {
            "description": "Incident identifier too long; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing incident/component; native404.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "IncidentId length>200 is a native management400; missing404. Returns current protected incident/updates, actual metadataRevision and optional monitor/postmortem fields. Nullable resolvedAt is not a fabricated completion time. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact protected staff resource identifier."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminStatusIncidentsIncidentId",
        "summary": "Edit only the allowed incident metadata",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentRecord"
                }
              }
            }
          },
          "400": {
            "description": "Invalid management request; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing incident/component; native404.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Monitor-owned metadata restriction or stale revision; operations_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native normal JSON binder media rejection, may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "428": {
            "description": "expectedRevision required; precondition_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "expectedRevision is mandatory; missing428. Current revision conflicts409. Title/severity/components must be valid; a postmortem reference must be public HTTPS without credentials/query/fragment. Automatic monitor ownership is preserved: only postmortem reference may change for a monitor-owned incident. Revision applies to operator metadata, not timeline ownership; no command key or worker signing authority is invented. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact protected staff resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentMetadataUpdateRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/status/incidents/{incidentId}/updates": {
      "post": {
        "operationId": "adminPostApiAdminAdminStatusIncidentsIncidentIdUpdates",
        "summary": "Append an eligible operator incident update",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IncidentRecord"
                }
              }
            }
          },
          "400": {
            "description": "Invalid management request; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing incident/component; native404.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Monitor-owned or already-resolved incident; operations_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native normal JSON binder media rejection, may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "423": {
            "description": "Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Defined state/nonblank message. Monitor-owned or already-resolved incidents409; operators cannot take monitoring ownership. This selected handler has no keyed response-replay protocol; an uncertain retry can append another update. Current incident is reloaded after the update to preserve concurrently committed metadata. Resolved closes the incident and restores affected components via the existing workflow. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact protected staff resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IncidentUpdateRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/detail": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdDetail",
        "summary": "Read the selected account's support detail",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDetail"
                }
              }
            }
          },
          "401": {
            "description": "Current Ops authentication required; native middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "A bounded legacy child collection requires its page representation; operations_pagination_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency failure; bounded management error, never raw exception details or fabricated source completeness.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "PATH account is only an explicit support target; it cannot grant staff authority. Composes directory/apps/teams/users, resolved catalog plan and stored feature flags, never telemetry. Existing bounded legacy child-list semantics apply: overflow409 requires the dedicated component pages, not a truncated complete list. Missing directory account is200 with its native nullable account field rather than404. Native fallback planKey starter/planName Starter/monthlyPrice0 when no matching plan is found is retained and is not authoritative entitlement, recognized free billing or evidence of a zero negotiated price. organizationAdmissionRestricted/workflowEnabled describe actual server policy, not customer permission to change it.",
        "x-appportal-current-authority": "Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.",
        "x-appportal-contract-group": "platform",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The exact account selected by independently authorized staff."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/entitlements": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdEntitlements",
        "summary": "Read effective account entitlements",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountEntitlements"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Native account/catalog/source resource unavailable; body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Offering configuration unavailable or changed; native custom title/framework type with completed service_unavailable code, message/error aliases, traceId and request instance.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Resolve the actual pinned offering, custom agreement, staff override and beta state for each catalog capability. Missing account404. Unknown or changed offering source503 retains its native custom title and framework ProblemDetails type; the management writer completes code service_unavailable, message, error, traceId and instance. Nullable override means no override, not false; planDefault/effective/contractAuthorized/betaGranted are distinct facts. No input or forced commercial entitlement is inferred.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact existing account selected by the trusted Operations operator."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/entitlements/{key}": {
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdEntitlementsKey",
        "summary": "Set a per-account entitlement override",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEntitlement"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Native account/catalog/source resource unavailable; body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Offering configuration unavailable or changed; native custom title/framework type with completed service_unavailable code, message/error aliases, traceId and request instance.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Existing catalog key and account required. Offering definition and source must remain coherent. PUT stores enabled (omission uses native bool defaultfalse); enabling additionally requires eligible core offering and any explicitly required bespoke Enterprise contract. DELETE removes only the override and recomputes the current effective result; it is not a disable-all or plan change. Both return the actual resolved entitlement after beta application and audit before/after under the path account. No revision/HTTP idempotency protocol is added; repeated state setting/clearing can still audit again. Staff override cannot manufacture plan, Enterprise or beta authority.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact existing account selected by the trusted Operations operator."
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "An existing entitlement catalog key, never a caller-defined capability."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetEntitlementRequest"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "adminDeleteApiAdminAdminTenantsTenantIdEntitlementsKey",
        "summary": "Clear a per-account entitlement override",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEntitlement"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Native account/catalog/source resource unavailable; body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Offering configuration unavailable or changed; native custom title/framework type with completed service_unavailable code, message/error aliases, traceId and request instance.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Existing catalog key and account required. Offering definition and source must remain coherent. PUT stores enabled (omission uses native bool defaultfalse); enabling additionally requires eligible core offering and any explicitly required bespoke Enterprise contract. DELETE removes only the override and recomputes the current effective result; it is not a disable-all or plan change. Both return the actual resolved entitlement after beta application and audit before/after under the path account. No revision/HTTP idempotency protocol is added; repeated state setting/clearing can still audit again. Staff override cannot manufacture plan, Enterprise or beta authority.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact existing account selected by the trusted Operations operator."
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "An existing entitlement catalog key, never a caller-defined capability."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/beta-features/{key}": {
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdBetaFeaturesKey",
        "summary": "Set or revoke a current account's product beta grant",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Grant mutation committed; actual fixed acknowledgment only.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaGrantUpdated"
                }
              }
            }
          },
          "400": {
            "description": "Invalid reason/revision/expiry or a capability not requiring beta approval; beta_approval_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; a middleware failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "PlatformOperator authority or matching Ops CSRF/origin required; BFF JSON remains separate.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Capability/account unavailable or an inactive account cannot be enabled; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current owner shape/eligibility or expected revision changed; beta_approval_changed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported media type rejected by the existing JSON body binder; no beta mutation is executed. The response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Dependency or transaction failure. A bounded management problem does not establish whether a prior outcome committed; reconcile the current grant before retrying or changing expectedRevision.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Only catalog capabilities requiring beta approval are eligible. The transaction locks the current account and derives its personal owner or organization ownership; membership or the operator's own grants cannot substitute. expectedRevision compares the existing grant revision (0 when absent). Enabling requires an active account and eligible owner; stale revision/invalid ownership conflicts. Success increments the stored revision, records the current actor/reason and returns only updated:true. No idempotency key, returned grant revision, universal expiry, plan inclusion or public rollout is invented.",
        "x-appportal-current-authority": "Authenticated staff Ops session and current PlatformOperator role; protected internal-service boundary is not a browser credential.",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The exact account selected by the authorized operator."
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "An existing entitlement-catalog capability requiring beta approval."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetProductBetaGrantRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/users": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdUsers",
        "summary": "Read the bounded legacy member list",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsMemberships"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "operations_pagination_required: more than the selected bounded limit (default100, maximum100), or a nested collection exceeds its separately documented bound. Use the separately paged resources.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: current collection could not be read; not an empty directory or zero total.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "The existing compatibility route returns an array only when the complete result fits. Default limit100; one lowercase limit1..100, optional search<=200, exact named MembershipStatus and excludeTeamId. Cursor is rejected on this legacy path. More results return409 operations_pagination_required rather than truncating or an empty success. Existing Personal membership repair views remain possible; group/access workflows below have a separate Organization-only target guard.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Optional literal bounded search; no outer whitespace/control characters."
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "Active",
                "Invited"
              ]
            },
            "description": "Exact case-sensitive defined MembershipStatus name; no numeric/combined aliases."
          },
          {
            "name": "excludeTeamId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional selected group exclusion under the same current account."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdUsers",
        "summary": "Add or invite an existing account to an organization",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationInvitationSummary"
                }
              }
            }
          },
          "201": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MembershipRecord"
                }
              }
            },
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native relative resource identifier; does not create another read route."
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "429": {
            "description": "organization_invitation_rate_limited: current invitation-producing operation throttle; actual Retry-After is clamped1..3600 seconds, not a universal invitation TTL.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 3600
                }
              },
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "A real Organization, existing active account and trimmed8..500-character reason are required. Unsupported roles and PlatformOperator are rejected. Under restricted admission,200 returns only OrganizationInvitationSummary and does not create membership; it is not mailbox proof or a claim credential. Unrestricted compatibility creates active membership and selected organization roles, returning201 MembershipRecord. Existing membership conflicts. No operator membership, new global user or plan grant is created.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddTenantMemberRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/users/{userId}/remove": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdUsersUserIdRemove",
        "summary": "Remove a selected membership",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Successful operation; no response body."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires trimmed8..500-character support reason. Cannot remove the explicit canonical owner of a Personal workspace or the last active administrator of an Organization. Invalid extra Personal memberships may be repaired. Successful204 is bodyless; a missing membership is native bodyless404.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveTenantMemberRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/groups": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdGroups",
        "summary": "Read bounded legacy groups with their members",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsTeams"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "operations_pagination_required: more than the selected bounded limit (default100, maximum100), or a nested collection exceeds its separately documented bound. Use the separately paged resources.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: current collection could not be read; not an empty directory or zero total.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target. Default limit100, maximum100. Embedded members are read separately up to100 per group. If either groups or members continue,409 operations_pagination_required directs the caller to the paged resources; the result is not silently truncated.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdGroups",
        "summary": "Create an organization group with a support reason",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "201": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native relative resource identifier; does not create another read route."
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "team_create_outcome_unavailable: keyed team-create outcome cannot be confirmed. Retry the same request/key; no automatic second mutation is promised.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires an Organization target and trimmed8..500-character reason. Capabilities must be defined and explicit app IDs must belong to this Organization. AllApps=true deliberately discards the explicit app list. An optional existing single trimmed Idempotency-Key<=200 preserves the actual team-create command; no key is required on other group mutations. Keyed conflict is409 idempotency_key_conflict; uncertain result503 team_create_outcome_unavailable. No automatic retry or new privilege is added.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Existing team-create only: exactly one trimmed nonempty control-free key, at most200 normalized characters. Invalid400 idempotency_key_invalid; conflicting409 idempotency_key_conflict. Reuse the payload and key after uncertainty."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsTeamWriteRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/groups/{teamId}": {
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdGroupsTeamId",
        "summary": "Update an organization group's access",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target; trimmed8..500-character reason, defined capabilities and current target-app membership checks. AllApps controls the app projection. No idempotency key or revision protocol is invented.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "teamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsTeamWriteRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/groups/{teamId}/delete": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdGroupsTeamIdDelete",
        "summary": "Delete an organization group",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Successful operation; no response body."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target with a trimmed8..500-character support reason; successful204 is bodyless. Uses the existing Identity workflow and audit.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "teamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsSupportReasonRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/groups/{teamId}/members": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdGroupsTeamIdMembers",
        "summary": "Add an organization member to a group",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target with a trimmed8..500-character reason and nonblank target user. Returns the actual updated Team; membership eligibility remains the existing domain workflow.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "teamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsTeamMemberRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/groups/{teamId}/members/{userId}/remove": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdGroupsTeamIdMembersUserIdRemove",
        "summary": "Remove a member from an organization group",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Successful operation; no response body."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target with trimmed8..500-character support reason. Successful204 is bodyless; the current group/member relationship is audited.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "teamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Selected group member, not the operator's own account."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsSupportReasonRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/access-rules": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAccessRules",
        "summary": "Read the bounded legacy external-access rule list",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccessPolicies"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "operations_pagination_required: more than the selected bounded limit (default100, maximum100), or a nested collection exceeds its separately documented bound. Use the separately paged resources.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: current collection could not be read; not an empty directory or zero total.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target. Default limit100, maximum100; this compatibility array rejects cursor and returns409 operations_pagination_required if more rows exist. It is a stored policy projection, not fresh external-provider evidence.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdAccessRules",
        "summary": "Create a supported external-access rule",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "201": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalAccessPolicyRecord"
                }
              }
            },
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native relative resource identifier; does not create another read route."
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target, trimmed8..500-character support reason and any selected app owned by that Organization. Provider/requirement/authority/resource/role compatibility is validated by the actual Identity service. A stored enabled rule is not proof that an external identity currently satisfies it.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsExternalAccessPolicyWriteRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/access-rules/{policyId}": {
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdAccessRulesPolicyId",
        "summary": "Update a supported external-access rule",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalAccessPolicyRecord"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target with a support reason. A Team rule can be paused with its existing source, null role and no app scope. Resuming requires the organization’s Enterprise authority in Dashboard. Returns the saved policy.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsExternalAccessPolicyWriteRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/access-rules/{policyId}/delete": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdAccessRulesPolicyIdDelete",
        "summary": "Delete an external-access rule",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Successful operation; no response body."
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target with a trimmed8..500-character support reason. Successful204 is bodyless.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsSupportReasonRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/access-settings": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAccessSettings",
        "summary": "Read organization external-access refresh settings",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationAccessSettings"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target. EnterpriseConfigurable, nullable update metadata and stored refresh hours are actual settings; a saved value is not proof of current provider access.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdAccessSettings",
        "summary": "Update permitted external-access refresh settings",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationAccessSettings"
                }
              }
            }
          },
          "400": {
            "description": "Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target and trimmed8..500-character support reason. The actual domain policy controls whether refresh hours are configurable; no invented refresh TTL or universal entitlement is added.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpsOrganizationAccessSettingsRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdBilling",
        "summary": "Read the retired monetary billing summary",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Historical complete monetary projection unavailable. The ordinary management JSON response is RFC9457 ProblemDetails: upstream_unavailable, not a zero balance or missing assignment; HEAD/explicit HTML negotiation can remain bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "The current production TenantBillingSummaryService always rejects the historical complete monetary/credit projection after reading pinned source configuration. The adapter returns502; the existing management middleware completes the ordinary JSON response as bounded application/problem+json with upstream_unavailable. HEAD or explicit HTML negotiation can remain bodyless. No successful200/wallet, liability, plan-price or zero-usage body is advertised; actual persisted assignment/subscription rows remain separately available at /billing/subscription.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/subscription": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdBillingSubscription",
        "summary": "Read actual persisted assignment and subscription state",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffBillingSubscriptionRead"
                }
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Account does not exist; native bodyless404.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Persistence unavailable; no successful null/zero substitute; native bodyless502.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Read-only staff projection of actual assignment and subscription rows for the canonical account. Missing assignment/subscription remains null, not a synthesized Free assignment, active subscription, provider SKU or unavailable source. The operational planKey and actual provider dates/generation/entitled/cancellation state stay distinct. Audited; no plan activation or provider action.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/usage": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdBillingUsage",
        "summary": "Read accepted telemetry for the current allowance period",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffBillingUsageRead"
                }
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Account does not exist.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Account configuration could not be read.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Audited organization-wide read of accepted transport records in the selected offering's exact allowance period. Verified zero requires complete coverage; partial positive counts are lower bounds. Unavailable counts and periods are null. Configuration, including unlimited, is separate from measured usage. No provider calls, reservations, wallet grants or application identities.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/price-notices": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdBillingPriceNotices",
        "summary": "Read bounded retained price-notice history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsPriceNoticeArray"
                }
              }
            }
          },
          "400": {
            "description": "Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "More than100history rows; operations_pagination_required. Other changed/unavailable source conflicts retain price_notice_source_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual operator-authorized/audited safe notice statuses exclude provider identifiers, recipient identities and mailbox hashes. The existing legacy read caps100; an additional row returns409 operations_pagination_required rather than a truncated successful array. Notice state and nullable accepted/effective times are not proof of delivery, payment or installed entitlement.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBillingPriceNotices",
        "summary": "Prepare an explicitly acknowledged price-only notice",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPriceNoticeStatus"
                }
              }
            }
          },
          "400": {
            "description": "Acknowledgement missing: price_notice_acknowledgement_required. Other body/key invalidity: price_notice_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Acknowledged must be true; expectedGeneration>=1 and targetCatalogRevision required. One exact retained command key<=200/control-free binds account/source generation/target revision; replay returns the same prepared notice and changed reuse409. The workflow rechecks the existing current operator and account operation lease, freezes a published eligible target and verifies supported price-only terms. Preparation reserves neither a charge nor an entitlement and performs no automatic dispatch or subscription installation.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Required single nonblank/control-free key retained without trimming; reuse exact generation/target intent."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepareBillingPriceNoticeRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/notify": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBillingPriceNoticesNoticeIdNotify",
        "summary": "Request verified delivery of one retained notice",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
                }
              }
            }
          },
          "400": {
            "description": "Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "noticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected noticeId; not a credential or role grant."
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/schedule": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBillingPriceNoticesNoticeIdSchedule",
        "summary": "Schedule one eligible retained price notice",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
                }
              }
            }
          },
          "400": {
            "description": "Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "noticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected noticeId; not a credential or role grant."
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/reconcile": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBillingPriceNoticesNoticeIdReconcile",
        "summary": "Reconcile retained provider notice evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
                }
              }
            }
          },
          "400": {
            "description": "Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "noticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected noticeId; not a credential or role grant."
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/cancel": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdBillingPriceNoticesNoticeIdCancel",
        "summary": "Cancel one eligible retained notice",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
                }
              }
            }
          },
          "400": {
            "description": "Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "noticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected noticeId; not a credential or role grant."
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/enterprise": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdEnterprise",
        "summary": "Read actual Enterprise billing workspace",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnterpriseBillingWorkspace"
                }
              }
            }
          },
          "400": {
            "description": "Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Audited agreement/account/subscription boundary and at most50recent retained invoices plus hasMoreInvoices. externallyBilled indicates that this organization pays through its own or its linked customer's external agreement. providerAvailable reports configured provider implementations, not current reachability or a signed external contract. Nullable account/offering/subscriptionStatus/priorPaidThrough remain unknown/absent, not paid/Free/zero. Account state may be conflict when canonical Stripe bindings disagree. These existing endpoints use canonical Stripe customer/invoice workflows; external-contract offering terms do not establish generic contract execution or signature/payment completion.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/enterprise/account": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdEnterpriseAccount",
        "summary": "Establish the exact reviewed Enterprise billing account",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnterpriseBillingAccount"
                }
              }
            }
          },
          "400": {
            "description": "Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Current active organization, exact expectedOfferingId/monthly price, valid billing contact and nonblank/control-free reason trimmed<=500 are required. Positive USD amount has at most two decimals; customer details are bounded and checked. Single exact retained key<=200 binds the reviewed account request. Existing canonical Stripe customer/account state is rechecked; replay does not create another customer. An unavailable provider503 or unconfirmed outcome502 requires reconciliation of the retained identity. Organizations covered by an external agreement cannot establish a Stripe account (409 agreement_billed_externally).",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Required single nonblank/control-free key retained without trimming; exact same request on reconciliation/retry."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEnterpriseBillingAccountRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/enterprise/account/reconcile": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdEnterpriseAccountReconcile",
        "summary": "Reconcile one uncertain Enterprise account binding",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnterpriseBillingAccount"
                }
              }
            }
          },
          "400": {
            "description": "Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Uses exact expectedAccountId, selected providerCustomerId and bounded reason. Current reserved account/active organization and provider customer metadata/ownership are verified before installing a ready binding. External agreement coverage blocks verification and installing a ready binding (409 agreement_billed_externally). Only an uncertain eligible account is reconciled; changed/non-uncertain state409. No Idempotency-Key or new customer creation is added. Provider reference is staff evidence, not a browser credential or authority bypass.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReconcileEnterpriseBillingAccountRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/enterprise/invoices": {
      "post": {
        "operationId": "adminPostApiAdminAdminTenantsTenantIdEnterpriseInvoices",
        "summary": "Create one explicit immutable Enterprise service-period invoice",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnterpriseInvoice"
                }
              }
            }
          },
          "400": {
            "description": "Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Requires exact agreement ID/monthly price, explicit UTC-normalized whole-second service start/end/due dates, end>start and future due date for a new invoice; reason<=500. Uses one exact key<=255. Current active organization/agreement and canonical Stripe customer are checked. Current external coverage or an invoiced service period overlapping the external agreement blocks creation (409 agreement_billed_externally). A live standard subscription must finish its transition; canceled service requires a verified paid boundary and no overlap. Amount is the stored positive USD agreement price in minor units, not a fabricated usage/credit preview or automatic proration. The exact account/key/body/service period is reserved before provider work; changed reuse, overlapping period, unknown/pending prior provider outcome or changed binding409. Same issued receipt replays; uncertain outcomes are reconciled rather than blindly recharged. Creation/issued status and nullable hosted URL/provider payment state are not payment confirmation.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            "description": "Required single nonblank/control-free key retained without trimming. Do not replace a key or service period to retry an unconfirmed charge."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEnterpriseInvoiceRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/offering-entitlements": {
      "get": {
        "operationId": "adminGetApiAdminAdminOfferingEntitlements",
        "summary": "Read canonical selectable agreement entitlement labels",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsOfferingEntitlements"
                }
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual fixed code-defined keys/labels from OfferingEntitlements.Options. They are reference choices, not newly granted permissions, plan inclusions, unlimited quotas or provider capabilities. The custom converter uses case-insensitive canonical key lookup and rejects unknown/numeric entitlement values.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": []
      }
    },
    "/api/admin/admin/offering-catalog": {
      "get": {
        "operationId": "adminGetApiAdminAdminOfferingCatalog",
        "summary": "Read the current versioned offering catalog",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OfferingCatalogSnapshot"
                }
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Catalog unconfigured; offering_catalog_unconfigured. No invented default price/template is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual published immutable configuration snapshot: plans/templates/packages/carrier reference rates and Enterprise qualification defaults. Future publication never rewrites a pinned account agreement. Definitions, selected packages, service commitments and explicit quantities do not enable billing or prove verified meter coverage, spending consent, beta approval, identity authorization, SLA or deployment.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": []
      }
    },
    "/api/admin/admin/tenants/{tenantId}/offering": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdOffering",
        "summary": "Read the selected bespoke account agreement",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/CustomOffering"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            },
            "x-appportal-body-may-be-absent": true
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Agreement source unavailable; native bodyless502 rather than absent-agreement success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual current agreement or nullable/empty successful body when no agreement exists. Absence is not a synthesized plan, unlimited allowance, zero liability or signed contract. Persisted offeringDefinition/allowancePeriod/telemetryAllowances keep their actual optional annotations; omitted transport signals remain unconfigured rather than unlimited. Database dependency failure is separately502.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdOffering",
        "summary": "Set the actual reviewed organization agreement",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomOffering"
                }
              }
            }
          },
          "400": {
            "description": "Invalid support reason/name/personal target, agreement definition/period/transport policy; operations_request_invalid, invalid_offering_definition, invalid_enterprise_allowance_period, invalid_telemetry_allowance_policy or invalid_enterprise_allowance_configuration.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "An allowance amendment requires its explicit workflow (enterprise_allowance_amendment_required). Applying complimentary terms requires a completed existing subscription transition (enterprise_subscription_transition_required) and an ended, confirmed paid service period when applicable (enterprise_service_boundary_required).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Agreement persistence unavailable; native bodyless502, not confirmation of an update.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Existing staff mutation requires nonblank name and support reason trimmed8..500. Personal workspaces are rejected. If supplied, offeringDefinition must be a valid agreement requiring Enterprise terms, exactly match monthlyPrice/active-identity inclusion and retain its pinned source. New externally billed agreements can set allowancePeriod.calendarResetTimeZone to UTC or America/Denver for midnight resets on the monthly anchor day. Omission retains the service-start UTC time of day. The initial allowance starts at service activation. A new calendar reset requires the independent Enterprise reset switch. Allowance-period and explicit telemetry policy validation apply; both clearTelemetryAllowances and a supplied policy are invalid. Omitted/null telemetry policy preserves existing configuration; only explicit clear removes it. Optional flags/defaults retain actual JSON writer behavior. The transactional Billing audit and Ops before/after audit preserve actual actor/reason/preimage. This updates stored agreement authority; it is not a Stripe invoice, paid subscription transition, external signature or spending consent.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetTenantOfferingRequest"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "adminDeleteApiAdminAdminTenantsTenantIdOffering",
        "summary": "Clear one current reviewed bespoke agreement",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Existing agreement removed under its admission/audit fence; bodyless."
          },
          "400": {
            "description": "Missing/invalid reason; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing account/agreement; native404 remains distinct from unavailability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Agreement source unavailable; native bodyless502.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "JSON body carries support reason trimmed8..500; no command key. Existing revoke-access admission fence/current staff/account checks remain. Missing account/agreement404; unavailable persistence502. Transactional Billing and Ops audits retain actual preimage/reason. Success204has no body; clearing stored terms does not prove cancellation/payment/refund of any separate provider contract.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClearTenantOfferingRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/ai-classification": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAiClassification",
        "summary": "Read explicit AI processing classification",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAiClassification"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Account unavailable; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Read unavailable; ai_classification_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query accepted. Trusted current operator authorization is rechecked by the store. Existing account with no classification row returns Unknown and revision0; missing account404. This is explicit operator attestation, not inference from IP, billing country, plan or customer location; it does not activate AI or provide credentials.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact existing account selected by the trusted Operations operator."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminTenantsTenantIdAiClassification",
        "summary": "Record an explicit AI processing classification",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAiClassification"
                }
              }
            }
          },
          "400": {
            "description": "Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Account unavailable; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current source/revision or exact mutation identity changed; reconcile before a new intent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "413": {
            "description": "Declared or streamed body exceeds4096 bytes; ai_classification_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Outcome cannot be confirmed; ai_classification_unavailable. Reload current state.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "No query; JSON or application/*+json required. Case-insensitive duplicate property names are rejected, unknown fields are disallowed by the actual DTO, depth<=4 and body<=4096 bytes. Classification is exactly Unknown, Other or EuEnterprise and expectedRevision>=0. Omitted expectedRevision deserializes0 under the native Web options; it is not a mandatory constructor-presence check. A current matching revision commits the new classification and revision=expectedRevision+1 with metadata-only audit. Stale revision409; no HTTP idempotency header, returned policy/model/key or automatic activation is added. Unknown outcome requires current-classification reload before a new mutation.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-body-max-bytes": 4096,
        "x-appportal-query": "No query parameters accepted.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact existing account selected by the trusted Operations operator."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AiClassificationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AiClassificationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/tenants/{tenantId}/quotes": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdQuotes",
        "summary": "Read bounded legacy account quote array",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsQuoteArray"
                }
              }
            }
          },
          "400": {
            "description": "Closed query invalid/mismatched; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Bounded legacy result overflow; operations_pagination_required. Use matching /page.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Quote collection temporarily unavailable; operations_page_unavailable, not successful empty/zero history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed optional tenantId/limit query. Legacy limit defaults100/range1..100, with no cursor accepted. Another row returns409 operations_pagination_required rather than silent truncation. Prospect route selects only unlinked quotes; route/query account mismatch400. Quote totals are stored server computations, not invoices, paid entitlement, account ownership or a complete population. Account-scoped reads are audited.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One exact decimal value; unknown/repeated names rejected."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional exact account filter; must equal a route account if both supplied."
          }
        ]
      }
    },
    "/api/admin/admin/quotes": {
      "get": {
        "operationId": "adminGetApiAdminAdminQuotes",
        "summary": "Read bounded legacy cross-account quote array",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsQuoteArray"
                }
              }
            }
          },
          "400": {
            "description": "Closed query invalid/mismatched; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Bounded legacy result overflow; operations_pagination_required. Use matching /page.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Quote collection temporarily unavailable; operations_page_unavailable, not successful empty/zero history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed optional tenantId/limit query. Legacy limit defaults100/range1..100, with no cursor accepted. Another row returns409 operations_pagination_required rather than silent truncation. Prospect route selects only unlinked quotes; route/query account mismatch400. Quote totals are stored server computations, not invoices, paid entitlement, account ownership or a complete population. Account-scoped reads are audited.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One exact decimal value; unknown/repeated names rejected."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional exact account filter; must equal a route account if both supplied."
          }
        ]
      },
      "post": {
        "operationId": "adminPostApiAdminAdminQuotes",
        "summary": "Create one non-binding working quote",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "201": {
            "description": "Draft created or existing quote returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Quote"
                }
              }
            },
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                },
                "description": "Native /admin/quotes/{quoteId}. Use the explicit browser detail route to read it."
              }
            }
          },
          "400": {
            "description": "Invalid title, target, commercial terms or creation identifiers.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Creation identifier reused with different proposal contents.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Persistence outcome unavailable. Retry the original request with the same creation identifier.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Choose an existing account or one prospect, provide a title and use a retained Enterprise template. An Idempotency-Key or body operationId lets the operator retry the same proposal and retrieve the stored quote, including any later edits. When supplying both identifiers, use the same GUID. A request without either identifier creates a new quote.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "One opaque key per operator and creation request. A GUID can also be sent as the body operationId.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateQuoteRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/quotes/prospects": {
      "get": {
        "operationId": "adminGetApiAdminAdminQuotesProspects",
        "summary": "Read bounded legacy prospect quote array",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsQuoteArray"
                }
              }
            }
          },
          "400": {
            "description": "Closed query invalid/mismatched; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Bounded legacy result overflow; operations_pagination_required. Use matching /page.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Quote collection temporarily unavailable; operations_page_unavailable, not successful empty/zero history.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed optional tenantId/limit query. Legacy limit defaults100/range1..100, with no cursor accepted. Another row returns409 operations_pagination_required rather than silent truncation. Prospect route selects only unlinked quotes; route/query account mismatch400. Quote totals are stored server computations, not invoices, paid entitlement, account ownership or a complete population. Account-scoped reads are audited.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One exact decimal value; unknown/repeated names rejected."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional exact account filter; must equal a route account if both supplied."
          }
        ]
      }
    },
    "/api/admin/admin/quotes/{quoteId}/link-tenant": {
      "post": {
        "operationId": "adminPostApiAdminAdminQuotesQuoteIdLinkTenant",
        "summary": "Explicitly link a reviewed prospect quote to an existing account",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Quote"
                }
              }
            }
          },
          "400": {
            "description": "Invalid/missing account target; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Quote unavailable; native404.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Quote cannot be changed in its current state; operations_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Quote gateway unavailable; native bodyless502.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Nonblank tenantId and an actual existing target account required. The current staff operator explicitly selects/reviews the quote/account relationship; email/slug do not silently establish ownership or membership. Domain lifecycle/target conflict409; missing quote404; gateway unavailable502. The returned quote clears prospect and sets the existing account selector. This is neither organization creation nor acceptance/payment of a contract. Existing Ops audit records actor/target/result.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "quoteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected quoteId; not a credential or role grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkQuoteToTenantRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/disputed-orgs": {
      "get": {
        "operationId": "adminGetApiAdminAdminDisputedOrgs",
        "summary": "Read complete bounded legacy disputed organizations and claimants",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceDisputedArray"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Complete legacy projection does not fit; operations_pagination_required. Use the same-authority /page and nested claimant resource as applicable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "The same candidate scan proves the full organization scan fits the selected legacy limit before returning its original DisputedOrganization array. It also proves every candidate's embedded blockedClaimants fits 100. More examined organizations or more claimants returns 409 operations_pagination_required, even if a scan prefix contains no matches; it never returns a silently truncated success. Paged candidate rows instead expose blockedClaimantCount plus a separate claimant resource. Closed query with only listed selectors plus limit; default 100/max 100. No cursor is accepted on this legacy route. A limit+1 source read proves the complete original array fits or returns 409 operations_pagination_required; this response bound is not a business quota or resource-count cap. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          }
        ]
      }
    },
    "/api/admin/admin/disputed-orgs/{tenantId}/rename": {
      "post": {
        "operationId": "adminPostApiAdminAdminDisputedOrgsTenantIdRename",
        "summary": "Retired heuristic rename; use the verification case workflow",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "400": {
            "description": "Blank/overlong trimmed name; operations_request_invalid, or native JSON binding error.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "verification_case_required: use the current previewed verification case remedy; no mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the native binder; body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Valid legacy requests return409 verification_case_required without name, slug or state mutation. Existing trimmed name1..100 validation remains400. Use the existing RequireRename case remedy with exact name/slug impact preview, reason, typed confirmation, recent Operations authentication and configured independent approval. No ticket/case or grant is created automatically. This is a staff remediation path, not an organization self-service name contract.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected tenantId; this is a resource selector, not an authority grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameOrganizationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/disputed-orgs/{tenantId}/deactivate": {
      "post": {
        "operationId": "adminPostApiAdminAdminDisputedOrgsTenantIdDeactivate",
        "summary": "Deactivate an exact staff-selected organization",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Existing remediation reports applied; no response body."
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Existing target/remediation not found; ordinary management JSON is RFC9457 resource_not_found. HEAD or explicit HTML negotiation may remain bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the native binder; body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Existing remediation source reports unavailable; ordinary management JSON is RFC9457 upstream_unavailable. HEAD or explicit HTML negotiation may remain bodyless. Reconcile current state before assuming unchanged or retrying.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Ordinary JSON reason field is nullable/optional; the endpoint does not invent a mandatory reason or type-to-confirm. Existing Identity remediation sets active:false and records identity-schema mutation evidence under ops-console, plus separate Ops actor/target/reason/outcome audit. This is the existing reversible action, not a deletion, approval or new billing/provider operation. No expectedRevision or Idempotency-Key; success is 204 bodyless. Reconcile current account state after an unknown outcome.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected tenantId; this is a resource selector, not an authority grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizationRemediationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/disputed-orgs/{tenantId}": {
      "delete": {
        "operationId": "adminDeleteApiAdminAdminDisputedOrgsTenantId",
        "summary": "Hard-delete the exact confirmed organization",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Existing remediation reports applied; no response body."
          },
          "400": {
            "description": "Missing reason or mismatched current slug confirmation; operations_request_invalid, or native JSON binding error.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Existing target/remediation not found; ordinary management JSON is RFC9457 resource_not_found. HEAD or explicit HTML negotiation may remain bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the native binder; body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Existing remediation source reports unavailable; ordinary management JSON is RFC9457 upstream_unavailable. HEAD or explicit HTML negotiation may remain bodyless. Reconcile current state before assuming unchanged or retrying.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Destructive existing remediation: nonblank reason and confirmText.Trim() exactly equal to the CURRENT organization slug using Ordinal comparison. It first reads the selected organization; absent 404. Rejected confirmation is audited, successful/failed remediation outcome is separately audited with actor/target/reason, and Identity records its own data mutation/cascaded identity deletion. It does not claim all retained telemetry is purged or that unrelated payment-provider resources are canceled. No idempotency/revision key or bodyless DELETE is invented; JSON body is required and success 204 has no body. Unknown failure is not proof that deletion did not occur; reconcile the exact account before another command.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected tenantId; this is a resource selector, not an authority grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DestructiveRemediationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/disputed-orgs/users/{userId}/ban": {
      "post": {
        "operationId": "adminPostApiAdminAdminDisputedOrgsUsersUserIdBan",
        "summary": "Ban the exact confirmed global user account",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Existing remediation reports applied; no response body."
          },
          "400": {
            "description": "Missing reason or mismatched current email confirmation; operations_request_invalid, or native JSON binding error.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Existing target/remediation not found; ordinary management JSON is RFC9457 resource_not_found. HEAD or explicit HTML negotiation may remain bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported JSON media type rejected by the native binder; body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Existing remediation source reports unavailable; ordinary management JSON is RFC9457 upstream_unavailable. HEAD or explicit HTML negotiation may remain bodyless. Reconcile current state before assuming unchanged or retrying.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Destructive existing remediation: nonblank reason and confirmText.Trim() exactly equal to the CURRENT stored user's email using Ordinal comparison. The action sets the global user active:false; it is not a delete or a grant. Missing user 404; rejected confirmation and actual remediation outcome are audited with the Ops actor/target/reason, while Identity also records its own mutation. No organization selector retargets this global action. No Idempotency-Key or expectedRevision contract exists. Success204 has no body; after an unknown outcome reconcile the exact user's state rather than infer failure means unchanged.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected userId; this is a resource selector, not an authority grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DestructiveRemediationRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/smart-link-domain-requests": {
      "get": {
        "operationId": "adminGetApiAdminAdminSmartLinkDomainRequests",
        "summary": "Read the current Smart Link domain review queue",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountDomainRequests"
                }
              }
            }
          },
          "400": {
            "description": "Closed selection or undefined status invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Current source/read/audit unavailable; operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Legacy family-representative array is returned only after a complete bounded source read. Closed status/limit query; limit defaults100/max100 and a supplied1..100 is retained. Cursor is not accepted here. Another selected row409operations_pagination_required rather than silent truncation. Defined status names are case-insensitive; Enum.TryParse plus Enum.IsDefined preserves defined numeric compatibility, while undefined numeric values400. Exact trimmed/control-free status has the existing256-character bound. Production-family and pre-family standalone record semantics, private operator fields and sensitive read audit remain. Use /page for protected traversal; review actions do not change.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "deprecated": true,
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional PendingReview/Approved/Declined/Withdrawn, case-insensitive with defined numeric enum compatibility. Exact supplied spelling/whitespace/control rules are retained; no canonical-only enum restriction is invented."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Legacy completeness bound; a larger selected collection409, not a resource quota."
          }
        ]
      }
    },
    "/api/admin/admin/smart-link-domain-requests/{domainId}/approve": {
      "post": {
        "operationId": "adminPostApiAdminAdminSmartLinkDomainRequestsDomainIdApprove",
        "summary": "Approve an existing Smart Link domain family",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartLinkDomainRecord"
                }
              }
            }
          },
          "400": {
            "x-appportal-body-may-be-absent": true,
            "description": "Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "x-appportal-body-may-be-absent": true,
            "description": "Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "x-appportal-body-may-be-absent": true,
            "description": "Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "The original production-domain request owns review of its current family; legacy standalone environment requests remain individually reviewable. A source workflow lock spans native DNS provisioning and compensation. Approval reason is optional; decline requires a nonblank customer-visible reason. Reasons are trimmed and limited to1000 characters. Review/audit and current record outcomes are preserved; no HTTP Idempotency-Key protocol is invented. A failed DNS attempt can require explicit reconciliation and can leave a committed review; inspect current state instead of assuming rollback, fake exactly-once publication or automatically issuing another provider action. Actual response preserves nullable assignment/family/request fields.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "domainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The existing native domain request, not an arbitrary hostname or DNS credential."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmartLinkDomainReviewRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/smart-link-domain-requests/{domainId}/decline": {
      "post": {
        "operationId": "adminPostApiAdminAdminSmartLinkDomainRequestsDomainIdDecline",
        "summary": "Decline an existing Smart Link domain family",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartLinkDomainRecord"
                }
              }
            }
          },
          "400": {
            "x-appportal-body-may-be-absent": true,
            "description": "Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "x-appportal-body-may-be-absent": true,
            "description": "Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "x-appportal-body-may-be-absent": true,
            "description": "Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "The original production-domain request owns review of its current family; legacy standalone environment requests remain individually reviewable. A source workflow lock spans native DNS provisioning and compensation. Approval reason is optional; decline requires a nonblank customer-visible reason. Reasons are trimmed and limited to1000 characters. Review/audit and current record outcomes are preserved; no HTTP Idempotency-Key protocol is invented. A failed DNS attempt can require explicit reconciliation and can leave a committed review; inspect current state instead of assuming rollback, fake exactly-once publication or automatically issuing another provider action. Actual response preserves nullable assignment/family/request fields.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "domainId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The existing native domain request, not an arbitrary hostname or DNS credential."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SmartLinkDomainReviewRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/retention": {
      "get": {
        "operationId": "adminGetApiAdminAdminRetention",
        "summary": "Read effective pinned-term retention policy",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionPolicy"
                }
              }
            }
          },
          "400": {
            "description": "Explicit account selector required; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Pinned retention unavailable; retention_policy_unavailable/offering_configuration_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Explicit nonblank/non-platform query tenantId required and trimmed; operator org claim is ignored. MaximumDays/planKey derive from current pinned offering terms, not DTO constructor defaults or a mutable catalog/Free fallback. Known absent stored policy uses the resolved maximum and acknowledgedByAdmin:false. This GET can persist and audit a downgrade clamp when stored windows exceed current terms. Returned configuration does not prove completed purge or current provider enforcement. Unavailable pinned terms503retention_policy_unavailable, never a shorter guessed default.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.",
            "required": true
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminRetention",
        "summary": "Set acknowledged plan-bounded retention windows",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RetentionPolicy"
                }
              }
            }
          },
          "400": {
            "description": "Missing selector/acknowledgment or invalid bounded window; operations_request_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported native JSON media type; may be bodyless for ordinary binder requests.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Pinned policy unavailable; retention_policy_unavailable/offering_configuration_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Explicit non-platform query tenantId required; current staff actor is server-owned. acknowledgedByAdmin musttrue and every requested window1..current pinned maximum. The existing resolver can first persist/audit a plan clamp; update then persists selected windows and before/after audit. This is configuration, not proof that a purge has run or all connected providers enforce it. Missing pinned terms503; no new plan/default/retention promise.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.",
            "required": true
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRetentionRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/feature-flags": {
      "get": {
        "operationId": "adminGetApiAdminAdminFeatureFlags",
        "summary": "Read bounded legacy global and selected-scope flag rows",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsConfigurationFlagArray"
                }
              }
            }
          },
          "400": {
            "description": "Closed selector/cursor invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Legacy collection overflow; operations_pagination_required. Use /page.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Stored collection unavailable; operations_page_unavailable, no successful zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual stored global plus selected-scope entries, including duplicate flag keys in different scopes. These are not flattened effective flags, a plan/role grant or proof of runtime rollout. Closed tenantId/limit query; selected scope defaultsplatform. Selector is exact trimmed/control-free<=256 here. Key-ascending/scope-ascending C ordering; continuation binds current operator claims, route/selection and limit. Default100/max100; cursor is rejected and another row409operations_pagination_required rather than silent truncation.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value; unknown/repeated selectors reject."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact scope selector here; absence selects platform. Current operator claims remain separate.",
            "required": false
          }
        ]
      }
    },
    "/api/admin/admin/feature-flags/{flagKey}": {
      "put": {
        "operationId": "adminPutApiAdminAdminFeatureFlagsFlagKey",
        "summary": "Upsert one explicitly selected stored feature flag",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureFlag"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported key, invalid explicit scope or note; feature_flag_unsupported, feature_flag_scope_invalid or feature_flag_description_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Organization unverified (feature_flag_organization_unverified), or exact flag missing on DELETE.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Unsupported native JSON media type; may be bodyless for ordinary binder requests.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Feature control data unavailable; feature_flag_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Only registered runtime flagKey values are writable; legacy arbitrary rows remain read-only. Current independent staff role is required. Explicit body.global:true without tenantId selects global; otherwise an exact trimmed/control-free organization tenantId<=256 is required. Unknown/repeated query keys and platform/global literals reject. The selected account must be an Organization; the operator org claim cannot select it. Description is bounded to1000 characters. enabled:false is a known false and remains in JSON. Null description preserves an existing description (or empty when absent); explicit empty clears it. Current stored before/after audit is retained. No command key, automatic rollout, entitlement or new runtime capability is invented. Mutation scope parsing retains native rules rather than borrowing the stricter page-query grammar.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "flagKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected flagKey; no membership or authority grant."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.",
            "required": false
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertFeatureFlagRequest"
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "adminDeleteApiAdminAdminFeatureFlagsFlagKey",
        "summary": "Delete the exact global or selected-scope feature flag",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "204": {
            "description": "Exact stored flag removed; no body."
          },
          "400": {
            "description": "Unsupported key or invalid explicit scope; feature_flag_unsupported, feature_flag_scope_invalid or native bool binder error.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Organization unverified (feature_flag_organization_unverified), or exact flag missing on DELETE.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Feature control data unavailable; feature_flag_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Only registered runtime flagKey values can be removed. Explicit global:true without tenantId selects global; otherwise an exact verified Organization tenantId is required. Closed single tenantId/global query rejects ambiguous, repeated, blank, padded and platform/global literal selectors. Body is not bound; no command key. Missing flag404; success204bodyless with actual preimage audit. Deleting configuration is not proof of downstream rollout completion.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "flagKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected flagKey; no membership or authority grant."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.",
            "required": false
          },
          {
            "name": "global",
            "in": "query",
            "schema": {
              "type": "boolean"
            },
            "description": "Optional native bool binding; true selects global, absent/false follows selected scope."
          }
        ]
      }
    },
    "/api/admin/admin/audit": {
      "get": {
        "operationId": "adminGetApiAdminAdminAudit",
        "summary": "Read a complete bounded legacy audit array",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceAuditArray"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Complete legacy projection does not fit; operations_pagination_required. Use the same-authority /page and nested claimant resource as applicable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual immutable PortalAuditEvent projection, including nullable beforeState/afterState/correlationId and original actor/scope/time. These are stored strings, not invented structured deltas or proof that the described external action completed. Exact optional appId/action filters apply within tenantId (default platform), not the operator's org claim. SQL orders occurredAt descending then auditEventId using PostgreSQL C ascending. Reads do not mutate audit entries or grant customer access. Closed query with only listed selectors plus limit; default 100/max 100. No cursor is accepted on this legacy route. A limit+1 source read proves the complete original array fits or returns 409 operations_pagination_required; this response bound is not a business quota or resource-count cap. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact account audit scope; absent selects platform. The selector grants no staff authority."
          },
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional exact app filter within the selected audit scope."
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional exact stored action filter; case is not normalized."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsPage",
        "summary": "Read protected staff account cursor pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized read response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationsTenantDirectoryPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid/repeated/unknown input or mismatched continuation. Native code: operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_page_invalid"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current authenticated platform operator required; middleware may also return a bodyless denial. Native code: access_denied.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "access_denied"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Selected directory temporarily unavailable; no successful empty page is fabricated. Native code: operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_page_unavailable"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Each item is the actual TenantRecord. The envelope has items, nullable nextCursor and organizationAdmissionWorkflowEnabled; it does not add total or totalCount. The query is closed: one value per exact lowercase declared key, without offset page/pageSize. Ordering is identifier ascending under the database C collation. Continuations bind current operator claims, collection, route, selectors and limit; nextCursor=null is terminal. Current authority is checked for every request; a token cannot retarget another operator, collection or selection. No snapshot, immutable population or security grant is invented.",
        "x-appportal-current-authority": "Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three decimal digits without whitespace/sign; values 1–100. Leading zeros are accepted by the actual integer parser."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 8192,
              "x-appportal-max-utf16-code-units": 8192
            },
            "description": "Optional exact opaque continuation, at most 8192 UTF-16 code units; nonempty, trimmed and control-free."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200,
              "x-appportal-max-utf16-code-units": 200
            },
            "description": "Optional nonempty trimmed control-free literal search, at most 200 UTF-16 code units. SQL wildcard characters are escaped."
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Organization",
                "Personal"
              ]
            },
            "description": "Optional exact canonical TenantKind name; case changes and numeric aliases are rejected."
          },
          {
            "name": "enterpriseRequest",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "pending"
              ]
            },
            "description": "Limit results to organizations requested by an Enterprise customer and awaiting admission."
          }
        ]
      }
    },
    "/api/admin/admin/users/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminUsersPage",
        "summary": "Read protected staff user cursor pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized read response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsUserCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid/repeated/unknown input or mismatched continuation. Native code: operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_page_invalid"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return no body.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current authenticated platform operator required; middleware may also return a bodyless denial. Native code: access_denied.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "access_denied"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Selected directory temporarily unavailable; no successful empty page is fabricated. Native code: operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "x-appportal-known-native-codes": [
              "operations_page_unavailable"
            ],
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Each item is the same minimal five-field AdminUserSummary. Current totalCount is null, not a fabricated population. The response uses actual PagedResult semantics. The query is closed: one value per exact lowercase declared key, without offset page/pageSize. Ordering is identifier ascending under the database C collation. Continuations bind current operator claims, collection, route, selectors and limit; nextCursor=null is terminal. Current authority is checked for every request; a token cannot retarget another operator, collection or selection. No snapshot, immutable population or security grant is invented.",
        "x-appportal-current-authority": "Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three decimal digits without whitespace/sign; values 1–100. Leading zeros are accepted by the actual integer parser."
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 8192,
              "x-appportal-max-utf16-code-units": 8192
            },
            "description": "Optional exact opaque continuation, at most 8192 UTF-16 code units; nonempty, trimmed and control-free."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200,
              "x-appportal-max-utf16-code-units": 200
            },
            "description": "Optional nonempty trimmed control-free literal search, at most 200 UTF-16 code units. SQL wildcard characters are escaped."
          }
        ]
      }
    },
    "/api/admin/admin/users/{userId}/portal-access": {
      "put": {
        "operationId": "adminPutApiAdminAdminUsersUserIdPortalAccess",
        "summary": "Approve individual Portal access",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual native result, without invented approval or provider observation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortalAccessDecision"
                }
              }
            }
          },
          "400": {
            "description": "The endpoint returns portal_access_approval_only or portal_access_revision_invalid. Request-binding validation may return a bodyless response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Authenticated Ops session required; middleware response may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Account not found (portal_access_account_missing).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Account is inactive (portal_access_account_inactive) or the access decision changed (portal_access_changed).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Active account, approved:true and expectedRevision required. One-way transactional approval with per-user revision and audit; negative writes400. Retrying a completed approval is idempotent. Approval permits Portal entry and creating an owned workspace through the existing claim workflow. Existing-organization membership and roles, destination admission, billing, account bans and explicit denials retain separate checks. Historical blocked decisions require intentional restoration; inactive accounts409.",
        "x-appportal-current-authority": "Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.",
        "x-appportal-contract-group": "account-controls",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact global account selected by the independent PlatformOperator."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PortalAccessChangeRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/quotes/preview": {
      "post": {
        "operationId": "adminPostApiAdminAdminQuotesPreview",
        "summary": "Calculate a non-binding proposal preview",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuotePreview"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request; native management/billing code remains owning-source-specific.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Pure read via POST under current PlatformOperator and browser CSRF authority. Staff proposals require a retained Enterprise template and supported package references. Uncatalogued one-time rows are rejected400 quote_catalog_selection_required. Shared preview/save calculation validates explicit monthly USD prices and0..100discount. Returns separate monthly/one-time buckets and an initial-term estimate, never an annual invoice or granted entitlement. Invalid input400; unavailable source remains a failure, never zero.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuotePreviewRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/quotes/{quoteId}": {
      "get": {
        "operationId": "adminGetApiAdminAdminQuotesQuoteId",
        "summary": "Read one saved non-binding proposal",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Quote"
                }
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "The saved proposal is unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Returns actual stored line items, retained Enterprise template/package/allowance/support terms, pricing buckets and revision. Legacy absent structured terms remain null. No provider call or subscription activation.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "quoteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected quoteId; not a credential or role grant."
          }
        ]
      },
      "put": {
        "operationId": "adminPutApiAdminAdminQuotesQuoteId",
        "summary": "Edit an existing draft proposal",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": [],
            "csrfToken": []
          }
        ],
        "x-appportal-authentication": "browser-session-and-csrf",
        "x-appportal-csrf": true,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Quote"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request; native management/billing code remains owning-source-specific.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "The saved proposal is unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "The draft changed or is closed; reload before editing.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "415": {
            "description": "Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "502": {
            "description": "Quote persistence unavailable; retry the original save before editing.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Draft-only update using ExpectedRevision. Persistence revision and lifecycle fences reject stale/closed changes409. An exact immediately repeated saved request can replay. The retained catalog revision, selected packages and template commitments are revalidated; future catalog publication cannot rewrite the proposal. A retained Enterprise offer is required; clearing it or adding arbitrary one-time rows is rejected400 quote_catalog_selection_required; save does not activate billing or access. Invalid input400; missing404; unavailable502.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "quoteId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected quoteId; not a credential or role grant."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateQuoteRequest"
              }
            }
          }
        }
      }
    },
    "/api/admin/admin/offering-catalog/revisions/{revision}": {
      "get": {
        "operationId": "adminGetApiAdminAdminOfferingCatalogRevisionsRevision",
        "summary": "Read the selected retained offering revision",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OfferingCatalogSnapshot"
                }
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "The selected catalog revision is unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Reads one exact immutable retained catalog revision for proposal editing. A later catalog publication does not replace saved terms. Missing or overlong revision returns404; no entitlement or billing activation.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "revision",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact retained catalog revision; at most256 characters."
          }
        ]
      }
    },
    "/api/admin/admin/protected-brands/history/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminProtectedBrandsHistoryPage",
        "summary": "Read protected immutable registry revision history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded source evidence, not an approval, new grant or provider outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsRegistryHistoryCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Protected selection/anchor invalid; protected_brand_request_invalid or existing registry validation code.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations session/service boundary required; authentication_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independent current operator unavailable; operations_operator_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Explicit unavailable dependency remains dependency_unavailable under the existing shared handler; no successful empty substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "PublishedAt descending then C-collated revision-ID ascending SQL keyset. The reader captures the current global head and selected retained summaries under RepeatableRead, records its content-free read audit and commits; current is the relationship observed by that request, not a cross-page snapshot or legal ownership proof. A deleted boundary does not require an anchor-row lookup. Current independent operator authority is rechecked after the source read. Returned revisions are retained matching input, not a new registry publication or account authority change. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.",
        "x-appportal-current-authority": "Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.",
        "x-appportal-contract-group": "review-pages",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Single native bounded decimal value; invalid input is not silently clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged current operator/route/selection continuation."
          }
        ]
      }
    },
    "/api/admin/admin/capacity/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminCapacityPage",
        "summary": "Read protected current capacity priority pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current bounded projection; explicit nullable continuation and unknown total.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CapacityCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed selection/continuation invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Ops session/service boundary required; middleware/native response semantics retained.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator/actor unavailable; access_denied. Page selectors do not grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Current source/read/audit unavailable; operations_page_unavailable. No successful empty/zero substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed search/plan/risk/limit/cursor query. Current priority severity descending then C-collated account-ID ascending ordering; the continuation positions this current ranked source, not an immutable snapshot. asOf, rankingBasis and usageCoverage report the actual observation basis. Nullable metric values/reasons and explicit unavailable observations never become zero, unlimited quota or proof of collection enforcement. Current read and audit failures503 remain unavailable. limit defaults25/range1..100; opaque cursor<=8192 is forwarded unchanged. Duplicate/unknown/blank/padded/control selectors reject400. Protection binds immutable operator, current claims, exact route/collection/filters and limit. totalCount:null is unknown, never zero; tampered or changed selection is rejected rather than retargeted; refresh starts a new traversal.",
        "x-appportal-current-authority": "Independent current Ops staff session and PlatformOperator, owning current authorization/read audit; internal/customer credentials alone do not grant authority.",
        "x-appportal-contract-group": "queue-pages",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One literal decimal bound; invalid selectors are rejected rather than clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged current operator/selection continuation."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Optional literal existing account name/slug search; exact trimmed/control-free selector."
          },
          {
            "name": "plan",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "description": "Optional selected current plan filter; no plan or grant is created."
          },
          {
            "name": "risk",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "all",
              "enum": [
                "all",
                "payment-attention",
                "over-limit",
                "at-limit",
                "approaching",
                "within-limit",
                "unavailable"
              ]
            },
            "description": "Exact known native risk selector; omission selects all."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/eligibility-reviews/source/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdEligibilityReviewsSourcePage",
        "summary": "Read protected immutable offering-review source pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded source evidence, not an approval, new grant or provider outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsOfferingReviewSourceCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Malformed or retargeted protected selection; offering_review_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations session/service boundary required; authentication_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent operator unavailable; access_denied.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Explicit unavailable dependency remains dependency_unavailable under the existing shared handler; no successful empty substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "The existing PostgreSQL UUID-ascending keyset and immutable owner-declared versus independently reviewed evidence remain distinct. Current independent operator authorization is required before and after the audited source read; the exact account route and limit bind the protected cursor. Raw UUID positions are internal only. This read creates no review, identity consent, controlled group, financial authority or automatic eligibility. Source fields and current unknown total remain actual evidence, not population or cohort completeness. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.",
        "x-appportal-current-authority": "Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.",
        "x-appportal-contract-group": "review-pages",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected account under current independent Operations authority."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Single native bounded decimal value; invalid input is not silently clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged current operator/route/selection continuation."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/branding/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdBrandingPage",
        "summary": "Read protected current branding permission and history pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current bounded projection; explicit nullable continuation and unknown total.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationBrandingWorkspacePage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid page selection operations_page_invalid or native branding actor/reason organization_branding_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Ops session/service boundary required; middleware/native response semantics retained.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator/actor unavailable; access_denied. Page selectors do not grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Missing organization; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Current branding permission/target conflict; organization_branding_conflict.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Current source/read/audit unavailable; operations_page_unavailable. No successful empty/zero substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed limit/cursor query. Exact current organization selector and independent operator/claims are bound into the continuation. History revision descending; permission is reread after the actual logo stream check and bounded history read, then the read is audited. items are existing retained BrandingPermissionHistory records. logoAvailable observes an opened stream, not a future download promise. Current verified permission is not a new explicit customer grant; this read creates neither consent nor recorded marketing use. limit defaults25/range1..100; opaque cursor<=8192 is forwarded unchanged. Duplicate/unknown/blank/padded/control selectors reject400. Protection binds immutable operator, current claims, exact route/collection/filters and limit. totalCount:null is unknown, never zero; tampered or changed selection is rejected rather than retargeted; refresh starts a new traversal.",
        "x-appportal-current-authority": "Independent current Ops staff session and PlatformOperator, owning current authorization/read audit; internal/customer credentials alone do not grant authority.",
        "x-appportal-contract-group": "queue-pages",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact currently authorized organization selector, not an account authority header."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One literal decimal bound; invalid selectors are rejected rather than clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged current operator/selection continuation."
          }
        ]
      }
    },
    "/api/admin/admin/smart-link-domain-requests/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminSmartLinkDomainRequestsPage",
        "summary": "Read protected Smart Link domain-review queue pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual bounded source evidence, not an approval, new grant or provider outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsDomainReviewCursorPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed status/limit/cursor selection invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Existing Operations session/service boundary required; authentication_required.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent operator unavailable; access_denied.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Current queue/read/audit unavailable; operations_page_unavailable. No successful empty substitute.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "RequestedAt ascending then C-collated domain-ID ascending keyset of current family representatives, preserving production family/status/host metadata and pre-family standalone requests. Status uses defined names case-insensitively and retains defined numeric enum compatibility; unsupported numeric values400. The exact supplied status spelling is bound into the cursor, even when another spelling would resolve to the same state. Sensitive source reads are audited. Listing review evidence does not approve a domain, contact DNS or establish publication. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.",
        "x-appportal-current-authority": "Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.",
        "x-appportal-contract-group": "review-pages",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "Single native bounded decimal value; invalid input is not silently clamped."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged current operator/route/selection continuation."
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional PendingReview/Approved/Declined/Withdrawn, case-insensitive with defined numeric enum compatibility. Exact supplied spelling/whitespace/control rules are retained; no canonical-only enum restriction is invented."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/users/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdUsersPage",
        "summary": "Read protected organization member pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsMembershipPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: current collection could not be read; not an empty directory or zero total.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Same MembershipRecord projection as the bounded legacy list. search/status/excludeTeamId are actual selectors; selected account existence is checked. totalCount reports the matching stored membership count after these filters and before continuation. Known zero is retained; the count is not inferred from this page length or guaranteed stable across concurrent writes.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Optional literal bounded search; no outer whitespace/control characters."
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "Active",
                "Invited"
              ]
            },
            "description": "Exact case-sensitive defined MembershipStatus name; no numeric/combined aliases."
          },
          {
            "name": "excludeTeamId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional selected group exclusion under the same current account."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/groups/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdGroupsPage",
        "summary": "Read group directory pages without embedded member lists",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsTeamDirectoryPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: current collection could not be read; not an empty directory or zero total.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target. Each TeamDirectoryEntry has memberCount and no members array. The envelope totalCount reports the matching stored group count after search and before continuation; memberCount is a separate per-group membership count. Known zero is retained. Use the independently paged group-member resource for identities; no cross-request snapshot is promised.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Optional literal bounded search; no outer whitespace/control characters."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/groups/{teamId}/members/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdGroupsTeamIdMembersPage",
        "summary": "Read independently protected group-member pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsTeamMemberPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: current collection could not be read; not an empty directory or zero total.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target. TeamMember carries nullable displayName/email and addedAt. totalCount reports the matching stored group-membership count after search and before continuation, preserving known zero independently of page length. Missing or mismatched group returns404; cursor is bound to this selected account/group and search. Concurrent changes may alter a later count.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "teamId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Existing selected resource identifier."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "description": "Optional literal bounded search; no outer whitespace/control characters."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/access-rules/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdAccessRulesPage",
        "summary": "Read protected external-access policy pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual existing staff response DTO.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsAccessPolicyPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "An authenticated Ops session is required; middleware may return a bodyless failure.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Selected account/resource unavailable; legacy handler/filter failures may be bodyless.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "500": {
            "description": "Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "operations_page_unavailable: current collection could not be read; not an empty directory or zero total.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Organization-only target; current totalCount remains null. Policies are ordered by the stored C-collated policy ID. No remote provider lookup or access guarantee is inferred.",
        "x-appportal-current-authority": "Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.",
        "x-appportal-contract-group": "organization-access",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Explicit staff support target; does not make the operator a member of the selected account."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            },
            "description": "One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/billing/price-notices/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdBillingPriceNoticesPage",
        "summary": "Read protected price-notice history with full active-intent evidence",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPriceNoticeHistoryPage"
                }
              }
            }
          },
          "400": {
            "description": "Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "409": {
            "description": "Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed limit/cursor query via the actual Operations page parser; default25/range1..100. Protected continuation binds current operator claims, account route and exact limit. Items use created-desc/id-ascending order. hasActiveNotice is independently computed across the full account predicate, not only the displayed page; false is retained. No total-count field is invented. Missing nullable nextCursor means no continuation in the observed page.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/quotes/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdQuotesPage",
        "summary": "Read protected account quote pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsQuotePage"
                }
              }
            }
          },
          "400": {
            "description": "Query/cursor invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Quote history unavailable; operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed tenantId/limit/cursor query; default25/range1..100. Protected continuation binds current operator claims, route, collection, exact account filter and limit; created-desc/id-ascending order. Prospect route selects only unlinked quotes; route/query mismatch400. totalCount remains null, not a factual zero or a known whole population. Preserve unchanged continuation and selection.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact server-authorized selected tenantId; not a credential or role grant."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact account filter; must match route selection when present."
          }
        ]
      }
    },
    "/api/admin/admin/tenants/{tenantId}/telemetry-quarantine/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminTenantsTenantIdTelemetryQuarantinePage",
        "summary": "Read payload-free recovery queue metadata for the selected account",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceQuarantinePage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Selected tenantId must be nonblank and at most 128 characters. includeResolved defaults false and uses native bool.TryParse (case-insensitive true/false); false selects only Pending disposition. Priority orders Pending first, then updatedAt descending and archiveId PostgreSQL C ascending; the continuation retains this actual priority/time/ID. Items contain only archive/scope/kind/reason/disposition/payloadState/timestamps, routePinned boolean and nullable recovery operation status/attempt/outcome metadata. No payload bytes, secret reference, pinned provider source ID or raw failure details are returned. routePinned indicates retained routing evidence, not provider availability or permission to redrive. This GET does not request redrive/terminal resolution, purge records or assert success. Current unknown totalCount remains null. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected tenantId; this is a resource selector, not an authority grant."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque exact unchanged protected continuation; no surrounding whitespace or controls."
          },
          {
            "name": "includeResolved",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "One nonblank/trimmed/control-free true or false literal; native case-insensitive bool parser. Unknown or repeated selectors 400."
          }
        ]
      }
    },
    "/api/admin/admin/disputed-orgs/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminDisputedOrgsPage",
        "summary": "Scan bounded organization candidates for staff review",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceDisputedPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "This is an examined-organization candidate scan, not a page of guaranteed matches. Each page examines up to limit organizations in tenantId PostgreSQL C ascending order; unmatched organizations still advance the protected continuation. An empty items array WITH nextCursor is valid and does not mean scan completion. Two existing heuristics identify corporate-domain collision or well-known-brand/free-email candidates; this is not verified wrongdoing or an automatic remediation decision. blockedClaimantCount is the actual count for the detected domain, while totalCount remains unknown/null. No claimant list is embedded; use the separate current-domain claimant page. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque exact unchanged protected continuation; no surrounding whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/disputed-orgs/{tenantId}/claimants/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminDisputedOrgsTenantIdClaimantsPage",
        "summary": "Read only the selected candidate's current-domain claimants",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceClaimantPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "The selected organization is absent or not an organization; resource_not_found.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual userId/email projection for users whose email matches the currently detected corporate domain and who are not members of the selected organization. The implementation's selection does not add an independent email-verification filter; this read must not be described as newly verified email evidence. It rereads current organization/detection/domain and orders userId using PostgreSQL C ascending. A changed detected domain invalidates the inner continuation. Existing organization with no corporate-domain detection returns an empty page; absent/non-organization 404. The outer cursor binds selected tenantId, collection/current operator/limit; it cannot be retargeted to another candidate. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Exact selected tenantId; this is a resource selector, not an authority grant."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque exact unchanged protected continuation; no surrounding whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/feature-flags/controls": {
      "get": {
        "operationId": "adminGetApiAdminAdminFeatureFlagsControls",
        "summary": "Read supported runtime feature controls",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsConfigurationFlagControlArray"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Invalid explicit selector; feature_flag_scope_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "404": {
            "description": "Organization cannot be verified; feature_flag_organization_unverified.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Control data unavailable; feature_flag_unavailable. Unknown is not a successful disabled result.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Only registered controls are returned with global/organization rows, effective switch source and nullable contractAuthorized. A true switch does not grant a contract entitlement or prove provider configuration. Closed, single tenantId query: absent selects global; an exact trimmed/control-free organization identifier<=256 must identify an Organization. Personal workspaces, platform/global literals and repeated/unknown selectors are rejected. The read is audited and private/no-store.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact scope selector here; absence selects platform. Current operator claims remain separate.",
            "required": false
          }
        ]
      }
    },
    "/api/admin/admin/feature-flags/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminFeatureFlagsPage",
        "summary": "Read protected global and selected-scope flag rows",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized owning-source projection/recorded outcome.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsConfigurationFlagPage"
                }
              }
            }
          },
          "400": {
            "description": "Closed selector/cursor invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent staff session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Stored collection unavailable; operations_page_unavailable, no successful zero is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual stored global plus selected-scope entries, including duplicate flag keys in different scopes. These are not flattened effective flags, a plan/role grant or proof of runtime rollout. Closed tenantId/limit/cursor query; selected scope defaultsplatform. Selector is exact trimmed/control-free<=256 here. Key-ascending/scope-ascending C ordering; continuation binds current operator claims, route/selection and limit. Default25/max100; totalCount null remains unknown.",
        "x-appportal-current-authority": "Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.",
        "x-appportal-contract-group": "configuration",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value; unknown/repeated selectors reject."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact scope selector here; absence selects platform. Current operator claims remain separate.",
            "required": false
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque unchanged collection/actor/selection/limit continuation."
          }
        ]
      }
    },
    "/api/admin/admin/leads/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminLeadsPage",
        "summary": "Read protected staff lead pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceLeadPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Stored sales lead projection includes workEmail, name, company/teamSize and submitted message/source; this is staff-confidential contact data, not a public lead feed. SQL orders submittedAt descending then leadId using PostgreSQL C ascending, and fetches only limit+1. No search/filter selector is bound here. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque exact unchanged protected continuation; no surrounding whitespace or controls."
          }
        ]
      }
    },
    "/api/admin/admin/status/incidents/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminStatusIncidentsPage",
        "summary": "Read protected staff incident history",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual current staff projection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsStatusIncidentPage"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent Ops session/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "410": {
            "description": "Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "History unavailable; operations_page_unavailable. No successful zero/empty page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed includeResolved/limit/cursor query. Defaultsfalse/25; limit1..100. Protected continuation binds current operator claims, route, collection, exact filters and limit; startedAt-desc/id-ascending ordering. Current persisted history, not a capped signed public overview. nextCursor/totalCount remain nullable; totalCount null is not a factual zero or claimed population. Staff authors and optional metadata remain the actual protected projection. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.",
        "x-appportal-current-authority": "Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.",
        "x-appportal-contract-group": "bindings-status",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          },
          {
            "name": "includeResolved",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional native boolean, case-insensitive and trimmed/control-free. Defaultfalse."
          }
        ]
      }
    },
    "/api/admin/admin/audit/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminAuditPage",
        "summary": "Read protected staff audit pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized stored projection; no live-provider or empty-population inference.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsEvidenceAuditPage"
                }
              }
            },
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "description": "Closed query/protected continuation/selector invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/server boundary required; native body can be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current PlatformOperator required; access_denied or the native role filter response.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Actual immutable PortalAuditEvent projection, including nullable beforeState/afterState/correlationId and original actor/scope/time. These are stored strings, not invented structured deltas or proof that the described external action completed. Exact optional appId/action filters apply within tenantId (default platform), not the operator's org claim. SQL orders occurredAt descending then auditEventId using PostgreSQL C ascending. Reads do not mutate audit entries or grant customer access. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.",
        "x-appportal-current-authority": "Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.",
        "x-appportal-contract-group": "operations-evidence",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque exact unchanged protected continuation; no surrounding whitespace or controls."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact account audit scope; absent selects platform. The selector grants no staff authority."
          },
          {
            "name": "appId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional exact app filter within the selected audit scope."
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Optional exact stored action filter; case is not normalized."
          }
        ]
      }
    },
    "/api/admin/admin/quotes/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminQuotesPage",
        "summary": "Read protected cross-account quote pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsQuotePage"
                }
              }
            }
          },
          "400": {
            "description": "Query/cursor invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Quote history unavailable; operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed tenantId/limit/cursor query; default25/range1..100. Protected continuation binds current operator claims, route, collection, exact account filter and limit; created-desc/id-ascending order. Prospect route selects only unlinked quotes; route/query mismatch400. totalCount remains null, not a factual zero or a known whole population. Preserve unchanged continuation and selection.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact account filter; must match route selection when present."
          }
        ]
      }
    },
    "/api/admin/admin/quotes/prospects/page": {
      "get": {
        "operationId": "adminGetApiAdminAdminQuotesProspectsPage",
        "summary": "Read protected prospect quote pages",
        "tags": [
          "admin"
        ],
        "security": [
          {
            "browserSession": []
          }
        ],
        "x-appportal-authentication": "browser-session",
        "x-appportal-csrf": false,
        "responses": {
          "200": {
            "description": "Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsQuotePage"
                }
              }
            }
          },
          "400": {
            "description": "Query/cursor invalid; operations_page_invalid.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "401": {
            "description": "Independent authenticated Ops/service boundary required; native body may be absent.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "403": {
            "description": "Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          },
          "503": {
            "description": "Quote history unavailable; operations_page_unavailable.",
            "x-appportal-body-may-be-absent": true,
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsBetaProblem"
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            },
            "headers": {
              "X-AppPortal-TraceId": {
                "$ref": "#/components/headers/ManagementProblemTraceId"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/ManagementProblemCacheControl"
              }
            }
          }
        },
        "description": "Closed tenantId/limit/cursor query; default25/range1..100. Protected continuation binds current operator claims, route, collection, exact account filter and limit; created-desc/id-ascending order. Prospect route selects only unlinked quotes; route/query mismatch400. totalCount remains null, not a factual zero or a known whole population. Preserve unchanged continuation and selection.",
        "x-appportal-current-authority": "Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.",
        "x-appportal-contract-group": "commercial",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 100
            },
            "description": "One decimal value without whitespace or repeated names."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 8192
            },
            "description": "Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls."
          },
          {
            "name": "tenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "description": "Exact account filter; must match route selection when present."
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "browserSession": {
        "type": "apiKey",
        "in": "cookie",
        "name": "__Host-AppPortal.Ops.Session",
        "description": "Opaque, Secure, HttpOnly, SameSite browser session. Development uses the same name without the __Host- prefix."
      },
      "csrfToken": {
        "type": "apiKey",
        "in": "header",
        "name": "X-AppPortal-CSRF",
        "description": "Required together with the matching non-HttpOnly CSRF cookie for authenticated mutation requests."
      }
    },
    "schemas": {
      "SetProductBetaGrantRequest": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "description": "Actual request binding. Acceptance requires a reason trimmed to 8..1000 control-free characters, nonnegative current expectedRevision and, when enabling with an expiry, a future expiresAt. Expiry is optional, not a fixed invented TTL. Owner identity comes from the server's current account record, never the operator body."
      },
      "OpsBetaProblem": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "integer",
              "null"
            ]
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "instance": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "traceId": {
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          }
        }
      },
      "OpsBetaGrantUpdated": {
        "type": "object",
        "properties": {
          "updated": {
            "const": true,
            "type": "boolean"
          }
        },
        "required": [
          "updated"
        ]
      },
      "CapacityQueuePage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "asOf": {
            "type": "string",
            "format": "date-time"
          },
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "kind": {
                  "enum": [
                    "Personal",
                    "Organization"
                  ]
                },
                "planKey": {
                  "type": "string"
                },
                "limitBasis": {
                  "type": "string"
                },
                "priority": {
                  "type": "string"
                },
                "billingState": {
                  "type": "string"
                },
                "entitled": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "paidThrough": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "recoveryDeadline": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "recordedCreditBalance": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "grace": {
                  "type": "object",
                  "properties": {
                    "state": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "deadline": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "lastObservedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "recoveredThrough": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "state",
                    "startedAt",
                    "deadline",
                    "lastObservedAt",
                    "recoveredThrough"
                  ]
                },
                "telemetryEnforcement": {
                  "type": "string"
                },
                "metrics": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "unit": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      },
                      "measurement": {
                        "type": "string"
                      },
                      "used": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "limit": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "limitSource": {
                        "type": "string"
                      },
                      "observed": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "observationUnit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "periodStart": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      },
                      "periodEnd": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      },
                      "observationStart": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      },
                      "observationEnd": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      }
                    },
                    "required": [
                      "key",
                      "unit",
                      "state",
                      "measurement",
                      "used",
                      "limit",
                      "limitSource",
                      "observed",
                      "observationUnit",
                      "reason"
                    ]
                  }
                }
              },
              "required": [
                "tenantId",
                "name",
                "slug",
                "kind",
                "planKey",
                "limitBasis",
                "priority",
                "billingState",
                "entitled",
                "paidThrough",
                "recoveryDeadline",
                "recordedCreditBalance",
                "grace",
                "telemetryEnforcement",
                "metrics"
              ]
            }
          },
          "page": {
            "type": "integer"
          },
          "pageSize": {
            "type": "integer"
          },
          "hasMore": {
            "type": "boolean"
          },
          "rankingBasis": {
            "type": "string"
          },
          "usageCoverage": {
            "type": "string"
          }
        },
        "required": [
          "asOf",
          "items",
          "page",
          "pageSize",
          "hasMore",
          "rankingBasis",
          "usageCoverage"
        ]
      },
      "CapacityMetric": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "measurement": {
            "type": "string"
          },
          "used": {
            "type": [
              "integer",
              "null"
            ]
          },
          "limit": {
            "type": [
              "integer",
              "null"
            ]
          },
          "limitSource": {
            "type": "string"
          },
          "observed": {
            "type": [
              "integer",
              "null"
            ]
          },
          "observationUnit": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "periodStart": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "periodEnd": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "observationStart": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "observationEnd": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "key",
          "unit",
          "state",
          "measurement",
          "used",
          "limit",
          "limitSource",
          "observed",
          "observationUnit",
          "reason"
        ]
      },
      "CapacityGraceEvidence": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "state": {
            "type": "string"
          },
          "startedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "deadline": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastObservedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recoveredThrough": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "state",
          "startedAt",
          "deadline",
          "lastObservedAt",
          "recoveredThrough"
        ]
      },
      "TenantCapacityRow": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "Personal",
              "Organization"
            ]
          },
          "planKey": {
            "type": "string"
          },
          "limitBasis": {
            "type": "string"
          },
          "priority": {
            "type": "string"
          },
          "billingState": {
            "type": "string"
          },
          "entitled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "paidThrough": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recoveryDeadline": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recordedCreditBalance": {
            "type": [
              "number",
              "null"
            ]
          },
          "grace": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "startedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "deadline": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "recoveredThrough": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "state",
              "startedAt",
              "deadline",
              "lastObservedAt",
              "recoveredThrough"
            ]
          },
          "telemetryEnforcement": {
            "type": "string"
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "measurement": {
                  "type": "string"
                },
                "used": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "limit": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "limitSource": {
                  "type": "string"
                },
                "observed": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "observationUnit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "periodStart": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "periodEnd": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "observationStart": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "observationEnd": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                }
              },
              "required": [
                "key",
                "unit",
                "state",
                "measurement",
                "used",
                "limit",
                "limitSource",
                "observed",
                "observationUnit",
                "reason"
              ]
            }
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug",
          "kind",
          "planKey",
          "limitBasis",
          "priority",
          "billingState",
          "entitled",
          "paidThrough",
          "recoveryDeadline",
          "recordedCreditBalance",
          "grace",
          "telemetryEnforcement",
          "metrics"
        ]
      },
      "AdminUserPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "displayName": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "active": {
                  "type": "boolean"
                },
                "portalAccess": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "decidedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "revision": {
                      "type": "integer",
                      "default": 0
                    },
                    "isWaitlisted": {
                      "type": "boolean",
                      "readOnly": true
                    }
                  },
                  "required": [
                    "status",
                    "source"
                  ],
                  "default": null
                }
              },
              "required": [
                "userId",
                "email",
                "displayName",
                "createdAt",
                "active"
              ]
            }
          },
          "total": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "pageSize": {
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "page",
          "pageSize"
        ]
      },
      "AdminUserSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "portalAccess": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "status": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "decidedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "revision": {
                "type": "integer",
                "default": 0
              },
              "isWaitlisted": {
                "type": "boolean",
                "readOnly": true
              }
            },
            "required": [
              "status",
              "source"
            ],
            "default": null
          }
        },
        "required": [
          "userId",
          "email",
          "displayName",
          "createdAt",
          "active"
        ]
      },
      "TenantRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "plan": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "kind": {
            "enum": [
              "Personal",
              "Organization"
            ],
            "default": "Organization"
          },
          "certifiedBy": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "certifiedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "ownerUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "verificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ],
            "default": "Unverified"
          },
          "holdLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ],
            "default": "None"
          },
          "verificationReviewAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "verificationExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug",
          "plan",
          "createdAt",
          "active"
        ]
      },
      "OperationsTenantDirectoryPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "plan": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "active": {
                  "type": "boolean"
                },
                "kind": {
                  "enum": [
                    "Personal",
                    "Organization"
                  ],
                  "default": "Organization"
                },
                "certifiedBy": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "certifiedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "ownerUserId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "verificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ],
                  "default": "Unverified"
                },
                "holdLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ],
                  "default": "None"
                },
                "verificationReviewAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "verificationExpiresAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                }
              },
              "required": [
                "tenantId",
                "name",
                "slug",
                "plan",
                "createdAt",
                "active"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "organizationAdmissionWorkflowEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "items",
          "nextCursor",
          "organizationAdmissionWorkflowEnabled"
        ]
      },
      "OpsUserCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "displayName": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "active": {
                  "type": "boolean"
                },
                "portalAccess": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "decidedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "revision": {
                      "type": "integer",
                      "default": 0
                    },
                    "isWaitlisted": {
                      "type": "boolean",
                      "readOnly": true
                    }
                  },
                  "required": [
                    "status",
                    "source"
                  ],
                  "default": null
                }
              },
              "required": [
                "userId",
                "email",
                "displayName",
                "createdAt",
                "active"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsLegacyAccountDirectory": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantRecord"
            }
          },
          "total": {
            "type": "integer"
          },
          "page": {
            "type": "integer"
          },
          "pageSize": {
            "type": "integer"
          },
          "organizationAdmissionWorkflowEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "items",
          "total",
          "page",
          "pageSize",
          "organizationAdmissionWorkflowEnabled"
        ],
        "additionalProperties": false
      },
      "MembershipRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "tenantName": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Active",
              "Invited"
            ]
          },
          "roles": {
            "type": "array",
            "items": {
              "enum": [
                "Admin",
                "AppOwner",
                "Developer",
                "ProductOwner",
                "Support",
                "PlatformOperator"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "tenantKind": {
            "enum": [
              "Personal",
              "Organization"
            ],
            "default": "Organization"
          },
          "externallyProvisioned": {
            "type": "boolean",
            "default": false
          },
          "ownerUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "userId",
          "email",
          "displayName",
          "tenantId",
          "tenantSlug",
          "tenantName",
          "status",
          "roles",
          "createdAt"
        ]
      },
      "Team": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "teamId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "allApps": {
            "type": "boolean"
          },
          "appIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "capabilities": {
            "type": "array",
            "items": {
              "enum": [
                "ViewAnalytics",
                "ViewCrashes",
                "ManageCrashWorkflow",
                "AssignCrashOwners",
                "ViewLogs",
                "ManageReleases",
                "AccessDistribution",
                "ManageMessaging",
                "ViewLocation",
                "ManageIssueConnections",
                "ManageTeamMembers"
              ]
            }
          },
          "members": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "email": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "userId",
                "displayName",
                "email",
                "addedAt"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "teamId",
          "tenantId",
          "name",
          "description",
          "allApps",
          "appIds",
          "capabilities",
          "members",
          "createdAt"
        ]
      },
      "TeamDirectoryEntry": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "teamId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "allApps": {
            "type": "boolean"
          },
          "appIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "capabilities": {
            "type": "array",
            "items": {
              "enum": [
                "ViewAnalytics",
                "ViewCrashes",
                "ManageCrashWorkflow",
                "AssignCrashOwners",
                "ViewLogs",
                "ManageReleases",
                "AccessDistribution",
                "ManageMessaging",
                "ViewLocation",
                "ManageIssueConnections",
                "ManageTeamMembers"
              ]
            }
          },
          "memberCount": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "teamId",
          "tenantId",
          "name",
          "description",
          "allApps",
          "appIds",
          "capabilities",
          "memberCount",
          "createdAt"
        ]
      },
      "TeamMember": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "userId",
          "displayName",
          "email",
          "addedAt"
        ]
      },
      "ExternalAccessPolicyRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "policyId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "enum": [
              "Microsoft",
              "Google",
              "GitHub"
            ]
          },
          "requirement": {
            "enum": [
              "MicrosoftTenant",
              "MicrosoftSecurityGroup",
              "GoogleWorkspaceDomain",
              "GitHubOrganization",
              "GitHubTeam",
              "GitHubRepository",
              "GoogleWorkspaceGroup",
              "MicrosoftVerifiedDomainGroup",
              "MicrosoftDirectoryMember"
            ]
          },
          "authority": {
            "type": "string"
          },
          "resource": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "enum": [
              "Admin",
              "AppOwner",
              "Developer",
              "ProductOwner",
              "Support",
              "PlatformOperator",
              null
            ]
          },
          "requireCurrentProvider": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "enrollment": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "authorityName": {
                "type": "string"
              },
              "resourceName": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "authorityName",
              "resourceName"
            ]
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policyId",
          "tenantId",
          "appId",
          "provider",
          "requirement",
          "authority",
          "resource",
          "role",
          "requireCurrentProvider",
          "enabled",
          "createdBy",
          "createdAt",
          "updatedAt"
        ]
      },
      "OrganizationAccessSettings": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "externalAccessRefreshHours": {
            "type": "integer"
          },
          "enterpriseConfigurable": {
            "type": "boolean"
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "updatedBy": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "canConfigureDirectory": {
            "type": "boolean"
          },
          "canConfigureDirectoryMembers": {
            "type": "boolean"
          },
          "microsoftGroupDirectoryIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "organizationVerified": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "tenantId",
          "externalAccessRefreshHours",
          "enterpriseConfigurable"
        ]
      },
      "OrganizationInvitationSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "invitationId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "tenantName": {
            "type": "string"
          },
          "purpose": {
            "enum": [
              "InitialOwner",
              "Member"
            ]
          },
          "roles": {
            "type": "array",
            "items": {
              "enum": [
                "Admin",
                "AppOwner",
                "Developer",
                "ProductOwner",
                "Support",
                "PlatformOperator"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "revision": {
            "type": "integer"
          },
          "canAccept": {
            "type": "boolean",
            "default": true
          },
          "canCreateAccount": {
            "type": "boolean",
            "default": true
          }
        },
        "required": [
          "invitationId",
          "tenantId",
          "tenantSlug",
          "tenantName",
          "purpose",
          "roles",
          "createdAt",
          "expiresAt",
          "revision"
        ]
      },
      "OrganizationInvitationManagementRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "summary": {
            "type": "object",
            "properties": {
              "invitationId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "tenantSlug": {
                "type": "string"
              },
              "tenantName": {
                "type": "string"
              },
              "purpose": {
                "enum": [
                  "InitialOwner",
                  "Member"
                ]
              },
              "roles": {
                "type": "array",
                "items": {
                  "enum": [
                    "Admin",
                    "AppOwner",
                    "Developer",
                    "ProductOwner",
                    "Support",
                    "PlatformOperator"
                  ]
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "integer"
              },
              "canAccept": {
                "type": "boolean",
                "default": true
              },
              "canCreateAccount": {
                "type": "boolean",
                "default": true
              }
            },
            "required": [
              "invitationId",
              "tenantId",
              "tenantSlug",
              "tenantName",
              "purpose",
              "roles",
              "createdAt",
              "expiresAt",
              "revision"
            ]
          },
          "recipientEmail": {
            "type": "string"
          }
        },
        "required": [
          "summary",
          "recipientEmail"
        ]
      },
      "OrganizationAdmissionRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Pending",
              "Admitted",
              "AdmissionsPaused"
            ]
          },
          "revision": {
            "type": "integer"
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "initialOwnerInvitationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "initialOwnerInvitationStatus": {
            "enum": [
              "Unknown",
              "NotInvited",
              "Pending",
              "Accepted",
              "Expired",
              "Revoked",
              null
            ]
          },
          "requestedEnterpriseCustomer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "enterpriseCustomerId": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "enterpriseCustomerId",
              "name"
            ]
          },
          "requestedEnterpriseCustomerLinked": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "tenantId",
          "state",
          "revision",
          "createdBy",
          "createdAt",
          "updatedBy",
          "updatedAt",
          "reason",
          "initialOwnerInvitationId"
        ]
      },
      "OrganizationAdmissionProvisionResult": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenant": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "plan": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "active": {
                "type": "boolean"
              },
              "kind": {
                "enum": [
                  "Personal",
                  "Organization"
                ],
                "default": "Organization"
              },
              "certifiedBy": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "certifiedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "ownerUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ],
                "default": "Unverified"
              },
              "holdLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ],
                "default": "None"
              },
              "verificationReviewAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "verificationExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "tenantId",
              "name",
              "slug",
              "plan",
              "createdAt",
              "active"
            ]
          },
          "admission": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Pending",
                  "Admitted",
                  "AdmissionsPaused"
                ]
              },
              "revision": {
                "type": "integer"
              },
              "createdBy": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "reason": {
                "type": "string"
              },
              "initialOwnerInvitationId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "initialOwnerInvitationStatus": {
                "enum": [
                  "Unknown",
                  "NotInvited",
                  "Pending",
                  "Accepted",
                  "Expired",
                  "Revoked",
                  null
                ]
              },
              "requestedEnterpriseCustomer": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "enterpriseCustomerId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "enterpriseCustomerId",
                  "name"
                ]
              },
              "requestedEnterpriseCustomerLinked": {
                "type": [
                  "boolean",
                  "null"
                ]
              }
            },
            "required": [
              "tenantId",
              "state",
              "revision",
              "createdBy",
              "createdAt",
              "updatedBy",
              "updatedAt",
              "reason",
              "initialOwnerInvitationId"
            ]
          }
        },
        "required": [
          "tenant",
          "admission"
        ]
      },
      "OrganizationAdmissionUpdateResult": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "admission": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Pending",
                  "Admitted",
                  "AdmissionsPaused"
                ]
              },
              "revision": {
                "type": "integer"
              },
              "createdBy": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "reason": {
                "type": "string"
              },
              "initialOwnerInvitationId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "initialOwnerInvitationStatus": {
                "enum": [
                  "Unknown",
                  "NotInvited",
                  "Pending",
                  "Accepted",
                  "Expired",
                  "Revoked",
                  null
                ]
              },
              "requestedEnterpriseCustomer": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "enterpriseCustomerId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "enterpriseCustomerId",
                  "name"
                ]
              },
              "requestedEnterpriseCustomerLinked": {
                "type": [
                  "boolean",
                  "null"
                ]
              }
            },
            "required": [
              "tenantId",
              "state",
              "revision",
              "createdBy",
              "createdAt",
              "updatedBy",
              "updatedAt",
              "reason",
              "initialOwnerInvitationId"
            ]
          },
          "invitation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "invitationId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "tenantSlug": {
                "type": "string"
              },
              "tenantName": {
                "type": "string"
              },
              "purpose": {
                "enum": [
                  "InitialOwner",
                  "Member"
                ]
              },
              "roles": {
                "type": "array",
                "items": {
                  "enum": [
                    "Admin",
                    "AppOwner",
                    "Developer",
                    "ProductOwner",
                    "Support",
                    "PlatformOperator"
                  ]
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "integer"
              },
              "canAccept": {
                "type": "boolean",
                "default": true
              },
              "canCreateAccount": {
                "type": "boolean",
                "default": true
              }
            },
            "required": [
              "invitationId",
              "tenantId",
              "tenantSlug",
              "tenantName",
              "purpose",
              "roles",
              "createdAt",
              "expiresAt",
              "revision"
            ]
          }
        },
        "required": [
          "admission",
          "invitation"
        ]
      },
      "EnterpriseCustomerSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "enterpriseCustomerId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "enterpriseCustomerId",
          "name"
        ]
      },
      "EnterpriseOrganizationSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug"
        ]
      },
      "EnterpriseCustomerAdministratorSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "userId",
          "displayName",
          "active"
        ]
      },
      "OpsMemberships": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "userId": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "displayName": {
              "type": "string"
            },
            "tenantId": {
              "type": "string"
            },
            "tenantSlug": {
              "type": "string"
            },
            "tenantName": {
              "type": "string"
            },
            "status": {
              "enum": [
                "Active",
                "Invited"
              ]
            },
            "roles": {
              "type": "array",
              "items": {
                "enum": [
                  "Admin",
                  "AppOwner",
                  "Developer",
                  "ProductOwner",
                  "Support",
                  "PlatformOperator"
                ]
              }
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "tenantKind": {
              "enum": [
                "Personal",
                "Organization"
              ],
              "default": "Organization"
            },
            "externallyProvisioned": {
              "type": "boolean",
              "default": false
            },
            "ownerUserId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "userId",
            "email",
            "displayName",
            "tenantId",
            "tenantSlug",
            "tenantName",
            "status",
            "roles",
            "createdAt"
          ]
        }
      },
      "OpsTeams": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "teamId": {
              "type": "string"
            },
            "tenantId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "allApps": {
              "type": "boolean"
            },
            "appIds": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "capabilities": {
              "type": "array",
              "items": {
                "enum": [
                  "ViewAnalytics",
                  "ViewCrashes",
                  "ManageCrashWorkflow",
                  "AssignCrashOwners",
                  "ViewLogs",
                  "ManageReleases",
                  "AccessDistribution",
                  "ManageMessaging",
                  "ViewLocation",
                  "ManageIssueConnections",
                  "ManageTeamMembers"
                ]
              }
            },
            "members": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "userId": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "addedAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "userId",
                  "displayName",
                  "email",
                  "addedAt"
                ]
              }
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "teamId",
            "tenantId",
            "name",
            "description",
            "allApps",
            "appIds",
            "capabilities",
            "members",
            "createdAt"
          ]
        }
      },
      "OpsAccessPolicies": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "policyId": {
              "type": "string"
            },
            "tenantId": {
              "type": "string"
            },
            "appId": {
              "type": [
                "string",
                "null"
              ]
            },
            "provider": {
              "enum": [
                "Microsoft",
                "Google",
                "GitHub"
              ]
            },
            "requirement": {
              "enum": [
                "MicrosoftTenant",
                "MicrosoftSecurityGroup",
                "GoogleWorkspaceDomain",
                "GitHubOrganization",
                "GitHubTeam",
                "GitHubRepository",
                "GoogleWorkspaceGroup",
                "MicrosoftVerifiedDomainGroup",
                "MicrosoftDirectoryMember"
              ]
            },
            "authority": {
              "type": "string"
            },
            "resource": {
              "type": [
                "string",
                "null"
              ]
            },
            "role": {
              "enum": [
                "Admin",
                "AppOwner",
                "Developer",
                "ProductOwner",
                "Support",
                "PlatformOperator",
                null
              ]
            },
            "requireCurrentProvider": {
              "type": "boolean"
            },
            "enabled": {
              "type": "boolean"
            },
            "createdBy": {
              "type": "string"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "enrollment": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "authorityName": {
                  "type": "string"
                },
                "resourceName": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "authorityName",
                "resourceName"
              ]
            },
            "teamId": {
              "type": [
                "string",
                "null"
              ]
            },
            "teamName": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "policyId",
            "tenantId",
            "appId",
            "provider",
            "requirement",
            "authority",
            "resource",
            "role",
            "requireCurrentProvider",
            "enabled",
            "createdBy",
            "createdAt",
            "updatedAt"
          ]
        }
      },
      "OpsManagementInvitations": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "summary": {
              "type": "object",
              "properties": {
                "invitationId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "tenantSlug": {
                  "type": "string"
                },
                "tenantName": {
                  "type": "string"
                },
                "purpose": {
                  "enum": [
                    "InitialOwner",
                    "Member"
                  ]
                },
                "roles": {
                  "type": "array",
                  "items": {
                    "enum": [
                      "Admin",
                      "AppOwner",
                      "Developer",
                      "ProductOwner",
                      "Support",
                      "PlatformOperator"
                    ]
                  }
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "expiresAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "revision": {
                  "type": "integer"
                },
                "canAccept": {
                  "type": "boolean",
                  "default": true
                },
                "canCreateAccount": {
                  "type": "boolean",
                  "default": true
                }
              },
              "required": [
                "invitationId",
                "tenantId",
                "tenantSlug",
                "tenantName",
                "purpose",
                "roles",
                "createdAt",
                "expiresAt",
                "revision"
              ]
            },
            "recipientEmail": {
              "type": "string"
            }
          },
          "required": [
            "summary",
            "recipientEmail"
          ]
        }
      },
      "OpsInvitationPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "summary": {
                  "type": "object",
                  "properties": {
                    "invitationId": {
                      "type": "string"
                    },
                    "tenantId": {
                      "type": "string"
                    },
                    "tenantSlug": {
                      "type": "string"
                    },
                    "tenantName": {
                      "type": "string"
                    },
                    "purpose": {
                      "enum": [
                        "InitialOwner",
                        "Member"
                      ]
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "enum": [
                          "Admin",
                          "AppOwner",
                          "Developer",
                          "ProductOwner",
                          "Support",
                          "PlatformOperator"
                        ]
                      }
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "expiresAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "revision": {
                      "type": "integer"
                    },
                    "canAccept": {
                      "type": "boolean",
                      "default": true
                    },
                    "canCreateAccount": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "required": [
                    "invitationId",
                    "tenantId",
                    "tenantSlug",
                    "tenantName",
                    "purpose",
                    "roles",
                    "createdAt",
                    "expiresAt",
                    "revision"
                  ]
                },
                "recipientEmail": {
                  "type": "string"
                }
              },
              "required": [
                "summary",
                "recipientEmail"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsMembershipPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "displayName": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "tenantSlug": {
                  "type": "string"
                },
                "tenantName": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "Active",
                    "Invited"
                  ]
                },
                "roles": {
                  "type": "array",
                  "items": {
                    "enum": [
                      "Admin",
                      "AppOwner",
                      "Developer",
                      "ProductOwner",
                      "Support",
                      "PlatformOperator"
                    ]
                  }
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "tenantKind": {
                  "enum": [
                    "Personal",
                    "Organization"
                  ],
                  "default": "Organization"
                },
                "externallyProvisioned": {
                  "type": "boolean",
                  "default": false
                },
                "ownerUserId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "userId",
                "email",
                "displayName",
                "tenantId",
                "tenantSlug",
                "tenantName",
                "status",
                "roles",
                "createdAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsTeamDirectoryPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "teamId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "allApps": {
                  "type": "boolean"
                },
                "appIds": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "capabilities": {
                  "type": "array",
                  "items": {
                    "enum": [
                      "ViewAnalytics",
                      "ViewCrashes",
                      "ManageCrashWorkflow",
                      "AssignCrashOwners",
                      "ViewLogs",
                      "ManageReleases",
                      "AccessDistribution",
                      "ManageMessaging",
                      "ViewLocation",
                      "ManageIssueConnections",
                      "ManageTeamMembers"
                    ]
                  }
                },
                "memberCount": {
                  "type": "integer"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "teamId",
                "tenantId",
                "name",
                "description",
                "allApps",
                "appIds",
                "capabilities",
                "memberCount",
                "createdAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsTeamMemberPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "email": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "userId",
                "displayName",
                "email",
                "addedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsAccessPolicyPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "policyId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "provider": {
                  "enum": [
                    "Microsoft",
                    "Google",
                    "GitHub"
                  ]
                },
                "requirement": {
                  "enum": [
                    "MicrosoftTenant",
                    "MicrosoftSecurityGroup",
                    "GoogleWorkspaceDomain",
                    "GitHubOrganization",
                    "GitHubTeam",
                    "GitHubRepository",
                    "GoogleWorkspaceGroup",
                    "MicrosoftVerifiedDomainGroup",
                    "MicrosoftDirectoryMember"
                  ]
                },
                "authority": {
                  "type": "string"
                },
                "resource": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "role": {
                  "enum": [
                    "Admin",
                    "AppOwner",
                    "Developer",
                    "ProductOwner",
                    "Support",
                    "PlatformOperator",
                    null
                  ]
                },
                "requireCurrentProvider": {
                  "type": "boolean"
                },
                "enabled": {
                  "type": "boolean"
                },
                "createdBy": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "enrollment": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "authorityName": {
                      "type": "string"
                    },
                    "resourceName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "authorityName",
                    "resourceName"
                  ]
                },
                "teamId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "teamName": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "policyId",
                "tenantId",
                "appId",
                "provider",
                "requirement",
                "authority",
                "resource",
                "role",
                "requireCurrentProvider",
                "enabled",
                "createdBy",
                "createdAt",
                "updatedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsEnterpriseCustomerPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "enterpriseCustomerId": {
                  "type": "string",
                  "format": "uuid"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "enterpriseCustomerId",
                "name"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsEnterpriseOrganizationPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                }
              },
              "required": [
                "tenantId",
                "name",
                "slug"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": "integer"
          },
          "organizationLimit": {
            "type": [
              "integer",
              "null"
            ]
          },
          "offeringTenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "pendingOrganizationRequestCount": {
            "type": "integer",
            "default": 0
          }
        },
        "required": [
          "items",
          "nextCursor",
          "totalCount",
          "organizationLimit",
          "offeringTenantId"
        ]
      },
      "OpsEnterpriseAdministratorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "displayName": {
                  "type": "string"
                },
                "active": {
                  "type": "boolean"
                }
              },
              "required": [
                "userId",
                "displayName",
                "active"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "AddTenantMemberRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": [
              "string",
              "null"
            ]
          },
          "roles": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\s*(?:(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR])(?:\\s*,\\s*(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR]))*|[+-]?[0-9]+)\\s*$"
                },
                {
                  "type": "integer"
                }
              ],
              "x-appportal-canonical-enum-values": [
                "Admin",
                "AppOwner",
                "Developer",
                "ProductOwner",
                "Support",
                "PlatformOperator"
              ],
              "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
            }
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "RemoveTenantMemberRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OpsTeamWriteRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "allApps": {
            "type": "boolean"
          },
          "appIds": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "capabilities": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\s*(?:(?:[vV][iI][eE][wW][aA][nN][aA][lL][yY][tT][iI][cC][sS]|[vV][iI][eE][wW][cC][rR][aA][sS][hH][eE][sS]|[mM][aA][nN][aA][gG][eE][cC][rR][aA][sS][hH][wW][oO][rR][kK][fF][lL][oO][wW]|[aA][sS][sS][iI][gG][nN][cC][rR][aA][sS][hH][oO][wW][nN][eE][rR][sS]|[vV][iI][eE][wW][lL][oO][gG][sS]|[mM][aA][nN][aA][gG][eE][rR][eE][lL][eE][aA][sS][eE][sS]|[aA][cC][cC][eE][sS][sS][dD][iI][sS][tT][rR][iI][bB][uU][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][mM][eE][sS][sS][aA][gG][iI][nN][gG]|[vV][iI][eE][wW][lL][oO][cC][aA][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][iI][sS][sS][uU][eE][cC][oO][nN][nN][eE][cC][tT][iI][oO][nN][sS]|[mM][aA][nN][aA][gG][eE][tT][eE][aA][mM][mM][eE][mM][bB][eE][rR][sS])(?:\\s*,\\s*(?:[vV][iI][eE][wW][aA][nN][aA][lL][yY][tT][iI][cC][sS]|[vV][iI][eE][wW][cC][rR][aA][sS][hH][eE][sS]|[mM][aA][nN][aA][gG][eE][cC][rR][aA][sS][hH][wW][oO][rR][kK][fF][lL][oO][wW]|[aA][sS][sS][iI][gG][nN][cC][rR][aA][sS][hH][oO][wW][nN][eE][rR][sS]|[vV][iI][eE][wW][lL][oO][gG][sS]|[mM][aA][nN][aA][gG][eE][rR][eE][lL][eE][aA][sS][eE][sS]|[aA][cC][cC][eE][sS][sS][dD][iI][sS][tT][rR][iI][bB][uU][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][mM][eE][sS][sS][aA][gG][iI][nN][gG]|[vV][iI][eE][wW][lL][oO][cC][aA][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][iI][sS][sS][uU][eE][cC][oO][nN][nN][eE][cC][tT][iI][oO][nN][sS]|[mM][aA][nN][aA][gG][eE][tT][eE][aA][mM][mM][eE][mM][bB][eE][rR][sS]))*|[+-]?[0-9]+)\\s*$"
                },
                {
                  "type": "integer"
                }
              ],
              "x-appportal-canonical-enum-values": [
                "ViewAnalytics",
                "ViewCrashes",
                "ManageCrashWorkflow",
                "AssignCrashOwners",
                "ViewLogs",
                "ManageReleases",
                "AccessDistribution",
                "ManageMessaging",
                "ViewLocation",
                "ManageIssueConnections",
                "ManageTeamMembers"
              ],
              "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
            }
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OpsTeamMemberRequest": {
        "type": "object",
        "properties": {
          "userId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OpsSupportReasonRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OpsExternalAccessPolicyWriteRequest": {
        "type": "object",
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT]|[gG][oO][oO][gG][lL][eE]|[gG][iI][tT][hH][uU][bB])(?:\\s*,\\s*(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT]|[gG][oO][oO][gG][lL][eE]|[gG][iI][tT][hH][uU][bB]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Microsoft",
              "Google",
              "GitHub"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "requirement": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT][tT][eE][nN][aA][nN][tT]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][sS][eE][cC][uU][rR][iI][tT][yY][gG][rR][oO][uU][pP]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][dD][oO][mM][aA][iI][nN]|[gG][iI][tT][hH][uU][bB][oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN]|[gG][iI][tT][hH][uU][bB][tT][eE][aA][mM]|[gG][iI][tT][hH][uU][bB][rR][eE][pP][oO][sS][iI][tT][oO][rR][yY]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][vV][eE][rR][iI][fF][iI][eE][dD][dD][oO][mM][aA][iI][nN][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][dD][iI][rR][eE][cC][tT][oO][rR][yY][mM][eE][mM][bB][eE][rR])(?:\\s*,\\s*(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT][tT][eE][nN][aA][nN][tT]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][sS][eE][cC][uU][rR][iI][tT][yY][gG][rR][oO][uU][pP]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][dD][oO][mM][aA][iI][nN]|[gG][iI][tT][hH][uU][bB][oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN]|[gG][iI][tT][hH][uU][bB][tT][eE][aA][mM]|[gG][iI][tT][hH][uU][bB][rR][eE][pP][oO][sS][iI][tT][oO][rR][yY]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][vV][eE][rR][iI][fF][iI][eE][dD][dD][oO][mM][aA][iI][nN][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][dD][iI][rR][eE][cC][tT][oO][rR][yY][mM][eE][mM][bB][eE][rR]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "MicrosoftTenant",
              "MicrosoftSecurityGroup",
              "GoogleWorkspaceDomain",
              "GitHubOrganization",
              "GitHubTeam",
              "GitHubRepository",
              "GoogleWorkspaceGroup",
              "MicrosoftVerifiedDomainGroup",
              "MicrosoftDirectoryMember"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "authority": {
            "type": [
              "string",
              "null"
            ]
          },
          "resource": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR])(?:\\s*,\\s*(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Admin",
              "AppOwner",
              "Developer",
              "ProductOwner",
              "Support",
              "PlatformOperator"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "requireCurrentProvider": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OpsOrganizationAccessSettingsRequest": {
        "type": "object",
        "properties": {
          "externalAccessRefreshHours": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OrganizationInvitationRevisionRequest": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "ProvisionPendingOrganizationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "enterpriseCustomerId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "default": null
          }
        }
      },
      "OrganizationAdmissionUpdateRequest": {
        "type": "object",
        "properties": {
          "state": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[pP][eE][nN][dD][iI][nN][gG]|[aA][dD][mM][iI][tT][tT][eE][dD]|[aA][dD][mM][iI][sS][sS][iI][oO][nN][sS][pP][aA][uU][sS][eE][dD])(?:\\s*,\\s*(?:[pP][eE][nN][dD][iI][nN][gG]|[aA][dD][mM][iI][tT][tT][eE][dD]|[aA][dD][mM][iI][sS][sS][iI][oO][nN][sS][pP][aA][uU][sS][eE][dD]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Pending",
              "Admitted",
              "AdmissionsPaused"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "initialOwnerEmail": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "initialOwnerUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        }
      },
      "RegisterEnterpriseCustomerRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        }
      },
      "LinkEnterpriseOrganizationRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "SetEnterpriseCustomerAdministratorRequest": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "ProtectedBrandRegistryEntry": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "brand": {
            "type": "object",
            "properties": {
              "brandId": {
                "type": "string"
              },
              "canonicalName": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "Active",
                  "Watch",
                  "Retired"
                ]
              },
              "risk": {
                "type": "string"
              },
              "aliases": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "independentlyProtected": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "required": [
                    "name"
                  ]
                }
              },
              "officialDomains": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "brandId",
              "canonicalName",
              "status",
              "risk",
              "aliases",
              "officialDomains"
            ]
          },
          "source": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "marketNotes": {
            "type": "string"
          },
          "reviewAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "brand",
          "source",
          "reason",
          "marketNotes",
          "reviewAt"
        ]
      },
      "ProtectedBrandDefinition": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "brandId": {
            "type": "string"
          },
          "canonicalName": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Active",
              "Watch",
              "Retired"
            ]
          },
          "risk": {
            "type": "string"
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "independentlyProtected": {
                  "type": "boolean",
                  "default": true
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "officialDomains": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "required": [
          "brandId",
          "canonicalName",
          "status",
          "risk",
          "aliases",
          "officialDomains"
        ]
      },
      "ProtectedBrandAlias": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "independentlyProtected": {
            "type": "boolean",
            "default": true
          }
        },
        "required": [
          "name"
        ]
      },
      "ProtectedBrandRevisionView": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revision": {
            "type": "object",
            "properties": {
              "revisionId": {
                "type": "string"
              },
              "parentRevisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sha256": {
                "type": "string"
              },
              "matcherVersion": {
                "type": "string"
              },
              "normalizationBasis": {
                "type": "string"
              },
              "publishedBy": {
                "type": "string"
              },
              "publishedAt": {
                "type": "string",
                "format": "date-time"
              },
              "reason": {
                "type": "string"
              },
              "current": {
                "type": "boolean"
              }
            },
            "required": [
              "revisionId",
              "parentRevisionId",
              "sha256",
              "matcherVersion",
              "normalizationBasis",
              "publishedBy",
              "publishedAt",
              "reason",
              "current"
            ]
          },
          "entries": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "brand": {
                  "type": "object",
                  "properties": {
                    "brandId": {
                      "type": "string"
                    },
                    "canonicalName": {
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "Active",
                        "Watch",
                        "Retired"
                      ]
                    },
                    "risk": {
                      "type": "string"
                    },
                    "aliases": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "independentlyProtected": {
                            "type": "boolean",
                            "default": true
                          }
                        },
                        "required": [
                          "name"
                        ]
                      }
                    },
                    "officialDomains": {
                      "type": "array",
                      "items": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "required": [
                    "brandId",
                    "canonicalName",
                    "status",
                    "risk",
                    "aliases",
                    "officialDomains"
                  ]
                },
                "source": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "marketNotes": {
                  "type": "string"
                },
                "reviewAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "brand",
                "source",
                "reason",
                "marketNotes",
                "reviewAt"
              ]
            }
          }
        },
        "required": [
          "revision",
          "entries"
        ]
      },
      "ProtectedBrandRevisionSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revisionId": {
            "type": "string"
          },
          "parentRevisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "sha256": {
            "type": "string"
          },
          "matcherVersion": {
            "type": "string"
          },
          "normalizationBasis": {
            "type": "string"
          },
          "publishedBy": {
            "type": "string"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "current": {
            "type": "boolean"
          }
        },
        "required": [
          "revisionId",
          "parentRevisionId",
          "sha256",
          "matcherVersion",
          "normalizationBasis",
          "publishedBy",
          "publishedAt",
          "reason",
          "current"
        ]
      },
      "ProtectedBrandRevisionPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "revisionId": {
                  "type": "string"
                },
                "parentRevisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sha256": {
                  "type": "string"
                },
                "matcherVersion": {
                  "type": "string"
                },
                "normalizationBasis": {
                  "type": "string"
                },
                "publishedBy": {
                  "type": "string"
                },
                "publishedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "reason": {
                  "type": "string"
                },
                "current": {
                  "type": "boolean"
                }
              },
              "required": [
                "revisionId",
                "parentRevisionId",
                "sha256",
                "matcherVersion",
                "normalizationBasis",
                "publishedBy",
                "publishedAt",
                "reason",
                "current"
              ]
            }
          },
          "nextBefore": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "nextBefore"
        ]
      },
      "ProtectedBrandMatchDecision": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "matches": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registryRevisionId": {
                  "type": "string"
                },
                "brandId": {
                  "type": "string"
                },
                "matchedAlias": {
                  "type": "string"
                },
                "inputKind": {
                  "type": "string"
                },
                "input": {
                  "type": "object",
                  "properties": {
                    "original": {
                      "type": "string"
                    },
                    "tokens": {
                      "type": "string"
                    },
                    "skeleton": {
                      "type": "string"
                    },
                    "matcherVersion": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "original",
                    "tokens",
                    "skeleton",
                    "matcherVersion"
                  ]
                },
                "kind": {
                  "enum": [
                    "Exact",
                    "Confusable",
                    "Fuzzy"
                  ]
                },
                "blocking": {
                  "type": "boolean"
                },
                "score": {
                  "type": "number"
                },
                "reason": {
                  "type": "string"
                },
                "risk": {
                  "type": "string"
                }
              },
              "required": [
                "registryRevisionId",
                "brandId",
                "matchedAlias",
                "inputKind",
                "input",
                "kind",
                "blocking",
                "score",
                "reason",
                "risk"
              ]
            }
          },
          "blocking": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "required": [
          "matches"
        ]
      },
      "ProtectedBrandMatch": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registryRevisionId": {
            "type": "string"
          },
          "brandId": {
            "type": "string"
          },
          "matchedAlias": {
            "type": "string"
          },
          "inputKind": {
            "type": "string"
          },
          "input": {
            "type": "object",
            "properties": {
              "original": {
                "type": "string"
              },
              "tokens": {
                "type": "string"
              },
              "skeleton": {
                "type": "string"
              },
              "matcherVersion": {
                "type": "string"
              }
            },
            "required": [
              "original",
              "tokens",
              "skeleton",
              "matcherVersion"
            ]
          },
          "kind": {
            "enum": [
              "Exact",
              "Confusable",
              "Fuzzy"
            ]
          },
          "blocking": {
            "type": "boolean"
          },
          "score": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "risk": {
            "type": "string"
          }
        },
        "required": [
          "registryRevisionId",
          "brandId",
          "matchedAlias",
          "inputKind",
          "input",
          "kind",
          "blocking",
          "score",
          "reason",
          "risk"
        ]
      },
      "ProtectedBrandNormalizedInput": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "original": {
            "type": "string"
          },
          "tokens": {
            "type": "string"
          },
          "skeleton": {
            "type": "string"
          },
          "matcherVersion": {
            "type": "string"
          }
        },
        "required": [
          "original",
          "tokens",
          "skeleton",
          "matcherVersion"
        ]
      },
      "ProtectedBrandCaseEvidencePage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "evidenceId": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                },
                "observedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "registryRevisionId": {
                  "type": "string"
                },
                "registrySha256": {
                  "type": "string"
                },
                "matcherVersion": {
                  "type": "string"
                },
                "normalizationBasis": {
                  "type": "string"
                },
                "sourceSha256": {
                  "type": "string"
                },
                "evidenceSha256": {
                  "type": "string"
                },
                "matches": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "registryRevisionId": {
                        "type": "string"
                      },
                      "brandId": {
                        "type": "string"
                      },
                      "matchedAlias": {
                        "type": "string"
                      },
                      "inputKind": {
                        "type": "string"
                      },
                      "input": {
                        "type": "object",
                        "properties": {
                          "original": {
                            "type": "string"
                          },
                          "tokens": {
                            "type": "string"
                          },
                          "skeleton": {
                            "type": "string"
                          },
                          "matcherVersion": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "original",
                          "tokens",
                          "skeleton",
                          "matcherVersion"
                        ],
                        "additionalProperties": false
                      },
                      "kind": {
                        "enum": [
                          "Exact",
                          "Confusable",
                          "Fuzzy"
                        ]
                      },
                      "blocking": {
                        "type": "boolean"
                      },
                      "score": {
                        "type": "number"
                      },
                      "reason": {
                        "type": "string"
                      },
                      "risk": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "registryRevisionId",
                      "brandId",
                      "matchedAlias",
                      "inputKind",
                      "input",
                      "kind",
                      "blocking",
                      "score",
                      "reason",
                      "risk"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "evidenceId",
                "source",
                "observedAt",
                "registryRevisionId",
                "registrySha256",
                "matcherVersion",
                "normalizationBasis",
                "sourceSha256",
                "evidenceSha256",
                "matches"
              ],
              "additionalProperties": false
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "additionalProperties": false
      },
      "ProtectedBrandCaseEvidenceEntry": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceId": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "registryRevisionId": {
            "type": "string"
          },
          "registrySha256": {
            "type": "string"
          },
          "matcherVersion": {
            "type": "string"
          },
          "normalizationBasis": {
            "type": "string"
          },
          "sourceSha256": {
            "type": "string"
          },
          "evidenceSha256": {
            "type": "string"
          },
          "matches": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registryRevisionId": {
                  "type": "string"
                },
                "brandId": {
                  "type": "string"
                },
                "matchedAlias": {
                  "type": "string"
                },
                "inputKind": {
                  "type": "string"
                },
                "input": {
                  "type": "object",
                  "properties": {
                    "original": {
                      "type": "string"
                    },
                    "tokens": {
                      "type": "string"
                    },
                    "skeleton": {
                      "type": "string"
                    },
                    "matcherVersion": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "original",
                    "tokens",
                    "skeleton",
                    "matcherVersion"
                  ]
                },
                "kind": {
                  "enum": [
                    "Exact",
                    "Confusable",
                    "Fuzzy"
                  ]
                },
                "blocking": {
                  "type": "boolean"
                },
                "score": {
                  "type": "number"
                },
                "reason": {
                  "type": "string"
                },
                "risk": {
                  "type": "string"
                }
              },
              "required": [
                "registryRevisionId",
                "brandId",
                "matchedAlias",
                "inputKind",
                "input",
                "kind",
                "blocking",
                "score",
                "reason",
                "risk"
              ]
            }
          }
        },
        "required": [
          "evidenceId",
          "source",
          "observedAt",
          "registryRevisionId",
          "registrySha256",
          "matcherVersion",
          "normalizationBasis",
          "sourceSha256",
          "evidenceSha256",
          "matches"
        ]
      },
      "ProtectedBrandRescanPreview": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revisionId": {
            "type": "string"
          },
          "evaluatedCount": {
            "type": "integer"
          },
          "matchingTenantCount": {
            "type": "integer"
          },
          "exactSignalCount": {
            "type": "integer"
          },
          "watchSignalCount": {
            "type": "integer"
          },
          "nextAfterTenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "fingerprint": {
            "type": "string"
          }
        },
        "required": [
          "revisionId",
          "evaluatedCount",
          "matchingTenantCount",
          "exactSignalCount",
          "watchSignalCount",
          "nextAfterTenantId",
          "fingerprint"
        ]
      },
      "ProtectedBrandRescanJob": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "jobId": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "revisionId": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "failureCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "evaluatedCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "newEvidenceCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "caseIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "required": [
          "jobId",
          "state",
          "revisionId",
          "createdBy",
          "createdAt",
          "completedAt",
          "failureCode",
          "evaluatedCount",
          "newEvidenceCount",
          "caseIds"
        ]
      },
      "OrganizationVerificationCasePage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "caseId": {
                  "type": "string"
                },
                "caseNumber": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "subjectSlug": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Open",
                    "EvidenceRequested",
                    "UnderReview",
                    "DecisionPending",
                    "Resolved",
                    "Appealed",
                    "Closed"
                  ]
                },
                "openedByUserId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "assignedOperatorId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "openReason": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "closedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "version": {
                  "type": "integer"
                },
                "openedByOperatorId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "caseId",
                "caseNumber",
                "tenantId",
                "subjectSlug",
                "state",
                "openedByUserId",
                "assignedOperatorId",
                "openReason",
                "createdAt",
                "updatedAt",
                "resolvedAt",
                "closedAt",
                "version"
              ]
            }
          },
          "page": {
            "type": "integer"
          },
          "pageSize": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "pageSize",
          "total"
        ]
      },
      "OrganizationVerificationCaseSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "caseId": {
            "type": "string"
          },
          "caseNumber": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "subjectSlug": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Open",
              "EvidenceRequested",
              "UnderReview",
              "DecisionPending",
              "Resolved",
              "Appealed",
              "Closed"
            ]
          },
          "openedByUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "assignedOperatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "openReason": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "closedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "version": {
            "type": "integer"
          },
          "openedByOperatorId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "caseId",
          "caseNumber",
          "tenantId",
          "subjectSlug",
          "state",
          "openedByUserId",
          "assignedOperatorId",
          "openReason",
          "createdAt",
          "updatedAt",
          "resolvedAt",
          "closedAt",
          "version"
        ]
      },
      "OrganizationVerificationCaseDetail": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "case": {
            "type": "object",
            "properties": {
              "caseId": {
                "type": "string"
              },
              "caseNumber": {
                "type": "string"
              },
              "tenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "subjectSlug": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Open",
                  "EvidenceRequested",
                  "UnderReview",
                  "DecisionPending",
                  "Resolved",
                  "Appealed",
                  "Closed"
                ]
              },
              "openedByUserId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "assignedOperatorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "openReason": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "resolvedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "closedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "version": {
                "type": "integer"
              },
              "openedByOperatorId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "caseId",
              "caseNumber",
              "tenantId",
              "subjectSlug",
              "state",
              "openedByUserId",
              "assignedOperatorId",
              "openReason",
              "createdAt",
              "updatedAt",
              "resolvedAt",
              "closedAt",
              "version"
            ]
          },
          "requiredConfirmation": {
            "type": "string"
          },
          "parties": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "partyId": {
                  "type": "string"
                },
                "userId": {
                  "type": "string"
                },
                "role": {
                  "enum": [
                    "Claimant",
                    "ExistingTenantRepresentative",
                    "AuthorizedRepresentative",
                    "AppPortalOperator"
                  ]
                },
                "displayLabel": {
                  "type": "string"
                },
                "authoritySnapshot": {
                  "type": "string"
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "removedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "partyId",
                "userId",
                "role",
                "displayLabel",
                "authoritySnapshot",
                "addedBy",
                "addedAt",
                "removedAt"
              ]
            }
          },
          "tickets": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "ticketId": {
                  "type": "string"
                },
                "partyId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "role": {
                  "enum": [
                    "ClaimantCommunication",
                    "ExistingTenantCommunication",
                    "Evidence",
                    "Appeal",
                    "Internal"
                  ]
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "ticketId",
                "partyId",
                "role",
                "addedBy",
                "addedAt"
              ]
            }
          },
          "evidenceRequests": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "evidenceRequestId": {
                  "type": "string"
                },
                "partyId": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Requested",
                    "Submitted",
                    "Verified",
                    "Rejected",
                    "Expired",
                    "Withdrawn"
                  ]
                },
                "requestedBy": {
                  "type": "string"
                },
                "requestedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "dueAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "submittedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "evidenceRequestId",
                "partyId",
                "description",
                "state",
                "requestedBy",
                "requestedAt",
                "dueAt",
                "submittedAt",
                "reviewedBy",
                "reviewedAt"
              ]
            }
          },
          "findings": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "findingId": {
                  "type": "string"
                },
                "evidenceRequestId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "supersedesFindingId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "findingType": {
                  "type": "string"
                },
                "summary": {
                  "type": "string"
                },
                "outcome": {
                  "enum": [
                    "SupportsClaim",
                    "ContradictsClaim",
                    "Inconclusive"
                  ]
                },
                "source": {
                  "type": "string"
                },
                "recordedBy": {
                  "type": "string"
                },
                "recordedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "findingId",
                "evidenceRequestId",
                "supersedesFindingId",
                "findingType",
                "summary",
                "outcome",
                "source",
                "recordedBy",
                "recordedAt"
              ]
            }
          },
          "decisions": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "decisionId": {
                  "type": "string"
                },
                "supersedesDecisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "decisionType": {
                  "enum": [
                    "VerifyAndActivatePendingTenant",
                    "VerifyExistingTenantAndRejectClaim",
                    "RestoreAdministrator",
                    "RequireRename",
                    "MaintainHold",
                    "EscalateHold",
                    "RejectClaim",
                    "SuspendTenant",
                    "BanUser",
                    "ApproveAppeal"
                  ]
                },
                "reason": {
                  "type": "string"
                },
                "beforeVerificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ]
                },
                "afterVerificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ]
                },
                "beforeHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "afterHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "decidedBy": {
                  "type": "string"
                },
                "secondApproverId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "authenticatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "decidedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingCaseVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "decisionId",
                "supersedesDecisionId",
                "decisionType",
                "reason",
                "beforeVerificationState",
                "afterVerificationState",
                "beforeHoldLevel",
                "afterHoldLevel",
                "decidedBy",
                "secondApproverId",
                "authenticatedAt",
                "decidedAt",
                "resultingCaseVersion"
              ]
            }
          },
          "holdHistory": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "holdEventId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "fromHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "toHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "reason": {
                  "type": "string"
                },
                "actorId": {
                  "type": "string"
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingCaseVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "holdEventId",
                "tenantId",
                "fromHoldLevel",
                "toHoldLevel",
                "reason",
                "actorId",
                "occurredAt",
                "resultingCaseVersion"
              ]
            }
          },
          "appeals": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appealId": {
                  "type": "string"
                },
                "ticketId": {
                  "type": "string"
                },
                "submittedByUserId": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Submitted",
                    "UnderReview",
                    "Approved",
                    "Rejected",
                    "Withdrawn"
                  ]
                },
                "submittedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "resolutionDecisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "appealId",
                "ticketId",
                "submittedByUserId",
                "reason",
                "state",
                "submittedAt",
                "resolvedAt",
                "resolutionDecisionId",
                "version"
              ]
            }
          },
          "collectionsIncluded": {
            "type": "boolean"
          },
          "activeApproval": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "approvalId": {
                "type": "string"
              },
              "caseId": {
                "type": "string"
              },
              "expectedCaseVersion": {
                "type": "integer"
              },
              "decision": {
                "type": "object",
                "properties": {
                  "decisionType": {
                    "enum": [
                      "VerifyAndActivatePendingTenant",
                      "VerifyExistingTenantAndRejectClaim",
                      "RestoreAdministrator",
                      "RequireRename",
                      "MaintainHold",
                      "EscalateHold",
                      "RejectClaim",
                      "SuspendTenant",
                      "BanUser",
                      "ApproveAppeal"
                    ]
                  },
                  "reason": {
                    "type": "string"
                  },
                  "typedConfirmation": {
                    "type": "string"
                  },
                  "expectedVersion": {
                    "type": "integer"
                  },
                  "requestedHoldLevel": {
                    "enum": [
                      "None",
                      "ProvisioningHold",
                      "ManagementReadOnly",
                      "FullSuspension",
                      null
                    ],
                    "default": null
                  },
                  "targetUserId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "newTenantSlug": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "supersedesDecisionId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "appealId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "approvalId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "renamePreviewFingerprint": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "newTenantName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "decisionType",
                  "reason",
                  "typedConfirmation",
                  "expectedVersion"
                ]
              },
              "payloadHash": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Pending",
                  "Approved",
                  "Rejected",
                  "Expired",
                  "Invalidated",
                  "Consumed"
                ]
              },
              "proposedBy": {
                "type": "string"
              },
              "proposedAt": {
                "type": "string",
                "format": "date-time"
              },
              "proposerAuthenticatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "reviewedBy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reviewedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "reviewerAuthenticatedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "reviewReason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "consumedBy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "consumedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "decisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "version": {
                "type": "integer"
              }
            },
            "required": [
              "approvalId",
              "caseId",
              "expectedCaseVersion",
              "decision",
              "payloadHash",
              "state",
              "proposedBy",
              "proposedAt",
              "proposerAuthenticatedAt",
              "expiresAt",
              "reviewedBy",
              "reviewedAt",
              "reviewerAuthenticatedAt",
              "reviewReason",
              "consumedBy",
              "consumedAt",
              "decisionId",
              "version"
            ]
          },
          "hasApprovalHistory": {
            "type": "boolean"
          },
          "activeAppeal": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "appealId": {
                "type": "string"
              },
              "ticketId": {
                "type": "string"
              },
              "submittedByUserId": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Submitted",
                  "UnderReview",
                  "Approved",
                  "Rejected",
                  "Withdrawn"
                ]
              },
              "submittedAt": {
                "type": "string",
                "format": "date-time"
              },
              "resolvedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "resolutionDecisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "version": {
                "type": "integer"
              }
            },
            "required": [
              "appealId",
              "ticketId",
              "submittedByUserId",
              "reason",
              "state",
              "submittedAt",
              "resolvedAt",
              "resolutionDecisionId",
              "version"
            ]
          },
          "latestDecision": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "decisionId": {
                "type": "string"
              },
              "supersedesDecisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "decisionType": {
                "enum": [
                  "VerifyAndActivatePendingTenant",
                  "VerifyExistingTenantAndRejectClaim",
                  "RestoreAdministrator",
                  "RequireRename",
                  "MaintainHold",
                  "EscalateHold",
                  "RejectClaim",
                  "SuspendTenant",
                  "BanUser",
                  "ApproveAppeal"
                ]
              },
              "reason": {
                "type": "string"
              },
              "beforeVerificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "afterVerificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "beforeHoldLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ]
              },
              "afterHoldLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ]
              },
              "decidedBy": {
                "type": "string"
              },
              "secondApproverId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "authenticatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "decidedAt": {
                "type": "string",
                "format": "date-time"
              },
              "resultingCaseVersion": {
                "type": "integer"
              }
            },
            "required": [
              "decisionId",
              "supersedesDecisionId",
              "decisionType",
              "reason",
              "beforeVerificationState",
              "afterVerificationState",
              "beforeHoldLevel",
              "afterHoldLevel",
              "decidedBy",
              "secondApproverId",
              "authenticatedAt",
              "decidedAt",
              "resultingCaseVersion"
            ]
          },
          "tenant": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "active": {
                "type": "boolean"
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "holdLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ]
              }
            },
            "required": [
              "tenantId",
              "active",
              "verificationState",
              "holdLevel"
            ]
          },
          "dualControlRequired": {
            "type": "boolean"
          },
          "approvals": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "approvalId": {
                  "type": "string"
                },
                "caseId": {
                  "type": "string"
                },
                "expectedCaseVersion": {
                  "type": "integer"
                },
                "decision": {
                  "$ref": "#/components/schemas/OrganizationVerificationCaseDetail/properties/activeApproval/properties/decision"
                },
                "payloadHash": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Pending",
                    "Approved",
                    "Rejected",
                    "Expired",
                    "Invalidated",
                    "Consumed"
                  ]
                },
                "proposedBy": {
                  "type": "string"
                },
                "proposedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "proposerAuthenticatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "expiresAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewerAuthenticatedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "decisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "approvalId",
                "caseId",
                "expectedCaseVersion",
                "decision",
                "payloadHash",
                "state",
                "proposedBy",
                "proposedAt",
                "proposerAuthenticatedAt",
                "expiresAt",
                "reviewedBy",
                "reviewedAt",
                "reviewerAuthenticatedAt",
                "reviewReason",
                "consumedBy",
                "consumedAt",
                "decisionId",
                "version"
              ]
            }
          },
          "approvalsNextBefore": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "case",
          "requiredConfirmation",
          "parties",
          "tickets",
          "evidenceRequests",
          "findings",
          "decisions",
          "holdHistory",
          "appeals"
        ]
      },
      "OrganizationVerificationApproval": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "approvalId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "expectedCaseVersion": {
            "type": "integer"
          },
          "decision": {
            "type": "object",
            "properties": {
              "decisionType": {
                "enum": [
                  "VerifyAndActivatePendingTenant",
                  "VerifyExistingTenantAndRejectClaim",
                  "RestoreAdministrator",
                  "RequireRename",
                  "MaintainHold",
                  "EscalateHold",
                  "RejectClaim",
                  "SuspendTenant",
                  "BanUser",
                  "ApproveAppeal"
                ]
              },
              "reason": {
                "type": "string"
              },
              "typedConfirmation": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "integer"
              },
              "requestedHoldLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension",
                  null
                ],
                "default": null
              },
              "targetUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "newTenantSlug": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "supersedesDecisionId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "appealId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "approvalId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "renamePreviewFingerprint": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "newTenantName": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "decisionType",
              "reason",
              "typedConfirmation",
              "expectedVersion"
            ]
          },
          "payloadHash": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Pending",
              "Approved",
              "Rejected",
              "Expired",
              "Invalidated",
              "Consumed"
            ]
          },
          "proposedBy": {
            "type": "string"
          },
          "proposedAt": {
            "type": "string",
            "format": "date-time"
          },
          "proposerAuthenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewerAuthenticatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "decisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "approvalId",
          "caseId",
          "expectedCaseVersion",
          "decision",
          "payloadHash",
          "state",
          "proposedBy",
          "proposedAt",
          "proposerAuthenticatedAt",
          "expiresAt",
          "reviewedBy",
          "reviewedAt",
          "reviewerAuthenticatedAt",
          "reviewReason",
          "consumedBy",
          "consumedAt",
          "decisionId",
          "version"
        ]
      },
      "OrganizationVerificationApprovalPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "approvalId": {
                  "type": "string"
                },
                "caseId": {
                  "type": "string"
                },
                "expectedCaseVersion": {
                  "type": "integer"
                },
                "decision": {
                  "type": "object",
                  "properties": {
                    "decisionType": {
                      "enum": [
                        "VerifyAndActivatePendingTenant",
                        "VerifyExistingTenantAndRejectClaim",
                        "RestoreAdministrator",
                        "RequireRename",
                        "MaintainHold",
                        "EscalateHold",
                        "RejectClaim",
                        "SuspendTenant",
                        "BanUser",
                        "ApproveAppeal"
                      ]
                    },
                    "reason": {
                      "type": "string"
                    },
                    "typedConfirmation": {
                      "type": "string"
                    },
                    "expectedVersion": {
                      "type": "integer"
                    },
                    "requestedHoldLevel": {
                      "enum": [
                        "None",
                        "ProvisioningHold",
                        "ManagementReadOnly",
                        "FullSuspension",
                        null
                      ],
                      "default": null
                    },
                    "targetUserId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "newTenantSlug": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "supersedesDecisionId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "appealId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "approvalId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "renamePreviewFingerprint": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "newTenantName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "decisionType",
                    "reason",
                    "typedConfirmation",
                    "expectedVersion"
                  ]
                },
                "payloadHash": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Pending",
                    "Approved",
                    "Rejected",
                    "Expired",
                    "Invalidated",
                    "Consumed"
                  ]
                },
                "proposedBy": {
                  "type": "string"
                },
                "proposedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "proposerAuthenticatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "expiresAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewerAuthenticatedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "decisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "approvalId",
                "caseId",
                "expectedCaseVersion",
                "decision",
                "payloadHash",
                "state",
                "proposedBy",
                "proposedAt",
                "proposerAuthenticatedAt",
                "expiresAt",
                "reviewedBy",
                "reviewedAt",
                "reviewerAuthenticatedAt",
                "reviewReason",
                "consumedBy",
                "consumedAt",
                "decisionId",
                "version"
              ]
            }
          },
          "nextBefore": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "nextBefore"
        ]
      },
      "OrganizationVerificationDecision": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "decisionId": {
            "type": "string"
          },
          "supersedesDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionType": {
            "enum": [
              "VerifyAndActivatePendingTenant",
              "VerifyExistingTenantAndRejectClaim",
              "RestoreAdministrator",
              "RequireRename",
              "MaintainHold",
              "EscalateHold",
              "RejectClaim",
              "SuspendTenant",
              "BanUser",
              "ApproveAppeal"
            ]
          },
          "reason": {
            "type": "string"
          },
          "beforeVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "afterVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "beforeHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "afterHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "decidedBy": {
            "type": "string"
          },
          "secondApproverId": {
            "type": [
              "string",
              "null"
            ]
          },
          "authenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "decidedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "decisionId",
          "supersedesDecisionId",
          "decisionType",
          "reason",
          "beforeVerificationState",
          "afterVerificationState",
          "beforeHoldLevel",
          "afterHoldLevel",
          "decidedBy",
          "secondApproverId",
          "authenticatedAt",
          "decidedAt",
          "resultingCaseVersion"
        ]
      },
      "ProtectedBrandPublishRequest": {
        "type": "object",
        "properties": {
          "actionId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "entries": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "brand": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "brandId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "canonicalName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^\\s*(?:(?:[aA][cC][tT][iI][vV][eE]|[wW][aA][tT][cC][hH]|[rR][eE][tT][iI][rR][eE][dD])(?:\\s*,\\s*(?:[aA][cC][tT][iI][vV][eE]|[wW][aA][tT][cC][hH]|[rR][eE][tT][iI][rR][eE][dD]))*|[+-]?[0-9]+)\\s*$"
                        },
                        {
                          "type": "integer"
                        }
                      ],
                      "x-appportal-canonical-enum-values": [
                        "Active",
                        "Watch",
                        "Retired"
                      ],
                      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
                    },
                    "risk": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "aliases": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "independentlyProtected": {
                            "type": "boolean",
                            "default": true
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "officialDomains": {
                      "type": "array",
                      "items": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "source": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "marketNotes": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "additionalProperties": false
            }
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "ProtectedBrandDryRunRequest": {
        "type": "object",
        "properties": {
          "revisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "ProtectedBrandRescanSelection": {
        "type": "object",
        "properties": {
          "revisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "afterTenantId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "limit": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "default": 100
          }
        },
        "additionalProperties": false
      },
      "ProtectedBrandRescanCommand": {
        "type": "object",
        "properties": {
          "actionId": {
            "type": "string",
            "format": "uuid"
          },
          "selection": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "revisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "afterTenantId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "limit": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 100
              }
            },
            "additionalProperties": false
          },
          "fingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "StartOrganizationVerificationCaseRequest": {
        "type": "object",
        "properties": {
          "ticketId": {
            "type": [
              "string",
              "null"
            ]
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "LinkOrganizationVerificationTicketRequest": {
        "type": "object",
        "properties": {
          "ticketId": {
            "type": [
              "string",
              "null"
            ]
          },
          "partyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[cC][lL][aA][iI][mM][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][vV][iI][dD][eE][nN][cC][eE]|[aA][pP][pP][eE][aA][lL]|[iI][nN][tT][eE][rR][nN][aA][lL])(?:\\s*,\\s*(?:[cC][lL][aA][iI][mM][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][vV][iI][dD][eE][nN][cC][eE]|[aA][pP][pP][eE][aA][lL]|[iI][nN][tT][eE][rR][nN][aA][lL]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "ClaimantCommunication",
              "ExistingTenantCommunication",
              "Evidence",
              "Appeal",
              "Internal"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "RequestOrganizationVerificationEvidenceRequest": {
        "type": "object",
        "properties": {
          "partyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "dueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "partyMessage": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        }
      },
      "RecordOrganizationVerificationFindingRequest": {
        "type": "object",
        "properties": {
          "evidenceRequestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "supersedesFindingId": {
            "type": [
              "string",
              "null"
            ]
          },
          "findingType": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[sS][uU][pP][pP][oO][rR][tT][sS][cC][lL][aA][iI][mM]|[cC][oO][nN][tT][rR][aA][dD][iI][cC][tT][sS][cC][lL][aA][iI][mM]|[iI][nN][cC][oO][nN][cC][lL][uU][sS][iI][vV][eE])(?:\\s*,\\s*(?:[sS][uU][pP][pP][oO][rR][tT][sS][cC][lL][aA][iI][mM]|[cC][oO][nN][tT][rR][aA][dD][iI][cC][tT][sS][cC][lL][aA][iI][mM]|[iI][nN][cC][oO][nN][cC][lL][uU][sS][iI][vV][eE]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "SupportsClaim",
              "ContradictsClaim",
              "Inconclusive"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "supportMessageId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        }
      },
      "OpenOrganizationVerificationAppealRequest": {
        "type": "object",
        "properties": {
          "ticketId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "DecideOrganizationVerificationCaseRequest": {
        "type": "object",
        "properties": {
          "decisionType": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[vV][eE][rR][iI][fF][yY][aA][nN][dD][aA][cC][tT][iI][vV][aA][tT][eE][pP][eE][nN][dD][iI][nN][gG][tT][eE][nN][aA][nN][tT]|[vV][eE][rR][iI][fF][yY][eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][aA][nN][dD][rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[rR][eE][sS][tT][oO][rR][eE][aA][dD][mM][iI][nN][iI][sS][tT][rR][aA][tT][oO][rR]|[rR][eE][qQ][uU][iI][rR][eE][rR][eE][nN][aA][mM][eE]|[mM][aA][iI][nN][tT][aA][iI][nN][hH][oO][lL][dD]|[eE][sS][cC][aA][lL][aA][tT][eE][hH][oO][lL][dD]|[rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[sS][uU][sS][pP][eE][nN][dD][tT][eE][nN][aA][nN][tT]|[bB][aA][nN][uU][sS][eE][rR]|[aA][pP][pP][rR][oO][vV][eE][aA][pP][pP][eE][aA][lL])(?:\\s*,\\s*(?:[vV][eE][rR][iI][fF][yY][aA][nN][dD][aA][cC][tT][iI][vV][aA][tT][eE][pP][eE][nN][dD][iI][nN][gG][tT][eE][nN][aA][nN][tT]|[vV][eE][rR][iI][fF][yY][eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][aA][nN][dD][rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[rR][eE][sS][tT][oO][rR][eE][aA][dD][mM][iI][nN][iI][sS][tT][rR][aA][tT][oO][rR]|[rR][eE][qQ][uU][iI][rR][eE][rR][eE][nN][aA][mM][eE]|[mM][aA][iI][nN][tT][aA][iI][nN][hH][oO][lL][dD]|[eE][sS][cC][aA][lL][aA][tT][eE][hH][oO][lL][dD]|[rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[sS][uU][sS][pP][eE][nN][dD][tT][eE][nN][aA][nN][tT]|[bB][aA][nN][uU][sS][eE][rR]|[aA][pP][pP][rR][oO][vV][eE][aA][pP][pP][eE][aA][lL]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "VerifyAndActivatePendingTenant",
              "VerifyExistingTenantAndRejectClaim",
              "RestoreAdministrator",
              "RequireRename",
              "MaintainHold",
              "EscalateHold",
              "RejectClaim",
              "SuspendTenant",
              "BanUser",
              "ApproveAppeal"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "typedConfirmation": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "requestedHoldLevel": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[nN][oO][nN][eE]|[pP][rR][oO][vV][iI][sS][iI][oO][nN][iI][nN][gG][hH][oO][lL][dD]|[mM][aA][nN][aA][gG][eE][mM][eE][nN][tT][rR][eE][aA][dD][oO][nN][lL][yY]|[fF][uU][lL][lL][sS][uU][sS][pP][eE][nN][sS][iI][oO][nN])(?:\\s*,\\s*(?:[nN][oO][nN][eE]|[pP][rR][oO][vV][iI][sS][iI][oO][nN][iI][nN][gG][hH][oO][lL][dD]|[mM][aA][nN][aA][gG][eE][mM][eE][nN][tT][rR][eE][aA][dD][oO][nN][lL][yY]|[fF][uU][lL][lL][sS][uU][sS][pP][eE][nN][sS][iI][oO][nN]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
            "default": null
          },
          "targetUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "newTenantSlug": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "supersedesDecisionId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "appealId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "approvalId": {
            "type": [
              "string",
              "null"
            ]
          },
          "renamePreviewFingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "newTenantName": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "ReviewOrganizationVerificationApprovalRequest": {
        "type": "object",
        "properties": {
          "approve": {
            "type": "boolean"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "OpsProtectedBrandCurrent": {
        "type": "object",
        "properties": {
          "current": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProtectedBrandRevisionView"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "current"
        ]
      },
      "OpsProtectedBrandReferenceDraft": {
        "type": "object",
        "properties": {
          "referenceOnly": {
            "type": "boolean",
            "const": true
          },
          "automaticPublication": {
            "type": "boolean",
            "const": false
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProtectedBrandRegistryEntry"
            }
          }
        },
        "required": [
          "referenceOnly",
          "automaticPublication",
          "entries"
        ]
      },
      "OpsProtectedBrandPublished": {
        "type": "object",
        "properties": {
          "revisionId": {
            "type": "string"
          }
        },
        "required": [
          "revisionId"
        ]
      },
      "SupportTicketPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "ticketId": {
                  "type": "string"
                },
                "ticketNumber": {
                  "type": "string"
                },
                "scope": {
                  "enum": [
                    "Personal",
                    "Organization",
                    "Application",
                    "Platform"
                  ]
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "targetTenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "creatorUserId": {
                  "type": "string"
                },
                "category": {
                  "enum": [
                    "AccountAccess",
                    "Billing",
                    "SdkIntegration",
                    "TelemetryData",
                    "Distribution",
                    "SecurityPrivacy",
                    "OrganizationIdentity",
                    "FeatureRequest",
                    "Other"
                  ]
                },
                "subcategory": {
                  "enum": [
                    "None",
                    "SlugClaim",
                    "ProtectedBrandVerification",
                    "Impersonation",
                    "Appeal"
                  ]
                },
                "subject": {
                  "type": "string"
                },
                "subjectReference": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "customerUrgency": {
                  "enum": [
                    "Low",
                    "Normal",
                    "High"
                  ]
                },
                "priority": {
                  "enum": [
                    "Low",
                    "Normal",
                    "High",
                    "Urgent"
                  ]
                },
                "queue": {
                  "type": "string"
                },
                "assignedOperatorId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "state": {
                  "enum": [
                    "New",
                    "Triage",
                    "InProgress",
                    "WaitingForRequester",
                    "WaitingForThirdParty",
                    "DecisionPending",
                    "Resolved",
                    "Closed",
                    "Reopened"
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "customerVisibleLastActivityAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "operatorLastActivityAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "canReopen": {
                  "type": "boolean"
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "ticketId",
                "ticketNumber",
                "scope",
                "tenantId",
                "targetTenantId",
                "appId",
                "creatorUserId",
                "category",
                "subcategory",
                "subject",
                "subjectReference",
                "customerUrgency",
                "priority",
                "queue",
                "assignedOperatorId",
                "state",
                "createdAt",
                "updatedAt",
                "customerVisibleLastActivityAt",
                "operatorLastActivityAt",
                "canReopen",
                "version"
              ]
            }
          },
          "page": {
            "type": "integer"
          },
          "pageSize": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "required": [
          "items",
          "page",
          "pageSize",
          "total"
        ]
      },
      "SupportTicketSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "ticketNumber": {
            "type": "string"
          },
          "scope": {
            "enum": [
              "Personal",
              "Organization",
              "Application",
              "Platform"
            ]
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "targetTenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "creatorUserId": {
            "type": "string"
          },
          "category": {
            "enum": [
              "AccountAccess",
              "Billing",
              "SdkIntegration",
              "TelemetryData",
              "Distribution",
              "SecurityPrivacy",
              "OrganizationIdentity",
              "FeatureRequest",
              "Other"
            ]
          },
          "subcategory": {
            "enum": [
              "None",
              "SlugClaim",
              "ProtectedBrandVerification",
              "Impersonation",
              "Appeal"
            ]
          },
          "subject": {
            "type": "string"
          },
          "subjectReference": {
            "type": [
              "string",
              "null"
            ]
          },
          "customerUrgency": {
            "enum": [
              "Low",
              "Normal",
              "High"
            ]
          },
          "priority": {
            "enum": [
              "Low",
              "Normal",
              "High",
              "Urgent"
            ]
          },
          "queue": {
            "type": "string"
          },
          "assignedOperatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "customerVisibleLastActivityAt": {
            "type": "string",
            "format": "date-time"
          },
          "operatorLastActivityAt": {
            "type": "string",
            "format": "date-time"
          },
          "canReopen": {
            "type": "boolean"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "ticketId",
          "ticketNumber",
          "scope",
          "tenantId",
          "targetTenantId",
          "appId",
          "creatorUserId",
          "category",
          "subcategory",
          "subject",
          "subjectReference",
          "customerUrgency",
          "priority",
          "queue",
          "assignedOperatorId",
          "state",
          "createdAt",
          "updatedAt",
          "customerVisibleLastActivityAt",
          "operatorLastActivityAt",
          "canReopen",
          "version"
        ]
      },
      "SupportTicketDetail": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticket": {
            "type": "object",
            "properties": {
              "ticketId": {
                "type": "string"
              },
              "ticketNumber": {
                "type": "string"
              },
              "scope": {
                "enum": [
                  "Personal",
                  "Organization",
                  "Application",
                  "Platform"
                ]
              },
              "tenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "targetTenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "appId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "creatorUserId": {
                "type": "string"
              },
              "category": {
                "enum": [
                  "AccountAccess",
                  "Billing",
                  "SdkIntegration",
                  "TelemetryData",
                  "Distribution",
                  "SecurityPrivacy",
                  "OrganizationIdentity",
                  "FeatureRequest",
                  "Other"
                ]
              },
              "subcategory": {
                "enum": [
                  "None",
                  "SlugClaim",
                  "ProtectedBrandVerification",
                  "Impersonation",
                  "Appeal"
                ]
              },
              "subject": {
                "type": "string"
              },
              "subjectReference": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "customerUrgency": {
                "enum": [
                  "Low",
                  "Normal",
                  "High"
                ]
              },
              "priority": {
                "enum": [
                  "Low",
                  "Normal",
                  "High",
                  "Urgent"
                ]
              },
              "queue": {
                "type": "string"
              },
              "assignedOperatorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "state": {
                "enum": [
                  "New",
                  "Triage",
                  "InProgress",
                  "WaitingForRequester",
                  "WaitingForThirdParty",
                  "DecisionPending",
                  "Resolved",
                  "Closed",
                  "Reopened"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "customerVisibleLastActivityAt": {
                "type": "string",
                "format": "date-time"
              },
              "operatorLastActivityAt": {
                "type": "string",
                "format": "date-time"
              },
              "canReopen": {
                "type": "boolean"
              },
              "version": {
                "type": "integer"
              }
            },
            "required": [
              "ticketId",
              "ticketNumber",
              "scope",
              "tenantId",
              "targetTenantId",
              "appId",
              "creatorUserId",
              "category",
              "subcategory",
              "subject",
              "subjectReference",
              "customerUrgency",
              "priority",
              "queue",
              "assignedOperatorId",
              "state",
              "createdAt",
              "updatedAt",
              "customerVisibleLastActivityAt",
              "operatorLastActivityAt",
              "canReopen",
              "version"
            ]
          },
          "messages": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "messageId": {
                  "type": "string"
                },
                "authorId": {
                  "type": "string"
                },
                "authorType": {
                  "enum": [
                    "Customer",
                    "Operator",
                    "System"
                  ]
                },
                "visibility": {
                  "enum": [
                    "RequesterVisible",
                    "OperatorOnly",
                    "ParticipantPrivate"
                  ]
                },
                "privateParticipantUserId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "body": {
                  "type": "string"
                },
                "revision": {
                  "type": "integer"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "tombstoned": {
                  "type": "boolean"
                }
              },
              "required": [
                "messageId",
                "authorId",
                "authorType",
                "visibility",
                "privateParticipantUserId",
                "body",
                "revision",
                "createdAt",
                "updatedAt",
                "tombstoned"
              ]
            }
          },
          "participants": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "role": {
                  "enum": [
                    "Requester",
                    "Collaborator",
                    "Claimant"
                  ]
                },
                "grantsTicketAccess": {
                  "type": "boolean"
                },
                "canViewTicket": {
                  "type": "boolean"
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "revokedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "userId",
                "role",
                "grantsTicketAccess",
                "canViewTicket",
                "addedBy",
                "addedAt",
                "revokedAt"
              ]
            }
          },
          "transitions": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "transitionId": {
                  "type": "string"
                },
                "fromState": {
                  "enum": [
                    "New",
                    "Triage",
                    "InProgress",
                    "WaitingForRequester",
                    "WaitingForThirdParty",
                    "DecisionPending",
                    "Resolved",
                    "Closed",
                    "Reopened"
                  ]
                },
                "toState": {
                  "enum": [
                    "New",
                    "Triage",
                    "InProgress",
                    "WaitingForRequester",
                    "WaitingForThirdParty",
                    "DecisionPending",
                    "Resolved",
                    "Closed",
                    "Reopened"
                  ]
                },
                "actorType": {
                  "enum": [
                    "Customer",
                    "Operator",
                    "System"
                  ]
                },
                "actorId": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "transitionId",
                "fromState",
                "toState",
                "actorType",
                "actorId",
                "reason",
                "occurredAt",
                "resultingVersion"
              ]
            }
          }
        },
        "required": [
          "ticket",
          "messages",
          "participants",
          "transitions"
        ]
      },
      "SupportTicketWorkspace": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticket": {
            "type": "object",
            "properties": {
              "ticketId": {
                "type": "string"
              },
              "ticketNumber": {
                "type": "string"
              },
              "scope": {
                "enum": [
                  "Personal",
                  "Organization",
                  "Application",
                  "Platform"
                ]
              },
              "tenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "targetTenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "appId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "creatorUserId": {
                "type": "string"
              },
              "category": {
                "enum": [
                  "AccountAccess",
                  "Billing",
                  "SdkIntegration",
                  "TelemetryData",
                  "Distribution",
                  "SecurityPrivacy",
                  "OrganizationIdentity",
                  "FeatureRequest",
                  "Other"
                ]
              },
              "subcategory": {
                "enum": [
                  "None",
                  "SlugClaim",
                  "ProtectedBrandVerification",
                  "Impersonation",
                  "Appeal"
                ]
              },
              "subject": {
                "type": "string"
              },
              "subjectReference": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "customerUrgency": {
                "enum": [
                  "Low",
                  "Normal",
                  "High"
                ]
              },
              "priority": {
                "enum": [
                  "Low",
                  "Normal",
                  "High",
                  "Urgent"
                ]
              },
              "queue": {
                "type": "string"
              },
              "assignedOperatorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "state": {
                "enum": [
                  "New",
                  "Triage",
                  "InProgress",
                  "WaitingForRequester",
                  "WaitingForThirdParty",
                  "DecisionPending",
                  "Resolved",
                  "Closed",
                  "Reopened"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "customerVisibleLastActivityAt": {
                "type": "string",
                "format": "date-time"
              },
              "operatorLastActivityAt": {
                "type": "string",
                "format": "date-time"
              },
              "canReopen": {
                "type": "boolean"
              },
              "version": {
                "type": "integer"
              }
            },
            "required": [
              "ticketId",
              "ticketNumber",
              "scope",
              "tenantId",
              "targetTenantId",
              "appId",
              "creatorUserId",
              "category",
              "subcategory",
              "subject",
              "subjectReference",
              "customerUrgency",
              "priority",
              "queue",
              "assignedOperatorId",
              "state",
              "createdAt",
              "updatedAt",
              "customerVisibleLastActivityAt",
              "operatorLastActivityAt",
              "canReopen",
              "version"
            ]
          }
        },
        "required": [
          "ticket"
        ]
      },
      "SupportTicketMutationReceipt": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "ticketId",
          "version"
        ]
      },
      "SupportTicketMessage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "messageId": {
            "type": "string"
          },
          "authorId": {
            "type": "string"
          },
          "authorType": {
            "enum": [
              "Customer",
              "Operator",
              "System"
            ]
          },
          "visibility": {
            "enum": [
              "RequesterVisible",
              "OperatorOnly",
              "ParticipantPrivate"
            ]
          },
          "privateParticipantUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "body": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "tombstoned": {
            "type": "boolean"
          }
        },
        "required": [
          "messageId",
          "authorId",
          "authorType",
          "visibility",
          "privateParticipantUserId",
          "body",
          "revision",
          "createdAt",
          "updatedAt",
          "tombstoned"
        ]
      },
      "SupportTicketParticipant": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "role": {
            "enum": [
              "Requester",
              "Collaborator",
              "Claimant"
            ]
          },
          "grantsTicketAccess": {
            "type": "boolean"
          },
          "canViewTicket": {
            "type": "boolean"
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          },
          "revokedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "userId",
          "role",
          "grantsTicketAccess",
          "canViewTicket",
          "addedBy",
          "addedAt",
          "revokedAt"
        ]
      },
      "SupportTicketTransition": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transitionId": {
            "type": "string"
          },
          "fromState": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "toState": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "actorType": {
            "enum": [
              "Customer",
              "Operator",
              "System"
            ]
          },
          "actorId": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingVersion": {
            "type": "integer"
          }
        },
        "required": [
          "transitionId",
          "fromState",
          "toState",
          "actorType",
          "actorId",
          "reason",
          "occurredAt",
          "resultingVersion"
        ]
      },
      "SupportAttachmentSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "attachmentId": {
            "type": "string"
          },
          "messageId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "length": {
            "type": "integer"
          },
          "sha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "enum": [
              "Reserved",
              "Quarantined",
              "Clean",
              "Rejected",
              "Infected",
              "PurgePending",
              "Purged"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "attachmentId",
          "messageId",
          "fileName",
          "contentType",
          "length",
          "sha256",
          "state",
          "createdAt"
        ]
      },
      "SupportEvidenceDownload": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "proof": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "proof",
          "expiresAt"
        ]
      },
      "SupportLegalHoldStatus": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "legalHold": {
            "type": "boolean"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "legalHold",
          "version"
        ]
      },
      "ReplySupportTicketRequest": {
        "type": "object",
        "properties": {
          "message": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "visibility": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[rR][eE][qQ][uU][eE][sS][tT][eE][rR][vV][iI][sS][iI][bB][lL][eE]|[oO][pP][eE][rR][aA][tT][oO][rR][oO][nN][lL][yY]|[pP][aA][rR][tT][iI][cC][iI][pP][aA][nN][tT][pP][rR][iI][vV][aA][tT][eE])(?:\\s*,\\s*(?:[rR][eE][qQ][uU][eE][sS][tT][eE][rR][vV][iI][sS][iI][bB][lL][eE]|[oO][pP][eE][rR][aA][tT][oO][rR][oO][nN][lL][yY]|[pP][aA][rR][tT][iI][cC][iI][pP][aA][nN][tT][pP][rR][iI][vV][aA][tT][eE]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "RequesterVisible",
              "OperatorOnly",
              "ParticipantPrivate"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
            "default": "RequesterVisible"
          },
          "privateParticipantUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        }
      },
      "UpdateSupportTicketRequest": {
        "type": "object",
        "properties": {
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[lL][oO][wW]|[nN][oO][rR][mM][aA][lL]|[hH][iI][gG][hH]|[uU][rR][gG][eE][nN][tT])(?:\\s*,\\s*(?:[lL][oO][wW]|[nN][oO][rR][mM][aA][lL]|[hH][iI][gG][hH]|[uU][rR][gG][eE][nN][tT]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Low",
              "Normal",
              "High",
              "Urgent"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "queue": {
            "type": [
              "string",
              "null"
            ]
          },
          "assignedOperatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "TransitionSupportTicketRequest": {
        "type": "object",
        "properties": {
          "state": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[nN][eE][wW]|[tT][rR][iI][aA][gG][eE]|[iI][nN][pP][rR][oO][gG][rR][eE][sS][sS]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][rR][eE][qQ][uU][eE][sS][tT][eE][rR]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][tT][hH][iI][rR][dD][pP][aA][rR][tT][yY]|[dD][eE][cC][iI][sS][iI][oO][nN][pP][eE][nN][dD][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD]|[cC][lL][oO][sS][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD])(?:\\s*,\\s*(?:[nN][eE][wW]|[tT][rR][iI][aA][gG][eE]|[iI][nN][pP][rR][oO][gG][rR][eE][sS][sS]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][rR][eE][qQ][uU][eE][sS][tT][eE][rR]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][tT][hH][iI][rR][dD][pP][aA][rR][tT][yY]|[dD][eE][cC][iI][sS][iI][oO][nN][pP][eE][nN][dD][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD]|[cC][lL][oO][sS][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "ReserveSupportAttachmentRequest": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": [
              "string",
              "null"
            ]
          },
          "fileName": {
            "type": [
              "string",
              "null"
            ]
          },
          "length": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "sha256": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "SupportDownloadProofRequest": {
        "type": "object",
        "properties": {
          "proof": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "SupportAttachmentPurgeRequest": {
        "type": "object",
        "properties": {
          "expectedTicketVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "SetSupportLegalHoldRequest": {
        "type": "object",
        "properties": {
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "legalHold": {
            "type": "boolean"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OpsSupportTicketCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "ticketId": {
                  "type": "string"
                },
                "ticketNumber": {
                  "type": "string"
                },
                "scope": {
                  "enum": [
                    "Personal",
                    "Organization",
                    "Application",
                    "Platform"
                  ]
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "targetTenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "creatorUserId": {
                  "type": "string"
                },
                "category": {
                  "enum": [
                    "AccountAccess",
                    "Billing",
                    "SdkIntegration",
                    "TelemetryData",
                    "Distribution",
                    "SecurityPrivacy",
                    "OrganizationIdentity",
                    "FeatureRequest",
                    "Other"
                  ]
                },
                "subcategory": {
                  "enum": [
                    "None",
                    "SlugClaim",
                    "ProtectedBrandVerification",
                    "Impersonation",
                    "Appeal"
                  ]
                },
                "subject": {
                  "type": "string"
                },
                "subjectReference": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "customerUrgency": {
                  "enum": [
                    "Low",
                    "Normal",
                    "High"
                  ]
                },
                "priority": {
                  "enum": [
                    "Low",
                    "Normal",
                    "High",
                    "Urgent"
                  ]
                },
                "queue": {
                  "type": "string"
                },
                "assignedOperatorId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "state": {
                  "enum": [
                    "New",
                    "Triage",
                    "InProgress",
                    "WaitingForRequester",
                    "WaitingForThirdParty",
                    "DecisionPending",
                    "Resolved",
                    "Closed",
                    "Reopened"
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "customerVisibleLastActivityAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "operatorLastActivityAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "canReopen": {
                  "type": "boolean"
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "ticketId",
                "ticketNumber",
                "scope",
                "tenantId",
                "targetTenantId",
                "appId",
                "creatorUserId",
                "category",
                "subcategory",
                "subject",
                "subjectReference",
                "customerUrgency",
                "priority",
                "queue",
                "assignedOperatorId",
                "state",
                "createdAt",
                "updatedAt",
                "customerVisibleLastActivityAt",
                "operatorLastActivityAt",
                "canReopen",
                "version"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsSupportMessagePage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "messageId": {
                  "type": "string"
                },
                "authorId": {
                  "type": "string"
                },
                "authorType": {
                  "enum": [
                    "Customer",
                    "Operator",
                    "System"
                  ]
                },
                "visibility": {
                  "enum": [
                    "RequesterVisible",
                    "OperatorOnly",
                    "ParticipantPrivate"
                  ]
                },
                "privateParticipantUserId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "body": {
                  "type": "string"
                },
                "revision": {
                  "type": "integer"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "tombstoned": {
                  "type": "boolean"
                }
              },
              "required": [
                "messageId",
                "authorId",
                "authorType",
                "visibility",
                "privateParticipantUserId",
                "body",
                "revision",
                "createdAt",
                "updatedAt",
                "tombstoned"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsSupportParticipantPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "role": {
                  "enum": [
                    "Requester",
                    "Collaborator",
                    "Claimant"
                  ]
                },
                "grantsTicketAccess": {
                  "type": "boolean"
                },
                "canViewTicket": {
                  "type": "boolean"
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "revokedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "userId",
                "role",
                "grantsTicketAccess",
                "canViewTicket",
                "addedBy",
                "addedAt",
                "revokedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsSupportTransitionPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "transitionId": {
                  "type": "string"
                },
                "fromState": {
                  "enum": [
                    "New",
                    "Triage",
                    "InProgress",
                    "WaitingForRequester",
                    "WaitingForThirdParty",
                    "DecisionPending",
                    "Resolved",
                    "Closed",
                    "Reopened"
                  ]
                },
                "toState": {
                  "enum": [
                    "New",
                    "Triage",
                    "InProgress",
                    "WaitingForRequester",
                    "WaitingForThirdParty",
                    "DecisionPending",
                    "Resolved",
                    "Closed",
                    "Reopened"
                  ]
                },
                "actorType": {
                  "enum": [
                    "Customer",
                    "Operator",
                    "System"
                  ]
                },
                "actorId": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "transitionId",
                "fromState",
                "toState",
                "actorType",
                "actorId",
                "reason",
                "occurredAt",
                "resultingVersion"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsSupportHoldChanged": {
        "type": "object",
        "properties": {
          "legalHold": {
            "type": "boolean"
          }
        },
        "required": [
          "legalHold"
        ]
      },
      "OpsSupportAttachmentPage": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          },
          "downloadAvailable": {
            "type": "boolean"
          },
          "purgeAvailable": {
            "type": "boolean"
          },
          "messageId": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SupportAttachmentSummary"
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": "null"
          },
          "acceptedTypes": {
            "type": "array",
            "const": [
              "text/plain",
              "image/png",
              "image/jpeg"
            ],
            "items": {
              "type": "string"
            }
          },
          "maximumBytes": {
            "type": "integer",
            "const": 10485760
          }
        },
        "required": [
          "available",
          "downloadAvailable",
          "purgeAvailable",
          "messageId",
          "items",
          "nextCursor",
          "totalCount",
          "acceptedTypes",
          "maximumBytes"
        ]
      },
      "AppDataBindingVisibilityPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "enterpriseAuthorized": {
            "type": "boolean"
          },
          "statusBasis": {
            "type": "string"
          },
          "organizationDefaultRoute": {
            "type": "string"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "providers": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "provider": {
                  "type": "string"
                },
                "supportsTransactions": {
                  "type": "boolean"
                },
                "supportsAtomicUpserts": {
                  "type": "boolean"
                },
                "supportsRelationalAggregation": {
                  "type": "boolean"
                },
                "supportsNativeRetention": {
                  "type": "boolean"
                }
              },
              "required": [
                "provider",
                "supportsTransactions",
                "supportsAtomicUpserts",
                "supportsRelationalAggregation",
                "supportsNativeRetention"
              ]
            }
          },
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "provider": {
                  "type": "string"
                },
                "configuredStatus": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "provisionedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "providerRegistered": {
                  "type": "boolean"
                },
                "effectiveRoute": {
                  "type": "string"
                },
                "revision": {
                  "type": "integer"
                }
              },
              "required": [
                "appId",
                "provider",
                "configuredStatus",
                "createdAt",
                "provisionedAt",
                "providerRegistered",
                "effectiveRoute"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "organizationDefaultRevision": {
            "type": "integer"
          },
          "scopeApplications": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "appId",
                "name"
              ]
            }
          },
          "operations": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "operationId": {
                  "type": "string"
                },
                "requestId": {
                  "type": "string"
                },
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "provider": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "expectedRevision": {
                  "type": "integer"
                },
                "currentRevision": {
                  "type": "integer"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "operationId",
                "requestId",
                "appId",
                "provider",
                "state",
                "expectedRevision",
                "currentRevision",
                "updatedAt"
              ]
            }
          }
        },
        "required": [
          "tenantId",
          "enterpriseAuthorized",
          "statusBasis",
          "organizationDefaultRoute",
          "generatedAt",
          "providers",
          "items",
          "nextCursor"
        ]
      },
      "AppDataBindingVisibilityItem": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": "string"
          },
          "configuredStatus": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "provisionedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "providerRegistered": {
            "type": "boolean"
          },
          "effectiveRoute": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          }
        },
        "required": [
          "appId",
          "provider",
          "configuredStatus",
          "createdAt",
          "provisionedAt",
          "providerRegistered",
          "effectiveRoute"
        ]
      },
      "AppDataProviderCapabilitySummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "provider": {
            "type": "string"
          },
          "supportsTransactions": {
            "type": "boolean"
          },
          "supportsAtomicUpserts": {
            "type": "boolean"
          },
          "supportsRelationalAggregation": {
            "type": "boolean"
          },
          "supportsNativeRetention": {
            "type": "boolean"
          }
        },
        "required": [
          "provider",
          "supportsTransactions",
          "supportsAtomicUpserts",
          "supportsRelationalAggregation",
          "supportsNativeRetention"
        ]
      },
      "AppDataBindingScopeApplication": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "appId",
          "name"
        ]
      },
      "AppDataBindingScope": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "provider": {
            "type": [
              "string",
              "null"
            ]
          },
          "configuredStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "operation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "operationId": {
                "type": "string"
              },
              "requestId": {
                "type": "string"
              },
              "appId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "provider": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "expectedRevision": {
                "type": "integer"
              },
              "currentRevision": {
                "type": "integer"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "operationId",
              "requestId",
              "appId",
              "provider",
              "state",
              "expectedRevision",
              "currentRevision",
              "updatedAt"
            ]
          },
          "requestedAppId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "appId",
          "name",
          "revision",
          "provider",
          "configuredStatus",
          "operation"
        ]
      },
      "AppDataBindingOperation": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "operationId": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "expectedRevision": {
            "type": "integer"
          },
          "currentRevision": {
            "type": "integer"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "operationId",
          "requestId",
          "appId",
          "provider",
          "state",
          "expectedRevision",
          "currentRevision",
          "updatedAt"
        ]
      },
      "AppDataBindingConnectionResult": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "appId",
          "provider",
          "status",
          "checkedAt"
        ]
      },
      "ObjectStorageBindingScope": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "scopeName": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "binding": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "provider": {
                "type": "string"
              },
              "container": {
                "type": "string"
              },
              "region": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "serviceUrl": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": "string"
              },
              "generationId": {
                "type": "string"
              },
              "provisionedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "provider",
              "container",
              "region",
              "serviceUrl",
              "status",
              "generationId",
              "provisionedAt"
            ]
          },
          "latestOperation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "operationId": {
                "type": "string"
              },
              "requestId": {
                "type": "string"
              },
              "appId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "provider": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "containerState": {
                "type": "string"
              },
              "appliedGenerationId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "operationId",
              "requestId",
              "appId",
              "provider",
              "state",
              "containerState",
              "appliedGenerationId",
              "updatedAt"
            ]
          }
        },
        "required": [
          "appId",
          "scopeName",
          "version",
          "binding",
          "latestOperation"
        ]
      },
      "ObjectStorageBindingDetails": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "provider": {
            "type": "string"
          },
          "container": {
            "type": "string"
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "serviceUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "generationId": {
            "type": "string"
          },
          "provisionedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "provider",
          "container",
          "region",
          "serviceUrl",
          "status",
          "generationId",
          "provisionedAt"
        ]
      },
      "ObjectStorageBindingOperation": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "operationId": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "containerState": {
            "type": "string"
          },
          "appliedGenerationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "operationId",
          "requestId",
          "appId",
          "provider",
          "state",
          "containerState",
          "appliedGenerationId",
          "updatedAt"
        ]
      },
      "ConfigureAppDataBindingRequest": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": [
              "string",
              "null"
            ]
          },
          "connectionString": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer",
              "null"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        },
        "additionalProperties": false,
        "patternProperties": {
          "^[rR][eE][qQ][uU][eE][sS][tT][iI][dD]$": {
            "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/requestId"
          },
          "^[aA][pP][pP][iI][dD]$": {
            "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/appId"
          },
          "^[pP][rR][oO][vV][iI][dD][eE][rR]$": {
            "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/provider"
          },
          "^[cC][oO][nN][nN][eE][cC][tT][iI][oO][nN][sS][tT][rR][iI][nN][gG]$": {
            "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/connectionString"
          },
          "^[eE][xX][pP][eE][cC][tT][eE][dD][rR][eE][vV][iI][sS][iI][oO][nN]$": {
            "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/expectedRevision"
          }
        }
      },
      "TestAppDataBindingConnectionRequest": {
        "type": "object",
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false,
        "patternProperties": {
          "^[aA][pP][pP][iI][dD]$": {
            "$ref": "#/components/schemas/TestAppDataBindingConnectionRequest/properties/appId"
          }
        }
      },
      "RetryAppDataBindingCleanupRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ConfigureObjectStorageBindingRequest": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": [
              "string",
              "null"
            ]
          },
          "container": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "serviceUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "credential": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "createContainer": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "patternProperties": {
          "^[rR][eE][qQ][uU][eE][sS][tT][iI][dD]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/requestId"
          },
          "^[aA][pP][pP][iI][dD]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/appId"
          },
          "^[pP][rR][oO][vV][iI][dD][eE][rR]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/provider"
          },
          "^[cC][oO][nN][tT][aA][iI][nN][eE][rR]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/container"
          },
          "^[rR][eE][gG][iI][oO][nN]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/region"
          },
          "^[sS][eE][rR][vV][iI][cC][eE][uU][rR][lL]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/serviceUrl"
          },
          "^[cC][rR][eE][dD][eE][nN][tT][iI][aA][lL]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/credential"
          },
          "^[eE][xX][pP][eE][cC][tT][eE][dD][vV][eE][rR][sS][iI][oO][nN]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/expectedVersion"
          },
          "^[rR][eE][aA][sS][oO][nN]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/reason"
          },
          "^[cC][rR][eE][aA][tT][eE][cC][oO][nN][tT][aA][iI][nN][eE][rR]$": {
            "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/createContainer"
          }
        }
      },
      "RetryObjectStorageCleanupRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "StatusComponent": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "componentId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Operational",
              "Degraded",
              "PartialOutage",
              "MajorOutage",
              "Maintenance"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "componentId",
          "name",
          "description",
          "status",
          "updatedAt"
        ]
      },
      "ServiceHealthReport": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "monitoring": {
            "type": "object",
            "properties": {
              "state": {
                "enum": [
                  "Current",
                  "Stale",
                  "Unavailable"
                ]
              },
              "lastCompleteCheckAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "staleComponentIds": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "state",
              "lastCompleteCheckAt",
              "staleComponentIds"
            ]
          },
          "components": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "componentId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "Operational",
                    "Degraded",
                    "PartialOutage",
                    "MajorOutage",
                    "Maintenance",
                    null
                  ]
                },
                "observationState": {
                  "enum": [
                    "Current",
                    "Stale",
                    "Unavailable"
                  ]
                },
                "lastCheckedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "lastSucceededAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "source": {
                  "type": "string"
                }
              },
              "required": [
                "componentId",
                "name",
                "description",
                "status",
                "observationState",
                "lastCheckedAt",
                "lastSucceededAt",
                "source"
              ]
            }
          }
        },
        "required": [
          "generatedAt",
          "monitoring",
          "components"
        ]
      },
      "StatusMonitoringSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "state": {
            "enum": [
              "Current",
              "Stale",
              "Unavailable"
            ]
          },
          "lastCompleteCheckAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "staleComponentIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "required": [
          "state",
          "lastCompleteCheckAt",
          "staleComponentIds"
        ]
      },
      "MonitoredComponentHealth": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "componentId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Operational",
              "Degraded",
              "PartialOutage",
              "MajorOutage",
              "Maintenance",
              null
            ]
          },
          "observationState": {
            "enum": [
              "Current",
              "Stale",
              "Unavailable"
            ]
          },
          "lastCheckedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastSucceededAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "componentId",
          "name",
          "description",
          "status",
          "observationState",
          "lastCheckedAt",
          "lastSucceededAt",
          "source"
        ]
      },
      "IncidentRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "incidentId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "severity": {
            "enum": [
              "Minor",
              "Major",
              "Critical"
            ]
          },
          "state": {
            "enum": [
              "Investigating",
              "Identified",
              "Monitoring",
              "Resolved"
            ]
          },
          "affectedComponentIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updates": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "updateId": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Investigating",
                    "Identified",
                    "Monitoring",
                    "Resolved"
                  ]
                },
                "message": {
                  "type": "string"
                },
                "postedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "postedBy": {
                  "type": "string"
                }
              },
              "required": [
                "updateId",
                "state",
                "message",
                "postedAt",
                "postedBy"
              ]
            }
          },
          "monitorEpisodeId": {
            "type": [
              "string",
              "null"
            ]
          },
          "postmortemUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadataRevision": {
            "type": "integer"
          }
        },
        "required": [
          "incidentId",
          "title",
          "severity",
          "state",
          "affectedComponentIds",
          "startedAt",
          "resolvedAt",
          "updates"
        ]
      },
      "IncidentUpdate": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "updateId": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Investigating",
              "Identified",
              "Monitoring",
              "Resolved"
            ]
          },
          "message": {
            "type": "string"
          },
          "postedAt": {
            "type": "string",
            "format": "date-time"
          },
          "postedBy": {
            "type": "string"
          }
        },
        "required": [
          "updateId",
          "state",
          "message",
          "postedAt",
          "postedBy"
        ]
      },
      "StatusEvidenceImportResult": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceId": {
            "type": "string"
          },
          "alreadyStored": {
            "type": "boolean"
          }
        },
        "required": [
          "evidenceId",
          "alreadyStored"
        ]
      },
      "StatusEpisodeEvidence": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "episodeId": {
            "type": "string"
          },
          "incidentId": {
            "type": "string"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "correlationBasis": {
            "type": "string"
          },
          "retentionDays": {
            "type": "integer"
          },
          "deployment": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "workflowRunId": {
                "type": "integer"
              },
              "workflowAttempt": {
                "type": "integer"
              },
              "sourceSha": {
                "type": "string"
              },
              "outcome": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time"
              },
              "migrationOutcome": {
                "type": "string"
              },
              "resources": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "serviceCode": {
                      "type": "string"
                    },
                    "revision": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "imageDigest": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "controlPlaneState": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "serviceCode",
                    "revision",
                    "imageDigest",
                    "controlPlaneState"
                  ],
                  "additionalProperties": false
                }
              },
              "canaries": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "probeCode": {
                      "type": "string"
                    },
                    "outcome": {
                      "type": "string"
                    },
                    "durationMilliseconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "probeCode",
                    "outcome",
                    "durationMilliseconds"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schemaVersion",
              "workflowRunId",
              "workflowAttempt",
              "sourceSha",
              "outcome",
              "startedAt",
              "finishedAt",
              "migrationOutcome",
              "resources",
              "canaries"
            ],
            "additionalProperties": false
          },
          "runtime": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "serviceCode": {
                  "type": "string"
                },
                "operationCode": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "sourceSha": {
                  "type": "string"
                },
                "observedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "status": {
                  "type": "string"
                },
                "durationMilliseconds": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "exceptionKind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fingerprint": {
                  "type": "string"
                },
                "traceId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "spanId": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "serviceCode",
                "operationCode",
                "kind",
                "sourceSha",
                "observedAt",
                "status",
                "durationMilliseconds",
                "exceptionKind",
                "fingerprint",
                "traceId",
                "spanId"
              ]
            }
          },
          "runtimeTruncated": {
            "type": "boolean"
          }
        },
        "required": [
          "episodeId",
          "incidentId",
          "generatedAt",
          "correlationBasis",
          "retentionDays",
          "deployment",
          "runtime",
          "runtimeTruncated"
        ]
      },
      "StatusDeploymentManifest": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "schemaVersion": {
            "type": "integer"
          },
          "workflowRunId": {
            "type": "integer"
          },
          "workflowAttempt": {
            "type": "integer"
          },
          "sourceSha": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "migrationOutcome": {
            "type": "string"
          },
          "resources": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "serviceCode": {
                  "type": "string"
                },
                "revision": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "imageDigest": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "controlPlaneState": {
                  "type": "string"
                }
              },
              "required": [
                "serviceCode",
                "revision",
                "imageDigest",
                "controlPlaneState"
              ],
              "additionalProperties": false
            }
          },
          "canaries": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "probeCode": {
                  "type": "string"
                },
                "outcome": {
                  "type": "string"
                },
                "durationMilliseconds": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "probeCode",
                "outcome",
                "durationMilliseconds"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "schemaVersion",
          "workflowRunId",
          "workflowAttempt",
          "sourceSha",
          "outcome",
          "startedAt",
          "finishedAt",
          "migrationOutcome",
          "resources",
          "canaries"
        ],
        "additionalProperties": false
      },
      "StatusDeploymentResource": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "serviceCode": {
            "type": "string"
          },
          "revision": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageDigest": {
            "type": [
              "string",
              "null"
            ]
          },
          "controlPlaneState": {
            "type": "string"
          }
        },
        "required": [
          "serviceCode",
          "revision",
          "imageDigest",
          "controlPlaneState"
        ],
        "additionalProperties": false
      },
      "StatusDeploymentCanary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "probeCode": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "durationMilliseconds": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "probeCode",
          "outcome",
          "durationMilliseconds"
        ],
        "additionalProperties": false
      },
      "StatusRuntimeEvidence": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "serviceCode": {
            "type": "string"
          },
          "operationCode": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "sourceSha": {
            "type": "string"
          },
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "durationMilliseconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "exceptionKind": {
            "type": [
              "string",
              "null"
            ]
          },
          "fingerprint": {
            "type": "string"
          },
          "traceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "spanId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "serviceCode",
          "operationCode",
          "kind",
          "sourceSha",
          "observedAt",
          "status",
          "durationMilliseconds",
          "exceptionKind",
          "fingerprint",
          "traceId",
          "spanId"
        ]
      },
      "ComponentStatusUpdateRequest": {
        "type": "object",
        "properties": {
          "status": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[oO][pP][eE][rR][aA][tT][iI][oO][nN][aA][lL]|[dD][eE][gG][rR][aA][dD][eE][dD]|[pP][aA][rR][tT][iI][aA][lL][oO][uU][tT][aA][gG][eE]|[mM][aA][jJ][oO][rR][oO][uU][tT][aA][gG][eE]|[mM][aA][iI][nN][tT][eE][nN][aA][nN][cC][eE])(?:\\s*,\\s*(?:[oO][pP][eE][rR][aA][tT][iI][oO][nN][aA][lL]|[dD][eE][gG][rR][aA][dD][eE][dD]|[pP][aA][rR][tT][iI][aA][lL][oO][uU][tT][aA][gG][eE]|[mM][aA][jJ][oO][rR][oO][uU][tT][aA][gG][eE]|[mM][aA][iI][nN][tT][eE][nN][aA][nN][cC][eE]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Operational",
              "Degraded",
              "PartialOutage",
              "MajorOutage",
              "Maintenance"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          }
        }
      },
      "IncidentAnnotationRequest": {
        "type": "object",
        "properties": {
          "message": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "IncidentCreateRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "severity": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL])(?:\\s*,\\s*(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Minor",
              "Major",
              "Critical"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "affectedComponentIds": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "IncidentUpdateRequest": {
        "type": "object",
        "properties": {
          "state": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[iI][dD][eE][nN][tT][iI][fF][iI][eE][dD]|[mM][oO][nN][iI][tT][oO][rR][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD])(?:\\s*,\\s*(?:[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[iI][dD][eE][nN][tT][iI][fF][iI][eE][dD]|[mM][oO][nN][iI][tT][oO][rR][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Investigating",
              "Identified",
              "Monitoring",
              "Resolved"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "IncidentMetadataUpdateRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "severity": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL])(?:\\s*,\\s*(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Minor",
              "Major",
              "Critical"
            ],
            "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
          },
          "affectedComponentIds": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "postmortemUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer",
              "null"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "OpsStatusManifestInput": {
        "type": "object",
        "properties": {
          "schemaVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "workflowRunId": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "workflowAttempt": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "sourceSha": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "type": [
              "string",
              "null"
            ]
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "migrationOutcome": {
            "type": [
              "string",
              "null"
            ]
          },
          "resources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "serviceCode": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revision": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "imageDigest": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "controlPlaneState": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": false,
              "patternProperties": {
                "^[sS][eE][rR][vV][iI][cC][eE][cC][oO][dD][eE]$": {
                  "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/serviceCode"
                },
                "^[rR][eE][vV][iI][sS][iI][oO][nN]$": {
                  "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/revision"
                },
                "^[iI][mM][aA][gG][eE][dD][iI][gG][eE][sS][tT]$": {
                  "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/imageDigest"
                },
                "^[cC][oO][nN][tT][rR][oO][lL][pP][lL][aA][nN][eE][sS][tT][aA][tT][eE]$": {
                  "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/controlPlaneState"
                }
              }
            }
          },
          "canaries": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "probeCode": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "outcome": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "durationMilliseconds": {
                  "type": [
                    "string",
                    "number",
                    "null"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
                }
              },
              "additionalProperties": false,
              "patternProperties": {
                "^[pP][rR][oO][bB][eE][cC][oO][dD][eE]$": {
                  "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries/items/properties/probeCode"
                },
                "^[oO][uU][tT][cC][oO][mM][eE]$": {
                  "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries/items/properties/outcome"
                },
                "^[dD][uU][rR][aA][tT][iI][oO][nN][mM][iI][lL][lL][iI][sS][eE][cC][oO][nN][dD][sS]$": {
                  "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries/items/properties/durationMilliseconds"
                }
              }
            }
          }
        },
        "additionalProperties": false,
        "patternProperties": {
          "^[sS][cC][hH][eE][mM][aA][vV][eE][rR][sS][iI][oO][nN]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/schemaVersion"
          },
          "^[wW][oO][rR][kK][fF][lL][oO][wW][rR][uU][nN][iI][dD]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/workflowRunId"
          },
          "^[wW][oO][rR][kK][fF][lL][oO][wW][aA][tT][tT][eE][mM][pP][tT]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/workflowAttempt"
          },
          "^[sS][oO][uU][rR][cC][eE][sS][hH][aA]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/sourceSha"
          },
          "^[oO][uU][tT][cC][oO][mM][eE]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/outcome"
          },
          "^[sS][tT][aA][rR][tT][eE][dD][aA][tT]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/startedAt"
          },
          "^[fF][iI][nN][iI][sS][hH][eE][dD][aA][tT]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/finishedAt"
          },
          "^[mM][iI][gG][rR][aA][tT][iI][oO][nN][oO][uU][tT][cC][oO][mM][eE]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/migrationOutcome"
          },
          "^[rR][eE][sS][oO][uU][rR][cC][eE][sS]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources"
          },
          "^[cC][aA][nN][aA][rR][iI][eE][sS]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries"
          }
        }
      },
      "OpsStatusComponents": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "componentId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "status": {
              "enum": [
                "Operational",
                "Degraded",
                "PartialOutage",
                "MajorOutage",
                "Maintenance"
              ]
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "componentId",
            "name",
            "description",
            "status",
            "updatedAt"
          ]
        }
      },
      "OpsStatusIncidents": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "incidentId": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "severity": {
              "enum": [
                "Minor",
                "Major",
                "Critical"
              ]
            },
            "state": {
              "enum": [
                "Investigating",
                "Identified",
                "Monitoring",
                "Resolved"
              ]
            },
            "affectedComponentIds": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "startedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "updates": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "updateId": {
                    "type": "string"
                  },
                  "state": {
                    "enum": [
                      "Investigating",
                      "Identified",
                      "Monitoring",
                      "Resolved"
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "postedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "postedBy": {
                    "type": "string"
                  }
                },
                "required": [
                  "updateId",
                  "state",
                  "message",
                  "postedAt",
                  "postedBy"
                ]
              }
            },
            "monitorEpisodeId": {
              "type": [
                "string",
                "null"
              ]
            },
            "postmortemUrl": {
              "type": [
                "string",
                "null"
              ]
            },
            "metadataRevision": {
              "type": "integer"
            }
          },
          "required": [
            "incidentId",
            "title",
            "severity",
            "state",
            "affectedComponentIds",
            "startedAt",
            "resolvedAt",
            "updates"
          ]
        }
      },
      "OpsStatusIncidentPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "incidentId": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "severity": {
                  "enum": [
                    "Minor",
                    "Major",
                    "Critical"
                  ]
                },
                "state": {
                  "enum": [
                    "Investigating",
                    "Identified",
                    "Monitoring",
                    "Resolved"
                  ]
                },
                "affectedComponentIds": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "startedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "updates": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "updateId": {
                        "type": "string"
                      },
                      "state": {
                        "enum": [
                          "Investigating",
                          "Identified",
                          "Monitoring",
                          "Resolved"
                        ]
                      },
                      "message": {
                        "type": "string"
                      },
                      "postedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "postedBy": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "updateId",
                      "state",
                      "message",
                      "postedAt",
                      "postedBy"
                    ]
                  }
                },
                "monitorEpisodeId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "postmortemUrl": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "metadataRevision": {
                  "type": "integer"
                }
              },
              "required": [
                "incidentId",
                "title",
                "severity",
                "state",
                "affectedComponentIds",
                "startedAt",
                "resolvedAt",
                "updates"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "StaffBillingUsageRead": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "period": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "startsAt": {
                "type": "string",
                "format": "date-time"
              },
              "endsAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "startsAt",
              "endsAt"
            ]
          },
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "signals": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "signal": {
                  "type": "string"
                },
                "configuration": {
                  "type": "string"
                },
                "availability": {
                  "type": "string"
                },
                "acceptedUnits": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "baselineConfirmed": {
                  "type": "boolean"
                }
              },
              "required": [
                "signal",
                "configuration",
                "availability",
                "acceptedUnits",
                "baselineConfirmed"
              ]
            }
          }
        },
        "required": [
          "tenantId",
          "period",
          "observedAt",
          "signals"
        ]
      },
      "StaffBillingUsageSignal": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "signal": {
            "type": "string"
          },
          "configuration": {
            "type": "string"
          },
          "availability": {
            "type": "string"
          },
          "acceptedUnits": {
            "type": [
              "integer",
              "null"
            ]
          },
          "baselineConfirmed": {
            "type": "boolean"
          }
        },
        "required": [
          "signal",
          "configuration",
          "availability",
          "acceptedUnits",
          "baselineConfirmed"
        ]
      },
      "StaffBillingSubscriptionRead": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "assignment": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "planKey": {
                "type": "string"
              },
              "assignedAt": {
                "type": "string",
                "format": "date-time"
              },
              "assignedBy": {
                "type": "string"
              }
            },
            "required": [
              "tenantId",
              "planKey",
              "assignedAt",
              "assignedBy"
            ]
          },
          "subscription": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "providerCustomerId": {
                "type": "string"
              },
              "providerSubscriptionId": {
                "type": "string"
              },
              "planKey": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "Unknown",
                  "Incomplete",
                  "IncompleteExpired",
                  "Trialing",
                  "Active",
                  "PastDue",
                  "Unpaid",
                  "Paused",
                  "Canceled"
                ]
              },
              "entitled": {
                "type": "boolean"
              },
              "cancelAtPeriodEnd": {
                "type": "boolean"
              },
              "currentPeriodStart": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "currentPeriodEnd": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "trialEndsAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "pastDueSince": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastPaymentFailedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastPaymentSucceededAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "pendingPlanKey": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "pendingPlanTiming": {
                "enum": [
                  "Immediate",
                  "PeriodEnd",
                  null
                ]
              },
              "pendingPlanStatus": {
                "enum": [
                  "ProviderConfirmationPending",
                  "Scheduled",
                  "PaymentRequired",
                  "Reversed",
                  null
                ]
              },
              "pendingPlanEffectiveAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "paidThrough": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "renewalAnchor": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "recoveryDeadline": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "planGeneration": {
                "type": "integer"
              },
              "purchaseInterval": {
                "enum": [
                  "Monthly",
                  "Annual",
                  null
                ]
              }
            },
            "required": [
              "tenantId",
              "provider",
              "providerCustomerId",
              "providerSubscriptionId",
              "planKey",
              "status",
              "entitled",
              "cancelAtPeriodEnd",
              "currentPeriodStart",
              "currentPeriodEnd",
              "trialEndsAt",
              "pastDueSince",
              "lastPaymentFailedAt",
              "lastPaymentSucceededAt",
              "updatedAt",
              "pendingPlanKey",
              "pendingPlanTiming",
              "pendingPlanStatus",
              "pendingPlanEffectiveAt",
              "paidThrough",
              "renewalAnchor",
              "recoveryDeadline"
            ]
          }
        },
        "required": [
          "tenantId",
          "assignment",
          "subscription"
        ]
      },
      "StaffBillingPlanAssignment": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "planKey": {
            "type": "string"
          },
          "assignedAt": {
            "type": "string",
            "format": "date-time"
          },
          "assignedBy": {
            "type": "string"
          }
        },
        "required": [
          "tenantId",
          "planKey",
          "assignedAt",
          "assignedBy"
        ]
      },
      "StaffBillingSubscription": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "providerCustomerId": {
            "type": "string"
          },
          "providerSubscriptionId": {
            "type": "string"
          },
          "planKey": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Unknown",
              "Incomplete",
              "IncompleteExpired",
              "Trialing",
              "Active",
              "PastDue",
              "Unpaid",
              "Paused",
              "Canceled"
            ]
          },
          "entitled": {
            "type": "boolean"
          },
          "cancelAtPeriodEnd": {
            "type": "boolean"
          },
          "currentPeriodStart": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "currentPeriodEnd": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "trialEndsAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "pastDueSince": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastPaymentFailedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastPaymentSucceededAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "pendingPlanKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "pendingPlanTiming": {
            "enum": [
              "Immediate",
              "PeriodEnd",
              null
            ]
          },
          "pendingPlanStatus": {
            "enum": [
              "ProviderConfirmationPending",
              "Scheduled",
              "PaymentRequired",
              "Reversed",
              null
            ]
          },
          "pendingPlanEffectiveAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "paidThrough": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "renewalAnchor": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recoveryDeadline": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "planGeneration": {
            "type": "integer"
          },
          "purchaseInterval": {
            "enum": [
              "Monthly",
              "Annual",
              null
            ]
          }
        },
        "required": [
          "tenantId",
          "provider",
          "providerCustomerId",
          "providerSubscriptionId",
          "planKey",
          "status",
          "entitled",
          "cancelAtPeriodEnd",
          "currentPeriodStart",
          "currentPeriodEnd",
          "trialEndsAt",
          "pastDueSince",
          "lastPaymentFailedAt",
          "lastPaymentSucceededAt",
          "updatedAt",
          "pendingPlanKey",
          "pendingPlanTiming",
          "pendingPlanStatus",
          "pendingPlanEffectiveAt",
          "paidThrough",
          "renewalAnchor",
          "recoveryDeadline"
        ]
      },
      "BillingPriceNoticeStatus": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "noticeId": {
            "type": "string"
          },
          "planName": {
            "type": "string"
          },
          "purchaseInterval": {
            "enum": [
              "Monthly",
              "Annual"
            ]
          },
          "currentPrice": {
            "type": "number"
          },
          "targetPrice": {
            "type": "number"
          },
          "sourceCatalogRevision": {
            "type": "string"
          },
          "targetCatalogRevision": {
            "type": "string"
          },
          "sourceGeneration": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "noticeAcceptedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "effectiveAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "noticeId",
          "planName",
          "purchaseInterval",
          "currentPrice",
          "targetPrice",
          "sourceCatalogRevision",
          "targetCatalogRevision",
          "sourceGeneration",
          "state",
          "createdAt",
          "noticeAcceptedAt",
          "effectiveAt"
        ]
      },
      "BillingPriceNoticeOutcome": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "outcome": {
            "type": "string"
          }
        },
        "required": [
          "outcome"
        ]
      },
      "BillingPriceNoticeHistoryPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "noticeId": {
                  "type": "string"
                },
                "planName": {
                  "type": "string"
                },
                "purchaseInterval": {
                  "enum": [
                    "Monthly",
                    "Annual"
                  ]
                },
                "currentPrice": {
                  "type": "number"
                },
                "targetPrice": {
                  "type": "number"
                },
                "sourceCatalogRevision": {
                  "type": "string"
                },
                "targetCatalogRevision": {
                  "type": "string"
                },
                "sourceGeneration": {
                  "type": "integer"
                },
                "state": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "noticeAcceptedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "effectiveAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "noticeId",
                "planName",
                "purchaseInterval",
                "currentPrice",
                "targetPrice",
                "sourceCatalogRevision",
                "targetCatalogRevision",
                "sourceGeneration",
                "state",
                "createdAt",
                "noticeAcceptedAt",
                "effectiveAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "hasActiveNotice": {
            "type": "boolean"
          }
        },
        "required": [
          "items",
          "nextCursor",
          "hasActiveNotice"
        ]
      },
      "EnterpriseBillingWorkspace": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "offering": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "offeringId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "includedSmsSegments": {
                "type": "integer"
              },
              "includedMaus": {
                "type": "integer"
              },
              "entitlements": {
                "type": "array"
              },
              "notes": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "createdBy": {
                "type": "string"
              },
              "allowancePeriod": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "serviceStartsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "anchorDayOfMonth": {
                    "type": "integer"
                  },
                  "evidenceKind": {
                    "type": "string"
                  },
                  "serviceStartEvidenceId": {
                    "type": "string"
                  },
                  "calendarResetTimeZone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "serviceStartsAtUtc",
                  "anchorDayOfMonth",
                  "evidenceKind",
                  "serviceStartEvidenceId"
                ]
              },
              "offeringDefinition": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "version": {
                    "type": "string"
                  },
                  "catalogRevision": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "visibility": {
                    "type": "string"
                  },
                  "effectiveFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "monthlyPrice": {
                    "type": "number"
                  },
                  "acceptedTelemetryRecords": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "telemetryOverage": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "block": {
                        "type": "object",
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "limit"
                        ]
                      },
                      "usdPrice": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "block",
                      "usdPrice"
                    ]
                  },
                  "eligibility": {
                    "type": "object",
                    "properties": {
                      "activeIdentities": {
                        "type": "integer"
                      },
                      "logicalApps": {
                        "type": "integer"
                      },
                      "humanOperators": {
                        "type": "integer"
                      },
                      "freeGraceHours": {
                        "type": "integer",
                        "default": 24
                      },
                      "paidTransitionDays": {
                        "type": "integer",
                        "default": 30
                      },
                      "unlimited": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "activeIdentities",
                      "logicalApps",
                      "humanOperators"
                    ]
                  },
                  "rawRetentionDays": {
                    "type": "integer"
                  },
                  "aggregateRetentionMonths": {
                    "type": "integer"
                  },
                  "includedServices": {
                    "type": "object",
                    "properties": {
                      "smartLinkResolutions": {
                        "type": "integer"
                      },
                      "acceptedPushDeliveries": {
                        "type": "integer"
                      },
                      "inAppImpressions": {
                        "type": "integer"
                      },
                      "locationUpdates": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "smartLinkResolutions",
                      "acceptedPushDeliveries",
                      "inAppImpressions",
                      "locationUpdates"
                    ]
                  },
                  "includedStorage": {
                    "type": "object",
                    "properties": {
                      "releaseContentBytes": {
                        "type": "integer"
                      },
                      "symbolUploadContentBytes": {
                        "type": "integer"
                      },
                      "monthlyServedDownloadBytes": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "releaseContentBytes",
                      "symbolUploadContentBytes",
                      "monthlyServedDownloadBytes"
                    ]
                  },
                  "capabilities": {
                    "type": "array",
                    "items": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "packageCatalogRevision": {
                    "type": "string"
                  },
                  "carrierRateRevision": {
                    "type": "string"
                  },
                  "paymentRoute": {
                    "type": "string"
                  },
                  "requiresEnterpriseAgreement": {
                    "type": "boolean"
                  },
                  "initialTermMonths": {
                    "type": "integer",
                    "default": 0
                  },
                  "onboardingHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyAdvisoryHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "basedOnTemplateVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "serviceCommitments": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "supportWindow": {
                        "type": "string"
                      },
                      "priorityQueue": {
                        "type": "boolean"
                      },
                      "namedEscalationContact": {
                        "type": "boolean"
                      },
                      "quarterlyServiceReview": {
                        "type": "boolean"
                      },
                      "slaIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "dedicatedDeploymentIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "automaticCarrierDiscount": {
                        "type": "boolean",
                        "default": false
                      },
                      "advisoryHoursRollOver": {
                        "type": "boolean",
                        "default": false
                      },
                      "bespokeEngineeringIncluded": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "supportWindow",
                      "priorityQueue",
                      "namedEscalationContact",
                      "quarterlyServiceReview"
                    ],
                    "default": null
                  },
                  "rawRetentionMonths": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "annualPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "organizationLimit": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "externalAgreement": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "totalAmount": {
                        "type": "number"
                      },
                      "endsAtUtc": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "totalAmount",
                      "endsAtUtc"
                    ]
                  },
                  "shareTelemetryAcrossOrganizations": {
                    "type": "boolean"
                  },
                  "selectedPackages": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "key",
                        "revision"
                      ]
                    }
                  }
                },
                "required": [
                  "version",
                  "catalogRevision",
                  "key",
                  "name",
                  "visibility",
                  "effectiveFrom",
                  "currency",
                  "monthlyPrice",
                  "acceptedTelemetryRecords",
                  "telemetryOverage",
                  "eligibility",
                  "rawRetentionDays",
                  "aggregateRetentionMonths",
                  "includedServices",
                  "includedStorage",
                  "capabilities",
                  "packageCatalogRevision",
                  "carrierRateRevision",
                  "paymentRoute",
                  "requiresEnterpriseAgreement"
                ]
              },
              "telemetryAllowances": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "signals": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "mode": {
                          "type": "integer",
                          "default": 0
                        },
                        "unit": {
                          "type": "integer",
                          "default": 0
                        },
                        "monthlyUnits": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        }
                      }
                    },
                    "default": null
                  },
                  "accountUnlimited": {
                    "type": "boolean"
                  }
                }
              }
            },
            "required": [
              "offeringId",
              "tenantId",
              "name",
              "monthlyPrice",
              "includedSmsSegments",
              "includedMaus",
              "entitlements",
              "notes",
              "createdAt",
              "createdBy"
            ]
          },
          "account": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "accountId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "state": {
                "type": "string"
              },
              "providerCustomerId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source": {
                "type": "string"
              },
              "createdAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "accountId",
              "state",
              "providerCustomerId",
              "source",
              "createdAt"
            ]
          },
          "subscriptionStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "priorPaidThrough": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "invoices": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "invoiceId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "offeringId": {
                  "type": "string"
                },
                "amountMinor": {
                  "type": "integer"
                },
                "currency": {
                  "type": "string"
                },
                "servicePeriodStart": {
                  "type": "string",
                  "format": "date-time"
                },
                "servicePeriodEnd": {
                  "type": "string",
                  "format": "date-time"
                },
                "dueAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "creationState": {
                  "type": "string"
                },
                "providerInvoiceId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "providerStatus": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "hostedInvoiceUrl": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "lastPaymentFailedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "invoiceId",
                "tenantId",
                "offeringId",
                "amountMinor",
                "currency",
                "servicePeriodStart",
                "servicePeriodEnd",
                "dueAt",
                "creationState",
                "providerInvoiceId",
                "providerStatus",
                "hostedInvoiceUrl",
                "lastPaymentFailedAt",
                "createdAt"
              ]
            }
          },
          "hasMoreInvoices": {
            "type": "boolean"
          },
          "providerAvailable": {
            "type": "boolean"
          },
          "externallyBilled": {
            "type": "boolean"
          }
        },
        "required": [
          "tenantId",
          "offering",
          "account",
          "subscriptionStatus",
          "priorPaidThrough",
          "invoices",
          "hasMoreInvoices",
          "providerAvailable"
        ]
      },
      "EnterpriseBillingAccount": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "accountId": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": "string"
          },
          "providerCustomerId": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "accountId",
          "state",
          "providerCustomerId",
          "source",
          "createdAt"
        ]
      },
      "EnterpriseInvoice": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "invoiceId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "offeringId": {
            "type": "string"
          },
          "amountMinor": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "servicePeriodStart": {
            "type": "string",
            "format": "date-time"
          },
          "servicePeriodEnd": {
            "type": "string",
            "format": "date-time"
          },
          "dueAt": {
            "type": "string",
            "format": "date-time"
          },
          "creationState": {
            "type": "string"
          },
          "providerInvoiceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "hostedInvoiceUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastPaymentFailedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "invoiceId",
          "tenantId",
          "offeringId",
          "amountMinor",
          "currency",
          "servicePeriodStart",
          "servicePeriodEnd",
          "dueAt",
          "creationState",
          "providerInvoiceId",
          "providerStatus",
          "hostedInvoiceUrl",
          "lastPaymentFailedAt",
          "createdAt"
        ]
      },
      "BillingContact": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "addressLine1": {
            "type": [
              "string",
              "null"
            ]
          },
          "addressLine2": {
            "type": [
              "string",
              "null"
            ]
          },
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "email",
          "name",
          "addressLine1",
          "addressLine2",
          "city",
          "region",
          "postalCode",
          "country"
        ]
      },
      "CustomOffering": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "offeringId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "includedSmsSegments": {
            "type": "integer"
          },
          "includedMaus": {
            "type": "integer"
          },
          "entitlements": {
            "type": "array"
          },
          "notes": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string"
          },
          "allowancePeriod": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "serviceStartsAtUtc": {
                "type": "string",
                "format": "date-time"
              },
              "anchorDayOfMonth": {
                "type": "integer"
              },
              "evidenceKind": {
                "type": "string"
              },
              "serviceStartEvidenceId": {
                "type": "string"
              },
              "calendarResetTimeZone": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "serviceStartsAtUtc",
              "anchorDayOfMonth",
              "evidenceKind",
              "serviceStartEvidenceId"
            ]
          },
          "offeringDefinition": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": "string"
              },
              "catalogRevision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "visibility": {
                "type": "string"
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "acceptedTelemetryRecords": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                },
                "required": [
                  "unit",
                  "limit"
                ]
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "usdPrice": {
                    "type": "number"
                  }
                },
                "required": [
                  "block",
                  "usdPrice"
                ]
              },
              "eligibility": {
                "type": "object",
                "properties": {
                  "activeIdentities": {
                    "type": "integer"
                  },
                  "logicalApps": {
                    "type": "integer"
                  },
                  "humanOperators": {
                    "type": "integer"
                  },
                  "freeGraceHours": {
                    "type": "integer",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": "integer",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "activeIdentities",
                  "logicalApps",
                  "humanOperators"
                ]
              },
              "rawRetentionDays": {
                "type": "integer"
              },
              "aggregateRetentionMonths": {
                "type": "integer"
              },
              "includedServices": {
                "type": "object",
                "properties": {
                  "smartLinkResolutions": {
                    "type": "integer"
                  },
                  "acceptedPushDeliveries": {
                    "type": "integer"
                  },
                  "inAppImpressions": {
                    "type": "integer"
                  },
                  "locationUpdates": {
                    "type": "integer"
                  }
                },
                "required": [
                  "smartLinkResolutions",
                  "acceptedPushDeliveries",
                  "inAppImpressions",
                  "locationUpdates"
                ]
              },
              "includedStorage": {
                "type": "object",
                "properties": {
                  "releaseContentBytes": {
                    "type": "integer"
                  },
                  "symbolUploadContentBytes": {
                    "type": "integer"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": "integer"
                  }
                },
                "required": [
                  "releaseContentBytes",
                  "symbolUploadContentBytes",
                  "monthlyServedDownloadBytes"
                ]
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": "string"
              },
              "carrierRateRevision": {
                "type": "string"
              },
              "paymentRoute": {
                "type": "string"
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": "integer",
                "default": 0
              },
              "onboardingHours": {
                "type": "integer",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": "integer",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": "string"
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "required": [
                  "supportWindow",
                  "priorityQueue",
                  "namedEscalationContact",
                  "quarterlyServiceReview"
                ],
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "annualPrice": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "organizationLimit": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": "number"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "key",
                    "revision"
                  ]
                }
              }
            },
            "required": [
              "version",
              "catalogRevision",
              "key",
              "name",
              "visibility",
              "effectiveFrom",
              "currency",
              "monthlyPrice",
              "acceptedTelemetryRecords",
              "telemetryOverage",
              "eligibility",
              "rawRetentionDays",
              "aggregateRetentionMonths",
              "includedServices",
              "includedStorage",
              "capabilities",
              "packageCatalogRevision",
              "carrierRateRevision",
              "paymentRoute",
              "requiresEnterpriseAgreement"
            ]
          },
          "telemetryAllowances": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "signals": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "mode": {
                      "type": "integer",
                      "default": 0
                    },
                    "unit": {
                      "type": "integer",
                      "default": 0
                    },
                    "monthlyUnits": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    }
                  }
                },
                "default": null
              },
              "accountUnlimited": {
                "type": "boolean"
              }
            }
          }
        },
        "required": [
          "offeringId",
          "tenantId",
          "name",
          "monthlyPrice",
          "includedSmsSegments",
          "includedMaus",
          "entitlements",
          "notes",
          "createdAt",
          "createdBy"
        ]
      },
      "OfferingEntitlementOption": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "label"
        ]
      },
      "OfferingCatalogSnapshot": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string",
            "format": "date-time"
          },
          "plans": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "version": {
                  "type": "string"
                },
                "catalogRevision": {
                  "type": "string"
                },
                "key": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "visibility": {
                  "type": "string"
                },
                "effectiveFrom": {
                  "type": "string",
                  "format": "date-time"
                },
                "currency": {
                  "type": "string"
                },
                "monthlyPrice": {
                  "type": "number"
                },
                "acceptedTelemetryRecords": {
                  "type": "object",
                  "properties": {
                    "unit": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "unit",
                    "limit"
                  ]
                },
                "telemetryOverage": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "block": {
                      "type": "object",
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "unit",
                        "limit"
                      ]
                    },
                    "usdPrice": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "block",
                    "usdPrice"
                  ]
                },
                "eligibility": {
                  "type": "object",
                  "properties": {
                    "activeIdentities": {
                      "type": "integer"
                    },
                    "logicalApps": {
                      "type": "integer"
                    },
                    "humanOperators": {
                      "type": "integer"
                    },
                    "freeGraceHours": {
                      "type": "integer",
                      "default": 24
                    },
                    "paidTransitionDays": {
                      "type": "integer",
                      "default": 30
                    },
                    "unlimited": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "activeIdentities",
                    "logicalApps",
                    "humanOperators"
                  ]
                },
                "rawRetentionDays": {
                  "type": "integer"
                },
                "aggregateRetentionMonths": {
                  "type": "integer"
                },
                "includedServices": {
                  "type": "object",
                  "properties": {
                    "smartLinkResolutions": {
                      "type": "integer"
                    },
                    "acceptedPushDeliveries": {
                      "type": "integer"
                    },
                    "inAppImpressions": {
                      "type": "integer"
                    },
                    "locationUpdates": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "smartLinkResolutions",
                    "acceptedPushDeliveries",
                    "inAppImpressions",
                    "locationUpdates"
                  ]
                },
                "includedStorage": {
                  "type": "object",
                  "properties": {
                    "releaseContentBytes": {
                      "type": "integer"
                    },
                    "symbolUploadContentBytes": {
                      "type": "integer"
                    },
                    "monthlyServedDownloadBytes": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "releaseContentBytes",
                    "symbolUploadContentBytes",
                    "monthlyServedDownloadBytes"
                  ]
                },
                "capabilities": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "packageCatalogRevision": {
                  "type": "string"
                },
                "carrierRateRevision": {
                  "type": "string"
                },
                "paymentRoute": {
                  "type": "string"
                },
                "requiresEnterpriseAgreement": {
                  "type": "boolean"
                },
                "initialTermMonths": {
                  "type": "integer",
                  "default": 0
                },
                "onboardingHours": {
                  "type": "integer",
                  "default": 0
                },
                "monthlyAdvisoryHours": {
                  "type": "integer",
                  "default": 0
                },
                "basedOnTemplateVersion": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "serviceCommitments": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "supportWindow": {
                      "type": "string"
                    },
                    "priorityQueue": {
                      "type": "boolean"
                    },
                    "namedEscalationContact": {
                      "type": "boolean"
                    },
                    "quarterlyServiceReview": {
                      "type": "boolean"
                    },
                    "slaIncluded": {
                      "type": "boolean",
                      "default": false
                    },
                    "dedicatedDeploymentIncluded": {
                      "type": "boolean",
                      "default": false
                    },
                    "automaticCarrierDiscount": {
                      "type": "boolean",
                      "default": false
                    },
                    "advisoryHoursRollOver": {
                      "type": "boolean",
                      "default": false
                    },
                    "bespokeEngineeringIncluded": {
                      "type": "boolean",
                      "default": false
                    }
                  },
                  "required": [
                    "supportWindow",
                    "priorityQueue",
                    "namedEscalationContact",
                    "quarterlyServiceReview"
                  ],
                  "default": null
                },
                "rawRetentionMonths": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "annualPrice": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "organizationLimit": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "externalAgreement": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "totalAmount": {
                      "type": "number"
                    },
                    "endsAtUtc": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "totalAmount",
                    "endsAtUtc"
                  ]
                },
                "shareTelemetryAcrossOrganizations": {
                  "type": "boolean"
                },
                "selectedPackages": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "revision"
                    ]
                  }
                }
              },
              "required": [
                "version",
                "catalogRevision",
                "key",
                "name",
                "visibility",
                "effectiveFrom",
                "currency",
                "monthlyPrice",
                "acceptedTelemetryRecords",
                "telemetryOverage",
                "eligibility",
                "rawRetentionDays",
                "aggregateRetentionMonths",
                "includedServices",
                "includedStorage",
                "capabilities",
                "packageCatalogRevision",
                "carrierRateRevision",
                "paymentRoute",
                "requiresEnterpriseAgreement"
              ]
            }
          },
          "enterpriseTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OfferingCatalogSnapshot/properties/plans/items"
            }
          },
          "packages": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "revision": {
                  "type": "string"
                },
                "key": {
                  "type": "string"
                },
                "product": {
                  "type": "string"
                },
                "level": {
                  "type": "string"
                },
                "currency": {
                  "type": "string"
                },
                "monthlyPrice": {
                  "type": "number"
                },
                "combination": {
                  "type": "string"
                },
                "quantities": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  }
                },
                "optionalBlocks": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "block": {
                        "$ref": "#/components/schemas/OfferingCatalogSnapshot/properties/plans/items/properties/telemetryOverage/properties/block"
                      },
                      "usdPrice": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "block",
                      "usdPrice"
                    ]
                  }
                }
              },
              "required": [
                "revision",
                "key",
                "product",
                "level",
                "currency",
                "monthlyPrice",
                "combination",
                "quantities",
                "optionalBlocks"
              ]
            }
          },
          "carrierRates": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "revision": {
                  "type": "string"
                },
                "market": {
                  "type": "string"
                },
                "direction": {
                  "type": "string"
                },
                "senderScope": {
                  "type": "string"
                },
                "channel": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "bands": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "throughCumulativeUnits": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "usdPerUnit": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "throughCumulativeUnits",
                      "usdPerUnit"
                    ]
                  }
                }
              },
              "required": [
                "revision",
                "market",
                "direction",
                "senderScope",
                "channel",
                "unit",
                "bands"
              ]
            }
          },
          "enterpriseQualification": {
            "type": "object",
            "properties": {
              "groupEmployees": {
                "type": "integer"
              },
              "consolidatedAnnualUsdRevenueOrBudget": {
                "type": "number"
              },
              "verifiedTransitionDays": {
                "type": "integer"
              }
            },
            "required": [
              "groupEmployees",
              "consolidatedAnnualUsdRevenueOrBudget",
              "verifiedTransitionDays"
            ]
          }
        },
        "required": [
          "version",
          "effectiveFrom",
          "plans",
          "enterpriseTemplates",
          "packages",
          "carrierRates",
          "enterpriseQualification"
        ]
      },
      "OfferingDefinition": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "catalogRevision": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "visibility": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string",
            "format": "date-time"
          },
          "currency": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "acceptedTelemetryRecords": {
            "type": "object",
            "properties": {
              "unit": {
                "type": "string"
              },
              "limit": {
                "type": "integer"
              }
            },
            "required": [
              "unit",
              "limit"
            ]
          },
          "telemetryOverage": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "block": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                },
                "required": [
                  "unit",
                  "limit"
                ]
              },
              "usdPrice": {
                "type": "number"
              }
            },
            "required": [
              "block",
              "usdPrice"
            ]
          },
          "eligibility": {
            "type": "object",
            "properties": {
              "activeIdentities": {
                "type": "integer"
              },
              "logicalApps": {
                "type": "integer"
              },
              "humanOperators": {
                "type": "integer"
              },
              "freeGraceHours": {
                "type": "integer",
                "default": 24
              },
              "paidTransitionDays": {
                "type": "integer",
                "default": 30
              },
              "unlimited": {
                "type": "boolean"
              }
            },
            "required": [
              "activeIdentities",
              "logicalApps",
              "humanOperators"
            ]
          },
          "rawRetentionDays": {
            "type": "integer"
          },
          "aggregateRetentionMonths": {
            "type": "integer"
          },
          "includedServices": {
            "type": "object",
            "properties": {
              "smartLinkResolutions": {
                "type": "integer"
              },
              "acceptedPushDeliveries": {
                "type": "integer"
              },
              "inAppImpressions": {
                "type": "integer"
              },
              "locationUpdates": {
                "type": "integer"
              }
            },
            "required": [
              "smartLinkResolutions",
              "acceptedPushDeliveries",
              "inAppImpressions",
              "locationUpdates"
            ]
          },
          "includedStorage": {
            "type": "object",
            "properties": {
              "releaseContentBytes": {
                "type": "integer"
              },
              "symbolUploadContentBytes": {
                "type": "integer"
              },
              "monthlyServedDownloadBytes": {
                "type": "integer"
              }
            },
            "required": [
              "releaseContentBytes",
              "symbolUploadContentBytes",
              "monthlyServedDownloadBytes"
            ]
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "packageCatalogRevision": {
            "type": "string"
          },
          "carrierRateRevision": {
            "type": "string"
          },
          "paymentRoute": {
            "type": "string"
          },
          "requiresEnterpriseAgreement": {
            "type": "boolean"
          },
          "initialTermMonths": {
            "type": "integer",
            "default": 0
          },
          "onboardingHours": {
            "type": "integer",
            "default": 0
          },
          "monthlyAdvisoryHours": {
            "type": "integer",
            "default": 0
          },
          "basedOnTemplateVersion": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "serviceCommitments": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "supportWindow": {
                "type": "string"
              },
              "priorityQueue": {
                "type": "boolean"
              },
              "namedEscalationContact": {
                "type": "boolean"
              },
              "quarterlyServiceReview": {
                "type": "boolean"
              },
              "slaIncluded": {
                "type": "boolean",
                "default": false
              },
              "dedicatedDeploymentIncluded": {
                "type": "boolean",
                "default": false
              },
              "automaticCarrierDiscount": {
                "type": "boolean",
                "default": false
              },
              "advisoryHoursRollOver": {
                "type": "boolean",
                "default": false
              },
              "bespokeEngineeringIncluded": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "supportWindow",
              "priorityQueue",
              "namedEscalationContact",
              "quarterlyServiceReview"
            ],
            "default": null
          },
          "rawRetentionMonths": {
            "type": [
              "integer",
              "null"
            ]
          },
          "annualPrice": {
            "type": [
              "number",
              "null"
            ]
          },
          "organizationLimit": {
            "type": [
              "integer",
              "null"
            ]
          },
          "externalAgreement": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "totalAmount": {
                "type": "number"
              },
              "endsAtUtc": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "totalAmount",
              "endsAtUtc"
            ]
          },
          "shareTelemetryAcrossOrganizations": {
            "type": "boolean"
          },
          "selectedPackages": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "revision": {
                  "type": "string"
                }
              },
              "required": [
                "key",
                "revision"
              ]
            }
          }
        },
        "required": [
          "version",
          "catalogRevision",
          "key",
          "name",
          "visibility",
          "effectiveFrom",
          "currency",
          "monthlyPrice",
          "acceptedTelemetryRecords",
          "telemetryOverage",
          "eligibility",
          "rawRetentionDays",
          "aggregateRetentionMonths",
          "includedServices",
          "includedStorage",
          "capabilities",
          "packageCatalogRevision",
          "carrierRateRevision",
          "paymentRoute",
          "requiresEnterpriseAgreement"
        ]
      },
      "OfferingEligibility": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "activeIdentities": {
            "type": "integer"
          },
          "logicalApps": {
            "type": "integer"
          },
          "humanOperators": {
            "type": "integer"
          },
          "freeGraceHours": {
            "type": "integer",
            "default": 24
          },
          "paidTransitionDays": {
            "type": "integer",
            "default": 30
          },
          "unlimited": {
            "type": "boolean"
          }
        },
        "required": [
          "activeIdentities",
          "logicalApps",
          "humanOperators"
        ]
      },
      "TelemetryAllowancePolicy": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "version": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "signals": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "mode": {
                  "type": "integer",
                  "default": 0
                },
                "unit": {
                  "type": "integer",
                  "default": 0
                },
                "monthlyUnits": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "default": null
                }
              }
            },
            "default": null
          },
          "accountUnlimited": {
            "type": "boolean"
          }
        }
      },
      "EnterpriseAllowancePeriodConfiguration": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "serviceStartsAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "anchorDayOfMonth": {
            "type": "integer"
          },
          "evidenceKind": {
            "type": "string"
          },
          "serviceStartEvidenceId": {
            "type": "string"
          },
          "calendarResetTimeZone": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "serviceStartsAtUtc",
          "anchorDayOfMonth",
          "evidenceKind",
          "serviceStartEvidenceId"
        ]
      },
      "Quote": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "quoteId": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "prospect": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "leadId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "contactEmail": {
                "type": "string"
              },
              "intendedOrgName": {
                "type": "string"
              },
              "desiredSlug": {
                "type": "string"
              }
            },
            "required": [
              "leadId",
              "contactEmail",
              "intendedOrgName",
              "desiredSlug"
            ]
          },
          "title": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Draft",
              "Sent",
              "Accepted",
              "Declined",
              "Expired"
            ]
          },
          "lineItems": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "description": {
                  "type": "string"
                },
                "quantity": {
                  "type": "number"
                },
                "unitPrice": {
                  "type": "number"
                },
                "amount": {
                  "type": "number"
                },
                "billingFrequency": {
                  "enum": [
                    "OneTime",
                    "Monthly"
                  ]
                }
              },
              "required": [
                "description",
                "quantity",
                "unitPrice",
                "amount"
              ]
            }
          },
          "discountPercent": {
            "type": "number"
          },
          "subtotal": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "validUntil": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string"
          },
          "enterpriseOffer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "agreement": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string"
                  },
                  "catalogRevision": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "visibility": {
                    "type": "string"
                  },
                  "effectiveFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "monthlyPrice": {
                    "type": "number"
                  },
                  "acceptedTelemetryRecords": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "telemetryOverage": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "block": {
                        "type": "object",
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "limit"
                        ]
                      },
                      "usdPrice": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "block",
                      "usdPrice"
                    ]
                  },
                  "eligibility": {
                    "type": "object",
                    "properties": {
                      "activeIdentities": {
                        "type": "integer"
                      },
                      "logicalApps": {
                        "type": "integer"
                      },
                      "humanOperators": {
                        "type": "integer"
                      },
                      "freeGraceHours": {
                        "type": "integer",
                        "default": 24
                      },
                      "paidTransitionDays": {
                        "type": "integer",
                        "default": 30
                      },
                      "unlimited": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "activeIdentities",
                      "logicalApps",
                      "humanOperators"
                    ]
                  },
                  "rawRetentionDays": {
                    "type": "integer"
                  },
                  "aggregateRetentionMonths": {
                    "type": "integer"
                  },
                  "includedServices": {
                    "type": "object",
                    "properties": {
                      "smartLinkResolutions": {
                        "type": "integer"
                      },
                      "acceptedPushDeliveries": {
                        "type": "integer"
                      },
                      "inAppImpressions": {
                        "type": "integer"
                      },
                      "locationUpdates": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "smartLinkResolutions",
                      "acceptedPushDeliveries",
                      "inAppImpressions",
                      "locationUpdates"
                    ]
                  },
                  "includedStorage": {
                    "type": "object",
                    "properties": {
                      "releaseContentBytes": {
                        "type": "integer"
                      },
                      "symbolUploadContentBytes": {
                        "type": "integer"
                      },
                      "monthlyServedDownloadBytes": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "releaseContentBytes",
                      "symbolUploadContentBytes",
                      "monthlyServedDownloadBytes"
                    ]
                  },
                  "capabilities": {
                    "type": "array",
                    "items": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "packageCatalogRevision": {
                    "type": "string"
                  },
                  "carrierRateRevision": {
                    "type": "string"
                  },
                  "paymentRoute": {
                    "type": "string"
                  },
                  "requiresEnterpriseAgreement": {
                    "type": "boolean"
                  },
                  "initialTermMonths": {
                    "type": "integer",
                    "default": 0
                  },
                  "onboardingHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyAdvisoryHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "basedOnTemplateVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "serviceCommitments": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "supportWindow": {
                        "type": "string"
                      },
                      "priorityQueue": {
                        "type": "boolean"
                      },
                      "namedEscalationContact": {
                        "type": "boolean"
                      },
                      "quarterlyServiceReview": {
                        "type": "boolean"
                      },
                      "slaIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "dedicatedDeploymentIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "automaticCarrierDiscount": {
                        "type": "boolean",
                        "default": false
                      },
                      "advisoryHoursRollOver": {
                        "type": "boolean",
                        "default": false
                      },
                      "bespokeEngineeringIncluded": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "supportWindow",
                      "priorityQueue",
                      "namedEscalationContact",
                      "quarterlyServiceReview"
                    ],
                    "default": null
                  },
                  "rawRetentionMonths": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "annualPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "organizationLimit": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "externalAgreement": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "totalAmount": {
                        "type": "number"
                      },
                      "endsAtUtc": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "totalAmount",
                      "endsAtUtc"
                    ]
                  },
                  "shareTelemetryAcrossOrganizations": {
                    "type": "boolean"
                  },
                  "selectedPackages": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "key",
                        "revision"
                      ]
                    }
                  }
                },
                "required": [
                  "version",
                  "catalogRevision",
                  "key",
                  "name",
                  "visibility",
                  "effectiveFrom",
                  "currency",
                  "monthlyPrice",
                  "acceptedTelemetryRecords",
                  "telemetryOverage",
                  "eligibility",
                  "rawRetentionDays",
                  "aggregateRetentionMonths",
                  "includedServices",
                  "includedStorage",
                  "capabilities",
                  "packageCatalogRevision",
                  "carrierRateRevision",
                  "paymentRoute",
                  "requiresEnterpriseAgreement"
                ]
              },
              "template": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string"
                  },
                  "catalogRevision": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "visibility": {
                    "type": "string"
                  },
                  "effectiveFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "monthlyPrice": {
                    "type": "number"
                  },
                  "acceptedTelemetryRecords": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
                  },
                  "telemetryOverage": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
                  },
                  "eligibility": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/eligibility"
                  },
                  "rawRetentionDays": {
                    "type": "integer"
                  },
                  "aggregateRetentionMonths": {
                    "type": "integer"
                  },
                  "includedServices": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/includedServices"
                  },
                  "includedStorage": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
                  },
                  "capabilities": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/capabilities"
                  },
                  "packageCatalogRevision": {
                    "type": "string"
                  },
                  "carrierRateRevision": {
                    "type": "string"
                  },
                  "paymentRoute": {
                    "type": "string"
                  },
                  "requiresEnterpriseAgreement": {
                    "type": "boolean"
                  },
                  "initialTermMonths": {
                    "type": "integer",
                    "default": 0
                  },
                  "onboardingHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyAdvisoryHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "basedOnTemplateVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "serviceCommitments": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
                    "default": null
                  },
                  "rawRetentionMonths": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "annualPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "organizationLimit": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "externalAgreement": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
                  },
                  "shareTelemetryAcrossOrganizations": {
                    "type": "boolean"
                  },
                  "selectedPackages": {
                    "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
                  }
                },
                "required": [
                  "version",
                  "catalogRevision",
                  "key",
                  "name",
                  "visibility",
                  "effectiveFrom",
                  "currency",
                  "monthlyPrice",
                  "acceptedTelemetryRecords",
                  "telemetryOverage",
                  "eligibility",
                  "rawRetentionDays",
                  "aggregateRetentionMonths",
                  "includedServices",
                  "includedStorage",
                  "capabilities",
                  "packageCatalogRevision",
                  "carrierRateRevision",
                  "paymentRoute",
                  "requiresEnterpriseAgreement"
                ]
              },
              "packages": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "revision": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "product": {
                      "type": "string"
                    },
                    "level": {
                      "type": "string"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "monthlyPrice": {
                      "type": "number"
                    },
                    "combination": {
                      "type": "string"
                    },
                    "quantities": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "limit"
                        ]
                      }
                    },
                    "optionalBlocks": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "block": {
                            "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                          },
                          "usdPrice": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "block",
                          "usdPrice"
                        ]
                      }
                    }
                  },
                  "required": [
                    "revision",
                    "key",
                    "product",
                    "level",
                    "currency",
                    "monthlyPrice",
                    "combination",
                    "quantities",
                    "optionalBlocks"
                  ]
                }
              },
              "includedServices": {
                "type": "object",
                "properties": {
                  "smartLinkResolutions": {
                    "type": "integer"
                  },
                  "acceptedPushDeliveries": {
                    "type": "integer"
                  },
                  "inAppImpressions": {
                    "type": "integer"
                  },
                  "locationUpdates": {
                    "type": "integer"
                  }
                },
                "required": [
                  "smartLinkResolutions",
                  "acceptedPushDeliveries",
                  "inAppImpressions",
                  "locationUpdates"
                ]
              },
              "includedStorage": {
                "type": "object",
                "properties": {
                  "releaseContentBytes": {
                    "type": "integer"
                  },
                  "symbolUploadContentBytes": {
                    "type": "integer"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": "integer"
                  }
                },
                "required": [
                  "releaseContentBytes",
                  "symbolUploadContentBytes",
                  "monthlyServedDownloadBytes"
                ]
              }
            },
            "required": [
              "agreement",
              "template",
              "packages",
              "includedServices",
              "includedStorage"
            ]
          },
          "pricing": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "currency": {
                "type": "string"
              },
              "monthlySubtotal": {
                "type": "number"
              },
              "monthlyDiscount": {
                "type": "number"
              },
              "monthlyTotal": {
                "type": "number"
              },
              "oneTimeSubtotal": {
                "type": "number"
              },
              "oneTimeDiscount": {
                "type": "number"
              },
              "oneTimeTotal": {
                "type": "number"
              },
              "initialTermMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "initialTermEstimate": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "currency",
              "monthlySubtotal",
              "monthlyDiscount",
              "monthlyTotal",
              "oneTimeSubtotal",
              "oneTimeDiscount",
              "oneTimeTotal",
              "initialTermMonths",
              "initialTermEstimate"
            ]
          },
          "revision": {
            "type": "integer"
          }
        },
        "required": [
          "quoteId",
          "tenantId",
          "prospect",
          "title",
          "status",
          "lineItems",
          "discountPercent",
          "subtotal",
          "discountAmount",
          "total",
          "validUntil",
          "createdAt",
          "updatedAt",
          "createdBy"
        ]
      },
      "QuoteProspect": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "leadId": {
            "type": [
              "string",
              "null"
            ]
          },
          "contactEmail": {
            "type": "string"
          },
          "intendedOrgName": {
            "type": "string"
          },
          "desiredSlug": {
            "type": "string"
          }
        },
        "required": [
          "leadId",
          "contactEmail",
          "intendedOrgName",
          "desiredSlug"
        ]
      },
      "QuoteLineItem": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "description": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unitPrice": {
            "type": "number"
          },
          "amount": {
            "type": "number"
          },
          "billingFrequency": {
            "enum": [
              "OneTime",
              "Monthly"
            ]
          }
        },
        "required": [
          "description",
          "quantity",
          "unitPrice",
          "amount"
        ]
      },
      "QuotePreview": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "lineItems": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "description": {
                  "type": "string"
                },
                "quantity": {
                  "type": "number"
                },
                "unitPrice": {
                  "type": "number"
                },
                "amount": {
                  "type": "number"
                },
                "billingFrequency": {
                  "enum": [
                    "OneTime",
                    "Monthly"
                  ]
                }
              },
              "required": [
                "description",
                "quantity",
                "unitPrice",
                "amount"
              ]
            }
          },
          "discountPercent": {
            "type": "number"
          },
          "subtotal": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "pricing": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string"
              },
              "monthlySubtotal": {
                "type": "number"
              },
              "monthlyDiscount": {
                "type": "number"
              },
              "monthlyTotal": {
                "type": "number"
              },
              "oneTimeSubtotal": {
                "type": "number"
              },
              "oneTimeDiscount": {
                "type": "number"
              },
              "oneTimeTotal": {
                "type": "number"
              },
              "initialTermMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "initialTermEstimate": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "currency",
              "monthlySubtotal",
              "monthlyDiscount",
              "monthlyTotal",
              "oneTimeSubtotal",
              "oneTimeDiscount",
              "oneTimeTotal",
              "initialTermMonths",
              "initialTermEstimate"
            ]
          },
          "enterpriseOffer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "agreement": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string"
                  },
                  "catalogRevision": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "visibility": {
                    "type": "string"
                  },
                  "effectiveFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "monthlyPrice": {
                    "type": "number"
                  },
                  "acceptedTelemetryRecords": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "telemetryOverage": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "block": {
                        "type": "object",
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "limit"
                        ]
                      },
                      "usdPrice": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "block",
                      "usdPrice"
                    ]
                  },
                  "eligibility": {
                    "type": "object",
                    "properties": {
                      "activeIdentities": {
                        "type": "integer"
                      },
                      "logicalApps": {
                        "type": "integer"
                      },
                      "humanOperators": {
                        "type": "integer"
                      },
                      "freeGraceHours": {
                        "type": "integer",
                        "default": 24
                      },
                      "paidTransitionDays": {
                        "type": "integer",
                        "default": 30
                      },
                      "unlimited": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "activeIdentities",
                      "logicalApps",
                      "humanOperators"
                    ]
                  },
                  "rawRetentionDays": {
                    "type": "integer"
                  },
                  "aggregateRetentionMonths": {
                    "type": "integer"
                  },
                  "includedServices": {
                    "type": "object",
                    "properties": {
                      "smartLinkResolutions": {
                        "type": "integer"
                      },
                      "acceptedPushDeliveries": {
                        "type": "integer"
                      },
                      "inAppImpressions": {
                        "type": "integer"
                      },
                      "locationUpdates": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "smartLinkResolutions",
                      "acceptedPushDeliveries",
                      "inAppImpressions",
                      "locationUpdates"
                    ]
                  },
                  "includedStorage": {
                    "type": "object",
                    "properties": {
                      "releaseContentBytes": {
                        "type": "integer"
                      },
                      "symbolUploadContentBytes": {
                        "type": "integer"
                      },
                      "monthlyServedDownloadBytes": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "releaseContentBytes",
                      "symbolUploadContentBytes",
                      "monthlyServedDownloadBytes"
                    ]
                  },
                  "capabilities": {
                    "type": "array",
                    "items": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "packageCatalogRevision": {
                    "type": "string"
                  },
                  "carrierRateRevision": {
                    "type": "string"
                  },
                  "paymentRoute": {
                    "type": "string"
                  },
                  "requiresEnterpriseAgreement": {
                    "type": "boolean"
                  },
                  "initialTermMonths": {
                    "type": "integer",
                    "default": 0
                  },
                  "onboardingHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyAdvisoryHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "basedOnTemplateVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "serviceCommitments": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "supportWindow": {
                        "type": "string"
                      },
                      "priorityQueue": {
                        "type": "boolean"
                      },
                      "namedEscalationContact": {
                        "type": "boolean"
                      },
                      "quarterlyServiceReview": {
                        "type": "boolean"
                      },
                      "slaIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "dedicatedDeploymentIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "automaticCarrierDiscount": {
                        "type": "boolean",
                        "default": false
                      },
                      "advisoryHoursRollOver": {
                        "type": "boolean",
                        "default": false
                      },
                      "bespokeEngineeringIncluded": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "supportWindow",
                      "priorityQueue",
                      "namedEscalationContact",
                      "quarterlyServiceReview"
                    ],
                    "default": null
                  },
                  "rawRetentionMonths": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "annualPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "organizationLimit": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "externalAgreement": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "totalAmount": {
                        "type": "number"
                      },
                      "endsAtUtc": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "totalAmount",
                      "endsAtUtc"
                    ]
                  },
                  "shareTelemetryAcrossOrganizations": {
                    "type": "boolean"
                  },
                  "selectedPackages": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "key",
                        "revision"
                      ]
                    }
                  }
                },
                "required": [
                  "version",
                  "catalogRevision",
                  "key",
                  "name",
                  "visibility",
                  "effectiveFrom",
                  "currency",
                  "monthlyPrice",
                  "acceptedTelemetryRecords",
                  "telemetryOverage",
                  "eligibility",
                  "rawRetentionDays",
                  "aggregateRetentionMonths",
                  "includedServices",
                  "includedStorage",
                  "capabilities",
                  "packageCatalogRevision",
                  "carrierRateRevision",
                  "paymentRoute",
                  "requiresEnterpriseAgreement"
                ]
              },
              "template": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string"
                  },
                  "catalogRevision": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "visibility": {
                    "type": "string"
                  },
                  "effectiveFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "monthlyPrice": {
                    "type": "number"
                  },
                  "acceptedTelemetryRecords": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
                  },
                  "telemetryOverage": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
                  },
                  "eligibility": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/eligibility"
                  },
                  "rawRetentionDays": {
                    "type": "integer"
                  },
                  "aggregateRetentionMonths": {
                    "type": "integer"
                  },
                  "includedServices": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/includedServices"
                  },
                  "includedStorage": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
                  },
                  "capabilities": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/capabilities"
                  },
                  "packageCatalogRevision": {
                    "type": "string"
                  },
                  "carrierRateRevision": {
                    "type": "string"
                  },
                  "paymentRoute": {
                    "type": "string"
                  },
                  "requiresEnterpriseAgreement": {
                    "type": "boolean"
                  },
                  "initialTermMonths": {
                    "type": "integer",
                    "default": 0
                  },
                  "onboardingHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyAdvisoryHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "basedOnTemplateVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "serviceCommitments": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
                    "default": null
                  },
                  "rawRetentionMonths": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "annualPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "organizationLimit": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "externalAgreement": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
                  },
                  "shareTelemetryAcrossOrganizations": {
                    "type": "boolean"
                  },
                  "selectedPackages": {
                    "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
                  }
                },
                "required": [
                  "version",
                  "catalogRevision",
                  "key",
                  "name",
                  "visibility",
                  "effectiveFrom",
                  "currency",
                  "monthlyPrice",
                  "acceptedTelemetryRecords",
                  "telemetryOverage",
                  "eligibility",
                  "rawRetentionDays",
                  "aggregateRetentionMonths",
                  "includedServices",
                  "includedStorage",
                  "capabilities",
                  "packageCatalogRevision",
                  "carrierRateRevision",
                  "paymentRoute",
                  "requiresEnterpriseAgreement"
                ]
              },
              "packages": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "revision": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "product": {
                      "type": "string"
                    },
                    "level": {
                      "type": "string"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "monthlyPrice": {
                      "type": "number"
                    },
                    "combination": {
                      "type": "string"
                    },
                    "quantities": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "limit"
                        ]
                      }
                    },
                    "optionalBlocks": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "block": {
                            "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                          },
                          "usdPrice": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "block",
                          "usdPrice"
                        ]
                      }
                    }
                  },
                  "required": [
                    "revision",
                    "key",
                    "product",
                    "level",
                    "currency",
                    "monthlyPrice",
                    "combination",
                    "quantities",
                    "optionalBlocks"
                  ]
                }
              },
              "includedServices": {
                "type": "object",
                "properties": {
                  "smartLinkResolutions": {
                    "type": "integer"
                  },
                  "acceptedPushDeliveries": {
                    "type": "integer"
                  },
                  "inAppImpressions": {
                    "type": "integer"
                  },
                  "locationUpdates": {
                    "type": "integer"
                  }
                },
                "required": [
                  "smartLinkResolutions",
                  "acceptedPushDeliveries",
                  "inAppImpressions",
                  "locationUpdates"
                ]
              },
              "includedStorage": {
                "type": "object",
                "properties": {
                  "releaseContentBytes": {
                    "type": "integer"
                  },
                  "symbolUploadContentBytes": {
                    "type": "integer"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": "integer"
                  }
                },
                "required": [
                  "releaseContentBytes",
                  "symbolUploadContentBytes",
                  "monthlyServedDownloadBytes"
                ]
              }
            },
            "required": [
              "agreement",
              "template",
              "packages",
              "includedServices",
              "includedStorage"
            ]
          }
        },
        "required": [
          "lineItems",
          "discountPercent",
          "subtotal",
          "discountAmount",
          "total",
          "pricing",
          "enterpriseOffer"
        ]
      },
      "QuotePricing": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "currency": {
            "type": "string"
          },
          "monthlySubtotal": {
            "type": "number"
          },
          "monthlyDiscount": {
            "type": "number"
          },
          "monthlyTotal": {
            "type": "number"
          },
          "oneTimeSubtotal": {
            "type": "number"
          },
          "oneTimeDiscount": {
            "type": "number"
          },
          "oneTimeTotal": {
            "type": "number"
          },
          "initialTermMonths": {
            "type": [
              "integer",
              "null"
            ]
          },
          "initialTermEstimate": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "currency",
          "monthlySubtotal",
          "monthlyDiscount",
          "monthlyTotal",
          "oneTimeSubtotal",
          "oneTimeDiscount",
          "oneTimeTotal",
          "initialTermMonths",
          "initialTermEstimate"
        ]
      },
      "QuoteEnterpriseOffer": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "agreement": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "catalogRevision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "visibility": {
                "type": "string"
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "acceptedTelemetryRecords": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                },
                "required": [
                  "unit",
                  "limit"
                ]
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "usdPrice": {
                    "type": "number"
                  }
                },
                "required": [
                  "block",
                  "usdPrice"
                ]
              },
              "eligibility": {
                "type": "object",
                "properties": {
                  "activeIdentities": {
                    "type": "integer"
                  },
                  "logicalApps": {
                    "type": "integer"
                  },
                  "humanOperators": {
                    "type": "integer"
                  },
                  "freeGraceHours": {
                    "type": "integer",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": "integer",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "activeIdentities",
                  "logicalApps",
                  "humanOperators"
                ]
              },
              "rawRetentionDays": {
                "type": "integer"
              },
              "aggregateRetentionMonths": {
                "type": "integer"
              },
              "includedServices": {
                "type": "object",
                "properties": {
                  "smartLinkResolutions": {
                    "type": "integer"
                  },
                  "acceptedPushDeliveries": {
                    "type": "integer"
                  },
                  "inAppImpressions": {
                    "type": "integer"
                  },
                  "locationUpdates": {
                    "type": "integer"
                  }
                },
                "required": [
                  "smartLinkResolutions",
                  "acceptedPushDeliveries",
                  "inAppImpressions",
                  "locationUpdates"
                ]
              },
              "includedStorage": {
                "type": "object",
                "properties": {
                  "releaseContentBytes": {
                    "type": "integer"
                  },
                  "symbolUploadContentBytes": {
                    "type": "integer"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": "integer"
                  }
                },
                "required": [
                  "releaseContentBytes",
                  "symbolUploadContentBytes",
                  "monthlyServedDownloadBytes"
                ]
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": "string"
              },
              "carrierRateRevision": {
                "type": "string"
              },
              "paymentRoute": {
                "type": "string"
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": "integer",
                "default": 0
              },
              "onboardingHours": {
                "type": "integer",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": "integer",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": "string"
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "required": [
                  "supportWindow",
                  "priorityQueue",
                  "namedEscalationContact",
                  "quarterlyServiceReview"
                ],
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "annualPrice": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "organizationLimit": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": "number"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "key",
                    "revision"
                  ]
                }
              }
            },
            "required": [
              "version",
              "catalogRevision",
              "key",
              "name",
              "visibility",
              "effectiveFrom",
              "currency",
              "monthlyPrice",
              "acceptedTelemetryRecords",
              "telemetryOverage",
              "eligibility",
              "rawRetentionDays",
              "aggregateRetentionMonths",
              "includedServices",
              "includedStorage",
              "capabilities",
              "packageCatalogRevision",
              "carrierRateRevision",
              "paymentRoute",
              "requiresEnterpriseAgreement"
            ]
          },
          "template": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "catalogRevision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "visibility": {
                "type": "string"
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "acceptedTelemetryRecords": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
              },
              "telemetryOverage": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/telemetryOverage"
              },
              "eligibility": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/eligibility"
              },
              "rawRetentionDays": {
                "type": "integer"
              },
              "aggregateRetentionMonths": {
                "type": "integer"
              },
              "includedServices": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/includedServices"
              },
              "includedStorage": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/includedStorage"
              },
              "capabilities": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/capabilities"
              },
              "packageCatalogRevision": {
                "type": "string"
              },
              "carrierRateRevision": {
                "type": "string"
              },
              "paymentRoute": {
                "type": "string"
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": "integer",
                "default": 0
              },
              "onboardingHours": {
                "type": "integer",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": "integer",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/serviceCommitments",
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "annualPrice": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "organizationLimit": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "externalAgreement": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/externalAgreement"
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/selectedPackages"
              }
            },
            "required": [
              "version",
              "catalogRevision",
              "key",
              "name",
              "visibility",
              "effectiveFrom",
              "currency",
              "monthlyPrice",
              "acceptedTelemetryRecords",
              "telemetryOverage",
              "eligibility",
              "rawRetentionDays",
              "aggregateRetentionMonths",
              "includedServices",
              "includedStorage",
              "capabilities",
              "packageCatalogRevision",
              "carrierRateRevision",
              "paymentRoute",
              "requiresEnterpriseAgreement"
            ]
          },
          "packages": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "revision": {
                  "type": "string"
                },
                "key": {
                  "type": "string"
                },
                "product": {
                  "type": "string"
                },
                "level": {
                  "type": "string"
                },
                "currency": {
                  "type": "string"
                },
                "monthlyPrice": {
                  "type": "number"
                },
                "combination": {
                  "type": "string"
                },
                "quantities": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  }
                },
                "optionalBlocks": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "block": {
                        "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                      },
                      "usdPrice": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "block",
                      "usdPrice"
                    ]
                  }
                }
              },
              "required": [
                "revision",
                "key",
                "product",
                "level",
                "currency",
                "monthlyPrice",
                "combination",
                "quantities",
                "optionalBlocks"
              ]
            }
          },
          "includedServices": {
            "type": "object",
            "properties": {
              "smartLinkResolutions": {
                "type": "integer"
              },
              "acceptedPushDeliveries": {
                "type": "integer"
              },
              "inAppImpressions": {
                "type": "integer"
              },
              "locationUpdates": {
                "type": "integer"
              }
            },
            "required": [
              "smartLinkResolutions",
              "acceptedPushDeliveries",
              "inAppImpressions",
              "locationUpdates"
            ]
          },
          "includedStorage": {
            "type": "object",
            "properties": {
              "releaseContentBytes": {
                "type": "integer"
              },
              "symbolUploadContentBytes": {
                "type": "integer"
              },
              "monthlyServedDownloadBytes": {
                "type": "integer"
              }
            },
            "required": [
              "releaseContentBytes",
              "symbolUploadContentBytes",
              "monthlyServedDownloadBytes"
            ]
          }
        },
        "required": [
          "agreement",
          "template",
          "packages",
          "includedServices",
          "includedStorage"
        ]
      },
      "SetTenantOfferingRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "monthlyPrice": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "includedSmsSegments": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "includedMaus": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "entitlements": {
            "type": [
              "array",
              "null"
            ]
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "allowancePeriod": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "serviceStartsAtUtc": {
                "type": "string",
                "format": "date-time"
              },
              "anchorDayOfMonth": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "evidenceKind": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "serviceStartEvidenceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "calendarResetTimeZone": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "serviceStartsAtUtc",
              "anchorDayOfMonth",
              "evidenceKind",
              "serviceStartEvidenceId"
            ]
          },
          "offeringDefinition": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "catalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "visibility": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "monthlyPrice": {
                "type": [
                  "string",
                  "number"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "acceptedTelemetryRecords": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "unit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "limit": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "limit": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$"
                      }
                    }
                  },
                  "usdPrice": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  }
                }
              },
              "eligibility": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "activeIdentities": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "logicalApps": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "humanOperators": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "freeGraceHours": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                }
              },
              "rawRetentionDays": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "aggregateRetentionMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "includedServices": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "smartLinkResolutions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "acceptedPushDeliveries": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "inAppImpressions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "locationUpdates": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "includedStorage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "releaseContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "symbolUploadContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "capabilities": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "carrierRateRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "paymentRoute": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "onboardingHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "annualPrice": {
                "type": [
                  "string",
                  "number",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "organizationLimit": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "revision": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          },
          "telemetryAllowances": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "signals": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "mode": {
                      "type": "integer",
                      "default": 0
                    },
                    "unit": {
                      "type": "integer",
                      "default": 0
                    },
                    "monthlyUnits": {
                      "type": [
                        "string",
                        "integer",
                        "null"
                      ],
                      "pattern": "^-?(?:0|[1-9]\\d*)$",
                      "default": null
                    }
                  }
                },
                "default": null
              },
              "accountUnlimited": {
                "type": "boolean"
              }
            }
          },
          "clearTelemetryAllowances": {
            "type": "boolean"
          }
        }
      },
      "ClearTenantOfferingRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "PrepareBillingPriceNoticeRequest": {
        "type": "object",
        "properties": {
          "expectedGeneration": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "targetCatalogRevision": {
            "type": [
              "string",
              "null"
            ]
          },
          "acknowledged": {
            "type": "boolean"
          }
        }
      },
      "CreateEnterpriseBillingAccountRequest": {
        "type": "object",
        "properties": {
          "expectedOfferingId": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedMonthlyPrice": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "contact": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "addressLine1": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "addressLine2": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "city": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "region": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "postalCode": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "CreateEnterpriseInvoiceRequest": {
        "type": "object",
        "properties": {
          "expectedOfferingId": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedMonthlyPrice": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "servicePeriodStart": {
            "type": "string",
            "format": "date-time"
          },
          "servicePeriodEnd": {
            "type": "string",
            "format": "date-time"
          },
          "dueAt": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "ReconcileEnterpriseBillingAccountRequest": {
        "type": "object",
        "properties": {
          "expectedAccountId": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerCustomerId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "CreateQuoteRequest": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "prospect": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "leadId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "contactEmail": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "intendedOrgName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "desiredSlug": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "lineItems": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quantity": {
                  "type": [
                    "string",
                    "number"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                },
                "unitPrice": {
                  "type": [
                    "string",
                    "number"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                }
              }
            }
          },
          "discountPercent": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "validUntil": {
            "type": "string",
            "format": "date-time"
          },
          "enterpriseOffer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "catalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "visibility": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "monthlyPrice": {
                "type": [
                  "string",
                  "number"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "acceptedTelemetryRecords": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "unit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "limit": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "limit": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$"
                      }
                    }
                  },
                  "usdPrice": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  }
                }
              },
              "eligibility": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "activeIdentities": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "logicalApps": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "humanOperators": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "freeGraceHours": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                }
              },
              "rawRetentionDays": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "aggregateRetentionMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "includedServices": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "smartLinkResolutions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "acceptedPushDeliveries": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "inAppImpressions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "locationUpdates": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "includedStorage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "releaseContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "symbolUploadContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "capabilities": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "carrierRateRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "paymentRoute": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "onboardingHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "annualPrice": {
                "type": [
                  "string",
                  "number",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "organizationLimit": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "revision": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          },
          "operationId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          }
        }
      },
      "LinkQuoteToTenantRequest": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer",
              "null"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "QuotePreviewRequest": {
        "type": "object",
        "properties": {
          "lineItems": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quantity": {
                  "type": [
                    "string",
                    "number"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                },
                "unitPrice": {
                  "type": [
                    "string",
                    "number"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                }
              }
            }
          },
          "discountPercent": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "enterpriseOffer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "catalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "visibility": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "monthlyPrice": {
                "type": [
                  "string",
                  "number"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "acceptedTelemetryRecords": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "unit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "limit": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "limit": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$"
                      }
                    }
                  },
                  "usdPrice": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  }
                }
              },
              "eligibility": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "activeIdentities": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "logicalApps": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "humanOperators": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "freeGraceHours": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                }
              },
              "rawRetentionDays": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "aggregateRetentionMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "includedServices": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "smartLinkResolutions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "acceptedPushDeliveries": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "inAppImpressions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "locationUpdates": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "includedStorage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "releaseContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "symbolUploadContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "capabilities": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "carrierRateRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "paymentRoute": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "onboardingHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "annualPrice": {
                "type": [
                  "string",
                  "number",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "organizationLimit": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "revision": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            },
            "default": null
          }
        }
      },
      "UpdateQuoteRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "lineItems": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quantity": {
                  "type": [
                    "string",
                    "number"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                },
                "unitPrice": {
                  "type": [
                    "string",
                    "number"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                }
              }
            }
          },
          "discountPercent": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "validUntil": {
            "type": "string",
            "format": "date-time"
          },
          "enterpriseOffer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "catalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "visibility": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "monthlyPrice": {
                "type": [
                  "string",
                  "number"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "acceptedTelemetryRecords": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "unit": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "limit": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "limit": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$"
                      }
                    }
                  },
                  "usdPrice": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  }
                }
              },
              "eligibility": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "activeIdentities": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "logicalApps": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "humanOperators": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "freeGraceHours": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                }
              },
              "rawRetentionDays": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "aggregateRetentionMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "includedServices": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "smartLinkResolutions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "acceptedPushDeliveries": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "inAppImpressions": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "locationUpdates": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "includedStorage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "releaseContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "symbolUploadContentBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$"
                  }
                }
              },
              "capabilities": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "carrierRateRevision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "paymentRoute": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "onboardingHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "annualPrice": {
                "type": [
                  "string",
                  "number",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
              },
              "organizationLimit": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": [
                      "string",
                      "number"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "revision": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          },
          "clearEnterpriseOffer": {
            "type": "boolean"
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer",
              "null"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "OpsOfferingEntitlements": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "key": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          },
          "required": [
            "key",
            "label"
          ]
        }
      },
      "OpsPriceNoticeArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "noticeId": {
              "type": "string"
            },
            "planName": {
              "type": "string"
            },
            "purchaseInterval": {
              "enum": [
                "Monthly",
                "Annual"
              ]
            },
            "currentPrice": {
              "type": "number"
            },
            "targetPrice": {
              "type": "number"
            },
            "sourceCatalogRevision": {
              "type": "string"
            },
            "targetCatalogRevision": {
              "type": "string"
            },
            "sourceGeneration": {
              "type": "integer"
            },
            "state": {
              "type": "string"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "noticeAcceptedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "effectiveAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            }
          },
          "required": [
            "noticeId",
            "planName",
            "purchaseInterval",
            "currentPrice",
            "targetPrice",
            "sourceCatalogRevision",
            "targetCatalogRevision",
            "sourceGeneration",
            "state",
            "createdAt",
            "noticeAcceptedAt",
            "effectiveAt"
          ]
        }
      },
      "OpsQuoteArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "quoteId": {
              "type": "string"
            },
            "tenantId": {
              "type": [
                "string",
                "null"
              ]
            },
            "prospect": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "leadId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contactEmail": {
                  "type": "string"
                },
                "intendedOrgName": {
                  "type": "string"
                },
                "desiredSlug": {
                  "type": "string"
                }
              },
              "required": [
                "leadId",
                "contactEmail",
                "intendedOrgName",
                "desiredSlug"
              ]
            },
            "title": {
              "type": "string"
            },
            "status": {
              "enum": [
                "Draft",
                "Sent",
                "Accepted",
                "Declined",
                "Expired"
              ]
            },
            "lineItems": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "number"
                  },
                  "unitPrice": {
                    "type": "number"
                  },
                  "amount": {
                    "type": "number"
                  },
                  "billingFrequency": {
                    "enum": [
                      "OneTime",
                      "Monthly"
                    ]
                  }
                },
                "required": [
                  "description",
                  "quantity",
                  "unitPrice",
                  "amount"
                ]
              }
            },
            "discountPercent": {
              "type": "number"
            },
            "subtotal": {
              "type": "number"
            },
            "discountAmount": {
              "type": "number"
            },
            "total": {
              "type": "number"
            },
            "validUntil": {
              "type": "string",
              "format": "date-time"
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "createdBy": {
              "type": "string"
            },
            "enterpriseOffer": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "agreement": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string"
                    },
                    "catalogRevision": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "visibility": {
                      "type": "string"
                    },
                    "effectiveFrom": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "monthlyPrice": {
                      "type": "number"
                    },
                    "acceptedTelemetryRecords": {
                      "type": "object",
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "unit",
                        "limit"
                      ]
                    },
                    "telemetryOverage": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "block": {
                          "type": "object",
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "limit": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "unit",
                            "limit"
                          ]
                        },
                        "usdPrice": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "block",
                        "usdPrice"
                      ]
                    },
                    "eligibility": {
                      "type": "object",
                      "properties": {
                        "activeIdentities": {
                          "type": "integer"
                        },
                        "logicalApps": {
                          "type": "integer"
                        },
                        "humanOperators": {
                          "type": "integer"
                        },
                        "freeGraceHours": {
                          "type": "integer",
                          "default": 24
                        },
                        "paidTransitionDays": {
                          "type": "integer",
                          "default": 30
                        },
                        "unlimited": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "activeIdentities",
                        "logicalApps",
                        "humanOperators"
                      ]
                    },
                    "rawRetentionDays": {
                      "type": "integer"
                    },
                    "aggregateRetentionMonths": {
                      "type": "integer"
                    },
                    "includedServices": {
                      "type": "object",
                      "properties": {
                        "smartLinkResolutions": {
                          "type": "integer"
                        },
                        "acceptedPushDeliveries": {
                          "type": "integer"
                        },
                        "inAppImpressions": {
                          "type": "integer"
                        },
                        "locationUpdates": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "smartLinkResolutions",
                        "acceptedPushDeliveries",
                        "inAppImpressions",
                        "locationUpdates"
                      ]
                    },
                    "includedStorage": {
                      "type": "object",
                      "properties": {
                        "releaseContentBytes": {
                          "type": "integer"
                        },
                        "symbolUploadContentBytes": {
                          "type": "integer"
                        },
                        "monthlyServedDownloadBytes": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "releaseContentBytes",
                        "symbolUploadContentBytes",
                        "monthlyServedDownloadBytes"
                      ]
                    },
                    "capabilities": {
                      "type": "array",
                      "items": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "packageCatalogRevision": {
                      "type": "string"
                    },
                    "carrierRateRevision": {
                      "type": "string"
                    },
                    "paymentRoute": {
                      "type": "string"
                    },
                    "requiresEnterpriseAgreement": {
                      "type": "boolean"
                    },
                    "initialTermMonths": {
                      "type": "integer",
                      "default": 0
                    },
                    "onboardingHours": {
                      "type": "integer",
                      "default": 0
                    },
                    "monthlyAdvisoryHours": {
                      "type": "integer",
                      "default": 0
                    },
                    "basedOnTemplateVersion": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "serviceCommitments": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "supportWindow": {
                          "type": "string"
                        },
                        "priorityQueue": {
                          "type": "boolean"
                        },
                        "namedEscalationContact": {
                          "type": "boolean"
                        },
                        "quarterlyServiceReview": {
                          "type": "boolean"
                        },
                        "slaIncluded": {
                          "type": "boolean",
                          "default": false
                        },
                        "dedicatedDeploymentIncluded": {
                          "type": "boolean",
                          "default": false
                        },
                        "automaticCarrierDiscount": {
                          "type": "boolean",
                          "default": false
                        },
                        "advisoryHoursRollOver": {
                          "type": "boolean",
                          "default": false
                        },
                        "bespokeEngineeringIncluded": {
                          "type": "boolean",
                          "default": false
                        }
                      },
                      "required": [
                        "supportWindow",
                        "priorityQueue",
                        "namedEscalationContact",
                        "quarterlyServiceReview"
                      ],
                      "default": null
                    },
                    "rawRetentionMonths": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "annualPrice": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "organizationLimit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "externalAgreement": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "totalAmount": {
                          "type": "number"
                        },
                        "endsAtUtc": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "required": [
                        "totalAmount",
                        "endsAtUtc"
                      ]
                    },
                    "shareTelemetryAcrossOrganizations": {
                      "type": "boolean"
                    },
                    "selectedPackages": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "revision": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "key",
                          "revision"
                        ]
                      }
                    }
                  },
                  "required": [
                    "version",
                    "catalogRevision",
                    "key",
                    "name",
                    "visibility",
                    "effectiveFrom",
                    "currency",
                    "monthlyPrice",
                    "acceptedTelemetryRecords",
                    "telemetryOverage",
                    "eligibility",
                    "rawRetentionDays",
                    "aggregateRetentionMonths",
                    "includedServices",
                    "includedStorage",
                    "capabilities",
                    "packageCatalogRevision",
                    "carrierRateRevision",
                    "paymentRoute",
                    "requiresEnterpriseAgreement"
                  ]
                },
                "template": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string"
                    },
                    "catalogRevision": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "visibility": {
                      "type": "string"
                    },
                    "effectiveFrom": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "monthlyPrice": {
                      "type": "number"
                    },
                    "acceptedTelemetryRecords": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
                    },
                    "telemetryOverage": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
                    },
                    "eligibility": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/eligibility"
                    },
                    "rawRetentionDays": {
                      "type": "integer"
                    },
                    "aggregateRetentionMonths": {
                      "type": "integer"
                    },
                    "includedServices": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/includedServices"
                    },
                    "includedStorage": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
                    },
                    "capabilities": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/capabilities"
                    },
                    "packageCatalogRevision": {
                      "type": "string"
                    },
                    "carrierRateRevision": {
                      "type": "string"
                    },
                    "paymentRoute": {
                      "type": "string"
                    },
                    "requiresEnterpriseAgreement": {
                      "type": "boolean"
                    },
                    "initialTermMonths": {
                      "type": "integer",
                      "default": 0
                    },
                    "onboardingHours": {
                      "type": "integer",
                      "default": 0
                    },
                    "monthlyAdvisoryHours": {
                      "type": "integer",
                      "default": 0
                    },
                    "basedOnTemplateVersion": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "serviceCommitments": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
                      "default": null
                    },
                    "rawRetentionMonths": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "annualPrice": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "organizationLimit": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "externalAgreement": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
                    },
                    "shareTelemetryAcrossOrganizations": {
                      "type": "boolean"
                    },
                    "selectedPackages": {
                      "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
                    }
                  },
                  "required": [
                    "version",
                    "catalogRevision",
                    "key",
                    "name",
                    "visibility",
                    "effectiveFrom",
                    "currency",
                    "monthlyPrice",
                    "acceptedTelemetryRecords",
                    "telemetryOverage",
                    "eligibility",
                    "rawRetentionDays",
                    "aggregateRetentionMonths",
                    "includedServices",
                    "includedStorage",
                    "capabilities",
                    "packageCatalogRevision",
                    "carrierRateRevision",
                    "paymentRoute",
                    "requiresEnterpriseAgreement"
                  ]
                },
                "packages": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "revision": {
                        "type": "string"
                      },
                      "key": {
                        "type": "string"
                      },
                      "product": {
                        "type": "string"
                      },
                      "level": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      },
                      "monthlyPrice": {
                        "type": "number"
                      },
                      "combination": {
                        "type": "string"
                      },
                      "quantities": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "limit": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "unit",
                            "limit"
                          ]
                        }
                      },
                      "optionalBlocks": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "block": {
                              "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                            },
                            "usdPrice": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "block",
                            "usdPrice"
                          ]
                        }
                      }
                    },
                    "required": [
                      "revision",
                      "key",
                      "product",
                      "level",
                      "currency",
                      "monthlyPrice",
                      "combination",
                      "quantities",
                      "optionalBlocks"
                    ]
                  }
                },
                "includedServices": {
                  "type": "object",
                  "properties": {
                    "smartLinkResolutions": {
                      "type": "integer"
                    },
                    "acceptedPushDeliveries": {
                      "type": "integer"
                    },
                    "inAppImpressions": {
                      "type": "integer"
                    },
                    "locationUpdates": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "smartLinkResolutions",
                    "acceptedPushDeliveries",
                    "inAppImpressions",
                    "locationUpdates"
                  ]
                },
                "includedStorage": {
                  "type": "object",
                  "properties": {
                    "releaseContentBytes": {
                      "type": "integer"
                    },
                    "symbolUploadContentBytes": {
                      "type": "integer"
                    },
                    "monthlyServedDownloadBytes": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "releaseContentBytes",
                    "symbolUploadContentBytes",
                    "monthlyServedDownloadBytes"
                  ]
                }
              },
              "required": [
                "agreement",
                "template",
                "packages",
                "includedServices",
                "includedStorage"
              ]
            },
            "pricing": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "currency": {
                  "type": "string"
                },
                "monthlySubtotal": {
                  "type": "number"
                },
                "monthlyDiscount": {
                  "type": "number"
                },
                "monthlyTotal": {
                  "type": "number"
                },
                "oneTimeSubtotal": {
                  "type": "number"
                },
                "oneTimeDiscount": {
                  "type": "number"
                },
                "oneTimeTotal": {
                  "type": "number"
                },
                "initialTermMonths": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "initialTermEstimate": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "currency",
                "monthlySubtotal",
                "monthlyDiscount",
                "monthlyTotal",
                "oneTimeSubtotal",
                "oneTimeDiscount",
                "oneTimeTotal",
                "initialTermMonths",
                "initialTermEstimate"
              ]
            },
            "revision": {
              "type": "integer"
            }
          },
          "required": [
            "quoteId",
            "tenantId",
            "prospect",
            "title",
            "status",
            "lineItems",
            "discountPercent",
            "subtotal",
            "discountAmount",
            "total",
            "validUntil",
            "createdAt",
            "updatedAt",
            "createdBy"
          ]
        }
      },
      "OpsQuotePage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "quoteId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "prospect": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "leadId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactEmail": {
                      "type": "string"
                    },
                    "intendedOrgName": {
                      "type": "string"
                    },
                    "desiredSlug": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "leadId",
                    "contactEmail",
                    "intendedOrgName",
                    "desiredSlug"
                  ]
                },
                "title": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "Draft",
                    "Sent",
                    "Accepted",
                    "Declined",
                    "Expired"
                  ]
                },
                "lineItems": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "quantity": {
                        "type": "number"
                      },
                      "unitPrice": {
                        "type": "number"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "billingFrequency": {
                        "enum": [
                          "OneTime",
                          "Monthly"
                        ]
                      }
                    },
                    "required": [
                      "description",
                      "quantity",
                      "unitPrice",
                      "amount"
                    ]
                  }
                },
                "discountPercent": {
                  "type": "number"
                },
                "subtotal": {
                  "type": "number"
                },
                "discountAmount": {
                  "type": "number"
                },
                "total": {
                  "type": "number"
                },
                "validUntil": {
                  "type": "string",
                  "format": "date-time"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "createdBy": {
                  "type": "string"
                },
                "enterpriseOffer": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "agreement": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "string"
                        },
                        "catalogRevision": {
                          "type": "string"
                        },
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "visibility": {
                          "type": "string"
                        },
                        "effectiveFrom": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "currency": {
                          "type": "string"
                        },
                        "monthlyPrice": {
                          "type": "number"
                        },
                        "acceptedTelemetryRecords": {
                          "type": "object",
                          "properties": {
                            "unit": {
                              "type": "string"
                            },
                            "limit": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "unit",
                            "limit"
                          ]
                        },
                        "telemetryOverage": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "block": {
                              "type": "object",
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "limit": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "unit",
                                "limit"
                              ]
                            },
                            "usdPrice": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "block",
                            "usdPrice"
                          ]
                        },
                        "eligibility": {
                          "type": "object",
                          "properties": {
                            "activeIdentities": {
                              "type": "integer"
                            },
                            "logicalApps": {
                              "type": "integer"
                            },
                            "humanOperators": {
                              "type": "integer"
                            },
                            "freeGraceHours": {
                              "type": "integer",
                              "default": 24
                            },
                            "paidTransitionDays": {
                              "type": "integer",
                              "default": 30
                            },
                            "unlimited": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "activeIdentities",
                            "logicalApps",
                            "humanOperators"
                          ]
                        },
                        "rawRetentionDays": {
                          "type": "integer"
                        },
                        "aggregateRetentionMonths": {
                          "type": "integer"
                        },
                        "includedServices": {
                          "type": "object",
                          "properties": {
                            "smartLinkResolutions": {
                              "type": "integer"
                            },
                            "acceptedPushDeliveries": {
                              "type": "integer"
                            },
                            "inAppImpressions": {
                              "type": "integer"
                            },
                            "locationUpdates": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "smartLinkResolutions",
                            "acceptedPushDeliveries",
                            "inAppImpressions",
                            "locationUpdates"
                          ]
                        },
                        "includedStorage": {
                          "type": "object",
                          "properties": {
                            "releaseContentBytes": {
                              "type": "integer"
                            },
                            "symbolUploadContentBytes": {
                              "type": "integer"
                            },
                            "monthlyServedDownloadBytes": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "releaseContentBytes",
                            "symbolUploadContentBytes",
                            "monthlyServedDownloadBytes"
                          ]
                        },
                        "capabilities": {
                          "type": "array",
                          "items": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "packageCatalogRevision": {
                          "type": "string"
                        },
                        "carrierRateRevision": {
                          "type": "string"
                        },
                        "paymentRoute": {
                          "type": "string"
                        },
                        "requiresEnterpriseAgreement": {
                          "type": "boolean"
                        },
                        "initialTermMonths": {
                          "type": "integer",
                          "default": 0
                        },
                        "onboardingHours": {
                          "type": "integer",
                          "default": 0
                        },
                        "monthlyAdvisoryHours": {
                          "type": "integer",
                          "default": 0
                        },
                        "basedOnTemplateVersion": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "serviceCommitments": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "supportWindow": {
                              "type": "string"
                            },
                            "priorityQueue": {
                              "type": "boolean"
                            },
                            "namedEscalationContact": {
                              "type": "boolean"
                            },
                            "quarterlyServiceReview": {
                              "type": "boolean"
                            },
                            "slaIncluded": {
                              "type": "boolean",
                              "default": false
                            },
                            "dedicatedDeploymentIncluded": {
                              "type": "boolean",
                              "default": false
                            },
                            "automaticCarrierDiscount": {
                              "type": "boolean",
                              "default": false
                            },
                            "advisoryHoursRollOver": {
                              "type": "boolean",
                              "default": false
                            },
                            "bespokeEngineeringIncluded": {
                              "type": "boolean",
                              "default": false
                            }
                          },
                          "required": [
                            "supportWindow",
                            "priorityQueue",
                            "namedEscalationContact",
                            "quarterlyServiceReview"
                          ],
                          "default": null
                        },
                        "rawRetentionMonths": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "annualPrice": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "organizationLimit": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "externalAgreement": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "totalAmount": {
                              "type": "number"
                            },
                            "endsAtUtc": {
                              "type": "string",
                              "format": "date-time"
                            }
                          },
                          "required": [
                            "totalAmount",
                            "endsAtUtc"
                          ]
                        },
                        "shareTelemetryAcrossOrganizations": {
                          "type": "boolean"
                        },
                        "selectedPackages": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "revision": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "key",
                              "revision"
                            ]
                          }
                        }
                      },
                      "required": [
                        "version",
                        "catalogRevision",
                        "key",
                        "name",
                        "visibility",
                        "effectiveFrom",
                        "currency",
                        "monthlyPrice",
                        "acceptedTelemetryRecords",
                        "telemetryOverage",
                        "eligibility",
                        "rawRetentionDays",
                        "aggregateRetentionMonths",
                        "includedServices",
                        "includedStorage",
                        "capabilities",
                        "packageCatalogRevision",
                        "carrierRateRevision",
                        "paymentRoute",
                        "requiresEnterpriseAgreement"
                      ]
                    },
                    "template": {
                      "type": "object",
                      "properties": {
                        "version": {
                          "type": "string"
                        },
                        "catalogRevision": {
                          "type": "string"
                        },
                        "key": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "visibility": {
                          "type": "string"
                        },
                        "effectiveFrom": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "currency": {
                          "type": "string"
                        },
                        "monthlyPrice": {
                          "type": "number"
                        },
                        "acceptedTelemetryRecords": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
                        },
                        "telemetryOverage": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
                        },
                        "eligibility": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/eligibility"
                        },
                        "rawRetentionDays": {
                          "type": "integer"
                        },
                        "aggregateRetentionMonths": {
                          "type": "integer"
                        },
                        "includedServices": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/includedServices"
                        },
                        "includedStorage": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
                        },
                        "capabilities": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/capabilities"
                        },
                        "packageCatalogRevision": {
                          "type": "string"
                        },
                        "carrierRateRevision": {
                          "type": "string"
                        },
                        "paymentRoute": {
                          "type": "string"
                        },
                        "requiresEnterpriseAgreement": {
                          "type": "boolean"
                        },
                        "initialTermMonths": {
                          "type": "integer",
                          "default": 0
                        },
                        "onboardingHours": {
                          "type": "integer",
                          "default": 0
                        },
                        "monthlyAdvisoryHours": {
                          "type": "integer",
                          "default": 0
                        },
                        "basedOnTemplateVersion": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "serviceCommitments": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
                          "default": null
                        },
                        "rawRetentionMonths": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "annualPrice": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "organizationLimit": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "externalAgreement": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
                        },
                        "shareTelemetryAcrossOrganizations": {
                          "type": "boolean"
                        },
                        "selectedPackages": {
                          "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
                        }
                      },
                      "required": [
                        "version",
                        "catalogRevision",
                        "key",
                        "name",
                        "visibility",
                        "effectiveFrom",
                        "currency",
                        "monthlyPrice",
                        "acceptedTelemetryRecords",
                        "telemetryOverage",
                        "eligibility",
                        "rawRetentionDays",
                        "aggregateRetentionMonths",
                        "includedServices",
                        "includedStorage",
                        "capabilities",
                        "packageCatalogRevision",
                        "carrierRateRevision",
                        "paymentRoute",
                        "requiresEnterpriseAgreement"
                      ]
                    },
                    "packages": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "revision": {
                            "type": "string"
                          },
                          "key": {
                            "type": "string"
                          },
                          "product": {
                            "type": "string"
                          },
                          "level": {
                            "type": "string"
                          },
                          "currency": {
                            "type": "string"
                          },
                          "monthlyPrice": {
                            "type": "number"
                          },
                          "combination": {
                            "type": "string"
                          },
                          "quantities": {
                            "type": "array",
                            "items": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "unit": {
                                  "type": "string"
                                },
                                "limit": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "unit",
                                "limit"
                              ]
                            }
                          },
                          "optionalBlocks": {
                            "type": "array",
                            "items": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "block": {
                                  "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                                },
                                "usdPrice": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "block",
                                "usdPrice"
                              ]
                            }
                          }
                        },
                        "required": [
                          "revision",
                          "key",
                          "product",
                          "level",
                          "currency",
                          "monthlyPrice",
                          "combination",
                          "quantities",
                          "optionalBlocks"
                        ]
                      }
                    },
                    "includedServices": {
                      "type": "object",
                      "properties": {
                        "smartLinkResolutions": {
                          "type": "integer"
                        },
                        "acceptedPushDeliveries": {
                          "type": "integer"
                        },
                        "inAppImpressions": {
                          "type": "integer"
                        },
                        "locationUpdates": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "smartLinkResolutions",
                        "acceptedPushDeliveries",
                        "inAppImpressions",
                        "locationUpdates"
                      ]
                    },
                    "includedStorage": {
                      "type": "object",
                      "properties": {
                        "releaseContentBytes": {
                          "type": "integer"
                        },
                        "symbolUploadContentBytes": {
                          "type": "integer"
                        },
                        "monthlyServedDownloadBytes": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "releaseContentBytes",
                        "symbolUploadContentBytes",
                        "monthlyServedDownloadBytes"
                      ]
                    }
                  },
                  "required": [
                    "agreement",
                    "template",
                    "packages",
                    "includedServices",
                    "includedStorage"
                  ]
                },
                "pricing": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "currency": {
                      "type": "string"
                    },
                    "monthlySubtotal": {
                      "type": "number"
                    },
                    "monthlyDiscount": {
                      "type": "number"
                    },
                    "monthlyTotal": {
                      "type": "number"
                    },
                    "oneTimeSubtotal": {
                      "type": "number"
                    },
                    "oneTimeDiscount": {
                      "type": "number"
                    },
                    "oneTimeTotal": {
                      "type": "number"
                    },
                    "initialTermMonths": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "initialTermEstimate": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "currency",
                    "monthlySubtotal",
                    "monthlyDiscount",
                    "monthlyTotal",
                    "oneTimeSubtotal",
                    "oneTimeDiscount",
                    "oneTimeTotal",
                    "initialTermMonths",
                    "initialTermEstimate"
                  ]
                },
                "revision": {
                  "type": "integer"
                }
              },
              "required": [
                "quoteId",
                "tenantId",
                "prospect",
                "title",
                "status",
                "lineItems",
                "discountPercent",
                "subtotal",
                "discountAmount",
                "total",
                "validUntil",
                "createdAt",
                "updatedAt",
                "createdBy"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "RegulatedWorkloadStatus": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "storageRequired": {
            "type": "boolean"
          },
          "approvalState": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "agreementReference": {
            "type": [
              "string",
              "null"
            ]
          },
          "acknowledgementId": {
            "type": [
              "string",
              "null"
            ]
          },
          "bindingAppId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appDataBindingRevision": {
            "type": [
              "integer",
              "null"
            ]
          },
          "appDataBindingFingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "objectStorageGenerationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "approvedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "approvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "revokedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "revokedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "denialCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "currentBindingAcknowledgement": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "acknowledgementId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "actorUserId": {
                "type": "string"
              },
              "acknowledgedAt": {
                "type": "string",
                "format": "date-time"
              },
              "noticeVersion": {
                "type": "string"
              },
              "usDataFlowNoticeVersion": {
                "type": "string"
              },
              "bindingAppId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "appDataBindingRevision": {
                "type": "integer"
              },
              "appDataBindingFingerprint": {
                "type": "string"
              },
              "objectStorageGenerationId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "acknowledgementId",
              "tenantId",
              "appId",
              "actorUserId",
              "acknowledgedAt",
              "noticeVersion",
              "usDataFlowNoticeVersion",
              "bindingAppId",
              "appDataBindingRevision",
              "appDataBindingFingerprint",
              "objectStorageGenerationId"
            ]
          }
        },
        "required": [
          "tenantId",
          "appId",
          "storageRequired",
          "approvalState",
          "revision",
          "agreementReference",
          "acknowledgementId",
          "bindingAppId",
          "appDataBindingRevision",
          "appDataBindingFingerprint",
          "objectStorageGenerationId",
          "approvedBy",
          "approvedAt",
          "revokedBy",
          "revokedAt",
          "denialCode"
        ]
      },
      "RegulatedStorageAcknowledgement": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "acknowledgementId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "actorUserId": {
            "type": "string"
          },
          "acknowledgedAt": {
            "type": "string",
            "format": "date-time"
          },
          "noticeVersion": {
            "type": "string"
          },
          "usDataFlowNoticeVersion": {
            "type": "string"
          },
          "bindingAppId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appDataBindingRevision": {
            "type": "integer"
          },
          "appDataBindingFingerprint": {
            "type": "string"
          },
          "objectStorageGenerationId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "acknowledgementId",
          "tenantId",
          "appId",
          "actorUserId",
          "acknowledgedAt",
          "noticeVersion",
          "usDataFlowNoticeVersion",
          "bindingAppId",
          "appDataBindingRevision",
          "appDataBindingFingerprint",
          "objectStorageGenerationId"
        ]
      },
      "OrganizationBrandingWorkspace": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "permission": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "policyVersion": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "consentActive": {
                "type": "boolean"
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "verificationExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "effectiveAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "optOutAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "inUse": {
                "type": "boolean"
              },
              "removalDueAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "removalCompletedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "remediationRequired": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer"
              }
            },
            "required": [
              "tenantId",
              "policyVersion",
              "source",
              "consentActive",
              "verificationState",
              "verificationExpiresAt",
              "effectiveAt",
              "optOutAt",
              "inUse",
              "removalDueAt",
              "removalCompletedAt",
              "remediationRequired",
              "revision"
            ]
          },
          "logoAvailable": {
            "type": "boolean"
          },
          "history": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "eventId": {
                  "type": "string"
                },
                "revision": {
                  "type": "integer"
                },
                "actor": {
                  "type": "string"
                },
                "action": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "beforeState": {
                  "type": "string"
                },
                "afterState": {
                  "type": "string"
                }
              },
              "required": [
                "eventId",
                "revision",
                "actor",
                "action",
                "reason",
                "occurredAt",
                "beforeState",
                "afterState"
              ]
            }
          },
          "nextBeforeRevision": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "permission",
          "logoAvailable",
          "history",
          "nextBeforeRevision"
        ]
      },
      "OrganizationBrandingPermission": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "policyVersion": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "consentActive": {
            "type": "boolean"
          },
          "verificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "verificationExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "effectiveAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "optOutAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "inUse": {
            "type": "boolean"
          },
          "removalDueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "removalCompletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "remediationRequired": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer"
          }
        },
        "required": [
          "tenantId",
          "policyVersion",
          "source",
          "consentActive",
          "verificationState",
          "verificationExpiresAt",
          "effectiveAt",
          "optOutAt",
          "inUse",
          "removalDueAt",
          "removalCompletedAt",
          "remediationRequired",
          "revision"
        ]
      },
      "BrandingPermissionHistory": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "eventId": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "actor": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "beforeState": {
            "type": "string"
          },
          "afterState": {
            "type": "string"
          }
        },
        "required": [
          "eventId",
          "revision",
          "actor",
          "action",
          "reason",
          "occurredAt",
          "beforeState",
          "afterState"
        ]
      },
      "RetentionPolicy": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "telemetryDays": {
            "type": "integer"
          },
          "logDays": {
            "type": "integer"
          },
          "sessionStoryDays": {
            "type": "integer"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "acknowledgedByAdmin": {
            "type": "boolean"
          },
          "planKey": {
            "type": "string",
            "default": "free"
          },
          "maximumDays": {
            "type": "integer",
            "default": 7
          }
        },
        "required": [
          "tenantId",
          "telemetryDays",
          "logDays",
          "sessionStoryDays",
          "updatedAt",
          "updatedBy",
          "acknowledgedByAdmin"
        ]
      },
      "FeatureFlag": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "flagKey": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "flagKey",
          "tenantId",
          "enabled",
          "description",
          "updatedAt",
          "updatedBy"
        ]
      },
      "FeatureFlagControl": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "definition": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "prerequisites": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "name",
              "description",
              "prerequisites"
            ]
          },
          "globalSetting": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "flagKey": {
                "type": "string"
              },
              "tenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "description": {
                "type": "string"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string"
              }
            },
            "required": [
              "flagKey",
              "tenantId",
              "enabled",
              "description",
              "updatedAt",
              "updatedBy"
            ]
          },
          "organizationSetting": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "flagKey": {
                "type": "string"
              },
              "tenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "description": {
                "type": "string"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string"
              }
            },
            "required": [
              "flagKey",
              "tenantId",
              "enabled",
              "description",
              "updatedAt",
              "updatedBy"
            ]
          },
          "switchEnabled": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "contractAuthorized": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "required": [
          "definition",
          "globalSetting",
          "organizationSetting",
          "switchEnabled",
          "source",
          "contractAuthorized"
        ]
      },
      "FeatureFlagDefinition": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "prerequisites": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "name",
          "description",
          "prerequisites"
        ]
      },
      "BrandingPermissionChange": {
        "type": "object",
        "properties": {
          "revision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "UpdateRetentionRequest": {
        "type": "object",
        "properties": {
          "telemetryDays": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "logDays": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "sessionStoryDays": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "acknowledgedByAdmin": {
            "type": "boolean"
          }
        }
      },
      "UpsertFeatureFlagRequest": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "global": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "ApproveRegulatedWorkloadRequest": {
        "type": "object",
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "agreementReference": {
            "type": [
              "string",
              "null"
            ]
          },
          "acknowledgementId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "appId",
          "expectedRevision",
          "agreementReference",
          "acknowledgementId"
        ],
        "additionalProperties": false
      },
      "RevokeRegulatedWorkloadRequest": {
        "type": "object",
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "appId",
          "expectedRevision",
          "reason"
        ],
        "additionalProperties": false
      },
      "OpsRegulatedCommandReceipt": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "receiptId": {
            "type": "string"
          },
          "replayed": {
            "type": "boolean"
          },
          "recordedOutcome": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "storageRequired": {
                "type": "boolean"
              },
              "approvalState": {
                "type": "string"
              },
              "revision": {
                "type": "integer"
              },
              "agreementReference": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "acknowledgementId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "bindingAppId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "appDataBindingRevision": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "appDataBindingFingerprint": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "objectStorageGenerationId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "approvedBy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "approvedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "revokedBy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "revokedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "denialCode": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "currentBindingAcknowledgement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "acknowledgementId": {
                    "type": "string"
                  },
                  "tenantId": {
                    "type": "string"
                  },
                  "appId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "actorUserId": {
                    "type": "string"
                  },
                  "acknowledgedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "noticeVersion": {
                    "type": "string"
                  },
                  "usDataFlowNoticeVersion": {
                    "type": "string"
                  },
                  "bindingAppId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "appDataBindingRevision": {
                    "type": "integer"
                  },
                  "appDataBindingFingerprint": {
                    "type": "string"
                  },
                  "objectStorageGenerationId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "acknowledgementId",
                  "tenantId",
                  "appId",
                  "actorUserId",
                  "acknowledgedAt",
                  "noticeVersion",
                  "usDataFlowNoticeVersion",
                  "bindingAppId",
                  "appDataBindingRevision",
                  "appDataBindingFingerprint",
                  "objectStorageGenerationId"
                ]
              }
            },
            "required": [
              "tenantId",
              "appId",
              "storageRequired",
              "approvalState",
              "revision",
              "agreementReference",
              "acknowledgementId",
              "bindingAppId",
              "appDataBindingRevision",
              "appDataBindingFingerprint",
              "objectStorageGenerationId",
              "approvedBy",
              "approvedAt",
              "revokedBy",
              "revokedAt",
              "denialCode"
            ]
          }
        },
        "required": [
          "receiptId",
          "replayed",
          "recordedOutcome"
        ]
      },
      "OpsConfigurationFlagArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "flagKey": {
              "type": "string"
            },
            "tenantId": {
              "type": [
                "string",
                "null"
              ]
            },
            "enabled": {
              "type": "boolean"
            },
            "description": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "updatedBy": {
              "type": "string"
            }
          },
          "required": [
            "flagKey",
            "tenantId",
            "enabled",
            "description",
            "updatedAt",
            "updatedBy"
          ]
        }
      },
      "OpsConfigurationFlagPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "flagKey": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "enabled": {
                  "type": "boolean"
                },
                "description": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedBy": {
                  "type": "string"
                }
              },
              "required": [
                "flagKey",
                "tenantId",
                "enabled",
                "description",
                "updatedAt",
                "updatedBy"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsConfigurationFlagControlArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "definition": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "prerequisites": {
                  "type": "string"
                }
              },
              "required": [
                "key",
                "name",
                "description",
                "prerequisites"
              ]
            },
            "globalSetting": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "flagKey": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "enabled": {
                  "type": "boolean"
                },
                "description": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedBy": {
                  "type": "string"
                }
              },
              "required": [
                "flagKey",
                "tenantId",
                "enabled",
                "description",
                "updatedAt",
                "updatedBy"
              ]
            },
            "organizationSetting": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "flagKey": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "enabled": {
                  "type": "boolean"
                },
                "description": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedBy": {
                  "type": "string"
                }
              },
              "required": [
                "flagKey",
                "tenantId",
                "enabled",
                "description",
                "updatedAt",
                "updatedBy"
              ]
            },
            "switchEnabled": {
              "type": "boolean"
            },
            "source": {
              "type": "string"
            },
            "contractAuthorized": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "required": [
            "definition",
            "globalSetting",
            "organizationSetting",
            "switchEnabled",
            "source",
            "contractAuthorized"
          ]
        }
      },
      "PolicyAcceptanceHistoryEntry": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceId": {
            "type": "string"
          },
          "presentationId": {
            "type": "string"
          },
          "revisionId": {
            "type": "string"
          },
          "policyKey": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "subjectUserId": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "scopeKind": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "surface": {
            "type": "string"
          },
          "locale": {
            "type": "string"
          },
          "presentedAt": {
            "type": "string",
            "format": "date-time"
          },
          "actedAt": {
            "type": "string",
            "format": "date-time"
          },
          "authorityBasis": {
            "type": "string"
          }
        },
        "required": [
          "evidenceId",
          "presentationId",
          "revisionId",
          "policyKey",
          "sha256",
          "subjectUserId",
          "purpose",
          "scopeKind",
          "tenantId",
          "surface",
          "locale",
          "presentedAt",
          "actedAt",
          "authorityBasis"
        ]
      },
      "PolicyAcceptanceHistoryPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "evidenceId": {
                  "type": "string"
                },
                "presentationId": {
                  "type": "string"
                },
                "revisionId": {
                  "type": "string"
                },
                "policyKey": {
                  "type": "string"
                },
                "sha256": {
                  "type": "string"
                },
                "subjectUserId": {
                  "type": "string"
                },
                "purpose": {
                  "type": "string"
                },
                "scopeKind": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "surface": {
                  "type": "string"
                },
                "locale": {
                  "type": "string"
                },
                "presentedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "actedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "authorityBasis": {
                  "type": "string"
                }
              },
              "required": [
                "evidenceId",
                "presentationId",
                "revisionId",
                "policyKey",
                "sha256",
                "subjectUserId",
                "purpose",
                "scopeKind",
                "tenantId",
                "surface",
                "locale",
                "presentedAt",
                "actedAt",
                "authorityBasis"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "PortalAccessDecision": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "decidedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "revision": {
            "type": "integer",
            "default": 0
          },
          "isWaitlisted": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "required": [
          "status",
          "source"
        ]
      },
      "SmartLinkDomainRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "domainId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "environmentPrefix": {
            "type": [
              "string",
              "null"
            ]
          },
          "host": {
            "type": "string"
          },
          "defaultFallbackUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "purpose": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "PendingReview",
              "Approved",
              "Declined",
              "Withdrawn"
            ]
          },
          "active": {
            "type": "boolean"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "requestedBy": {
            "type": "string"
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "assignedAppId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "assignedEnvironment": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "familyHosts": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "requestedForAppId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "domainId",
          "tenantId",
          "label",
          "environmentPrefix",
          "host",
          "defaultFallbackUrl",
          "purpose",
          "status",
          "active",
          "requestedAt",
          "requestedBy",
          "reviewedAt",
          "reviewedBy",
          "decisionReason",
          "updatedAt"
        ]
      },
      "TenantEntitlement": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "planDefault": {
            "type": "boolean"
          },
          "override": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "effective": {
            "type": "boolean"
          },
          "enterpriseOnly": {
            "type": "boolean",
            "default": false
          },
          "contractAuthorized": {
            "type": "boolean",
            "default": true
          },
          "betaRequired": {
            "type": "boolean",
            "default": false
          },
          "betaGranted": {
            "type": "boolean",
            "default": true
          },
          "betaGrantExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "betaGrantRevision": {
            "type": "integer",
            "default": 0
          }
        },
        "required": [
          "key",
          "name",
          "description",
          "planDefault",
          "override",
          "effective"
        ]
      },
      "OfferingDeclarationReviewPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "declarationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "kind": {
                  "type": "string"
                },
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "environmentId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revision": {
                  "type": "integer"
                },
                "sourceVersion": {
                  "type": "string"
                },
                "payloadHash": {
                  "type": "string"
                },
                "authorityBasis": {
                  "type": "string"
                },
                "effectiveFromUtc": {
                  "type": "string",
                  "format": "date-time"
                },
                "declaredAtUtc": {
                  "type": "string",
                  "format": "date-time"
                },
                "sourceDeclarationId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "account": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "scope": {
                      "type": "string"
                    },
                    "nonstandardContractObligations": {
                      "type": "boolean"
                    },
                    "controlledGroupReference": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "wholeScopeEmployees": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    },
                    "wholeScopeAnnualUsdRevenueOrBudget": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "default": null
                    },
                    "financialBasis": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "financialPeriodFromUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "financialPeriodToUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    }
                  },
                  "required": [
                    "scope",
                    "nonstandardContractObligations"
                  ]
                },
                "groupReview": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "sourceAccountDeclarationId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "outcome": {
                      "type": "string"
                    },
                    "controlEvidenceId": {
                      "type": "string"
                    },
                    "canonicalGroupId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uuid",
                      "default": null
                    },
                    "wholeGroupEmployees": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    },
                    "wholeGroupAnnualUsdRevenueOrBudget": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "default": null
                    },
                    "financialBasis": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "financialPeriodFromUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "financialPeriodToUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    }
                  },
                  "required": [
                    "sourceAccountDeclarationId",
                    "outcome",
                    "controlEvidenceId"
                  ]
                },
                "environment": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "purpose": {
                      "type": "string"
                    },
                    "trafficBasis": {
                      "type": "string"
                    },
                    "sharedIdentityNamespace": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "userActivityEventNames": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "default": null
                    },
                    "sharedIdentityConsentVersion": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "purpose",
                    "trafficBasis"
                  ]
                },
                "exclusion": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "selectorKind": {
                      "type": "string"
                    },
                    "classification": {
                      "type": "string"
                    },
                    "protectedKey": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "comparisonDomainKey": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "selectorKind",
                    "classification"
                  ]
                }
              },
              "required": [
                "declarationId",
                "kind",
                "appId",
                "environmentId",
                "revision",
                "sourceVersion",
                "payloadHash",
                "authorityBasis",
                "effectiveFromUtc",
                "declaredAtUtc",
                "sourceDeclarationId",
                "account",
                "groupReview",
                "environment",
                "exclusion"
              ]
            }
          },
          "nextAfter": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          }
        },
        "required": [
          "items",
          "nextAfter"
        ]
      },
      "OfferingDeclarationReceipt": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "declarationId": {
            "type": "string",
            "format": "uuid"
          },
          "revision": {
            "type": "integer"
          },
          "mutationId": {
            "type": "string",
            "format": "uuid"
          },
          "effectiveFromUtc": {
            "type": "string",
            "format": "date-time"
          },
          "payloadHash": {
            "type": "string"
          }
        },
        "required": [
          "declarationId",
          "revision",
          "mutationId",
          "effectiveFromUtc",
          "payloadHash"
        ]
      },
      "PortalAccessChangeRequest": {
        "type": "object",
        "properties": {
          "approved": {
            "type": "boolean"
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        },
        "required": [
          "approved",
          "expectedRevision"
        ]
      },
      "SmartLinkDomainReviewRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        }
      },
      "AiClassificationRequest": {
        "type": "object",
        "properties": {
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "classification": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "SetEntitlementRequest": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "OfferingDeclarationHistoryReviewRequest": {
        "type": "object",
        "properties": {
          "sourceVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewId": {
            "type": "string",
            "format": "uuid"
          },
          "declarationId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedPayloadHash": {
            "type": [
              "string",
              "null"
            ]
          },
          "fromUtc": {
            "type": "string",
            "format": "date-time"
          },
          "toUtc": {
            "type": "string",
            "format": "date-time"
          },
          "evidenceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "sourceVersion",
          "reviewId",
          "declarationId",
          "expectedPayloadHash",
          "fromUtc",
          "toUtc",
          "evidenceId",
          "reason"
        ]
      },
      "OpsControlledGroupReviewRequest": {
        "type": "object",
        "properties": {
          "sourceVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "mutationId": {
            "type": "string",
            "format": "uuid"
          },
          "expectedRevision": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "definition": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sourceAccountDeclarationId": {
                "type": "string",
                "format": "uuid"
              },
              "outcome": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "controlEvidenceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "canonicalGroupId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid",
                "default": null
              },
              "wholeGroupEmployees": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": null
              },
              "wholeGroupAnnualUsdRevenueOrBudget": {
                "type": [
                  "string",
                  "number",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                "default": null
              },
              "financialBasis": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "financialPeriodFromUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "financialPeriodToUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "sourceAccountDeclarationId",
              "outcome",
              "controlEvidenceId"
            ]
          },
          "effectiveFromUtc": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "sourceVersion",
          "mutationId",
          "expectedRevision",
          "definition",
          "effectiveFromUtc",
          "reason"
        ]
      },
      "OpsAccountDomainRequests": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "domainId": {
              "type": "string"
            },
            "tenantId": {
              "type": "string"
            },
            "label": {
              "type": "string"
            },
            "environmentPrefix": {
              "type": [
                "string",
                "null"
              ]
            },
            "host": {
              "type": "string"
            },
            "defaultFallbackUrl": {
              "type": [
                "string",
                "null"
              ]
            },
            "purpose": {
              "type": [
                "string",
                "null"
              ]
            },
            "status": {
              "enum": [
                "PendingReview",
                "Approved",
                "Declined",
                "Withdrawn"
              ]
            },
            "active": {
              "type": "boolean"
            },
            "requestedAt": {
              "type": "string",
              "format": "date-time"
            },
            "requestedBy": {
              "type": "string"
            },
            "reviewedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "reviewedBy": {
              "type": [
                "string",
                "null"
              ]
            },
            "decisionReason": {
              "type": [
                "string",
                "null"
              ]
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            },
            "assignedAppId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "assignedEnvironment": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "familyHosts": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "default": null
            },
            "requestedForAppId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "domainId",
            "tenantId",
            "label",
            "environmentPrefix",
            "host",
            "defaultFallbackUrl",
            "purpose",
            "status",
            "active",
            "requestedAt",
            "requestedBy",
            "reviewedAt",
            "reviewedBy",
            "decisionReason",
            "updatedAt"
          ]
        }
      },
      "OpsAccountEntitlements": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "planDefault": {
              "type": "boolean"
            },
            "override": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "effective": {
              "type": "boolean"
            },
            "enterpriseOnly": {
              "type": "boolean",
              "default": false
            },
            "contractAuthorized": {
              "type": "boolean",
              "default": true
            },
            "betaRequired": {
              "type": "boolean",
              "default": false
            },
            "betaGranted": {
              "type": "boolean",
              "default": true
            },
            "betaGrantExpiresAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time",
              "default": null
            },
            "betaGrantRevision": {
              "type": "integer",
              "default": 0
            }
          },
          "required": [
            "key",
            "name",
            "description",
            "planDefault",
            "override",
            "effective"
          ]
        }
      },
      "OpsAiClassification": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "classification": {
            "type": "string",
            "enum": [
              "Unknown",
              "Other",
              "EuEnterprise"
            ]
          },
          "revision": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "classification",
          "revision"
        ]
      },
      "OpsEligibilityHistoryReviewReceipt": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "reviewId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "reviewId"
        ]
      },
      "OpsAccountDomainReviewProblem": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "integer",
              "null"
            ]
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "instance": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "traceId": {
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          },
          "dnsCompensationRequired": {
            "type": "boolean",
            "const": true
          }
        }
      },
      "PlatformSdkAdoptionReport": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "completeness": {
            "enum": [
              "Complete",
              "Partial",
              "Unavailable"
            ]
          },
          "sourceDiscoveryComplete": {
            "type": "boolean"
          },
          "availableSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          },
          "observedSessionCount": {
            "type": "integer"
          },
          "attributedObservedSessionCount": {
            "type": "integer"
          },
          "unattributedObservedSessionCount": {
            "type": "integer"
          },
          "sdkVersions": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "sdkName": {
                  "type": "string"
                },
                "sdkVersion": {
                  "type": "string"
                },
                "sessionCount": {
                  "type": "integer"
                },
                "firstSeenAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "lastSeenAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "supportedVersionBaseline": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "isStaleVersion": {
                  "type": "boolean"
                }
              },
              "required": [
                "sdkName",
                "sdkVersion",
                "sessionCount",
                "firstSeenAt",
                "lastSeenAt",
                "supportedVersionBaseline",
                "isStaleVersion"
              ]
            }
          },
          "wrappers": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                },
                "sessionCount": {
                  "type": "integer"
                },
                "firstSeenAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "lastSeenAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "name",
                "version",
                "sessionCount",
                "firstSeenAt",
                "lastSeenAt"
              ]
            }
          },
          "runtimes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformSdkAdoptionReport/properties/wrappers/items"
            }
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "sessionCount": {
                  "type": "integer"
                },
                "firstSeenAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "lastSeenAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "name",
                "sessionCount",
                "firstSeenAt",
                "lastSeenAt"
              ]
            }
          },
          "formFactors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformSdkAdoptionReport/properties/platforms/items"
            }
          },
          "providers": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "provider": {
                  "type": "string"
                },
                "availableSourceCount": {
                  "type": "integer"
                },
                "unavailableSourceCount": {
                  "type": "integer"
                },
                "observedSessionCount": {
                  "type": "integer"
                }
              },
              "required": [
                "provider",
                "availableSourceCount",
                "unavailableSourceCount",
                "observedSessionCount"
              ]
            }
          }
        },
        "required": [
          "from",
          "to",
          "completeness",
          "sourceDiscoveryComplete",
          "availableSourceCount",
          "unavailableSourceCount",
          "observedSessionCount",
          "attributedObservedSessionCount",
          "unattributedObservedSessionCount",
          "sdkVersions",
          "wrappers",
          "runtimes",
          "platforms",
          "formFactors",
          "providers"
        ]
      },
      "TelemetryProvenanceAuditReport": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "policyVersion": {
            "type": "string"
          },
          "completeness": {
            "enum": [
              "Complete",
              "Partial",
              "Unavailable"
            ]
          },
          "sourceDiscoveryComplete": {
            "type": "boolean"
          },
          "availableSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          },
          "observedCandidateCount": {
            "type": "integer"
          },
          "eligibleRecordCount": {
            "type": "integer"
          },
          "conflictedRecordCount": {
            "type": "integer"
          },
          "stillUnattributedRecordCount": {
            "type": "integer"
          },
          "candidateCountLowerBound": {
            "type": "integer"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "appId": {
                  "type": "string"
                },
                "environmentName": {
                  "type": "string"
                },
                "signalKind": {
                  "enum": [
                    "Event",
                    "Log",
                    "Session",
                    "Rum",
                    "Crash"
                  ]
                },
                "disposition": {
                  "enum": [
                    "ExactSession",
                    "InstallationCrash",
                    "Conflict",
                    "InsufficientEvidence"
                  ]
                },
                "candidatePlatform": {
                  "enum": [
                    "unattributed",
                    "iOS",
                    "Android",
                    "Windows",
                    "MacCatalyst",
                    "Web",
                    "macOS",
                    "watchOS",
                    "tvOS",
                    "WinUI",
                    "Wpf",
                    "Linux",
                    "iPadOS",
                    null
                  ]
                },
                "recordCount": {
                  "type": "integer"
                },
                "firstSeenAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "lastSeenAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "tenantId",
                "appId",
                "environmentName",
                "signalKind",
                "disposition",
                "candidatePlatform",
                "recordCount",
                "firstSeenAt",
                "lastSeenAt"
              ]
            }
          },
          "providers": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "provider": {
                  "type": "string"
                },
                "availableSourceCount": {
                  "type": "integer"
                },
                "unavailableSourceCount": {
                  "type": "integer"
                },
                "observedCandidateCount": {
                  "type": "integer"
                },
                "candidateCountLowerBound": {
                  "type": "integer"
                }
              },
              "required": [
                "provider",
                "availableSourceCount",
                "unavailableSourceCount",
                "observedCandidateCount",
                "candidateCountLowerBound"
              ]
            }
          }
        },
        "required": [
          "from",
          "to",
          "generatedAt",
          "policyVersion",
          "completeness",
          "sourceDiscoveryComplete",
          "availableSourceCount",
          "unavailableSourceCount",
          "observedCandidateCount",
          "eligibleRecordCount",
          "conflictedRecordCount",
          "stillUnattributedRecordCount",
          "candidateCountLowerBound",
          "scopes",
          "providers"
        ]
      },
      "PlatformDeliveryRecordCounts": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "thisMonthFrom": {
            "type": "string",
            "format": "date-time"
          },
          "lastMonthFrom": {
            "type": "string",
            "format": "date-time"
          },
          "thisMonth": {
            "type": "integer"
          },
          "lastMonth": {
            "type": "integer"
          },
          "allTime": {
            "type": "integer"
          }
        },
        "required": [
          "observedAt",
          "thisMonthFrom",
          "lastMonthFrom",
          "thisMonth",
          "lastMonth",
          "allTime"
        ]
      },
      "PlatformSummary": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "totalTenants": {
            "type": "integer"
          },
          "activeTenants": {
            "type": "integer"
          },
          "inactiveTenants": {
            "type": "integer"
          },
          "monthlyRecurringRevenue": {
            "type": "number"
          },
          "planDistribution": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "planKey": {
                  "type": "string"
                },
                "planName": {
                  "type": "string"
                },
                "tenantCount": {
                  "type": "integer"
                },
                "monthlyRevenue": {
                  "type": "number"
                }
              },
              "required": [
                "planKey",
                "planName",
                "tenantCount",
                "monthlyRevenue"
              ]
            }
          }
        },
        "required": [
          "totalTenants",
          "activeTenants",
          "inactiveTenants",
          "monthlyRecurringRevenue",
          "planDistribution"
        ]
      },
      "PlatformPlanSlice": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "planKey": {
            "type": "string"
          },
          "planName": {
            "type": "string"
          },
          "tenantCount": {
            "type": "integer"
          },
          "monthlyRevenue": {
            "type": "number"
          }
        },
        "required": [
          "planKey",
          "planName",
          "tenantCount",
          "monthlyRevenue"
        ]
      },
      "PlatformVolumeReport": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "thisMonth": {
            "type": "object",
            "properties": {
              "events": {
                "type": "integer"
              },
              "exceptions": {
                "type": "integer"
              },
              "sessions": {
                "type": "integer"
              },
              "messages": {
                "type": "integer"
              }
            },
            "required": [
              "events",
              "exceptions",
              "sessions",
              "messages"
            ]
          },
          "lastMonth": {
            "type": "object",
            "properties": {
              "events": {
                "type": "integer"
              },
              "exceptions": {
                "type": "integer"
              },
              "sessions": {
                "type": "integer"
              },
              "messages": {
                "type": "integer"
              }
            },
            "required": [
              "events",
              "exceptions",
              "sessions",
              "messages"
            ]
          },
          "allTime": {
            "type": "object",
            "properties": {
              "events": {
                "type": "integer"
              },
              "exceptions": {
                "type": "integer"
              },
              "sessions": {
                "type": "integer"
              },
              "messages": {
                "type": "integer"
              }
            },
            "required": [
              "events",
              "exceptions",
              "sessions",
              "messages"
            ]
          }
        },
        "required": [
          "thisMonth",
          "lastMonth",
          "allTime"
        ]
      },
      "PlatformVolumeMetrics": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "events": {
            "type": "integer"
          },
          "exceptions": {
            "type": "integer"
          },
          "sessions": {
            "type": "integer"
          },
          "messages": {
            "type": "integer"
          }
        },
        "required": [
          "events",
          "exceptions",
          "sessions",
          "messages"
        ]
      },
      "PlatformObservedActivityReport": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "current": {
            "type": "object",
            "properties": {
              "from": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "organizations": {
                "type": "object",
                "properties": {
                  "completeness": {
                    "enum": [
                      "Complete",
                      "Partial",
                      "Unavailable"
                    ]
                  },
                  "observedCount": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "firstObservedAt": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date-time"
                  },
                  "lastObservedAt": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date-time"
                  }
                },
                "required": [
                  "completeness",
                  "observedCount",
                  "firstObservedAt",
                  "lastObservedAt"
                ]
              },
              "apps": {
                "type": "object",
                "properties": {
                  "completeness": {
                    "enum": [
                      "Complete",
                      "Partial",
                      "Unavailable"
                    ]
                  },
                  "observedCount": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "firstObservedAt": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date-time"
                  },
                  "lastObservedAt": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date-time"
                  }
                },
                "required": [
                  "completeness",
                  "observedCount",
                  "firstObservedAt",
                  "lastObservedAt"
                ]
              },
              "portalAccounts": {
                "type": "object",
                "properties": {
                  "completeness": {
                    "enum": [
                      "Complete",
                      "Partial",
                      "Unavailable"
                    ]
                  },
                  "observedCount": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "firstObservedAt": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date-time"
                  },
                  "lastObservedAt": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date-time"
                  }
                },
                "required": [
                  "completeness",
                  "observedCount",
                  "firstObservedAt",
                  "lastObservedAt"
                ]
              },
              "telemetryCoverage": {
                "type": "object",
                "properties": {
                  "sourceDiscoveryComplete": {
                    "type": "boolean"
                  },
                  "completeSourceCount": {
                    "type": "integer"
                  },
                  "partialSourceCount": {
                    "type": "integer"
                  },
                  "unavailableSourceCount": {
                    "type": "integer"
                  }
                },
                "required": [
                  "sourceDiscoveryComplete",
                  "completeSourceCount",
                  "partialSourceCount",
                  "unavailableSourceCount"
                ]
              }
            },
            "required": [
              "from",
              "to",
              "organizations",
              "apps",
              "portalAccounts",
              "telemetryCoverage"
            ]
          },
          "previous": {
            "type": "object",
            "properties": {
              "from": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "organizations": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/organizations"
              },
              "apps": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/apps"
              },
              "portalAccounts": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/portalAccounts"
              },
              "telemetryCoverage": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/telemetryCoverage"
              }
            },
            "required": [
              "from",
              "to",
              "organizations",
              "apps",
              "portalAccounts",
              "telemetryCoverage"
            ]
          },
          "retained": {
            "type": "object",
            "properties": {
              "from": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "organizations": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/organizations"
              },
              "apps": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/apps"
              },
              "portalAccounts": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/portalAccounts"
              },
              "telemetryCoverage": {
                "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/telemetryCoverage"
              }
            },
            "required": [
              "from",
              "to",
              "organizations",
              "apps",
              "portalAccounts",
              "telemetryCoverage"
            ]
          },
          "comparison": {
            "type": "object",
            "properties": {
              "organizationCountChange": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "appCountChange": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "portalAccountCountChange": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "required": [
              "organizationCountChange",
              "appCountChange",
              "portalAccountCountChange"
            ]
          },
          "schemaVersion": {
            "type": "integer",
            "default": 1
          }
        },
        "required": [
          "observedAt",
          "current",
          "previous",
          "retained",
          "comparison"
        ]
      },
      "PlatformObservedActivityWindow": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "from": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "organizations": {
            "type": "object",
            "properties": {
              "completeness": {
                "enum": [
                  "Complete",
                  "Partial",
                  "Unavailable"
                ]
              },
              "observedCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "firstObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "completeness",
              "observedCount",
              "firstObservedAt",
              "lastObservedAt"
            ]
          },
          "apps": {
            "type": "object",
            "properties": {
              "completeness": {
                "enum": [
                  "Complete",
                  "Partial",
                  "Unavailable"
                ]
              },
              "observedCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "firstObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "completeness",
              "observedCount",
              "firstObservedAt",
              "lastObservedAt"
            ]
          },
          "portalAccounts": {
            "type": "object",
            "properties": {
              "completeness": {
                "enum": [
                  "Complete",
                  "Partial",
                  "Unavailable"
                ]
              },
              "observedCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "firstObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "completeness",
              "observedCount",
              "firstObservedAt",
              "lastObservedAt"
            ]
          },
          "telemetryCoverage": {
            "type": "object",
            "properties": {
              "sourceDiscoveryComplete": {
                "type": "boolean"
              },
              "completeSourceCount": {
                "type": "integer"
              },
              "partialSourceCount": {
                "type": "integer"
              },
              "unavailableSourceCount": {
                "type": "integer"
              }
            },
            "required": [
              "sourceDiscoveryComplete",
              "completeSourceCount",
              "partialSourceCount",
              "unavailableSourceCount"
            ]
          }
        },
        "required": [
          "from",
          "to",
          "organizations",
          "apps",
          "portalAccounts",
          "telemetryCoverage"
        ]
      },
      "PlatformObservedActivityPopulation": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "completeness": {
            "enum": [
              "Complete",
              "Partial",
              "Unavailable"
            ]
          },
          "observedCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "firstObservedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastObservedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "completeness",
          "observedCount",
          "firstObservedAt",
          "lastObservedAt"
        ]
      },
      "PlatformObservedActivityCoverage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "sourceDiscoveryComplete": {
            "type": "boolean"
          },
          "completeSourceCount": {
            "type": "integer"
          },
          "partialSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          }
        },
        "required": [
          "sourceDiscoveryComplete",
          "completeSourceCount",
          "partialSourceCount",
          "unavailableSourceCount"
        ]
      },
      "PlatformObservedActivityComparison": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "organizationCountChange": {
            "type": [
              "integer",
              "null"
            ]
          },
          "appCountChange": {
            "type": [
              "integer",
              "null"
            ]
          },
          "portalAccountCountChange": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "organizationCountChange",
          "appCountChange",
          "portalAccountCountChange"
        ]
      },
      "PlatformAggregateCompleteness": {
        "enum": [
          "Complete",
          "Partial",
          "Unavailable"
        ]
      },
      "PlatformVolumeHealthReport": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "thisMonth": {
            "type": "object",
            "properties": {
              "from": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "completeness": {
                "enum": [
                  "Complete",
                  "Partial",
                  "Unavailable"
                ]
              },
              "sourceDiscoveryComplete": {
                "type": "boolean"
              },
              "availableSourceCount": {
                "type": "integer"
              },
              "unavailableSourceCount": {
                "type": "integer"
              },
              "availableTotals": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "events": {
                    "type": "integer"
                  },
                  "exceptions": {
                    "type": "integer"
                  },
                  "sessions": {
                    "type": "integer"
                  }
                },
                "required": [
                  "events",
                  "exceptions",
                  "sessions"
                ]
              },
              "providers": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "provider": {
                      "type": "string"
                    },
                    "availableSourceCount": {
                      "type": "integer"
                    },
                    "unavailableSourceCount": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "provider",
                    "availableSourceCount",
                    "unavailableSourceCount"
                  ]
                }
              }
            },
            "required": [
              "from",
              "to",
              "completeness",
              "sourceDiscoveryComplete",
              "availableSourceCount",
              "unavailableSourceCount",
              "availableTotals",
              "providers"
            ]
          },
          "lastMonth": {
            "type": "object",
            "properties": {
              "from": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "completeness": {
                "enum": [
                  "Complete",
                  "Partial",
                  "Unavailable"
                ]
              },
              "sourceDiscoveryComplete": {
                "type": "boolean"
              },
              "availableSourceCount": {
                "type": "integer"
              },
              "unavailableSourceCount": {
                "type": "integer"
              },
              "availableTotals": {
                "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/availableTotals"
              },
              "providers": {
                "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/providers"
              }
            },
            "required": [
              "from",
              "to",
              "completeness",
              "sourceDiscoveryComplete",
              "availableSourceCount",
              "unavailableSourceCount",
              "availableTotals",
              "providers"
            ]
          },
          "allTime": {
            "type": "object",
            "properties": {
              "from": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "completeness": {
                "enum": [
                  "Complete",
                  "Partial",
                  "Unavailable"
                ]
              },
              "sourceDiscoveryComplete": {
                "type": "boolean"
              },
              "availableSourceCount": {
                "type": "integer"
              },
              "unavailableSourceCount": {
                "type": "integer"
              },
              "availableTotals": {
                "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/availableTotals"
              },
              "providers": {
                "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/providers"
              }
            },
            "required": [
              "from",
              "to",
              "completeness",
              "sourceDiscoveryComplete",
              "availableSourceCount",
              "unavailableSourceCount",
              "availableTotals",
              "providers"
            ]
          },
          "schemaVersion": {
            "type": "integer",
            "default": 1
          }
        },
        "required": [
          "observedAt",
          "thisMonth",
          "lastMonth",
          "allTime"
        ]
      },
      "PlatformVolumeHealthWindow": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "from": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "completeness": {
            "enum": [
              "Complete",
              "Partial",
              "Unavailable"
            ]
          },
          "sourceDiscoveryComplete": {
            "type": "boolean"
          },
          "availableSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          },
          "availableTotals": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "events": {
                "type": "integer"
              },
              "exceptions": {
                "type": "integer"
              },
              "sessions": {
                "type": "integer"
              }
            },
            "required": [
              "events",
              "exceptions",
              "sessions"
            ]
          },
          "providers": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "provider": {
                  "type": "string"
                },
                "availableSourceCount": {
                  "type": "integer"
                },
                "unavailableSourceCount": {
                  "type": "integer"
                }
              },
              "required": [
                "provider",
                "availableSourceCount",
                "unavailableSourceCount"
              ]
            }
          }
        },
        "required": [
          "from",
          "to",
          "completeness",
          "sourceDiscoveryComplete",
          "availableSourceCount",
          "unavailableSourceCount",
          "availableTotals",
          "providers"
        ]
      },
      "PlatformVolumeHealthProviderCoverage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "provider": {
            "type": "string"
          },
          "availableSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "availableSourceCount",
          "unavailableSourceCount"
        ]
      },
      "PlatformTelemetryCounts": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "events": {
            "type": "integer"
          },
          "exceptions": {
            "type": "integer"
          },
          "sessions": {
            "type": "integer"
          }
        },
        "required": [
          "events",
          "exceptions",
          "sessions"
        ]
      },
      "TenantDetail": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenant": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "plan": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "active": {
                "type": "boolean"
              },
              "kind": {
                "enum": [
                  "Personal",
                  "Organization"
                ],
                "default": "Organization"
              },
              "certifiedBy": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "certifiedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "ownerUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ],
                "default": "Unverified"
              },
              "holdLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ],
                "default": "None"
              },
              "verificationReviewAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "verificationExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "tenantId",
              "name",
              "slug",
              "plan",
              "createdAt",
              "active"
            ]
          },
          "apps": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "environments": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              },
              "required": [
                "appId",
                "name",
                "slug",
                "environments"
              ]
            }
          },
          "teams": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "teamId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "allApps": {
                  "type": "boolean"
                },
                "appIds": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "capabilities": {
                  "type": "array",
                  "items": {
                    "enum": [
                      "ViewAnalytics",
                      "ViewCrashes",
                      "ManageCrashWorkflow",
                      "AssignCrashOwners",
                      "ViewLogs",
                      "ManageReleases",
                      "AccessDistribution",
                      "ManageMessaging",
                      "ViewLocation",
                      "ManageIssueConnections",
                      "ManageTeamMembers"
                    ]
                  }
                },
                "members": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "userId": {
                        "type": "string"
                      },
                      "displayName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "email": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "addedAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "userId",
                      "displayName",
                      "email",
                      "addedAt"
                    ]
                  }
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "teamId",
                "tenantId",
                "name",
                "description",
                "allApps",
                "appIds",
                "capabilities",
                "members",
                "createdAt"
              ]
            }
          },
          "users": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "displayName": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "tenantSlug": {
                  "type": "string"
                },
                "tenantName": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "Active",
                    "Invited"
                  ]
                },
                "roles": {
                  "type": "array",
                  "items": {
                    "enum": [
                      "Admin",
                      "AppOwner",
                      "Developer",
                      "ProductOwner",
                      "Support",
                      "PlatformOperator"
                    ]
                  }
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "tenantKind": {
                  "enum": [
                    "Personal",
                    "Organization"
                  ],
                  "default": "Organization"
                },
                "externallyProvisioned": {
                  "type": "boolean",
                  "default": false
                },
                "ownerUserId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "userId",
                "email",
                "displayName",
                "tenantId",
                "tenantSlug",
                "tenantName",
                "status",
                "roles",
                "createdAt"
              ]
            }
          },
          "planKey": {
            "type": "string"
          },
          "planName": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "featureFlags": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "flagKey": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "enabled": {
                  "type": "boolean"
                },
                "description": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedBy": {
                  "type": "string"
                }
              },
              "required": [
                "flagKey",
                "tenantId",
                "enabled",
                "description",
                "updatedAt",
                "updatedBy"
              ]
            }
          },
          "organizationAdmissionRestricted": {
            "type": "boolean",
            "default": true
          },
          "organizationAdmissionWorkflowEnabled": {
            "type": "boolean",
            "default": false
          },
          "billedExternally": {
            "type": "boolean"
          }
        },
        "required": [
          "tenant",
          "apps",
          "teams",
          "users",
          "planKey",
          "planName",
          "monthlyPrice",
          "featureFlags"
        ]
      },
      "BillingPlanCatalogEntry": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "plan": {
            "type": "object",
            "properties": {
              "planKey": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "includedSmsSegments": {
                "type": "integer"
              },
              "includedMaus": {
                "type": "integer"
              }
            },
            "required": [
              "planKey",
              "name",
              "monthlyPrice",
              "includedSmsSegments",
              "includedMaus"
            ]
          },
          "entitlements": {
            "type": "object",
            "properties": {
              "maxApps": {
                "type": "integer"
              },
              "maxMonthlyActiveUsers": {
                "type": "integer"
              },
              "dataRetentionDays": {
                "type": "integer"
              },
              "monthlyPushQuota": {
                "type": "integer"
              },
              "paidMessagingEnabled": {
                "type": "boolean"
              },
              "monthlyMessagingCredits": {
                "type": "integer",
                "default": 0
              },
              "telemetryAllowances": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "signals": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "mode": {
                          "type": "integer",
                          "default": 0
                        },
                        "unit": {
                          "type": "integer",
                          "default": 0
                        },
                        "monthlyUnits": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        }
                      }
                    },
                    "default": null
                  },
                  "accountUnlimited": {
                    "type": "boolean"
                  }
                },
                "default": null
              },
              "unlimitedEligibility": {
                "type": "boolean"
              }
            },
            "required": [
              "maxApps",
              "maxMonthlyActiveUsers",
              "dataRetentionDays",
              "monthlyPushQuota",
              "paidMessagingEnabled"
            ]
          },
          "offeringDefinition": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": "string"
              },
              "catalogRevision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "visibility": {
                "type": "string"
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "acceptedTelemetryRecords": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                },
                "required": [
                  "unit",
                  "limit"
                ]
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "usdPrice": {
                    "type": "number"
                  }
                },
                "required": [
                  "block",
                  "usdPrice"
                ]
              },
              "eligibility": {
                "type": "object",
                "properties": {
                  "activeIdentities": {
                    "type": "integer"
                  },
                  "logicalApps": {
                    "type": "integer"
                  },
                  "humanOperators": {
                    "type": "integer"
                  },
                  "freeGraceHours": {
                    "type": "integer",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": "integer",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "activeIdentities",
                  "logicalApps",
                  "humanOperators"
                ]
              },
              "rawRetentionDays": {
                "type": "integer"
              },
              "aggregateRetentionMonths": {
                "type": "integer"
              },
              "includedServices": {
                "type": "object",
                "properties": {
                  "smartLinkResolutions": {
                    "type": "integer"
                  },
                  "acceptedPushDeliveries": {
                    "type": "integer"
                  },
                  "inAppImpressions": {
                    "type": "integer"
                  },
                  "locationUpdates": {
                    "type": "integer"
                  }
                },
                "required": [
                  "smartLinkResolutions",
                  "acceptedPushDeliveries",
                  "inAppImpressions",
                  "locationUpdates"
                ]
              },
              "includedStorage": {
                "type": "object",
                "properties": {
                  "releaseContentBytes": {
                    "type": "integer"
                  },
                  "symbolUploadContentBytes": {
                    "type": "integer"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": "integer"
                  }
                },
                "required": [
                  "releaseContentBytes",
                  "symbolUploadContentBytes",
                  "monthlyServedDownloadBytes"
                ]
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": "string"
              },
              "carrierRateRevision": {
                "type": "string"
              },
              "paymentRoute": {
                "type": "string"
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": "integer",
                "default": 0
              },
              "onboardingHours": {
                "type": "integer",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": "integer",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": "string"
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "required": [
                  "supportWindow",
                  "priorityQueue",
                  "namedEscalationContact",
                  "quarterlyServiceReview"
                ],
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "annualPrice": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "organizationLimit": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": "number"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "key",
                    "revision"
                  ]
                }
              }
            },
            "required": [
              "version",
              "catalogRevision",
              "key",
              "name",
              "visibility",
              "effectiveFrom",
              "currency",
              "monthlyPrice",
              "acceptedTelemetryRecords",
              "telemetryOverage",
              "eligibility",
              "rawRetentionDays",
              "aggregateRetentionMonths",
              "includedServices",
              "includedStorage",
              "capabilities",
              "packageCatalogRevision",
              "carrierRateRevision",
              "paymentRoute",
              "requiresEnterpriseAgreement"
            ]
          }
        },
        "required": [
          "plan",
          "entitlements"
        ]
      },
      "OpsPlanCatalogArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "plan": {
              "type": "object",
              "properties": {
                "planKey": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "monthlyPrice": {
                  "type": "number"
                },
                "includedSmsSegments": {
                  "type": "integer"
                },
                "includedMaus": {
                  "type": "integer"
                }
              },
              "required": [
                "planKey",
                "name",
                "monthlyPrice",
                "includedSmsSegments",
                "includedMaus"
              ]
            },
            "entitlements": {
              "type": "object",
              "properties": {
                "maxApps": {
                  "type": "integer"
                },
                "maxMonthlyActiveUsers": {
                  "type": "integer"
                },
                "dataRetentionDays": {
                  "type": "integer"
                },
                "monthlyPushQuota": {
                  "type": "integer"
                },
                "paidMessagingEnabled": {
                  "type": "boolean"
                },
                "monthlyMessagingCredits": {
                  "type": "integer",
                  "default": 0
                },
                "telemetryAllowances": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "version": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "signals": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "mode": {
                            "type": "integer",
                            "default": 0
                          },
                          "unit": {
                            "type": "integer",
                            "default": 0
                          },
                          "monthlyUnits": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "default": null
                          }
                        }
                      },
                      "default": null
                    },
                    "accountUnlimited": {
                      "type": "boolean"
                    }
                  },
                  "default": null
                },
                "unlimitedEligibility": {
                  "type": "boolean"
                }
              },
              "required": [
                "maxApps",
                "maxMonthlyActiveUsers",
                "dataRetentionDays",
                "monthlyPushQuota",
                "paidMessagingEnabled"
              ]
            },
            "offeringDefinition": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "version": {
                  "type": "string"
                },
                "catalogRevision": {
                  "type": "string"
                },
                "key": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "visibility": {
                  "type": "string"
                },
                "effectiveFrom": {
                  "type": "string",
                  "format": "date-time"
                },
                "currency": {
                  "type": "string"
                },
                "monthlyPrice": {
                  "type": "number"
                },
                "acceptedTelemetryRecords": {
                  "type": "object",
                  "properties": {
                    "unit": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "unit",
                    "limit"
                  ]
                },
                "telemetryOverage": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "block": {
                      "type": "object",
                      "properties": {
                        "unit": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "unit",
                        "limit"
                      ]
                    },
                    "usdPrice": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "block",
                    "usdPrice"
                  ]
                },
                "eligibility": {
                  "type": "object",
                  "properties": {
                    "activeIdentities": {
                      "type": "integer"
                    },
                    "logicalApps": {
                      "type": "integer"
                    },
                    "humanOperators": {
                      "type": "integer"
                    },
                    "freeGraceHours": {
                      "type": "integer",
                      "default": 24
                    },
                    "paidTransitionDays": {
                      "type": "integer",
                      "default": 30
                    },
                    "unlimited": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "activeIdentities",
                    "logicalApps",
                    "humanOperators"
                  ]
                },
                "rawRetentionDays": {
                  "type": "integer"
                },
                "aggregateRetentionMonths": {
                  "type": "integer"
                },
                "includedServices": {
                  "type": "object",
                  "properties": {
                    "smartLinkResolutions": {
                      "type": "integer"
                    },
                    "acceptedPushDeliveries": {
                      "type": "integer"
                    },
                    "inAppImpressions": {
                      "type": "integer"
                    },
                    "locationUpdates": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "smartLinkResolutions",
                    "acceptedPushDeliveries",
                    "inAppImpressions",
                    "locationUpdates"
                  ]
                },
                "includedStorage": {
                  "type": "object",
                  "properties": {
                    "releaseContentBytes": {
                      "type": "integer"
                    },
                    "symbolUploadContentBytes": {
                      "type": "integer"
                    },
                    "monthlyServedDownloadBytes": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "releaseContentBytes",
                    "symbolUploadContentBytes",
                    "monthlyServedDownloadBytes"
                  ]
                },
                "capabilities": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "packageCatalogRevision": {
                  "type": "string"
                },
                "carrierRateRevision": {
                  "type": "string"
                },
                "paymentRoute": {
                  "type": "string"
                },
                "requiresEnterpriseAgreement": {
                  "type": "boolean"
                },
                "initialTermMonths": {
                  "type": "integer",
                  "default": 0
                },
                "onboardingHours": {
                  "type": "integer",
                  "default": 0
                },
                "monthlyAdvisoryHours": {
                  "type": "integer",
                  "default": 0
                },
                "basedOnTemplateVersion": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "serviceCommitments": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "supportWindow": {
                      "type": "string"
                    },
                    "priorityQueue": {
                      "type": "boolean"
                    },
                    "namedEscalationContact": {
                      "type": "boolean"
                    },
                    "quarterlyServiceReview": {
                      "type": "boolean"
                    },
                    "slaIncluded": {
                      "type": "boolean",
                      "default": false
                    },
                    "dedicatedDeploymentIncluded": {
                      "type": "boolean",
                      "default": false
                    },
                    "automaticCarrierDiscount": {
                      "type": "boolean",
                      "default": false
                    },
                    "advisoryHoursRollOver": {
                      "type": "boolean",
                      "default": false
                    },
                    "bespokeEngineeringIncluded": {
                      "type": "boolean",
                      "default": false
                    }
                  },
                  "required": [
                    "supportWindow",
                    "priorityQueue",
                    "namedEscalationContact",
                    "quarterlyServiceReview"
                  ],
                  "default": null
                },
                "rawRetentionMonths": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "annualPrice": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "organizationLimit": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "externalAgreement": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "totalAmount": {
                      "type": "number"
                    },
                    "endsAtUtc": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "totalAmount",
                    "endsAtUtc"
                  ]
                },
                "shareTelemetryAcrossOrganizations": {
                  "type": "boolean"
                },
                "selectedPackages": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "revision"
                    ]
                  }
                }
              },
              "required": [
                "version",
                "catalogRevision",
                "key",
                "name",
                "visibility",
                "effectiveFrom",
                "currency",
                "monthlyPrice",
                "acceptedTelemetryRecords",
                "telemetryOverage",
                "eligibility",
                "rawRetentionDays",
                "aggregateRetentionMonths",
                "includedServices",
                "includedStorage",
                "capabilities",
                "packageCatalogRevision",
                "carrierRateRevision",
                "paymentRoute",
                "requiresEnterpriseAgreement"
              ]
            }
          },
          "required": [
            "plan",
            "entitlements"
          ]
        }
      },
      "OpsBrowserSession": {
        "type": "object",
        "description": "Actual anonymous OpsConsoleBffEndpoints /session projection. Nullable operator fields identify only the authenticated operator; no bearer, refresh token or full claim set.",
        "x-appportal-anonymous-source": "src/AppPortal.Admin.Api/OpsConsoleBffEndpoints.cs",
        "properties": {
          "authenticated": {
            "type": "boolean"
          },
          "operator": {
            "type": [
              "string",
              "null"
            ]
          },
          "operatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "entraEnabled": {
            "type": "boolean"
          },
          "devLoginEnabled": {
            "type": "boolean"
          }
        },
        "required": [
          "authenticated",
          "operator",
          "operatorId",
          "entraEnabled",
          "devLoginEnabled"
        ]
      },
      "OpsBrowserMutationError": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "integer",
              "null"
            ]
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "instance": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string",
            "enum": [
              "ops_cross_site_mutation_denied",
              "ops_csrf_token_required"
            ]
          },
          "message": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "traceId": {
            "type": "string"
          },
          "errorCode": {
            "type": "string"
          }
        },
        "description": "Explicit Ops browser mutation-guard problem. The legacy error alias equals message/detail; no cookie, token or request value is returned.",
        "required": [
          "type",
          "title",
          "status",
          "detail",
          "instance",
          "code",
          "message",
          "error",
          "traceId"
        ]
      },
      "LeadRecord": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "leadId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "workEmail": {
            "type": "string"
          },
          "company": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamSize": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "leadId",
          "name",
          "workEmail",
          "company",
          "teamSize",
          "message",
          "source",
          "submittedAt"
        ]
      },
      "PortalAuditEvent": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "auditEventId": {
            "type": "string"
          },
          "actor": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "environmentName": {
            "type": [
              "string",
              "null"
            ]
          },
          "deploymentTarget": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "beforeState": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "afterState": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "correlationId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "auditEventId",
          "actor",
          "action",
          "subject",
          "result",
          "tenantId",
          "appId",
          "environmentName",
          "deploymentTarget",
          "occurredAt"
        ]
      },
      "OperationsDisputedOrganization": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenant": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "plan": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "active": {
                "type": "boolean"
              },
              "kind": {
                "enum": [
                  "Personal",
                  "Organization"
                ],
                "default": "Organization"
              },
              "certifiedBy": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "certifiedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "ownerUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ],
                "default": "Unverified"
              },
              "holdLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ],
                "default": "None"
              },
              "verificationReviewAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "verificationExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "tenantId",
              "name",
              "slug",
              "plan",
              "createdAt",
              "active"
            ]
          },
          "adminUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "adminEmail": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "enum": [
              "CorporateDomainCollision",
              "FreeEmailBrandSlug"
            ]
          },
          "explanation": {
            "type": "string"
          },
          "blockedClaimantCount": {
            "type": "integer"
          }
        },
        "required": [
          "tenant",
          "adminUserId",
          "adminEmail",
          "reason",
          "explanation",
          "blockedClaimantCount"
        ]
      },
      "DisputedOrganization": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenant": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "plan": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "active": {
                "type": "boolean"
              },
              "kind": {
                "enum": [
                  "Personal",
                  "Organization"
                ],
                "default": "Organization"
              },
              "certifiedBy": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "certifiedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "ownerUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ],
                "default": "Unverified"
              },
              "holdLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ],
                "default": "None"
              },
              "verificationReviewAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "verificationExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "tenantId",
              "name",
              "slug",
              "plan",
              "createdAt",
              "active"
            ]
          },
          "adminUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "adminEmail": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "enum": [
              "CorporateDomainCollision",
              "FreeEmailBrandSlug"
            ]
          },
          "explanation": {
            "type": "string"
          },
          "blockedClaimants": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                }
              },
              "required": [
                "userId",
                "email"
              ]
            }
          }
        },
        "required": [
          "tenant",
          "adminUserId",
          "adminEmail",
          "reason",
          "explanation",
          "blockedClaimants"
        ]
      },
      "DisputedClaimant": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "email"
        ]
      },
      "TelemetryQuarantineItem": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "archiveId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "recordKind": {
            "type": "string"
          },
          "reasonCode": {
            "type": "string"
          },
          "disposition": {
            "type": "string"
          },
          "payloadState": {
            "type": "string"
          },
          "routePinned": {
            "type": "boolean"
          },
          "archivedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "operation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "operationId": {
                "type": "string"
              },
              "archiveId": {
                "type": "string"
              },
              "requestedDisposition": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "requestedAt": {
                "type": "string",
                "format": "date-time"
              },
              "startedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "completedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "attemptCount": {
                "type": "integer"
              },
              "outcomeCode": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "operationId",
              "archiveId",
              "requestedDisposition",
              "status",
              "requestedAt",
              "startedAt",
              "completedAt",
              "attemptCount",
              "outcomeCode"
            ]
          }
        },
        "required": [
          "archiveId",
          "tenantId",
          "appId",
          "environmentName",
          "recordKind",
          "reasonCode",
          "disposition",
          "payloadState",
          "routePinned",
          "archivedAt",
          "updatedAt",
          "operation"
        ]
      },
      "TelemetryRecoveryOperationView": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "operationId": {
            "type": "string"
          },
          "archiveId": {
            "type": "string"
          },
          "requestedDisposition": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "startedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "attemptCount": {
            "type": "integer"
          },
          "outcomeCode": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "operationId",
          "archiveId",
          "requestedDisposition",
          "status",
          "requestedAt",
          "startedAt",
          "completedAt",
          "attemptCount",
          "outcomeCode"
        ]
      },
      "RenameOrganizationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OrganizationRemediationRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "DestructiveRemediationRequest": {
        "type": "object",
        "properties": {
          "confirmText": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "OpsEvidenceLeadArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "leadId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "workEmail": {
              "type": "string"
            },
            "company": {
              "type": [
                "string",
                "null"
              ]
            },
            "teamSize": {
              "type": [
                "string",
                "null"
              ]
            },
            "message": {
              "type": [
                "string",
                "null"
              ]
            },
            "source": {
              "type": [
                "string",
                "null"
              ]
            },
            "submittedAt": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "leadId",
            "name",
            "workEmail",
            "company",
            "teamSize",
            "message",
            "source",
            "submittedAt"
          ]
        }
      },
      "OpsEvidenceLeadPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "leadId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "workEmail": {
                  "type": "string"
                },
                "company": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "teamSize": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "message": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "submittedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "leadId",
                "name",
                "workEmail",
                "company",
                "teamSize",
                "message",
                "source",
                "submittedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsEvidenceAuditArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "auditEventId": {
              "type": "string"
            },
            "actor": {
              "type": "string"
            },
            "action": {
              "type": "string"
            },
            "subject": {
              "type": "string"
            },
            "result": {
              "type": "string"
            },
            "tenantId": {
              "type": "string"
            },
            "appId": {
              "type": [
                "string",
                "null"
              ]
            },
            "environmentName": {
              "type": [
                "string",
                "null"
              ]
            },
            "deploymentTarget": {
              "type": [
                "string",
                "null"
              ]
            },
            "occurredAt": {
              "type": "string",
              "format": "date-time"
            },
            "beforeState": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "afterState": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "correlationId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "auditEventId",
            "actor",
            "action",
            "subject",
            "result",
            "tenantId",
            "appId",
            "environmentName",
            "deploymentTarget",
            "occurredAt"
          ]
        }
      },
      "OpsEvidenceAuditPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "auditEventId": {
                  "type": "string"
                },
                "actor": {
                  "type": "string"
                },
                "action": {
                  "type": "string"
                },
                "subject": {
                  "type": "string"
                },
                "result": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "environmentName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deploymentTarget": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "beforeState": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "afterState": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "correlationId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "auditEventId",
                "actor",
                "action",
                "subject",
                "result",
                "tenantId",
                "appId",
                "environmentName",
                "deploymentTarget",
                "occurredAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsEvidenceDisputedArray": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "tenant": {
              "type": "object",
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "plan": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "active": {
                  "type": "boolean"
                },
                "kind": {
                  "enum": [
                    "Personal",
                    "Organization"
                  ],
                  "default": "Organization"
                },
                "certifiedBy": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "certifiedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "ownerUserId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "verificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ],
                  "default": "Unverified"
                },
                "holdLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ],
                  "default": "None"
                },
                "verificationReviewAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "verificationExpiresAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                }
              },
              "required": [
                "tenantId",
                "name",
                "slug",
                "plan",
                "createdAt",
                "active"
              ]
            },
            "adminUserId": {
              "type": [
                "string",
                "null"
              ]
            },
            "adminEmail": {
              "type": [
                "string",
                "null"
              ]
            },
            "reason": {
              "enum": [
                "CorporateDomainCollision",
                "FreeEmailBrandSlug"
              ]
            },
            "explanation": {
              "type": "string"
            },
            "blockedClaimants": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "userId": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "userId",
                  "email"
                ]
              }
            }
          },
          "required": [
            "tenant",
            "adminUserId",
            "adminEmail",
            "reason",
            "explanation",
            "blockedClaimants"
          ]
        }
      },
      "OpsEvidenceDisputedPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "tenant": {
                  "type": "object",
                  "properties": {
                    "tenantId": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "plan": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "active": {
                      "type": "boolean"
                    },
                    "kind": {
                      "enum": [
                        "Personal",
                        "Organization"
                      ],
                      "default": "Organization"
                    },
                    "certifiedBy": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "certifiedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "ownerUserId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "verificationState": {
                      "enum": [
                        "NotApplicable",
                        "Unverified",
                        "PendingReview",
                        "Verified",
                        "Disputed",
                        "Rejected",
                        "Suspended"
                      ],
                      "default": "Unverified"
                    },
                    "holdLevel": {
                      "enum": [
                        "None",
                        "ProvisioningHold",
                        "ManagementReadOnly",
                        "FullSuspension"
                      ],
                      "default": "None"
                    },
                    "verificationReviewAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "verificationExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    }
                  },
                  "required": [
                    "tenantId",
                    "name",
                    "slug",
                    "plan",
                    "createdAt",
                    "active"
                  ]
                },
                "adminUserId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "adminEmail": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "CorporateDomainCollision",
                    "FreeEmailBrandSlug"
                  ]
                },
                "explanation": {
                  "type": "string"
                },
                "blockedClaimantCount": {
                  "type": "integer"
                }
              },
              "required": [
                "tenant",
                "adminUserId",
                "adminEmail",
                "reason",
                "explanation",
                "blockedClaimantCount"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsEvidenceClaimantPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                }
              },
              "required": [
                "userId",
                "email"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsEvidenceQuarantinePage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "archiveId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "appId": {
                  "type": "string"
                },
                "environmentName": {
                  "type": "string"
                },
                "recordKind": {
                  "type": "string"
                },
                "reasonCode": {
                  "type": "string"
                },
                "disposition": {
                  "type": "string"
                },
                "payloadState": {
                  "type": "string"
                },
                "routePinned": {
                  "type": "boolean"
                },
                "archivedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "operation": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "operationId": {
                      "type": "string"
                    },
                    "archiveId": {
                      "type": "string"
                    },
                    "requestedDisposition": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "requestedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "startedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "completedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "attemptCount": {
                      "type": "integer"
                    },
                    "outcomeCode": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "operationId",
                    "archiveId",
                    "requestedDisposition",
                    "status",
                    "requestedAt",
                    "startedAt",
                    "completedAt",
                    "attemptCount",
                    "outcomeCode"
                  ]
                }
              },
              "required": [
                "archiveId",
                "tenantId",
                "appId",
                "environmentName",
                "recordKind",
                "reasonCode",
                "disposition",
                "payloadState",
                "routePinned",
                "archivedAt",
                "updatedAt",
                "operation"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "CapacityCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "asOf": {
            "type": "string",
            "format": "date-time"
          },
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "kind": {
                  "enum": [
                    "Personal",
                    "Organization"
                  ]
                },
                "planKey": {
                  "type": "string"
                },
                "limitBasis": {
                  "type": "string"
                },
                "priority": {
                  "type": "string"
                },
                "billingState": {
                  "type": "string"
                },
                "entitled": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "paidThrough": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "recoveryDeadline": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "recordedCreditBalance": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "grace": {
                  "type": "object",
                  "properties": {
                    "state": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "deadline": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "lastObservedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "recoveredThrough": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "state",
                    "startedAt",
                    "deadline",
                    "lastObservedAt",
                    "recoveredThrough"
                  ]
                },
                "telemetryEnforcement": {
                  "type": "string"
                },
                "metrics": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "unit": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      },
                      "measurement": {
                        "type": "string"
                      },
                      "used": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "limit": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "limitSource": {
                        "type": "string"
                      },
                      "observed": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "observationUnit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "periodStart": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      },
                      "periodEnd": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      },
                      "observationStart": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      },
                      "observationEnd": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date-time",
                        "default": null
                      }
                    },
                    "required": [
                      "key",
                      "unit",
                      "state",
                      "measurement",
                      "used",
                      "limit",
                      "limitSource",
                      "observed",
                      "observationUnit",
                      "reason"
                    ]
                  }
                }
              },
              "required": [
                "tenantId",
                "name",
                "slug",
                "kind",
                "planKey",
                "limitBasis",
                "priority",
                "billingState",
                "entitled",
                "paidThrough",
                "recoveryDeadline",
                "recordedCreditBalance",
                "grace",
                "telemetryEnforcement",
                "metrics"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "rankingBasis": {
            "type": "string"
          },
          "usageCoverage": {
            "type": "string"
          }
        },
        "required": [
          "asOf",
          "items",
          "nextCursor",
          "totalCount",
          "rankingBasis",
          "usageCoverage"
        ]
      },
      "OrganizationBrandingWorkspacePage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "permission": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "policyVersion": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "consentActive": {
                "type": "boolean"
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "verificationExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "effectiveAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "optOutAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "inUse": {
                "type": "boolean"
              },
              "removalDueAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "removalCompletedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "remediationRequired": {
                "type": "boolean"
              },
              "revision": {
                "type": "integer"
              }
            },
            "required": [
              "tenantId",
              "policyVersion",
              "source",
              "consentActive",
              "verificationState",
              "verificationExpiresAt",
              "effectiveAt",
              "optOutAt",
              "inUse",
              "removalDueAt",
              "removalCompletedAt",
              "remediationRequired",
              "revision"
            ]
          },
          "logoAvailable": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "eventId": {
                  "type": "string"
                },
                "revision": {
                  "type": "integer"
                },
                "actor": {
                  "type": "string"
                },
                "action": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "beforeState": {
                  "type": "string"
                },
                "afterState": {
                  "type": "string"
                }
              },
              "required": [
                "eventId",
                "revision",
                "actor",
                "action",
                "reason",
                "occurredAt",
                "beforeState",
                "afterState"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "permission",
          "logoAvailable",
          "items",
          "nextCursor"
        ]
      },
      "OpsVerificationCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "caseId": {
                  "type": "string"
                },
                "caseNumber": {
                  "type": "string"
                },
                "tenantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "subjectSlug": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Open",
                    "EvidenceRequested",
                    "UnderReview",
                    "DecisionPending",
                    "Resolved",
                    "Appealed",
                    "Closed"
                  ]
                },
                "openedByUserId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "assignedOperatorId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "openReason": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "closedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "version": {
                  "type": "integer"
                },
                "openedByOperatorId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "caseId",
                "caseNumber",
                "tenantId",
                "subjectSlug",
                "state",
                "openedByUserId",
                "assignedOperatorId",
                "openReason",
                "createdAt",
                "updatedAt",
                "resolvedAt",
                "closedAt",
                "version"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsDecisionApprovalCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "approvalId": {
                  "type": "string"
                },
                "caseId": {
                  "type": "string"
                },
                "expectedCaseVersion": {
                  "type": "integer"
                },
                "decision": {
                  "type": "object",
                  "properties": {
                    "decisionType": {
                      "enum": [
                        "VerifyAndActivatePendingTenant",
                        "VerifyExistingTenantAndRejectClaim",
                        "RestoreAdministrator",
                        "RequireRename",
                        "MaintainHold",
                        "EscalateHold",
                        "RejectClaim",
                        "SuspendTenant",
                        "BanUser",
                        "ApproveAppeal"
                      ]
                    },
                    "reason": {
                      "type": "string"
                    },
                    "typedConfirmation": {
                      "type": "string"
                    },
                    "expectedVersion": {
                      "type": "integer"
                    },
                    "requestedHoldLevel": {
                      "enum": [
                        "None",
                        "ProvisioningHold",
                        "ManagementReadOnly",
                        "FullSuspension",
                        null
                      ],
                      "default": null
                    },
                    "targetUserId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "newTenantSlug": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "supersedesDecisionId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "appealId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "approvalId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "renamePreviewFingerprint": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "newTenantName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "decisionType",
                    "reason",
                    "typedConfirmation",
                    "expectedVersion"
                  ]
                },
                "payloadHash": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Pending",
                    "Approved",
                    "Rejected",
                    "Expired",
                    "Invalidated",
                    "Consumed"
                  ]
                },
                "proposedBy": {
                  "type": "string"
                },
                "proposedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "proposerAuthenticatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "expiresAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewerAuthenticatedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "decisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "approvalId",
                "caseId",
                "expectedCaseVersion",
                "decision",
                "payloadHash",
                "state",
                "proposedBy",
                "proposedAt",
                "proposerAuthenticatedAt",
                "expiresAt",
                "reviewedBy",
                "reviewedAt",
                "reviewerAuthenticatedAt",
                "reviewReason",
                "consumedBy",
                "consumedAt",
                "decisionId",
                "version"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsDomainReviewCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "domainId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "environmentPrefix": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "host": {
                  "type": "string"
                },
                "defaultFallbackUrl": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "purpose": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "enum": [
                    "PendingReview",
                    "Approved",
                    "Declined",
                    "Withdrawn"
                  ]
                },
                "active": {
                  "type": "boolean"
                },
                "requestedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "requestedBy": {
                  "type": "string"
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "decisionReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "assignedAppId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "assignedEnvironment": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "familyHosts": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "default": null
                },
                "requestedForAppId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "domainId",
                "tenantId",
                "label",
                "environmentPrefix",
                "host",
                "defaultFallbackUrl",
                "purpose",
                "status",
                "active",
                "requestedAt",
                "requestedBy",
                "reviewedAt",
                "reviewedBy",
                "decisionReason",
                "updatedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsOfferingReviewSourceCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "declarationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "kind": {
                  "type": "string"
                },
                "appId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "environmentId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revision": {
                  "type": "integer"
                },
                "sourceVersion": {
                  "type": "string"
                },
                "payloadHash": {
                  "type": "string"
                },
                "authorityBasis": {
                  "type": "string"
                },
                "effectiveFromUtc": {
                  "type": "string",
                  "format": "date-time"
                },
                "declaredAtUtc": {
                  "type": "string",
                  "format": "date-time"
                },
                "sourceDeclarationId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "account": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "scope": {
                      "type": "string"
                    },
                    "nonstandardContractObligations": {
                      "type": "boolean"
                    },
                    "controlledGroupReference": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "wholeScopeEmployees": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    },
                    "wholeScopeAnnualUsdRevenueOrBudget": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "default": null
                    },
                    "financialBasis": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "financialPeriodFromUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "financialPeriodToUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    }
                  },
                  "required": [
                    "scope",
                    "nonstandardContractObligations"
                  ]
                },
                "groupReview": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "sourceAccountDeclarationId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "outcome": {
                      "type": "string"
                    },
                    "controlEvidenceId": {
                      "type": "string"
                    },
                    "canonicalGroupId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uuid",
                      "default": null
                    },
                    "wholeGroupEmployees": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    },
                    "wholeGroupAnnualUsdRevenueOrBudget": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "default": null
                    },
                    "financialBasis": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "financialPeriodFromUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    },
                    "financialPeriodToUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    }
                  },
                  "required": [
                    "sourceAccountDeclarationId",
                    "outcome",
                    "controlEvidenceId"
                  ]
                },
                "environment": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "purpose": {
                      "type": "string"
                    },
                    "trafficBasis": {
                      "type": "string"
                    },
                    "sharedIdentityNamespace": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "userActivityEventNames": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "default": null
                    },
                    "sharedIdentityConsentVersion": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "purpose",
                    "trafficBasis"
                  ]
                },
                "exclusion": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "selectorKind": {
                      "type": "string"
                    },
                    "classification": {
                      "type": "string"
                    },
                    "protectedKey": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "comparisonDomainKey": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "selectorKind",
                    "classification"
                  ]
                }
              },
              "required": [
                "declarationId",
                "kind",
                "appId",
                "environmentId",
                "revision",
                "sourceVersion",
                "payloadHash",
                "authorityBasis",
                "effectiveFromUtc",
                "declaredAtUtc",
                "sourceDeclarationId",
                "account",
                "groupReview",
                "environment",
                "exclusion"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsRegistryHistoryCursorPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "revisionId": {
                  "type": "string"
                },
                "parentRevisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sha256": {
                  "type": "string"
                },
                "matcherVersion": {
                  "type": "string"
                },
                "normalizationBasis": {
                  "type": "string"
                },
                "publishedBy": {
                  "type": "string"
                },
                "publishedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "reason": {
                  "type": "string"
                },
                "current": {
                  "type": "boolean"
                }
              },
              "required": [
                "revisionId",
                "parentRevisionId",
                "sha256",
                "matcherVersion",
                "normalizationBasis",
                "publishedBy",
                "publishedAt",
                "reason",
                "current"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ]
      },
      "OpsVerificationCaseWorkspace": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "case": {
            "type": "object",
            "properties": {
              "caseId": {
                "type": "string"
              },
              "caseNumber": {
                "type": "string"
              },
              "tenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "subjectSlug": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Open",
                  "EvidenceRequested",
                  "UnderReview",
                  "DecisionPending",
                  "Resolved",
                  "Appealed",
                  "Closed"
                ]
              },
              "openedByUserId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "assignedOperatorId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "openReason": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "resolvedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "closedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "version": {
                "type": "integer"
              },
              "openedByOperatorId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "caseId",
              "caseNumber",
              "tenantId",
              "subjectSlug",
              "state",
              "openedByUserId",
              "assignedOperatorId",
              "openReason",
              "createdAt",
              "updatedAt",
              "resolvedAt",
              "closedAt",
              "version"
            ]
          },
          "requiredConfirmation": {
            "type": "string"
          },
          "parties": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "partyId": {
                  "type": "string"
                },
                "userId": {
                  "type": "string"
                },
                "role": {
                  "enum": [
                    "Claimant",
                    "ExistingTenantRepresentative",
                    "AuthorizedRepresentative",
                    "AppPortalOperator"
                  ]
                },
                "displayLabel": {
                  "type": "string"
                },
                "authoritySnapshot": {
                  "type": "string"
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "removedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "partyId",
                "userId",
                "role",
                "displayLabel",
                "authoritySnapshot",
                "addedBy",
                "addedAt",
                "removedAt"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "tickets": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "ticketId": {
                  "type": "string"
                },
                "partyId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "role": {
                  "enum": [
                    "ClaimantCommunication",
                    "ExistingTenantCommunication",
                    "Evidence",
                    "Appeal",
                    "Internal"
                  ]
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "ticketId",
                "partyId",
                "role",
                "addedBy",
                "addedAt"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "evidenceRequests": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "evidenceRequestId": {
                  "type": "string"
                },
                "partyId": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Requested",
                    "Submitted",
                    "Verified",
                    "Rejected",
                    "Expired",
                    "Withdrawn"
                  ]
                },
                "requestedBy": {
                  "type": "string"
                },
                "requestedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "dueAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "submittedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "evidenceRequestId",
                "partyId",
                "description",
                "state",
                "requestedBy",
                "requestedAt",
                "dueAt",
                "submittedAt",
                "reviewedBy",
                "reviewedAt"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "findings": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "findingId": {
                  "type": "string"
                },
                "evidenceRequestId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "supersedesFindingId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "findingType": {
                  "type": "string"
                },
                "summary": {
                  "type": "string"
                },
                "outcome": {
                  "enum": [
                    "SupportsClaim",
                    "ContradictsClaim",
                    "Inconclusive"
                  ]
                },
                "source": {
                  "type": "string"
                },
                "recordedBy": {
                  "type": "string"
                },
                "recordedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "findingId",
                "evidenceRequestId",
                "supersedesFindingId",
                "findingType",
                "summary",
                "outcome",
                "source",
                "recordedBy",
                "recordedAt"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "decisions": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "decisionId": {
                  "type": "string"
                },
                "supersedesDecisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "decisionType": {
                  "enum": [
                    "VerifyAndActivatePendingTenant",
                    "VerifyExistingTenantAndRejectClaim",
                    "RestoreAdministrator",
                    "RequireRename",
                    "MaintainHold",
                    "EscalateHold",
                    "RejectClaim",
                    "SuspendTenant",
                    "BanUser",
                    "ApproveAppeal"
                  ]
                },
                "reason": {
                  "type": "string"
                },
                "beforeVerificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ]
                },
                "afterVerificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ]
                },
                "beforeHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "afterHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "decidedBy": {
                  "type": "string"
                },
                "secondApproverId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "authenticatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "decidedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingCaseVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "decisionId",
                "supersedesDecisionId",
                "decisionType",
                "reason",
                "beforeVerificationState",
                "afterVerificationState",
                "beforeHoldLevel",
                "afterHoldLevel",
                "decidedBy",
                "secondApproverId",
                "authenticatedAt",
                "decidedAt",
                "resultingCaseVersion"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "holdHistory": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "holdEventId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "fromHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "toHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "reason": {
                  "type": "string"
                },
                "actorId": {
                  "type": "string"
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingCaseVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "holdEventId",
                "tenantId",
                "fromHoldLevel",
                "toHoldLevel",
                "reason",
                "actorId",
                "occurredAt",
                "resultingCaseVersion"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "appeals": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appealId": {
                  "type": "string"
                },
                "ticketId": {
                  "type": "string"
                },
                "submittedByUserId": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Submitted",
                    "UnderReview",
                    "Approved",
                    "Rejected",
                    "Withdrawn"
                  ]
                },
                "submittedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "resolutionDecisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "appealId",
                "ticketId",
                "submittedByUserId",
                "reason",
                "state",
                "submittedAt",
                "resolvedAt",
                "resolutionDecisionId",
                "version"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "collectionsIncluded": {
            "type": "boolean",
            "const": false
          },
          "activeApproval": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "approvalId": {
                "type": "string"
              },
              "caseId": {
                "type": "string"
              },
              "expectedCaseVersion": {
                "type": "integer"
              },
              "decision": {
                "type": "object",
                "properties": {
                  "decisionType": {
                    "enum": [
                      "VerifyAndActivatePendingTenant",
                      "VerifyExistingTenantAndRejectClaim",
                      "RestoreAdministrator",
                      "RequireRename",
                      "MaintainHold",
                      "EscalateHold",
                      "RejectClaim",
                      "SuspendTenant",
                      "BanUser",
                      "ApproveAppeal"
                    ]
                  },
                  "reason": {
                    "type": "string"
                  },
                  "typedConfirmation": {
                    "type": "string"
                  },
                  "expectedVersion": {
                    "type": "integer"
                  },
                  "requestedHoldLevel": {
                    "enum": [
                      "None",
                      "ProvisioningHold",
                      "ManagementReadOnly",
                      "FullSuspension",
                      null
                    ],
                    "default": null
                  },
                  "targetUserId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "newTenantSlug": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "supersedesDecisionId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "appealId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "approvalId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "renamePreviewFingerprint": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "newTenantName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "decisionType",
                  "reason",
                  "typedConfirmation",
                  "expectedVersion"
                ]
              },
              "payloadHash": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Pending",
                  "Approved",
                  "Rejected",
                  "Expired",
                  "Invalidated",
                  "Consumed"
                ]
              },
              "proposedBy": {
                "type": "string"
              },
              "proposedAt": {
                "type": "string",
                "format": "date-time"
              },
              "proposerAuthenticatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "reviewedBy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reviewedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "reviewerAuthenticatedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "reviewReason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "consumedBy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "consumedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "decisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "version": {
                "type": "integer"
              }
            },
            "required": [
              "approvalId",
              "caseId",
              "expectedCaseVersion",
              "decision",
              "payloadHash",
              "state",
              "proposedBy",
              "proposedAt",
              "proposerAuthenticatedAt",
              "expiresAt",
              "reviewedBy",
              "reviewedAt",
              "reviewerAuthenticatedAt",
              "reviewReason",
              "consumedBy",
              "consumedAt",
              "decisionId",
              "version"
            ]
          },
          "hasApprovalHistory": {
            "type": "boolean"
          },
          "activeAppeal": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "appealId": {
                "type": "string"
              },
              "ticketId": {
                "type": "string"
              },
              "submittedByUserId": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "state": {
                "enum": [
                  "Submitted",
                  "UnderReview",
                  "Approved",
                  "Rejected",
                  "Withdrawn"
                ]
              },
              "submittedAt": {
                "type": "string",
                "format": "date-time"
              },
              "resolvedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "resolutionDecisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "version": {
                "type": "integer"
              }
            },
            "required": [
              "appealId",
              "ticketId",
              "submittedByUserId",
              "reason",
              "state",
              "submittedAt",
              "resolvedAt",
              "resolutionDecisionId",
              "version"
            ]
          },
          "latestDecision": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "decisionId": {
                "type": "string"
              },
              "supersedesDecisionId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "decisionType": {
                "enum": [
                  "VerifyAndActivatePendingTenant",
                  "VerifyExistingTenantAndRejectClaim",
                  "RestoreAdministrator",
                  "RequireRename",
                  "MaintainHold",
                  "EscalateHold",
                  "RejectClaim",
                  "SuspendTenant",
                  "BanUser",
                  "ApproveAppeal"
                ]
              },
              "reason": {
                "type": "string"
              },
              "beforeVerificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "afterVerificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "beforeHoldLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ]
              },
              "afterHoldLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ]
              },
              "decidedBy": {
                "type": "string"
              },
              "secondApproverId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "authenticatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "decidedAt": {
                "type": "string",
                "format": "date-time"
              },
              "resultingCaseVersion": {
                "type": "integer"
              }
            },
            "required": [
              "decisionId",
              "supersedesDecisionId",
              "decisionType",
              "reason",
              "beforeVerificationState",
              "afterVerificationState",
              "beforeHoldLevel",
              "afterHoldLevel",
              "decidedBy",
              "secondApproverId",
              "authenticatedAt",
              "decidedAt",
              "resultingCaseVersion"
            ]
          },
          "tenant": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "active": {
                "type": "boolean"
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ]
              },
              "holdLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ]
              }
            },
            "required": [
              "tenantId",
              "active",
              "verificationState",
              "holdLevel"
            ]
          },
          "dualControlRequired": {
            "type": "boolean"
          },
          "approvals": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "approvalId": {
                  "type": "string"
                },
                "caseId": {
                  "type": "string"
                },
                "expectedCaseVersion": {
                  "type": "integer"
                },
                "decision": {
                  "$ref": "#/components/schemas/OpsVerificationCaseWorkspace/properties/activeApproval/properties/decision"
                },
                "payloadHash": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Pending",
                    "Approved",
                    "Rejected",
                    "Expired",
                    "Invalidated",
                    "Consumed"
                  ]
                },
                "proposedBy": {
                  "type": "string"
                },
                "proposedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "proposerAuthenticatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "expiresAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewerAuthenticatedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewReason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "consumedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "decisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "approvalId",
                "caseId",
                "expectedCaseVersion",
                "decision",
                "payloadHash",
                "state",
                "proposedBy",
                "proposedAt",
                "proposerAuthenticatedAt",
                "expiresAt",
                "reviewedBy",
                "reviewedAt",
                "reviewerAuthenticatedAt",
                "reviewReason",
                "consumedBy",
                "consumedAt",
                "decisionId",
                "version"
              ]
            },
            "maxItems": 0,
            "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
          },
          "approvalsNextBefore": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "case",
          "requiredConfirmation",
          "parties",
          "tickets",
          "evidenceRequests",
          "findings",
          "decisions",
          "holdHistory",
          "appeals",
          "collectionsIncluded",
          "hasApprovalHistory",
          "activeApproval",
          "activeAppeal",
          "latestDecision"
        ],
        "description": "Finite current case workspace. collectionsIncluded is false: empty embedded histories/approvals are deliberately not complete-empty evidence. Current activeApproval, activeAppeal and latestDecision are authoritative value-or-null, independent of loaded history pages; hasApprovalHistory does not grant approval."
      },
      "OrganizationVerificationParty": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "partyId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "role": {
            "enum": [
              "Claimant",
              "ExistingTenantRepresentative",
              "AuthorizedRepresentative",
              "AppPortalOperator"
            ]
          },
          "displayLabel": {
            "type": "string"
          },
          "authoritySnapshot": {
            "type": "string"
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          },
          "removedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "partyId",
          "userId",
          "role",
          "displayLabel",
          "authoritySnapshot",
          "addedBy",
          "addedAt",
          "removedAt"
        ]
      },
      "OpsVerificationPartiesPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "partyId": {
                  "type": "string"
                },
                "userId": {
                  "type": "string"
                },
                "role": {
                  "enum": [
                    "Claimant",
                    "ExistingTenantRepresentative",
                    "AuthorizedRepresentative",
                    "AppPortalOperator"
                  ]
                },
                "displayLabel": {
                  "type": "string"
                },
                "authoritySnapshot": {
                  "type": "string"
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "removedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "partyId",
                "userId",
                "role",
                "displayLabel",
                "authoritySnapshot",
                "addedBy",
                "addedAt",
                "removedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
      },
      "OrganizationVerificationTicketLink": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "partyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "enum": [
              "ClaimantCommunication",
              "ExistingTenantCommunication",
              "Evidence",
              "Appeal",
              "Internal"
            ]
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "ticketId",
          "partyId",
          "role",
          "addedBy",
          "addedAt"
        ]
      },
      "OpsVerificationTicketsPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "ticketId": {
                  "type": "string"
                },
                "partyId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "role": {
                  "enum": [
                    "ClaimantCommunication",
                    "ExistingTenantCommunication",
                    "Evidence",
                    "Appeal",
                    "Internal"
                  ]
                },
                "addedBy": {
                  "type": "string"
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "ticketId",
                "partyId",
                "role",
                "addedBy",
                "addedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
      },
      "OrganizationVerificationEvidenceRequest": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceRequestId": {
            "type": "string"
          },
          "partyId": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Requested",
              "Submitted",
              "Verified",
              "Rejected",
              "Expired",
              "Withdrawn"
            ]
          },
          "requestedBy": {
            "type": "string"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "dueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "submittedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "evidenceRequestId",
          "partyId",
          "description",
          "state",
          "requestedBy",
          "requestedAt",
          "dueAt",
          "submittedAt",
          "reviewedBy",
          "reviewedAt"
        ]
      },
      "OpsVerificationEvidenceRequestsPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "evidenceRequestId": {
                  "type": "string"
                },
                "partyId": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Requested",
                    "Submitted",
                    "Verified",
                    "Rejected",
                    "Expired",
                    "Withdrawn"
                  ]
                },
                "requestedBy": {
                  "type": "string"
                },
                "requestedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "dueAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "submittedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "reviewedBy": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reviewedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                }
              },
              "required": [
                "evidenceRequestId",
                "partyId",
                "description",
                "state",
                "requestedBy",
                "requestedAt",
                "dueAt",
                "submittedAt",
                "reviewedBy",
                "reviewedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
      },
      "OrganizationVerificationFinding": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "findingId": {
            "type": "string"
          },
          "evidenceRequestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "supersedesFindingId": {
            "type": [
              "string",
              "null"
            ]
          },
          "findingType": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "SupportsClaim",
              "ContradictsClaim",
              "Inconclusive"
            ]
          },
          "source": {
            "type": "string"
          },
          "recordedBy": {
            "type": "string"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "findingId",
          "evidenceRequestId",
          "supersedesFindingId",
          "findingType",
          "summary",
          "outcome",
          "source",
          "recordedBy",
          "recordedAt"
        ]
      },
      "OpsVerificationFindingsPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "findingId": {
                  "type": "string"
                },
                "evidenceRequestId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "supersedesFindingId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "findingType": {
                  "type": "string"
                },
                "summary": {
                  "type": "string"
                },
                "outcome": {
                  "enum": [
                    "SupportsClaim",
                    "ContradictsClaim",
                    "Inconclusive"
                  ]
                },
                "source": {
                  "type": "string"
                },
                "recordedBy": {
                  "type": "string"
                },
                "recordedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "findingId",
                "evidenceRequestId",
                "supersedesFindingId",
                "findingType",
                "summary",
                "outcome",
                "source",
                "recordedBy",
                "recordedAt"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
      },
      "OpsVerificationDecisionsPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "decisionId": {
                  "type": "string"
                },
                "supersedesDecisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "decisionType": {
                  "enum": [
                    "VerifyAndActivatePendingTenant",
                    "VerifyExistingTenantAndRejectClaim",
                    "RestoreAdministrator",
                    "RequireRename",
                    "MaintainHold",
                    "EscalateHold",
                    "RejectClaim",
                    "SuspendTenant",
                    "BanUser",
                    "ApproveAppeal"
                  ]
                },
                "reason": {
                  "type": "string"
                },
                "beforeVerificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ]
                },
                "afterVerificationState": {
                  "enum": [
                    "NotApplicable",
                    "Unverified",
                    "PendingReview",
                    "Verified",
                    "Disputed",
                    "Rejected",
                    "Suspended"
                  ]
                },
                "beforeHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "afterHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "decidedBy": {
                  "type": "string"
                },
                "secondApproverId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "authenticatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "decidedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingCaseVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "decisionId",
                "supersedesDecisionId",
                "decisionType",
                "reason",
                "beforeVerificationState",
                "afterVerificationState",
                "beforeHoldLevel",
                "afterHoldLevel",
                "decidedBy",
                "secondApproverId",
                "authenticatedAt",
                "decidedAt",
                "resultingCaseVersion"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
      },
      "OrganizationVerificationHoldEvent": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "holdEventId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "fromHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "toHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "reason": {
            "type": "string"
          },
          "actorId": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "holdEventId",
          "tenantId",
          "fromHoldLevel",
          "toHoldLevel",
          "reason",
          "actorId",
          "occurredAt",
          "resultingCaseVersion"
        ]
      },
      "OpsVerificationHoldHistoryPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "holdEventId": {
                  "type": "string"
                },
                "tenantId": {
                  "type": "string"
                },
                "fromHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "toHoldLevel": {
                  "enum": [
                    "None",
                    "ProvisioningHold",
                    "ManagementReadOnly",
                    "FullSuspension"
                  ]
                },
                "reason": {
                  "type": "string"
                },
                "actorId": {
                  "type": "string"
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resultingCaseVersion": {
                  "type": "integer"
                }
              },
              "required": [
                "holdEventId",
                "tenantId",
                "fromHoldLevel",
                "toHoldLevel",
                "reason",
                "actorId",
                "occurredAt",
                "resultingCaseVersion"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
      },
      "OrganizationVerificationAppeal": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appealId": {
            "type": "string"
          },
          "ticketId": {
            "type": "string"
          },
          "submittedByUserId": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Submitted",
              "UnderReview",
              "Approved",
              "Rejected",
              "Withdrawn"
            ]
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "resolutionDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "appealId",
          "ticketId",
          "submittedByUserId",
          "reason",
          "state",
          "submittedAt",
          "resolvedAt",
          "resolutionDecisionId",
          "version"
        ]
      },
      "OpsVerificationAppealsPage": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appealId": {
                  "type": "string"
                },
                "ticketId": {
                  "type": "string"
                },
                "submittedByUserId": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Submitted",
                    "UnderReview",
                    "Approved",
                    "Rejected",
                    "Withdrawn"
                  ]
                },
                "submittedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedAt": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time"
                },
                "resolutionDecisionId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "version": {
                  "type": "integer"
                }
              },
              "required": [
                "appealId",
                "ticketId",
                "submittedByUserId",
                "reason",
                "state",
                "submittedAt",
                "resolvedAt",
                "resolutionDecisionId",
                "version"
              ]
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "items",
          "nextCursor"
        ],
        "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
      },
      "OrganizationRenamePreview": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "caseId": {
            "type": "string"
          },
          "caseVersion": {
            "type": "integer"
          },
          "tenantId": {
            "type": "string"
          },
          "currentSlug": {
            "type": "string"
          },
          "requestedSlug": {
            "type": "string"
          },
          "proposedSlug": {
            "type": "string"
          },
          "currentName": {
            "type": "string"
          },
          "requestedName": {
            "type": [
              "string",
              "null"
            ]
          },
          "proposedName": {
            "type": "string"
          },
          "fingerprint": {
            "type": "string"
          },
          "legacyIdentityReserved": {
            "type": "boolean"
          },
          "dashboardPaths": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "beforePath": {
                  "type": "string"
                },
                "afterPath": {
                  "type": "string"
                }
              },
              "required": [
                "beforePath",
                "afterPath"
              ]
            }
          },
          "dashboardPathsComplete": {
            "type": "boolean"
          },
          "publicPagesImpact": {
            "type": "string"
          },
          "smartLinkDomainsImpact": {
            "type": "string"
          },
          "externalInventory": {
            "type": "string"
          }
        },
        "required": [
          "caseId",
          "caseVersion",
          "tenantId",
          "currentSlug",
          "requestedSlug",
          "proposedSlug",
          "currentName",
          "requestedName",
          "proposedName",
          "fingerprint",
          "legacyIdentityReserved",
          "dashboardPaths",
          "dashboardPathsComplete",
          "publicPagesImpact",
          "smartLinkDomainsImpact",
          "externalInventory"
        ]
      },
      "OrganizationRenamePathImpact": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "beforePath": {
            "type": "string"
          },
          "afterPath": {
            "type": "string"
          }
        },
        "required": [
          "beforePath",
          "afterPath"
        ]
      },
      "PreviewOrganizationRenameRequest": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "newTenantSlug": {
            "type": [
              "string",
              "null"
            ]
          },
          "expectedVersion": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          },
          "newTenantName": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "headers": {
      "ManagementProblemTraceId": {
        "description": "Opaque error correlation; matches the shared problem body's traceId.",
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_.:-]+$"
        }
      },
      "ManagementProblemCacheControl": {
        "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "x-appportal-typed-fragments": [
    {
      "source": "src/AppPortal.Admin.Api/ProductBetaAdminEndpoints.cs; src/AppPortal.AdminDomain/ProductBetaAccessService.cs; actual Contracts.Admin.SetProductBetaGrantRequest; src/AppPortal.Admin.Api/Program.cs; OperationsDirectoryPaginationEndpoints.cs; OperationsPageRequest.cs; OperationsDirectoryPageStore.cs; OperationsCapacityEndpoints.cs; actual Contracts capacity/directory DTOs; existing Ops BFF ingress; current organization-access handlers in src/AppPortal.Admin.Api/Program.cs; OperationsTenantCollectionPages.cs; OperationsPageRequest.cs; src/AppPortal.IdentityDomain/Persistence/PostgresIdentityManagementPageStore.cs; OrganizationAdmissionAdminEndpoints.cs; actual Contracts.Admin/Identity and pure IdentityDomain admission result records; SafeApiExceptionHandler.cs; ProtectedBrandAdminEndpoints{,.Rescans,.CaseEvidence}.cs; OrganizationVerificationAdminEndpoints.cs; actual Contracts.Verification; pure registry/evidence DTOs and OrganizationVerificationOptions; owning RegistryReader/Service, RescanService, CaseEvidenceReader and VerificationService source; SupportAdminEndpoints*.cs; SupportEvidenceAdminEndpoints.cs; SupportAttachmentHttp*.cs; SupportTicketService.Operator/Evidence/Pagination/ThreadPagination; SupportAttachmentService*.cs; actual Contracts.Support DTOs; AppDataBindingVisibility/Connectivity/MutationAdminEndpoints.cs; ObjectStorageBindingAdminEndpoints.cs; AdminDomain binding visibility/connection/mutation services; actual Contracts.Admin binding records; Admin.Api Program status routes/freeze middleware; OperationsCollectionPages/OperationsPageRequest; StatusEvidenceAdminEndpoints; Status metadata/evidence stores; actual Contracts.Status DTOs; Admin.Api commercial routes/QuoteCreateEndpoints/BillingPriceNoticeAdminEndpoints/EnterpriseBillingAdminEndpoints; actual Billing staff/notice/Enterprise/quote/catalog/agreement DTOs; pure BillingPriceNoticeHistoryPage source link; owning in-process stores/workflows; ServiceDefaults ManagementProblemDetailsMiddleware/ApiProblemContract; RegulatedWorkloadAdminEndpoints/Http/Service; OrganizationBrandingAdminEndpoints/PermissionService/TenantBrandingService; Admin.Api retention/FeatureFlagEndpoints/OperationsCollectionPages; TenantGovernanceService/SafeApiExceptionHandler; actual Contracts records; Admin.Api Program platform summary/metrics/account detail/plan catalog; PlatformObservedActivityEndpoints; PlatformVolumeHealthEndpoints; platform SDK adoption/provenance endpoints; actual Contracts.Platform/Admin/Billing DTOs; OpsConsoleBffEndpoints/OpsConsoleBffAuth/OpsConsoleBffMiddleware native browser session and OIDC protocol; OperationsCollectionPages.cs; OperationsPageRequest.cs; ManagementCollectionCursorCodec.cs; OperationsDisputedOrganizationEndpoints/Reader/DTO; TelemetryQuarantinePaginationEndpoints; TelemetryQuarantineAdminService.Pagination; Program disputed remediation routes; InProcessDisputedOrgSource/TenantRemediationService; actual Contracts lead/audit/disputed/quarantine DTOs; actual OperationsCapacityEndpoints.Pagination/OperationsCapacityReadModel.Pagination; OrganizationVerificationAdminEndpoints.Pagination/OrganizationVerificationService.Pagination; OrganizationBrandingAdminEndpoints.Pagination/PermissionService.Pagination; OperationsQueueRead/OperationsPageRequest; Contracts CapacityCursorPage/OrganizationBrandingWorkspacePage/PagedResult; OrganizationVerificationAdminEndpoints.ApprovalPagination/OrganizationVerificationService.ApprovalPagination; SmartLinkDomainReviewPaginationEndpoints/PostgresSmartLinkDomainReviewPageStore; OfferingEligibilityAdminEndpoints.SourcePages/OfferingDeclarationStore.ReadReviewSourceAsync; ProtectedBrandAdminEndpoints.HistoryPages/ProtectedBrandRegistryReader.HistoryPages; actual PagedResult/approval/domain/declaration/retained revision records; OrganizationVerificationAdminEndpoints.Workspace.cs; OrganizationVerificationService.CollectionPages.cs; OrganizationVerificationService.Workspace.cs; actual Contracts.Verification and PagedResult<T>",
      "coverage": "Fifty-two existing Ops operations: prior31 beta/directory/capacity/organization administration plus21 protected-brand registry/rescan/evidence and verification-case/review/decision operations. Source contracts preserve real independent operator authority, strict versus ordinary JSON readers, native revisions/keys and evidence versus authority-changing decisions. No runtime policy, provider mutation or deployed acceptance is added. Twenty existing published Ops Support operations use actual ticket/receipt, cursor, hold, attachment, proof and binary response bodies. Private queue metrics and customer-only Support doors are not added. Nine existing binding operations preserve configured/probed/unknown/candidate distinctions, exact command identity, current authority and safe projections. Twelve existing protected staff Status operations preserve native legacy commands, metadata revision/monitor ownership, observation uncertainty and independent signed-publication boundaries. Thirty commercial operations document the unavailable retired monetary view, actual subscription rows, notices, Enterprise receipts, catalog/agreement reads and non-binding quotes. No new provider contract, price, grant or payment authority is inferred. Fourteen existing configuration/evidence operations preserve recorded versus current approval, actual branding use/download consent and configured versus observed retention/flag state. Nine existing platform/account/catalog reads distinguish retained observations, nullable coverage and directory/catalog estimates from actual billing or runtime enforcement. Five existing native Ops browser-session operations retain redirects, optional-cookie summary and conditional CSRF without browser tokens. Twelve existing staff operations-evidence operations describe stored lead/audit projections, candidate scans, current claimants, actual remediation outcomes and payload-free quarantine pages without inventing grants, verified identity evidence or provider completion. Three existing staff queue/history page operations retain current authority, protected selection and unknown totals, with bounded legacy compatibility. Four protected review-source/history collections preserve existing decision/domain/commercial/registry authority while making legacy completeness explicit.",
      "representedRelease": null,
      "deployedRelease": null
    }
  ],
  "x-appportal-reference-source": "8bda8e8302d4ea5bd005ef1132f7267e82e6337c"
}
