Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updates of the policy agent NBI
[nonrtric.git]
/
dashboard
/
webapp-backend
/
src
/
test
/
resources
/
demo-policy-schema-1.json
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
09999ef
..
fa7410f
100644
(file)
--- 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",
"type": "object",
- "title": "Car",
"properties": {
"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
}
}
}
\ No newline at end of file