{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faable-com/json-schema/faable-com-post-team-teamid-invite-request-schema.json",
  "title": "PostTeamTeamidInviteRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/faable-com-openapi-generated.yml#/components/schemas/PostTeamTeamidInviteRequest",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "description": "The address to invite."
    },
    "roles": {
      "type": "array",
      "description": "Role ids the membership will hold."
    },
    "mode": {
      "type": "string",
      "description": "auto adds an existing user directly; invite always emails."
    },
    "accept_url": {
      "type": "string",
      "description": "Your page for accepting; token is appended as fragment."
    },
    "redirect_uri": {
      "type": "string",
      "description": "Where the person lands once in; also button of the email."
    },
    "inviter_user_id": {
      "type": "string",
      "description": "The person inviting; must be a user of the tenant."
    }
  },
  "required": [
    "email"
  ]
}