summaryrefslogtreecommitdiffstats
path: root/verigraph/tester/testcase_schema.json
diff options
context:
space:
mode:
authorserena.spinoso <serena.spinoso@polito.it>2017-02-25 12:00:55 +0100
committerserena.spinoso <serena.spinoso@polito.it>2017-02-27 13:39:18 +0100
commit53d83244c1bf36af86e90ce5fe758a369f73563e (patch)
treef5780b3033763d6b3cd62c40f5d4a63dfac35f7a /verigraph/tester/testcase_schema.json
parentf0108f26fb1f62fefbbc4d5484b87241d563737b (diff)
Add verigraph code base
JIRA: PARSER-111 Change-Id: Ie76e14fabbb6c388ebc89d9a15dd3021b25fa892 Signed-off-by: serena.spinoso <serena.spinoso@polito.it>
Diffstat (limited to 'verigraph/tester/testcase_schema.json')
-rw-r--r--verigraph/tester/testcase_schema.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/verigraph/tester/testcase_schema.json b/verigraph/tester/testcase_schema.json
new file mode 100644
index 0000000..b069705
--- /dev/null
+++ b/verigraph/tester/testcase_schema.json
@@ -0,0 +1,33 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "title": "Testcase",
+ "description": "A testcase for VeriGraph",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique identifier for a testcase",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Name of the testcase",
+ "type": "string"
+ },
+ "description": {
+ "description": "A description for the testcase, specifying what is going to be tested",
+ "type": "string"
+ },
+ "policy_url_parameters": {
+ "description": "The set of parameters to be passed in GET request to the verification service",
+ "type": "string"
+ },
+ "result": {
+ "description": "The set of parameters to be passed in GET request to the verification service",
+ "type": "string"
+ },
+ "graph": {
+ "description": "The graph to be tested",
+ "type": "object"
+ }
+ },
+ "required": ["id", "name", "policy_url_parameters", "result", "graph"]
+} \ No newline at end of file