{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postzen-dev/json-schema/postzen-dev-connect-complete-request-schema.json",
  "title": "ConnectCompleteRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postzen-dev-connect-api-openapi.yml#/components/schemas/ConnectCompleteRequest",
  "type": "object",
  "required": [
    "code",
    "state",
    "profileId"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "OAuth authorization code returned by the platform."
    },
    "state": {
      "type": "string",
      "description": "State returned by `GET /v1/connect/{platform}`."
    },
    "profileId": {
      "type": "string",
      "description": "PostZen profile id used when the connection was initiated."
    }
  }
}