added realm to jspg processing
This commit is contained in:
@ -73,13 +73,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "family_entity",
|
||||
"schemas": {
|
||||
"family_entity": {
|
||||
"family": "entity"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"schemas": {
|
||||
"family_entity": {
|
||||
"family": "entity"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -222,13 +225,16 @@
|
||||
"type": "light.entity"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "family_light_org",
|
||||
"schemas": {
|
||||
"family_light_org": {
|
||||
"family": "light.organization"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"schemas": {
|
||||
"family_light_org": {
|
||||
"family": "light.organization"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -315,16 +321,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"schemas": {
|
||||
"family_widget": {
|
||||
"family": "widget"
|
||||
},
|
||||
"family_stock_widget": {
|
||||
"family": "stock.widget"
|
||||
{
|
||||
"name": "family_widget",
|
||||
"schemas": {
|
||||
"family_widget": {
|
||||
"family": "widget"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "family_stock_widget",
|
||||
"schemas": {
|
||||
"family_stock_widget": {
|
||||
"family": "stock.widget"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -463,20 +477,23 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"schemas": {
|
||||
"oneOf_union": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "full.person"
|
||||
},
|
||||
{
|
||||
"type": "full.bot"
|
||||
},
|
||||
{
|
||||
"name": "oneOf_union",
|
||||
"schemas": {
|
||||
"oneOf_union": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "full.person"
|
||||
},
|
||||
{
|
||||
"type": "full.bot"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -559,48 +576,58 @@
|
||||
{
|
||||
"description": "JSONB Field Bubble oneOf Discrimination (Promoted IDs)",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
"types": [
|
||||
{
|
||||
"name": "metadata",
|
||||
"schemas": {
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"invoice.metadata": {
|
||||
"type": "metadata",
|
||||
"properties": {
|
||||
"invoice_id": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"invoice_id"
|
||||
]
|
||||
},
|
||||
"payment.metadata": {
|
||||
"type": "metadata",
|
||||
"properties": {
|
||||
"payment_id": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"payment_id"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"invoice.metadata": {
|
||||
"type": "metadata",
|
||||
"properties": {
|
||||
"invoice_id": {
|
||||
"type": "integer"
|
||||
{
|
||||
"name": "oneOf_bubble",
|
||||
"schemas": {
|
||||
"oneOf_bubble": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "invoice.metadata"
|
||||
},
|
||||
{
|
||||
"type": "payment.metadata"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"invoice_id"
|
||||
]
|
||||
},
|
||||
"payment.metadata": {
|
||||
"type": "metadata",
|
||||
"properties": {
|
||||
"payment_id": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"payment_id"
|
||||
]
|
||||
},
|
||||
"oneOf_bubble": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "invoice.metadata"
|
||||
},
|
||||
{
|
||||
"type": "payment.metadata"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -675,16 +702,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"schemas": {
|
||||
"stock_widget_validation": {
|
||||
"type": "stock.widget"
|
||||
},
|
||||
"projected_widget_validation": {
|
||||
"type": "projected.widget"
|
||||
{
|
||||
"name": "stock_widget_validation",
|
||||
"schemas": {
|
||||
"stock_widget_validation": {
|
||||
"type": "stock.widget"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "projected_widget_validation",
|
||||
"schemas": {
|
||||
"projected_widget_validation": {
|
||||
"type": "projected.widget"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user