Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
Validate validates the input argument against JSON schema. If the input is not valid the error is returned. The first argument is the file name of the JSON schema. It is used to build file URI required to load the JSON schema. The second argument is the input string that is validated.
Types ¶
type ValidationField ¶
type ValidationField struct { Keyword string KeywordValue interface{} }
ValidationField is a struct used in JSON schema
Click to show internal directories.
Click to hide internal directories.