Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
european-cloud-industry
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fonds-de-Dotation-du-Libre
european-cloud-industry
Commits
967936f1
Commit
967936f1
authored
Jul 08, 2022
by
Sven Franck
Committed by
GitHub
Jul 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add valdidation fields Pt 2
parent
5a90e5d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
142 additions
and
37 deletions
+142
-37
data/JSON-schema.json
data/JSON-schema.json
+142
-37
No files found.
data/JSON-schema.json
View file @
967936f1
...
...
@@ -73,7 +73,7 @@
}]
},
"coordinate_list"
:
{
"description"
:
"Geographical coordinates of the entity"
,
"description"
:
"Geographical coordinates of the entity
, [latitude, longitude]
"
,
"type"
:
"array"
,
"maxItems"
:
2
,
"items"
:
{
...
...
@@ -88,10 +88,22 @@
"description"
:
"A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
},
"website_url"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"founded_year"
:
{
"type"
:
"integer"
"anyOf"
:
[
{
"type"
:
"integer"
},
{
"type"
:
"string"
}
]
},
"kpi_list"
:
{
"type"
:
"array"
,
...
...
@@ -102,7 +114,14 @@
"type"
:
"integer"
},
"staff"
:
{
"type"
:
"number"
"anyOf"
:
[
{
"type"
:
"integer"
},
{
"type"
:
"string"
}
]
},
"earnings"
:
{
"type"
:
"string"
,
...
...
@@ -120,7 +139,12 @@
"description"
:
"The ISO 4217 currency code."
},
"source_url"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
}
}
}
...
...
@@ -134,20 +158,27 @@
"type"
:
"string"
},
"logo_url"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"website_url"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"created_year"
:
{
"anyOf"
:
[
{
"type"
:
"integer"
},
{
"type"
:
"string"
}
]
"anyOf"
:
[{
"type"
:
"integer"
},
{
"type"
:
"string"
}]
},
"description"
:
{
"type"
:
"string"
...
...
@@ -189,33 +220,67 @@
"properties"
:
{
"title"
:
{
"type"
:
"string"
,
"
minLength"
:
1
"
pattern"
:
"^[a-zA-Z0-9]"
},
"similar_solution_url"
:
{
"type"
:
"string"
,
"
minLength"
:
1
"
pattern"
:
"^[a-zA-Z0-9]"
},
"category"
:
{
"type"
:
"string"
,
"minLength"
:
1
"pattern"
:
"^[a-zA-Z0-9]"
,
"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"
]
}
},
"anyOf"
:
[
{
"required"
:
[
"title"
]
},
{
"required"
:
[
"similar_solution_url"
]
},
{
"required"
:
[
"category"
]
}
]
}
}
},
"source_code_download"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"source_code_profile"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"commercial_support_url"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"floss_software"
:
{
"type"
:
"boolean"
...
...
@@ -227,7 +292,12 @@
"type"
:
"boolean"
},
"wikipedia_url"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"reference_list"
:
{
"type"
:
"array"
,
...
...
@@ -235,10 +305,11 @@
"type"
:
"object"
,
"properties"
:
{
"title"
:
{
"type"
:
"string"
"type"
:
"string"
,
"pattern"
:
"^[a-zA-Z0-9]"
},
"logo_url"
:
{
"
type"
:
"string
"
"
$ref"
:
"#/definitions/saneUrl
"
},
"country"
:
{
"type"
:
"string"
,
...
...
@@ -246,7 +317,33 @@
"description"
:
"A valid 2-digit ISO country code (ISO 3166-1 alpha-2)"
},
"industry"
:
{
"type"
:
"string"
"type"
:
"string"
,
"pattern"
:
"^[a-zA-Z0-9]"
,
"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"
]
}
}
}
...
...
@@ -257,13 +354,20 @@
"type"
:
"object"
,
"properties"
:
{
"title"
:
{
"type"
:
"string"
"type"
:
"string"
,
"pattern"
:
"^[a-zA-Z0-9]"
},
"description"
:
{
"type"
:
"string"
"type"
:
"string"
,
"pattern"
:
"^[a-zA-Z0-9]"
},
"image_url"
:
{
"type"
:
"string"
"anyOf"
:
[{
"$ref"
:
"#/definitions/saneUrl"
},
{
"type"
:
"string"
,
"maxLength"
:
0
}]
},
"industry"
:
{
"enum"
:
[
...
...
@@ -293,7 +397,8 @@
]
},
"customer"
:
{
"type"
:
"string"
"type"
:
"string"
,
"pattern"
:
"^[a-zA-Z0-9]"
},
"country"
:
{
"type"
:
"string"
,
...
...
@@ -306,7 +411,7 @@
"description"
:
"A valid 2-digit ISO language code"
},
"success_case_url"
:
{
"
type"
:
"string
"
"
$ref"
:
"#/definitions/saneUrl
"
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment