Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaStore ¶
type SchemaStore struct {
// contains filtered or unexported fields
}
func NewSchemaStore ¶
func NewSchemaStore() *SchemaStore
func (*SchemaStore) Validate ¶
Validate validates a JSON payload against a schema.
ctx - The context for the operation. Currently unused. schema - The schema ID (e.g. "iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0") raw - The raw JSON payload bytes to validate.
Returns an error if the payload is invalid against the schema, or nil if valid.
Click to show internal directories.
Click to hide internal directories.