added realm to jspg processing
This commit is contained in:
@ -2,11 +2,16 @@
|
||||
{
|
||||
"description": "integer type matches integers",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_0_0": {
|
||||
"type": "integer"
|
||||
"types": [
|
||||
{
|
||||
"name": "type_0_0",
|
||||
"schemas": {
|
||||
"type_0_0": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -95,11 +100,16 @@
|
||||
{
|
||||
"description": "number type matches numbers",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_1_0": {
|
||||
"type": "number"
|
||||
"types": [
|
||||
{
|
||||
"name": "type_1_0",
|
||||
"schemas": {
|
||||
"type_1_0": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -188,11 +198,16 @@
|
||||
{
|
||||
"description": "string type matches strings",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_2_0": {
|
||||
"type": "string"
|
||||
"types": [
|
||||
{
|
||||
"name": "type_2_0",
|
||||
"schemas": {
|
||||
"type_2_0": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -281,11 +296,16 @@
|
||||
{
|
||||
"description": "object type matches objects",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_3_0": {
|
||||
"type": "object"
|
||||
"types": [
|
||||
{
|
||||
"name": "type_3_0",
|
||||
"schemas": {
|
||||
"type_3_0": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -356,11 +376,16 @@
|
||||
{
|
||||
"description": "array type matches arrays",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_4_0": {
|
||||
"type": "array"
|
||||
"types": [
|
||||
{
|
||||
"name": "type_4_0",
|
||||
"schemas": {
|
||||
"type_4_0": {
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -431,11 +456,16 @@
|
||||
{
|
||||
"description": "boolean type matches booleans",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_5_0": {
|
||||
"type": "boolean"
|
||||
"types": [
|
||||
{
|
||||
"name": "type_5_0",
|
||||
"schemas": {
|
||||
"type_5_0": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -533,11 +563,16 @@
|
||||
{
|
||||
"description": "null type matches only the null object",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_6_0": {
|
||||
"type": "null"
|
||||
"types": [
|
||||
{
|
||||
"name": "type_6_0",
|
||||
"schemas": {
|
||||
"type_6_0": {
|
||||
"type": "null"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -635,14 +670,19 @@
|
||||
{
|
||||
"description": "multiple types can be specified in an array",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_7_0": {
|
||||
"type": [
|
||||
"integer",
|
||||
"string"
|
||||
]
|
||||
"types": [
|
||||
{
|
||||
"name": "type_7_0",
|
||||
"schemas": {
|
||||
"type_7_0": {
|
||||
"type": [
|
||||
"integer",
|
||||
"string"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -713,13 +753,18 @@
|
||||
{
|
||||
"description": "type as array with one item",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_8_0": {
|
||||
"type": [
|
||||
"string"
|
||||
]
|
||||
"types": [
|
||||
{
|
||||
"name": "type_8_0",
|
||||
"schemas": {
|
||||
"type_8_0": {
|
||||
"type": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -745,15 +790,20 @@
|
||||
{
|
||||
"description": "type: array or object",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_9_0": {
|
||||
"type": [
|
||||
"array",
|
||||
"object"
|
||||
],
|
||||
"items": {}
|
||||
"types": [
|
||||
{
|
||||
"name": "type_9_0",
|
||||
"schemas": {
|
||||
"type_9_0": {
|
||||
"type": [
|
||||
"array",
|
||||
"object"
|
||||
],
|
||||
"items": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -810,16 +860,21 @@
|
||||
{
|
||||
"description": "type: array, object or null",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_10_0": {
|
||||
"type": [
|
||||
"array",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"items": {}
|
||||
"types": [
|
||||
{
|
||||
"name": "type_10_0",
|
||||
"schemas": {
|
||||
"type_10_0": {
|
||||
"type": [
|
||||
"array",
|
||||
"object",
|
||||
"null"
|
||||
],
|
||||
"items": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -876,12 +931,17 @@
|
||||
{
|
||||
"description": "extensible: true allows extra properties",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"type_11_0": {
|
||||
"type": "object",
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "type_11_0",
|
||||
"schemas": {
|
||||
"type_11_0": {
|
||||
"type": "object",
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user