{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brandmov-com/json-schema/brandmov-com-get-meta-connection-response-schema.json",
  "title": "GetMetaConnectionResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/brandmov-com-openapi-generated.yml#/components/schemas/GetMetaConnectionResponse",
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "description": "Workspace ID"
    },
    "connected": {
      "type": "boolean",
      "description": "Connection status"
    },
    "meta_user_id": {
      "type": "string",
      "description": "Meta user ID"
    },
    "scopes": {
      "type": "array",
      "description": "Granted scopes"
    },
    "expires_at": {
      "type": "string",
      "description": "Token expiration"
    },
    "expired": {
      "type": "boolean",
      "description": "Whether token is expired"
    },
    "selected_ad_account_id": {
      "type": "string",
      "description": "Default ad account"
    },
    "writes_unlocked": {
      "type": "boolean",
      "description": "Write lock status"
    },
    "writes_unlock_at": {
      "type": "string",
      "description": "When writes will be unlocked"
    }
  }
}