{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aimeat-io/json-schema/aimeat-io-public-provider-client-schema.json",
  "title": "PublicProviderClient",
  "description": "A client registration a principal made themselves. The secret is deliberately absent: it is write-only, like every other secret in this feature.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aimeat-io-connections-api-openapi.yml#/components/schemas/PublicProviderClient",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string"
    },
    "clientId": {
      "type": "string"
    },
    "tenant": {
      "type": [
        "string",
        "null"
      ],
      "description": "Microsoft only: which Entra directory this app is registered in. Not a secret, and returned on purpose — it decides whether the sign-in reaches the right directory at all, so whoever set it can read back what they set. Null when none was given, which means the node's own setting applies.\n"
    },
    "registeredAt": {
      "type": "string",
      "format": "date-time"
    },
    "connectionCount": {
      "type": "integer",
      "description": "Connected accounts created with this app. They can only be renewed by it, so this is also how many would stop renewing if it were removed.\n"
    }
  }
}