Mohamed Abukar | b175b94 | 2019-05-09 16:30:58 +0300 | [diff] [blame] | 1 | { |
| 2 | "definitions": {}, |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "$id": "http://example.com/root.json", |
| 5 | "type": "object", |
| 6 | "title": "The Root Schema", |
| 7 | "required": [ |
Mohamed Abukar | aca8f3c | 2020-01-14 11:10:16 +0200 | [diff] [blame] | 8 | "active", |
| 9 | "interfaceId" |
Mohamed Abukar | b175b94 | 2019-05-09 16:30:58 +0300 | [diff] [blame] | 10 | ], |
| 11 | "properties": { |
Mohamed Abukar | aca8f3c | 2020-01-14 11:10:16 +0200 | [diff] [blame] | 12 | "active": { |
| 13 | "$id": "#/properties/active", |
| 14 | "type": "boolean", |
| 15 | "title": "The Active Schema", |
| 16 | "default": false, |
| 17 | "examples": [ |
| 18 | false |
| 19 | ] |
Mohamed Abukar | b175b94 | 2019-05-09 16:30:58 +0300 | [diff] [blame] | 20 | }, |
Mohamed Abukar | aca8f3c | 2020-01-14 11:10:16 +0200 | [diff] [blame] | 21 | "interfaceId": { |
| 22 | "$id": "#/properties/interfaceId", |
Mohamed Abukar | b175b94 | 2019-05-09 16:30:58 +0300 | [diff] [blame] | 23 | "type": "object", |
Mohamed Abukar | aca8f3c | 2020-01-14 11:10:16 +0200 | [diff] [blame] | 24 | "title": "The Interfaceid Schema", |
Mohamed Abukar | b175b94 | 2019-05-09 16:30:58 +0300 | [diff] [blame] | 25 | "required": [ |
Mohamed Abukar | aca8f3c | 2020-01-14 11:10:16 +0200 | [diff] [blame] | 26 | "globalENBId" |
Mohamed Abukar | b175b94 | 2019-05-09 16:30:58 +0300 | [diff] [blame] | 27 | ], |
| 28 | "properties": { |
Mohamed Abukar | aca8f3c | 2020-01-14 11:10:16 +0200 | [diff] [blame] | 29 | "globalENBId": { |
| 30 | "$id": "#/properties/interfaceId/properties/globalENBId", |
| 31 | "type": "object", |
| 32 | "title": "The Globalenbid Schema", |
| 33 | "required": [ |
| 34 | "plmnId", |
| 35 | "eNBId" |
| 36 | ], |
| 37 | "properties": { |
| 38 | "plmnId": { |
| 39 | "$id": "#/properties/interfaceId/properties/globalENBId/properties/plmnId", |
| 40 | "type": "string", |
| 41 | "title": "The Plmnid Schema", |
| 42 | "default": "", |
| 43 | "examples": [ |
| 44 | "310150" |
| 45 | ], |
| 46 | "pattern": "^(.*)$" |
| 47 | }, |
| 48 | "eNBId": { |
| 49 | "$id": "#/properties/interfaceId/properties/globalENBId/properties/eNBId", |
| 50 | "type": "integer", |
| 51 | "title": "The Enbid Schema", |
| 52 | "default": 0, |
| 53 | "examples": [ |
| 54 | 202251 |
| 55 | ] |
| 56 | } |
| 57 | } |
Mohamed Abukar | b175b94 | 2019-05-09 16:30:58 +0300 | [diff] [blame] | 58 | } |
| 59 | } |
| 60 | } |
| 61 | } |
Mohamed Abukar | aca8f3c | 2020-01-14 11:10:16 +0200 | [diff] [blame] | 62 | } |