Commit a4b90a70 authored by EyaChafroud2's avatar EyaChafroud2 Committed by GitHub

Update JSON-schema.json

parent 7186004b
{
"$id": "https://example.com/person.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "name"
},
"address": {
"type": "string",
"description": "Company address"
},
"postal-code": {
"description": "Postal code must be composed of 5 numbers equal or greater than 0",
"type": "string"
},
"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": "Phone number which must be equal to or greater than zero preceded by +",
"type": "string"
},
"mail_contact": {
"description": "",
"type": "string"
},
"coordinate_list": {
"description": "Geographical coordinates of the company",
"type": "number"
}
}
},
"subsidiary_location_list":{
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
},
"website_url":{
"type":"string"
},
"founded_year":{
"type":"integer"
},
"KPI":{
"type":"array",
"properties":{
"year":{
"type": "string"
},
"staff":{
"type": "string"
},
"earnings":{
"type":"string",
"pattern": "^[A-Z]{3}$",
"description":"The ISO 4217 currency code."
},
"total_assets":{
"type":"string",
"pattern": "^\d*/",
"description":"The ISO 4217 currency code." },
"revenues":{
"type":"string",
"pattern": "^[A-Z]{3}$",
"description":"The ISO 4217 currency code."
},
"source_url": {
"type": "string"
}
},
"solution_list": {
"type": "array",
"properties": {
"title":{
"type": "string"
},
"logo_url":{
"type": "string"
},
"website_url":{
"type": "string"
},
"created_year": {
"type": "string"
},
"description": {
"type": "string"
},
"category_list": {
"type": "array"
},
"similar_solution_list": {
"type":"array",
"items": {
"type":"object",
"properties":{
"title": {
"type": "string"
},
"similar_solution_url": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"licence_list": {
"type": "array"
},
"source_code_download": {
"type": "string"
},
"source_code_profile":{
"type": "string"
},
"commercial_support_url": {
"type": "string"
},
"floss_software": {
"type": "boolean"
},
"commercial_support_open_source_version": {
"type": "boolean"
},
"commercial_support_available": {
"type": "boolean"
},
"wikipedia_url": {
"type": "string"
},
"reference_list": {
"type":"array",
"items": {
"type":"object",
"properties":{
"title": {
"type": "string"
},
"logo_url": {
"type": "string"
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
}
},
"industry":{
"type": "string"
}
}
}
},
"success_case_list": {
"type":"array",
"items": {
"type":"object",
"properties":{
"title": "string"
},
"description":{
"type":"string"
},
"image_url":{
"type":"string"
},
"industry":{
"type":"string"
},
"customer":{
"type":"string"
},
"country":{
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
},
"language":{
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO language code"
},
"success_case_url":{
"type": "string"
}
}
}
}
}}}
[{
"$id": "https://example.com/person.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "name"
},
"address": {
"type": "string",
"description": "Company address"
},
"postal-code": {
"description": "Postal code must be composed of 5 numbers equal or greater than 0",
"type": "string"
},
"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": "Phone number which must be equal to or greater than zero preceded by +",
"type": "string"
},
"mail_contact": {
"description": "",
"type": "string"
},
"coordinate_list": {
"description": "Geographical coordinates of the company",
"type": "number"
}
}
},
"subsidiary_location_list": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
},
"website_url": {
"type": "string"
},
"founded_year": {
"type": "integer"
},
"KPI": {
"type": "array",
"properties": {
"year": {
"type": "string"
},
"staff": {
"type": "string"
},
"earnings": {
"type": "string",
"pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code."
},
"total_assets": {
"type": "string",
"pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code."
},
"revenues": {
"type": "string",
"pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code."
},
"source_url": {
"type": "string"
}
},
"solution_list": {
"type": "array",
"properties": {
"title": {
"type": "string"
},
"logo_url": {
"type": "string"
},
"website_url": {
"type": "string"
},
"created_year": {
"type": "string"
},
"description": {
"type": "string"
},
"category_list": {
"type": "array",
"category": {
"enum": ["Storage and database", "Compute virtualisation", "Desktop virtualisation", "vRan", "Operation management", "Service lifecycle automation", "Networking", "Identity", "Cybersecurity", "Application", "Workspace", "Developer environment", "Developer API", "Communication", "IoT and industrial", "Big Data Hub", "Server", "Switch", "Router", "Rack", "Cooling", "CPU", "Radio"]
}
},
"similar_solution_list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"similar_solution_url": {
"type": "string"
},
"category": {
"type": "string"
},
"wikipedia_url": {
"type": "string"
},
"reference_list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"logo_url": {
"type": "string"
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
}
},
"industry": {
"type": "string"
}
}
}
},
"success_case_list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": "string"
},
"description": {
"type": "string"
},
"image_url": {
"type": "string"
},
"industry": {
"type": "string",
"industry": {
"enum": ["Academia and Research", "Agriculture and Food", "Associations and NGOs", "Aviation and Aerospace", "Automotive", "Banking and Finance", "Chemicals", "Commerce and Retail", "Construction", "Consulting and Training", "Defense", "Education", "Energy and Utilities", "Health and Life Sciences", "Housing and Real Estate", "Insurance", "Information Technology", "Manufacturing", "Media and Entertainment", "Public Administration and Government", "Telecommunication", "Transport", "Travel and Tourism"]
},
"customer": {
"type": "string"
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
},
"language": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO language code"
},
"success_case_url": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
]
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