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

Update JSON-schema.json

parent 7186004b
{ [{
"$id": "https://example.com/person.schema.json", "$id": "https://example.com/person.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
...@@ -41,39 +41,40 @@ ...@@ -41,39 +41,40 @@
} }
} }
}, },
"subsidiary_location_list":{ "subsidiary_location_list": {
"type": "string", "type": "string",
"pattern": "^[A-Z]{2}$", "pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)" "description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
}, },
"website_url":{ "website_url": {
"type":"string" "type": "string"
}, },
"founded_year":{ "founded_year": {
"type":"integer" "type": "integer"
}, },
"KPI":{ "KPI": {
"type":"array", "type": "array",
"properties":{ "properties": {
"year":{ "year": {
"type": "string" "type": "string"
}, },
"staff":{ "staff": {
"type": "string" "type": "string"
}, },
"earnings":{ "earnings": {
"type":"string", "type": "string",
"pattern": "^[A-Z]{3}$", "pattern": "\\d*\\s{1}[A-Z]{3}",
"description":"The ISO 4217 currency code." "description": "The ISO 4217 currency code."
},
"total_assets": {
"type": "string",
"pattern": "\\d*\\s{1}[A-Z]{3}",
"description": "The ISO 4217 currency code."
}, },
"total_assets":{ "revenues": {
"type":"string", "type": "string",
"pattern": "^\d*/", "pattern": "\\d*\\s{1}[A-Z]{3}",
"description":"The ISO 4217 currency code." }, "description": "The ISO 4217 currency code."
"revenues":{
"type":"string",
"pattern": "^[A-Z]{3}$",
"description":"The ISO 4217 currency code."
}, },
"source_url": { "source_url": {
"type": "string" "type": "string"
...@@ -82,13 +83,13 @@ ...@@ -82,13 +83,13 @@
"solution_list": { "solution_list": {
"type": "array", "type": "array",
"properties": { "properties": {
"title":{ "title": {
"type": "string" "type": "string"
}, },
"logo_url":{ "logo_url": {
"type": "string" "type": "string"
}, },
"website_url":{ "website_url": {
"type": "string" "type": "string"
}, },
"created_year": { "created_year": {
...@@ -98,13 +99,16 @@ ...@@ -98,13 +99,16 @@
"type": "string" "type": "string"
}, },
"category_list": { "category_list": {
"type": "array" "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": { "similar_solution_list": {
"type":"array", "type": "array",
"items": { "items": {
"type":"object", "type": "object",
"properties":{ "properties": {
"title": { "title": {
"type": "string" "type": "string"
}, },
...@@ -113,39 +117,15 @@ ...@@ -113,39 +117,15 @@
}, },
"category": { "category": {
"type": "string" "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": { "wikipedia_url": {
"type": "string" "type": "string"
}, },
"reference_list": { "reference_list": {
"type":"array", "type": "array",
"items": { "items": {
"type":"object", "type": "object",
"properties":{ "properties": {
"title": { "title": {
"type": "string" "type": "string"
}, },
...@@ -158,45 +138,56 @@ ...@@ -158,45 +138,56 @@
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)" "description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
} }
}, },
"industry":{ "industry": {
"type": "string" "type": "string"
} }
} }
} }
}, },
"success_case_list": { "success_case_list": {
"type":"array", "type": "array",
"items": { "items": {
"type":"object", "type": "object",
"properties":{ "properties": {
"title": "string" "title": "string"
}, },
"description":{ "description": {
"type":"string" "type": "string"
}, },
"image_url":{ "image_url": {
"type":"string" "type": "string"
}, },
"industry":{ "industry": {
"type":"string" "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":{ "customer": {
"type":"string" "type": "string"
}, },
"country":{ "country": {
"type": "string", "type": "string",
"pattern": "^[A-Z]{2}$", "pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)" "description": "A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
}, },
"language":{ "language": {
"type": "string", "type": "string",
"pattern": "^[A-Z]{2}$", "pattern": "^[A-Z]{2}$",
"description": "A valid 2-digit ISO language code" "description": "A valid 2-digit ISO language code"
}, },
"success_case_url":{ "success_case_url": {
"type": "string" "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