{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-public-invitation-schema.json",
  "title": "PublicInvitation",
  "description": "リンクを開いた人に見せる招待。**宛先は伏せ字**——リンクを拾った人に\n宛先のアドレスを丸ごと見せない",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-invitations-api-openapi.yml#/components/schemas/PublicInvitation",
  "properties": {
    "shop_name": {
      "type": "string",
      "title": "Shop Name"
    },
    "email_hint": {
      "type": "string",
      "title": "Email Hint"
    },
    "role": {
      "type": "string",
      "enum": [
        "owner",
        "staff"
      ],
      "title": "Role"
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "expired",
        "accepted",
        "revoked"
      ],
      "title": "Status"
    }
  },
  "type": "object",
  "required": [
    "shop_name",
    "email_hint",
    "role",
    "status"
  ]
}