type schemaPropsValidator … func (s *schemaPropsValidator) SetPath(path string) { … } func newSchemaPropsValidator(path string, in string, allOf, oneOf, anyOf []spec.Schema, not *spec.Schema, deps spec.Dependencies, root interface{ … } func (s *schemaPropsValidator) Applies(source interface{ … } func (s *schemaPropsValidator) Validate(data interface{ … }