Commit d133748e authored by Roland's avatar Roland Committed by GitHub

Update JSON-schema.json

parent 9e09f132
...@@ -3,44 +3,68 @@ ...@@ -3,44 +3,68 @@
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"properties": { "properties": {
"location":{ "location": {
"type":"object" "type": "object",
"title": { "properties": {
"type": "string", "title": {
"description": "name" "type": "string",
"description": "name"
},
"address": {
"type": "string",
"description": "The person's last name."
},
"postal-code": {
"description": "Age in years which must be equal to or greater than zero.",
"type": "integer",
"minimum": 0
},
"city": {
"type": "string",
"description": "name"
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
},
"phone_contact": {
"description": "Age in years which must be equal to or greater than zero.",
"type": "integer",
"minimum": 0
},
"mail_contact": {
"description": "",
"type": "",
"minimum": 0
},
"coordinate_list": {
"description": "",
"type": "string"
}
}
}, },
"address": { "subsidiary_location_list":{
"type": "string", "type": "array"
"description": "The person's last name."
}, },
"postal-code": { "solution_list": {
"description": "Age in years which must be equal to or greater than zero.", "type": "array",
"type": "integer",
"minimum": 0 "properties": {
}, "title":{
"city": { "type": "string"
"type": "string", },
"description": "name" "solution_sub_list": {
}, "type":"array",
"country": { "items": {
"type": ["string","pattern": "^[A-Z]{2}$"] "type":"object",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)" "properties":{
}, "title": {
"phone_contact": { "type": "string"
"description": "Age in years which must be equal to or greater than zero.", },
"type": "integer", "description":"sss"
"minimum": 0 }
}, }
"mail_contact": { }
"description": "", }
"type": "", }
"minimum": 0
},
"coordinate_list":{
"description": "",
"type":
}
}
"title": "",
"type": "object",
"properties": {
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment