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": "by int",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"multipleOf": 2
"database": {
"schemas": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"multipleOf": 2
}
]
},
"tests": [
{
@ -25,9 +29,13 @@
},
{
"description": "by number",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"multipleOf": 1.5
"database": {
"schemas": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"multipleOf": 1.5
}
]
},
"tests": [
{
@ -49,9 +57,13 @@
},
{
"description": "by small number",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"multipleOf": 0.0001
"database": {
"schemas": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"multipleOf": 0.0001
}
]
},
"tests": [
{
@ -68,10 +80,14 @@
},
{
"description": "small multiple of large integer",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "integer",
"multipleOf": 1e-8
"database": {
"schemas": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "integer",
"multipleOf": 1e-8
}
]
},
"tests": [
{