{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mindcloud/json-schema/mindcloud-embedded-connection-schema.json",
  "title": "EmbeddedConnection",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mindcloud-embedded-api-openapi.yml#/components/schemas/EmbeddedConnection",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The public connection ID to pass to runs, lookups, or repair links."
    },
    "appSlug": {
      "type": [
        "string",
        "null"
      ],
      "description": "The app slug used in Universal API routes."
    },
    "appName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The app display name."
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "The account label the user can recognize."
    },
    "status": {
      "type": [
        "string",
        "null"
      ],
      "description": "The current connection status."
    },
    "connectedOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the account connected, or when its credential was created."
    }
  },
  "required": [
    "id",
    "appSlug",
    "appName",
    "label",
    "status",
    "connectedOn"
  ]
}