{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faxforagents/json-schema/faxforagents-invitation-list-schema.json",
  "title": "InvitationList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faxforagents-members-api-openapi.yml#/components/schemas/InvitationList",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/Invitation"
      },
      "type": "array",
      "title": "Items"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "items"
  ],
  "$defs": {
    "Invitation": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "email": {
          "type": "string",
          "title": "Email"
        },
        "role": {
          "type": "string",
          "enum": [
            "owner",
            "admin",
            "member",
            "viewer"
          ],
          "title": "Role"
        },
        "invited_by": {
          "type": "string",
          "title": "Invited By"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        },
        "expires_at": {
          "type": "string",
          "title": "Expires At"
        },
        "accepted_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Accepted At"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "email",
        "role",
        "invited_by",
        "created_at",
        "expires_at",
        "accepted_at"
      ],
      "title": "Invitation"
    }
  }
}