X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=dashboard%2Fwebapp-backend%2Fsrc%2Ftest%2Fresources%2Fdemo-policy-schema-2.json;h=f3eb28fbedd45ef028e240e76a8436216a442623;hb=a2ad32a98e7a3f32214d3ecd7ca9730e3602d11f;hp=69ec67880389c7904f355fe37ef492692da62729;hpb=a2bc79c5f0027e953815d6e98814a748b36827aa;p=nonrtric.git diff --git a/dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json b/dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json index 69ec6788..f3eb28fb 100644 --- a/dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json +++ b/dashboard/webapp-backend/src/test/resources/demo-policy-schema-2.json @@ -1,21 +1,49 @@ { - "$id": "https://example.com/person.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Person", + "title": "Example_QoETarget_1.0.0", + "description": "Example QoE Target policy type", "type": "object", "properties": { - "firstName": { - "type": "string", - "description": "The person's first name." + "scope": { + "type": "object", + "properties": { + "ueId": { + "type": "string" + }, + "sliceId": { + "type": "string" + }, + "qosId": { + "type": "string" + }, + "cellId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ueId", + "sliceId" + ] }, - "lastName": { - "type": "string", - "description": "The person's last name." - }, - "age": { - "description": "Age in years which must be equal to or greater than zero.", - "type": "integer", - "minimum": 0 + "statement": { + "type": "object", + "properties": { + "qoeScore": { + "type": "number" + }, + "initialBuffering": { + "type": "number" + }, + "reBuffFreq": { + "type": "number" + }, + "stallRatio": { + "type": "number" + } + }, + "minProperties": 1, + "additionalProperties": false } } } \ No newline at end of file