diff --git a/cyclonedx.go b/cyclonedx.go index cff0327..d43cb4f 100644 --- a/cyclonedx.go +++ b/cyclonedx.go @@ -1059,6 +1059,7 @@ type OrganizationalContact struct { type OrganizationalEntity struct { Name string `json:"name" xml:"name"` + Address *PostalAddress `json:"address,omitempty" xml:"address,omitempty"` URL *[]string `json:"url,omitempty" xml:"url,omitempty"` Contact *[]OrganizationalContact `json:"contact,omitempty" xml:"contact,omitempty"` } @@ -1098,6 +1099,16 @@ type Pedigree struct { Notes string `json:"notes,omitempty" xml:"notes,omitempty"` } +type PostalAddress struct { + BOMRef string `json:"bom-ref,omitempty" xml:"bom-ref,attr,omitempty"` + Country string `json:"country,omitempty" xml:"country,omitempty"` + Region string `json:"region,omitempty" xml:"region,omitempty"` + Locality string `json:"locality,omitempty" xml:"locality,omitempty"` + PostOfficeBoxNumber string `json:"postOfficeBoxNumber,omitempty" xml:"postOfficeBoxNumber,omitempty"` + PostalCode string `json:"postalCode,omitempty" xml:"postalCode,omitempty"` + StreetAddress string `json:"streetAddress,omitempty" xml:"streetAddress,omitempty"` +} + type ProofOfConcept struct { ReproductionSteps string `json:"reproductionSteps,omitempty" xml:"reproductionSteps,omitempty"` Environment string `json:"environment,omitempty" xml:"environment,omitempty"`