{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-invitation-preview-response-schema.json",
  "title": "InvitationPreviewResponse",
  "description": "Public preview of an invitation, looked up by its token.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-auth-api-openapi.yml#/components/schemas/InvitationPreviewResponse",
  "properties": {
    "org_name": {
      "type": "string",
      "title": "Org Name"
    },
    "email": {
      "type": "string",
      "title": "Email"
    },
    "role": {
      "$ref": "#/$defs/OrgRole"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    }
  },
  "type": "object",
  "required": [
    "org_name",
    "email",
    "role",
    "expires_at"
  ],
  "$defs": {
    "OrgRole": {
      "type": "string",
      "enum": [
        "owner",
        "admin",
        "member"
      ],
      "title": "OrgRole"
    }
  }
}