package schema

type Domain struct {
	Metadata Metadata `xml:"metadata"`
}

type Metadata struct {
	DeevirtInstance Instance `xml:"instance"`
}

type Instance struct {
	DeevirtCompanyID    string `xml:"company_id"`
	DeevirtDatacenterID string `xml:"datacenter_id"`
}

// JSON SCHEMA for AMQP
type DomainStateJSON struct {
	CompanyID    string `json:"company_id"`
	DatacenterID string `json:"datacenter_id"`
	DomainID     string `json:"domain_id"`
	State        int64  `json:"state"`
}
