chore: JSPG Engine tuple decoupling and core routing optimizations

This commit is contained in:
2026-04-13 22:41:32 -04:00
parent 665a821bf9
commit 0017c598e1
57 changed files with 5510 additions and 5166 deletions

View File

@ -2,8 +2,8 @@
{
"description": "object properties validation",
"database": {
"schemas": [
{
"schemas": {
"properties_0_0": {
"properties": {
"foo": {
"type": "integer"
@ -11,10 +11,9 @@
"bar": {
"type": "string"
}
},
"$id": "properties_0_0"
}
}
]
}
},
"tests": [
{
@ -85,15 +84,14 @@
{
"description": "properties with boolean schema",
"database": {
"schemas": [
{
"schemas": {
"properties_1_0": {
"properties": {
"foo": true,
"bar": false
},
"$id": "properties_1_0"
}
}
]
}
},
"tests": [
{
@ -144,8 +142,8 @@
{
"description": "properties with escaped characters",
"database": {
"schemas": [
{
"schemas": {
"properties_2_0": {
"properties": {
"foo\nbar": {
"type": "number"
@ -165,10 +163,9 @@
"foo\fbar": {
"type": "number"
}
},
"$id": "properties_2_0"
}
}
]
}
},
"tests": [
{
@ -208,16 +205,15 @@
{
"description": "properties with null valued instance properties",
"database": {
"schemas": [
{
"schemas": {
"properties_3_0": {
"properties": {
"foo": {
"type": "null"
}
},
"$id": "properties_3_0"
}
}
]
}
},
"tests": [
{
@ -237,8 +233,8 @@
"description": "properties whose names are Javascript object property names",
"comment": "Ensure JS implementations don't universally consider e.g. __proto__ to always be present in an object.",
"database": {
"schemas": [
{
"schemas": {
"properties_4_0": {
"properties": {
"__proto__": {
"type": "number"
@ -253,10 +249,9 @@
"constructor": {
"type": "number"
}
},
"$id": "properties_4_0"
}
}
]
}
},
"tests": [
{
@ -343,17 +338,16 @@
{
"description": "extensible: true allows extra properties",
"database": {
"schemas": [
{
"schemas": {
"properties_5_0": {
"properties": {
"foo": {
"type": "integer"
}
},
"extensible": true,
"$id": "properties_5_0"
"extensible": true
}
]
}
},
"tests": [
{
@ -373,16 +367,15 @@
{
"description": "strict by default: extra properties invalid",
"database": {
"schemas": [
{
"schemas": {
"properties_6_0": {
"properties": {
"foo": {
"type": "string"
}
},
"$id": "properties_6_0"
}
}
]
}
},
"tests": [
{
@ -402,8 +395,8 @@
{
"description": "inheritance: nested object inherits strictness from strict parent",
"database": {
"schemas": [
{
"schemas": {
"properties_7_0": {
"properties": {
"nested": {
"properties": {
@ -412,10 +405,9 @@
}
}
}
},
"$id": "properties_7_0"
}
}
]
}
},
"tests": [
{
@ -437,8 +429,8 @@
{
"description": "override: nested object allows extra properties if extensible: true",
"database": {
"schemas": [
{
"schemas": {
"properties_8_0": {
"properties": {
"nested": {
"extensible": true,
@ -448,10 +440,9 @@
}
}
}
},
"$id": "properties_8_0"
}
}
]
}
},
"tests": [
{
@ -473,8 +464,8 @@
{
"description": "inheritance: nested object inherits looseness from loose parent",
"database": {
"schemas": [
{
"schemas": {
"properties_9_0": {
"extensible": true,
"properties": {
"nested": {
@ -484,10 +475,9 @@
}
}
}
},
"$id": "properties_9_0"
}
}
]
}
},
"tests": [
{
@ -509,8 +499,8 @@
{
"description": "override: nested object enforces strictness if extensible: false",
"database": {
"schemas": [
{
"schemas": {
"properties_10_0": {
"extensible": true,
"properties": {
"nested": {
@ -521,10 +511,9 @@
}
}
}
},
"$id": "properties_10_0"
}
}
]
}
},
"tests": [
{
@ -546,8 +535,8 @@
{
"description": "arrays: inline items inherit strictness from strict parent",
"database": {
"schemas": [
{
"schemas": {
"properties_11_0": {
"properties": {
"list": {
"type": "array",
@ -559,10 +548,9 @@
}
}
}
},
"$id": "properties_11_0"
}
}
]
}
},
"tests": [
{
@ -586,8 +574,8 @@
{
"description": "arrays: inline items inherit looseness from loose parent",
"database": {
"schemas": [
{
"schemas": {
"properties_12_0": {
"extensible": true,
"properties": {
"list": {
@ -600,10 +588,9 @@
}
}
}
},
"$id": "properties_12_0"
}
}
]
}
},
"tests": [
{