{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/derive-to/json-schema/derive-to-artifact-invite-preview-schema.json",
  "title": "ArtifactInvitePreview",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/derive-to-sharing-api-openapi.yml#/components/schemas/ArtifactInvitePreview",
  "type": "object",
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "The artifact's title; null if untitled."
    },
    "role": {
      "type": "string",
      "enum": [
        "viewer",
        "commenter",
        "editor",
        "owner"
      ],
      "description": "The role this invite grants."
    },
    "email": {
      "type": "string",
      "description": "The email address the invite was addressed to."
    },
    "inviter": {
      "type": [
        "string",
        "null"
      ],
      "description": "The inviter's display name; null if unknown."
    }
  },
  "required": [
    "title",
    "role",
    "email",
    "inviter"
  ]
}