Plane docs
ApiSchemas

IdentityNotSwitchableEncoded

One shape from the contract, as it appears on the wire.

Used by sessions.send

JSON Schema

{
  "type": "object",
  "properties": {
    "_tag": {
      "type": "string",
      "enum": [
        "IdentityNotSwitchable"
      ]
    },
    "sessionId": {
      "$ref": "#/components/schemas/SessionId"
    },
    "reason": {
      "type": "string",
      "enum": [
        "policy",
        "child"
      ]
    }
  },
  "required": [
    "_tag",
    "sessionId",
    "reason"
  ],
  "additionalProperties": false
}

On this page