|
1 | 1 | { |
2 | 2 | "$schema": "http://json-schema.org/draft-04/schema#", |
3 | 3 | "definitions": { |
4 | | - "_id": { "type": "string" }, |
5 | | - "project_id": { "type": "string" }, |
6 | | - "alg": { "type": "string" }, |
7 | | - "name": { "type": "string" }, |
8 | | - "config": { "type": "object" }, |
9 | | - |
10 | 4 | "rule-items": { |
11 | 5 | "type": "array", |
12 | 6 | "items": { |
|
29 | 23 | } |
30 | 24 | }, |
31 | 25 |
|
32 | | - |
33 | 26 | "rule-input": { |
34 | 27 | "type": "object", |
35 | 28 | "properties": { |
36 | | - "_id": { "$ref": "#/definitions/_id" }, |
37 | | - "project_id": { "$ref": "#/definitions/project_id" }, |
38 | | - "alg": { "$ref": "#/definitions/alg" }, |
39 | | - "name": { "$ref": "#/definitions/name" }, |
40 | | - "config": { "$ref": "#/definitions/config" }, |
| 29 | + "_id": { "type": "string" }, |
| 30 | + "project_id": { "type": "string" }, |
| 31 | + "alg": { "type": "string" }, |
| 32 | + "name": { "type": "string" }, |
| 33 | + "config": { "type": "object" }, |
41 | 34 | "any": { "$ref": "#/definitions/rule-items" }, |
42 | 35 | "all": { "$ref": "#/definitions/rule-items" } |
43 | 36 | }, |
|
47 | 40 | "rule-output": { |
48 | 41 | "type": "object", |
49 | 42 | "properties": { |
50 | | - "_id": { "$ref": "#/definitions/_id" }, |
51 | | - "alg": { "$ref": "#/definitions/alg" }, |
52 | | - "name": { "$ref": "#/definitions/name" }, |
53 | | - "config": { "$ref": "#/definitions/config" }, |
| 43 | + "_id": { "type": "string" }, |
| 44 | + "alg": { "type": "string" }, |
| 45 | + "name": { "type": "string" }, |
| 46 | + "config": { "type": "object" }, |
54 | 47 | "any": { "$ref": "#/definitions/rule-items" }, |
55 | 48 | "all": { "$ref": "#/definitions/rule-items" } |
56 | 49 | } |
|
0 commit comments