boon now included
This commit is contained in:
7
validator/tests/examples/dog.json
Normal file
7
validator/tests/examples/dog.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"speak": { "const": "bow" }
|
||||
},
|
||||
"required": ["speak"]
|
||||
}
|
||||
4
validator/tests/examples/instance.json
Normal file
4
validator/tests/examples/instance.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"firstName": "Santhosh Kumar",
|
||||
"lastName": "Tekuri"
|
||||
}
|
||||
2
validator/tests/examples/instance.yml
Normal file
2
validator/tests/examples/instance.yml
Normal file
@ -0,0 +1,2 @@
|
||||
firstName: Santhosh Kumar
|
||||
lastName: Tekuri
|
||||
12
validator/tests/examples/sample schema.json
Normal file
12
validator/tests/examples/sample schema.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"firstName": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastName": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["firstName", "lastName"]
|
||||
}
|
||||
12
validator/tests/examples/schema.json
Normal file
12
validator/tests/examples/schema.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"firstName": {
|
||||
"type": "string"
|
||||
},
|
||||
"lastName": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["firstName", "lastName"]
|
||||
}
|
||||
9
validator/tests/examples/schema.yml
Normal file
9
validator/tests/examples/schema.yml
Normal file
@ -0,0 +1,9 @@
|
||||
type: object
|
||||
properties:
|
||||
firstName:
|
||||
type: string
|
||||
lastName:
|
||||
type: string
|
||||
required:
|
||||
- firstName
|
||||
- lastName
|
||||
Reference in New Issue
Block a user