Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractSchemaDefinition ¶
ExtractSchemaDefinition extracts the actual schema definition from the wider structure, which includes $ref, $schema, etc.
func MergeSchemas ¶
MergeSchemas merges a source schema onto a target one, applying various validations,,
func ValidateSchemaProperty ¶
ValidateSchemaProperty recursively runs a minimal validation on schema property, which is not performed by the gojsonlibrary we're currently using. It checks that: a property of type "object" has a map of properties, named "properties" a property of type "array" has the definition of each item as "items" the attribute "anyOf", in a property with no type, is a list of properties
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.