all jspg tests now passing

This commit is contained in:
2026-03-04 01:02:32 -05:00
parent e7f20e2cb6
commit 566b599512
32 changed files with 531 additions and 1068 deletions

View File

@ -5,8 +5,10 @@
"types": [
{
"name": "entity",
"hierarchy": [
"entity"
"variations": [
"entity",
"organization",
"person"
],
"schemas": [
{
@ -22,16 +24,16 @@
}
},
{
"$id": "entity.light",
"$id": "light.entity",
"$ref": "entity"
}
]
},
{
"name": "organization",
"hierarchy": [
"entity",
"organization"
"variations": [
"organization",
"person"
],
"schemas": [
{
@ -47,9 +49,7 @@
},
{
"name": "person",
"hierarchy": [
"entity",
"organization",
"variations": [
"person"
],
"schemas": [
@ -63,8 +63,8 @@
}
},
{
"$id": "person.light",
"$ref": "entity.light"
"$id": "light.person",
"$ref": "light.entity"
}
]
}
@ -84,7 +84,7 @@
"schemas": [
{
"$id": "get_light_entities.response",
"$family": "entity.light"
"$family": "light.entity"
}
]
}
@ -112,7 +112,7 @@
"valid": true
},
{
"description": "Graph family matches entity.light",
"description": "Graph family matches light.entity",
"schema_id": "get_light_entities.response",
"data": {
"id": "3",
@ -121,7 +121,7 @@
"valid": true
},
{
"description": "Graph family matches person.light (because it $refs entity.light)",
"description": "Graph family matches light.person (because it $refs light.entity)",
"schema_id": "get_light_entities.response",
"data": {
"id": "4",
@ -130,7 +130,7 @@
"valid": true
},
{
"description": "Graph family excludes organization (missing .light schema that $refs entity.light)",
"description": "Graph family excludes organization (missing light. schema that $refs light.entity)",
"schema_id": "get_light_entities.response",
"data": {
"id": "5",