{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autoposting-ai/json-schema/autoposting-ai-invite-link-schema.json",
  "title": "InviteLink",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autoposting-ai-teams-api-openapi.yml#/components/schemas/InviteLink",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "token": {
      "type": "string"
    },
    "joinUrl": {
      "type": "string"
    },
    "uses": {
      "type": "integer"
    },
    "maxUses": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Maximum number of uses; null for unlimited."
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "ISO 8601 expiry; null for no expiry."
    }
  }
}