BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 1 | { |
| 2 | "name": "pt2", |
| 3 | "description": "Pt2 policy type", |
| 4 | "policy_type_id": 1, |
| 5 | "create_schema": { |
| 6 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 7 | "title": "OSC_Type2_1.0.0", |
| 8 | "description": "Type 2 policy type", |
| 9 | "type": "object", |
| 10 | "properties": { |
| 11 | "scope": { |
| 12 | "type": "object", |
| 13 | "properties": { |
| 14 | "sliceId": { |
| 15 | "type": "string" |
| 16 | } |
| 17 | }, |
| 18 | "additionalProperties": false, |
| 19 | "required": [ |
| 20 | "sliceId" |
| 21 | ] |
| 22 | }, |
| 23 | "qoeObjectives": { |
| 24 | "type": "object", |
| 25 | "properties": { |
| 26 | "qoeScore": { |
| 27 | "type": "number" |
| 28 | } |
| 29 | }, |
| 30 | "additionalProperties": false, |
| 31 | "required": [ |
| 32 | "qoeScore" |
| 33 | ] |
| 34 | } |
| 35 | }, |
| 36 | "additionalProperties": false, |
| 37 | "required": [ |
| 38 | "scope", "qoeObjectives" |
| 39 | ] |
| 40 | } |
| 41 | } |