mirror of
https://github.com/Bornholm/formidable.git
synced 2025-07-18 11:31:34 +02:00
Initial commit
This commit is contained in:
12
internal/def/schema.go
Normal file
12
internal/def/schema.go
Normal 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)
|
Reference in New Issue
Block a user