{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fnlowl-com/json-schema/fnlowl-com-integration-schema.json",
  "title": "Integration",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fnlowl-com-integrations-api-openapi.yml#/components/schemas/Integration",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "manual",
        "oauth"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "connected",
        "available",
        "soon"
      ]
    },
    "connectedAt": {
      "type": [
        "integer",
        "null"
      ]
    },
    "lastError": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "provider",
    "name",
    "kind",
    "status",
    "connectedAt",
    "lastError"
  ]
}