validator refactor progress

This commit is contained in:
2026-03-03 00:13:37 -05:00
parent e14f53e7d9
commit 3898c43742
81 changed files with 6331 additions and 7934 deletions

View File

@ -1,9 +1,13 @@
[
{
"description": "maximum validation",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"maximum": 3.0
"database": {
"schemas": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"maximum": 3.0
}
]
},
"tests": [
{
@ -30,11 +34,15 @@
},
{
"description": "maximum validation with unsigned integer",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"maximum": 300
"database": {
"schemas": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"maximum": 300
}
]
},
"tests": [
"tests": [
{
"description": "below the maximum is invalid",
"data": 299.97,
@ -57,4 +65,4 @@
}
]
}
]
]