package request

// OtherPersonAttributesInput carries the editable fields of a reusable non-staff person.
type OtherPersonAttributesInput 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 OtherPersonRequestData struct {
	Type       string                     `json:"type,omitempty" example:"other_person"`
	Attributes OtherPersonAttributesInput `json:"attributes"`
}

// OtherPersonRequest is the JSON:API body for create/update of the other-people master.
type OtherPersonRequest struct {
	Data OtherPersonRequestData `json:"data"`
}
