{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seamlessevents-io/json-schema/seamlessevents-io-attendee-base-output-schema.json",
  "title": "AttendeeBase",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seamlessevents-io-openapi.json#/components/schemas/AttendeeBase-Output",
  "properties": {
    "eventId": {
      "type": "string",
      "format": "uuid",
      "title": "Eventid"
    },
    "registrationId": {
      "type": "string",
      "format": "uuid",
      "title": "Registrationid"
    },
    "ticketTypeId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tickettypeid"
    },
    "firstName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Firstname"
    },
    "lastName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lastname"
    },
    "email": {
      "anyOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "phoneNumber": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Phonenumber"
    },
    "companyName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Companyname"
    },
    "jobTitle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jobtitle"
    },
    "userId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Userid"
    },
    "answers": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/AttendeeAnswerCreate"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Answers"
    },
    "id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Id"
    },
    "reference": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reference"
    },
    "number": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Number"
    },
    "price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price"
    },
    "priceLessTax": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pricelesstax"
    },
    "state": {
      "type": "string",
      "title": "State",
      "default": "unassigned"
    },
    "assigned": {
      "type": "boolean",
      "title": "Assigned",
      "default": false
    },
    "void": {
      "type": "boolean",
      "title": "Void",
      "default": false
    },
    "checkedIn": {
      "type": "boolean",
      "title": "Checkedin",
      "default": false
    },
    "checkedInAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Checkedinat"
    },
    "testMode": {
      "type": "boolean",
      "title": "Testmode",
      "default": false
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata"
    },
    "discountCodeUsed": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Discountcodeused"
    },
    "createdAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Createdat"
    },
    "updatedAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updatedat"
    },
    "eventSlug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Eventslug"
    },
    "fullName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fullname",
      "readOnly": true
    },
    "ticketTypeTitle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tickettypetitle",
      "readOnly": true
    },
    "ticketTypeSlug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tickettypeslug",
      "readOnly": true
    },
    "uniqueUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Uniqueurl",
      "description": "Attendee's unique ticket URL.",
      "readOnly": true
    },
    "qrUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Qrurl",
      "description": "QR code URL for check-in.",
      "readOnly": true
    },
    "avatarUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Avatarurl",
      "description": "Gravatar URL based on email.",
      "readOnly": true
    },
    "totalPaid": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Totalpaid",
      "description": "Gross price paid for this ticket.",
      "readOnly": true
    },
    "totalPaidLessTax": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Totalpaidlesstax",
      "description": "Net price paid for this ticket.",
      "readOnly": true
    },
    "tags": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags",
      "description": "Comma-separated tags from metadata.",
      "readOnly": true
    }
  },
  "type": "object",
  "required": [
    "eventId",
    "registrationId",
    "fullName",
    "ticketTypeTitle",
    "ticketTypeSlug",
    "uniqueUrl",
    "qrUrl",
    "avatarUrl",
    "totalPaid",
    "totalPaidLessTax",
    "tags"
  ],
  "$defs": {
    "AttendeeAnswerCreate": {
      "properties": {
        "attendeeId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Attendeeid"
        },
        "questionId": {
          "type": "string",
          "format": "uuid",
          "title": "Questionid"
        },
        "primaryResponse": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Primaryresponse"
        },
        "alternateResponse": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Alternateresponse"
        },
        "fileUrl": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fileurl"
        }
      },
      "type": "object",
      "required": [
        "questionId"
      ],
      "title": "AttendeeAnswerCreate"
    }
  }
}