package eform import "encoding/xml" // ===================================================== // PROCUREMENT PROJECT // ===================================================== // ProcurementProject represents the procurement project type ProcurementProject struct { XMLName xml.Name `xml:"ProcurementProject"` ID string `xml:"ID"` Name string `xml:"Name"` Description string `xml:"Description"` ProcurementTypeCode string `xml:"ProcurementTypeCode"` Note string `xml:"Note,omitempty"` RequestedTenderTotal RequestedTenderTotal `xml:"RequestedTenderTotal,omitempty"` MainCommodityClassification MainCommodityClassification `xml:"MainCommodityClassification,omitempty"` RealizedLocation RealizedLocation `xml:"RealizedLocation,omitempty"` PlannedPeriod PlannedPeriod `xml:"PlannedPeriod,omitempty"` } // RequestedTenderTotal represents the estimated contract amount type RequestedTenderTotal struct { XMLName xml.Name `xml:"RequestedTenderTotal"` EstimatedOverallContractAmount string `xml:"EstimatedOverallContractAmount"` } // MainCommodityClassification represents the CPV code type MainCommodityClassification struct { ItemClassificationCode string `json:"item_classification_code" xml:"ItemClassificationCode"` } // RealizedLocation represents the location where work will be performed type RealizedLocation struct { Address PostalAddress `xml:"PostalAddress"` Region string `xml:"Region,omitempty"` } // PlannedPeriod represents the planned duration of the contract type PlannedPeriod struct { DurationMeasure DurationMeasure `json:"duration_measure" xml:"DurationMeasure"` } // DurationMeasure represents a duration with unit type DurationMeasure struct { UnitCode string `json:"unit_code" xml:"unitCode,attr"` Value string `json:"value" xml:",chardata"` }