Initial commit

This commit is contained in:
2022-03-22 09:21:55 +01:00
commit ada7f18e36
49 changed files with 2635 additions and 0 deletions

12
internal/def/schema.go Normal file
View File

@ -0,0 +1,12 @@
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)