validator refactor progress
This commit is contained in:
114
tests/fixtures/masking.json
vendored
114
tests/fixtures/masking.json
vendored
@ -1,21 +1,25 @@
|
||||
[
|
||||
{
|
||||
"description": "Masking Properties",
|
||||
"schema": {
|
||||
"$id": "mask_properties",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "string"
|
||||
},
|
||||
"bar": {
|
||||
"type": "integer"
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "mask_properties",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"foo": {
|
||||
"type": "string"
|
||||
},
|
||||
"bar": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"foo"
|
||||
],
|
||||
"extensible": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"foo"
|
||||
],
|
||||
"extensible": false
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -58,21 +62,25 @@
|
||||
},
|
||||
{
|
||||
"description": "Masking Nested Objects",
|
||||
"schema": {
|
||||
"$id": "mask_nested",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"meta": {
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "mask_nested",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
"meta": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"extensible": false
|
||||
}
|
||||
},
|
||||
"extensible": false
|
||||
}
|
||||
},
|
||||
"extensible": false
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -95,18 +103,22 @@
|
||||
},
|
||||
{
|
||||
"description": "Masking Arrays",
|
||||
"schema": {
|
||||
"$id": "mask_arrays",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "mask_arrays",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"extensible": false
|
||||
}
|
||||
},
|
||||
"extensible": false
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -129,23 +141,27 @@
|
||||
},
|
||||
{
|
||||
"description": "Masking Tuple Arrays (prefixItems)",
|
||||
"schema": {
|
||||
"$id": "mask_tuple",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"coord": {
|
||||
"type": "array",
|
||||
"prefixItems": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "mask_tuple",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"coord": {
|
||||
"type": "array",
|
||||
"prefixItems": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"extensible": false
|
||||
}
|
||||
},
|
||||
"extensible": false
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user