mirror of
https://github.com/Bornholm/formidable.git
synced 2024-12-23 15:29:33 +01:00
13 lines
320 B
Go
13 lines
320 B
Go
|
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)
|