const jsonRef … type SimpleSchema … type simpleSchemaOmitZero … type CommonValidations … type commonValidationsOmitZero … type Items … // UnmarshalJSON hydrates this items instance with the data from JSON func (i *Items) UnmarshalJSON(data []byte) error { … } func (i *Items) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *jsonv2.Decoder) error { … } // MarshalJSON converts this items object to JSON func (i Items) MarshalJSON() ([]byte, error) { … } func (i Items) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2.Encoder) error { … }