|
1 |
| -[{ |
| 1 | + { |
| 2 | + "$schema": "http://json-schema.org/draft-04/schema", |
| 3 | + "additionalProperties": false, |
| 4 | + "required": ["count", "next", "results", "previous"], |
| 5 | + "properties": { |
| 6 | + "count": {"type": "integer"}, |
| 7 | + "next": {"type": ["string", "null"]}, |
| 8 | + "results": { |
| 9 | + "type": "array", |
| 10 | + "items": { |
| 11 | + "additionalProperties": false, |
| 12 | + "required": ["indicator", "title", "content", "type", "id", "description"], |
| 13 | + "properties": { |
| 14 | + "indicator": {"type": "string"}, |
| 15 | + "title": {"type": ["string", "null"]}, |
| 16 | + "content": {"type": ["string", "null"]}, |
| 17 | + "type": {"type": "string"}, |
| 18 | + "id": {"type": "integer"}, |
| 19 | + "description": {"type": ["string", "null"]} |
| 20 | + } |
| 21 | + } |
| 22 | + }, |
| 23 | + "previous": {"type": ["string", "null"]} |
| 24 | + }, |
| 25 | + { |
2 | 26 | "count": 3,
|
3 | 27 | "next": null,
|
4 | 28 | "results": [
|
|
72 | 96 | "description": "New Description",
|
73 | 97 | "tags": {"add": ["addtag1", "addtag2"], "remove": ["remtag1"]}
|
74 | 98 | }
|
75 |
| -,{ |
76 |
| - 'add': [ |
77 |
| - {'indicator': '8.8.8.9', 'type': 'IPv4', 'role': 'command_and_control'}, |
78 |
| - {'indicator': '8.8.8.10', 'type': 'IPv4'}, |
79 |
| - ], |
80 |
| - 'edit': [ |
81 |
| - {'id': 1 'type': 'hostname', 'indicator': 'www.amazon.com'}, |
82 |
| - { 'id': 2, 'indicator': '[email protected]'}, |
83 |
| - {'id': 3, 'is_active': True, 'expiration': '2017-01-01', 'role': 'scanning_host'}, |
84 |
| - ], |
85 |
| - 'remove': [ |
86 |
| - {'id': 4}, |
87 |
| - ] |
88 |
| -} |
89 | 99 | ,{
|
90 | 100 | "$schema": "http://json-schema.org/draft-04/schema",
|
91 | 101 | "additionalProperties": false,
|
|
1712 | 1722 | "unfollowed"
|
1713 | 1723 | ]
|
1714 | 1724 | }
|
1715 |
| - }} |
1716 |
| -] |
| 1725 | + } |
| 1726 | +} |
| 1727 | + |
0 commit comments