package response

type OtherPersonAttributes struct {
	Name        string `json:"name" example:"Guest Person"`
	MobilePhone string `json:"mobile_phone,omitempty" example:"+43-1234"`
	Email       string `json:"email,omitempty" example:"guest@example.com"`
}

type OtherPersonResource struct {
	Type       string                `json:"type" example:"other_person"`
	ID         string                `json:"id" example:"019d6771-5fb5-7337-837f-bc5ed85181a1"`
	Attributes OtherPersonAttributes `json:"attributes"`
}

type OtherPersonListResponse struct {
	Data []OtherPersonResource `json:"data"`
	Meta struct {
		Total int64 `json:"total" example:"1"`
	} `json:"meta"`
}

type OtherPersonResponse struct {
	Data OtherPersonResource `json:"data"`
}
