{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-create-workspace-invite-response-schema.json",
  "title": "CreateWorkspaceInviteResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-account-api-openapi.yml#/components/schemas/CreateWorkspaceInviteResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "role": {
      "type": "string",
      "description": "`admin` or `member`."
    },
    "status": {
      "type": "string",
      "description": "`pending` until the person accepts, declines or the invite expires."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the invite stops working."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the invite was created."
    },
    "organizationId": {
      "type": "string",
      "description": "The workspace the invite is for."
    },
    "acceptPath": {
      "type": "string",
      "description": "Dashboard path the invited person opens to accept."
    },
    "workspaceSiteCount": {
      "type": "number",
      "description": "How many sites a new teammate will see. Use it in a confirmation like \"Add teammate: sees all N sites\"."
    },
    "emailSent": {
      "type": "boolean",
      "description": "True when an email was sent. False when email is not configured on this server, so share `acceptPath` yourself."
    }
  },
  "required": [
    "id",
    "email",
    "role",
    "status",
    "expiresAt",
    "createdAt",
    "organizationId",
    "acceptPath",
    "workspaceSiteCount",
    "emailSent"
  ]
}