X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=dashboard%2Fwebapp-backend%2Fsrc%2Ftest%2Fresources%2Fdemo-policy-schema-1.json;h=fa7410fba5e6efa7e86196bf00d41a9358770a3b;hb=a2ad32a98e7a3f32214d3ecd7ca9730e3602d11f;hp=09999efc86ec2f730f6c818ec9b7ed19154ae90f;hpb=3b1e23945b9426ad7aaacfc3794e15286d82c816;p=nonrtric.git diff --git a/dashboard/webapp-backend/src/test/resources/demo-policy-schema-1.json b/dashboard/webapp-backend/src/test/resources/demo-policy-schema-1.json index 09999efc..fa7410fb 100644 --- a/dashboard/webapp-backend/src/test/resources/demo-policy-schema-1.json +++ b/dashboard/webapp-backend/src/test/resources/demo-policy-schema-1.json @@ -1,53 +1,42 @@ { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Example_QoSTarget_1.0.0", + "description": "Example QoS Target policy type", "type": "object", - "title": "Car", "properties": { - "make": { - "type": "string", - "enum": [ - "Toyota", - "BMW", - "Honda", - "Ford", - "Chevy", - "VW" + "scope": { + "type": "object", + "properties": { + "qosId": { + "type": "string" + }, + "cellId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "qosId" ] }, - "model": { - "type": "string" - }, - "year": { - "type": "integer", - "enum": [ - 1995, - 1996, - 1997, - 1998, - 1999, - 2000, - 2001, - 2002, - 2003, - 2004, - 2005, - 2006, - 2007, - 2008, - 2009, - 2010, - 2011, - 2012, - 2013, - 2014 - ], - "default": 2008 - }, - "safety": { - "type": "integer", - "format": "rating", - "maximum": 5, - "exclusiveMaximum": false, - "readonly": false + "statement": { + "type": "object", + "properties": { + "gfbr": { + "type": "number" + }, + "mfbr": { + "type": "number" + }, + "priorityLevel": { + "type": "number" + }, + "pdb": { + "type": "number" + } + }, + "minProperties": 1, + "additionalProperties": false } } } \ No newline at end of file