added realm to jspg processing
This commit is contained in:
@ -2,14 +2,19 @@
|
||||
{
|
||||
"description": "propertyNames validation",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"propertyNames_0_0": {
|
||||
"propertyNames": {
|
||||
"maxLength": 3
|
||||
},
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "propertyNames_0_0",
|
||||
"schemas": {
|
||||
"propertyNames_0_0": {
|
||||
"propertyNames": {
|
||||
"maxLength": 3
|
||||
},
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -82,14 +87,19 @@
|
||||
{
|
||||
"description": "propertyNames validation with pattern",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"propertyNames_1_0": {
|
||||
"propertyNames": {
|
||||
"pattern": "^a+$"
|
||||
},
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "propertyNames_1_0",
|
||||
"schemas": {
|
||||
"propertyNames_1_0": {
|
||||
"propertyNames": {
|
||||
"pattern": "^a+$"
|
||||
},
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -130,12 +140,17 @@
|
||||
{
|
||||
"description": "propertyNames with boolean schema true",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"propertyNames_2_0": {
|
||||
"propertyNames": true,
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "propertyNames_2_0",
|
||||
"schemas": {
|
||||
"propertyNames_2_0": {
|
||||
"propertyNames": true,
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -163,12 +178,17 @@
|
||||
{
|
||||
"description": "propertyNames with boolean schema false",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"propertyNames_3_0": {
|
||||
"propertyNames": false,
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "propertyNames_3_0",
|
||||
"schemas": {
|
||||
"propertyNames_3_0": {
|
||||
"propertyNames": false,
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -196,14 +216,19 @@
|
||||
{
|
||||
"description": "propertyNames with const",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"propertyNames_4_0": {
|
||||
"propertyNames": {
|
||||
"const": "foo"
|
||||
},
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "propertyNames_4_0",
|
||||
"schemas": {
|
||||
"propertyNames_4_0": {
|
||||
"propertyNames": {
|
||||
"const": "foo"
|
||||
},
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -242,17 +267,22 @@
|
||||
{
|
||||
"description": "propertyNames with enum",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"propertyNames_5_0": {
|
||||
"propertyNames": {
|
||||
"enum": [
|
||||
"foo",
|
||||
"bar"
|
||||
]
|
||||
},
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "propertyNames_5_0",
|
||||
"schemas": {
|
||||
"propertyNames_5_0": {
|
||||
"propertyNames": {
|
||||
"enum": [
|
||||
"foo",
|
||||
"bar"
|
||||
]
|
||||
},
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -303,14 +333,19 @@
|
||||
{
|
||||
"description": "extensible: true allows extra properties (checked by propertyNames)",
|
||||
"database": {
|
||||
"schemas": {
|
||||
"propertyNames_6_0": {
|
||||
"propertyNames": {
|
||||
"maxLength": 3
|
||||
},
|
||||
"extensible": true
|
||||
"types": [
|
||||
{
|
||||
"name": "propertyNames_6_0",
|
||||
"schemas": {
|
||||
"propertyNames_6_0": {
|
||||
"propertyNames": {
|
||||
"maxLength": 3
|
||||
},
|
||||
"extensible": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user