add example
s-ol
8 months ago
0 | |
data
|
|
0 |
*.json
|
|
1 |
example/*/!.config.json
|
|
2 |
example/*/!.schema.json
|
|
0 |
{
|
|
1 |
"RefererPattern": "^https://localhost($|/)",
|
|
2 |
"RedirectTemplate": "https://localhost/form?id={{.Id}}&key={{.Key}}"
|
|
3 |
}
|
|
0 |
{
|
|
1 |
"$id": "https://json-hopper.s-ol.nu/test/schema.json",
|
|
2 |
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3 |
"title": "Test",
|
|
4 |
"type": "object",
|
|
5 |
"properties": {
|
|
6 |
"email": {
|
|
7 |
"type": "string",
|
|
8 |
"description": "The person's first name.",
|
|
9 |
"format": "email"
|
|
10 |
},
|
|
11 |
"ages": {
|
|
12 |
"type": "array",
|
|
13 |
"items": {
|
|
14 |
"type": "integer",
|
|
15 |
"minimum": 0
|
|
16 |
}
|
|
17 |
},
|
|
18 |
"firstName": {
|
|
19 |
"type": "string",
|
|
20 |
"description": "The person's first name."
|
|
21 |
},
|
|
22 |
"lastName": {
|
|
23 |
"type": "string",
|
|
24 |
"description": "The person's last name."
|
|
25 |
}
|
|
26 |
},
|
|
27 |
"additionalProperties": false,
|
|
28 |
"minProperties": 1
|
|
29 |
}
|