summaryrefslogtreecommitdiffstats
path: root/verigraph/tester/testcase_schema.json
diff options
context:
space:
mode:
authorZhipeng (Howard) Huang <huangzhipeng@huawei.com>2017-02-27 13:08:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-27 13:08:54 +0000
commit69e33063b3703ae4529b556b63b3c4cc239c3d9a (patch)
treeb30d14715b34f2e4e06928c555c940ddb3365534 /verigraph/tester/testcase_schema.json
parent280310852bb5e1c7639dedf7ce268e1e66157a51 (diff)
parent53d83244c1bf36af86e90ce5fe758a369f73563e (diff)
Merge "Add verigraph code base"
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