Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSchema string
View Source
var IdentityExtensionSchema string
View Source
var IdentityMetaSchema string
Functions ¶
func AddSchemaResources ¶
func AddSchemaResources(c interface { AddResource(url string, r io.Reader) error }, opts ...SchemaType) error
AddSchemaResources adds the specified schemas including their dependencies to the compiler. The interface is specified instead of `jsonschema.Compiler` to allow the use of any jsonschema library fork or version.
Types ¶
type SchemaType ¶
type SchemaType int
const ( Config SchemaType = iota IdentityMeta IdentityExtension )
func (SchemaType) GetSchemaID ¶
func (s SchemaType) GetSchemaID() string
Click to show internal directories.
Click to hide internal directories.