1 package model 2 3 import "time" 4 5 // MessageMetadata represents the message meta-data. TenantID/organization 6 // will be deprecated in favor of a better named Organization/organization_name 7 type MessageMetadata struct { 8 MessageType string `json:"type"` 9 TenantID string `json:"organization"` 10 OrganizationID string `json:"organization_id"` 11 OrganizationName string `json:"organization_name"` 12 SiteID string `json:"site_id"` 13 SiteName string `json:"site_name"` 14 CreatedAt time.Time `json:"created"` 15 Signature string `json:"signature"` 16 } 17