summaryrefslogtreecommitdiffstats
path: root/verigraph/jsonschema/mailclient.json
diff options
context:
space:
mode:
Diffstat (limited to 'verigraph/jsonschema/mailclient.json')
-rw-r--r--verigraph/jsonschema/mailclient.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/verigraph/jsonschema/mailclient.json b/verigraph/jsonschema/mailclient.json
new file mode 100644
index 0000000..cacfd5f
--- /dev/null
+++ b/verigraph/jsonschema/mailclient.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Mail Client",
+ "description": "Polito Mail Client",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "mailserver": {
+ "description": "Mail server name",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mailserver"
+ ]
+ },
+ "minItems": 1,
+ "maxItems": 1,
+ "uniqueItems": true
+} \ No newline at end of file