diff --git a/api/plex/plex_models/tax_return.go b/api/plex/plex_models/tax_return.go index 0906764..f803fe9 100644 --- a/api/plex/plex_models/tax_return.go +++ b/api/plex/plex_models/tax_return.go @@ -43,9 +43,6 @@ type TaxReturn struct { // district taxes DistrictTaxes []*DistrictTaxes `json:"DistrictTaxes"` - // estimated report - EstimatedReport *TaxReturnPanel `json:"EstimatedReport,omitempty"` - // excess tax collected ExcessTaxCollected float64 `json:"ExcessTaxCollected,omitempty"` @@ -142,10 +139,6 @@ func (m *TaxReturn) Validate(formats strfmt.Registry) error { res = append(res, err) } - if err := m.validateEstimatedReport(formats); err != nil { - res = append(res, err) - } - if err := m.validateSummaryReport(formats); err != nil { res = append(res, err) } @@ -256,24 +249,6 @@ func (m *TaxReturn) validateDistrictTaxes(formats strfmt.Registry) error { return nil } -func (m *TaxReturn) validateEstimatedReport(formats strfmt.Registry) error { - - if swag.IsZero(m.EstimatedReport) { // not required - return nil - } - - if m.EstimatedReport != nil { - if err := m.EstimatedReport.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("EstimatedReport") - } - return err - } - } - - return nil -} - func (m *TaxReturn) validateSummaryReport(formats strfmt.Registry) error { if swag.IsZero(m.SummaryReport) { // not required diff --git a/swagger/plex-taxnexus.yaml b/swagger/plex-taxnexus.yaml index 4af8362..574e3c5 100644 --- a/swagger/plex-taxnexus.yaml +++ b/swagger/plex-taxnexus.yaml @@ -328,8 +328,6 @@ definitions: format: double SummaryReport: $ref: "#/definitions/TaxReturnPanel" - EstimatedReport: - $ref: "#/definitions/TaxReturnPanel" CountyReports: items: $ref: "#/definitions/TaxReturnPanel"