We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3756e6e commit b7f92eeCopy full SHA for b7f92ee
ocpp1.6/types/types.go
@@ -310,7 +310,7 @@ type SampledValue struct {
310
311
type MeterValue struct {
312
Timestamp *DateTime `json:"timestamp" validate:"required"`
313
- SampledValue []SampledValue `json:"sampledValue" validate:"required,min=1,dive"`
+ SampledValue []SampledValue `json:"sampledValue" validate:"required,dive"`
314
}
315
316
// Initialize validator
0 commit comments