{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-invitation-input-schema.json",
  "title": "InvitationInput",
  "description": "運営がメールアドレスと店と役割を選んで招待する。**アドレスは小文字に\nそろえる** (ログインした人のアドレスと lower で突き合わせる)。\n\n役割は必ず選ばせる (黙って店の管理者を作らない)",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-admin-users-api-openapi.yml#/components/schemas/InvitationInput",
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    },
    "shop_id": {
      "type": "string",
      "title": "Shop Id"
    },
    "role": {
      "type": "string",
      "enum": [
        "owner",
        "staff"
      ],
      "title": "Role"
    }
  },
  "type": "object",
  "required": [
    "email",
    "shop_id",
    "role"
  ]
}