{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-connected-app-list-schema.json",
  "title": "ConnectedAppList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendly-now-connections-api-openapi.yml#/components/schemas/ConnectedAppList",
  "properties": {
    "data": {
      "items": {
        "properties": {
          "activeGrants": {
            "description": "Live refresh grants; 0 means it can mint no new token.",
            "type": "integer"
          },
          "clientId": {
            "type": "string"
          },
          "connectedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "icon": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastUsedAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "scopes": {
            "description": "The permissions the person approved.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "uri": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "clientId",
          "name",
          "icon",
          "uri",
          "scopes",
          "connectedAt",
          "lastUsedAt",
          "activeGrants"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "success": {
      "enum": [
        true
      ],
      "type": "boolean"
    }
  },
  "required": [
    "success",
    "data"
  ],
  "type": "object"
}