formidable/internal/def/schema.go

13 lines
320 B
Go
Raw Normal View History

2022-03-22 09:21:55 +01:00
package def
import "github.com/santhosh-tekuri/jsonschema/v5"
const rawSchema = `
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Formidable default schema",
"type": ["null", "boolean", "object", "array", "number", "string"]
}`
var Schema = jsonschema.MustCompileString("", rawSchema)