{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mindcloud/json-schema/mindcloud-connect-link-schema.json",
  "title": "ConnectLink",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mindcloud-embedded-api-openapi.yml#/components/schemas/ConnectLink",
  "type": "object",
  "properties": {
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Show this URL only to the intended end user. The link lasts fifteen minutes and works once."
    },
    "appName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The app the user will connect."
    },
    "expiresOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the connection link expires."
    },
    "singleUse": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Always true. Request a new link if this one was consumed."
    }
  },
  "required": [
    "url",
    "appName",
    "expiresOn",
    "singleUse"
  ]
}