Non-RT RIC Dashboard
[nonrtric.git] / dashboard / webapp-backend / src / test / resources / demo-policy-schema-3.json
1 {
2   "$id": "https://example.com/arrays.schema.json",
3   "$schema": "http://json-schema.org/draft-07/schema#",
4   "description": "A representation of a person, company, organization, or place",
5   "type": "object",
6   "properties": {
7     "fruits": {
8       "type": "array",
9       "items": {
10         "type": "string"
11       }
12     },
13     "vegetables": {
14       "type": "array",
15       "items": {
16         "$ref": "#/definitions/veggie"
17       }
18     }
19   },
20   "definitions": {
21     "veggie": {
22       "type": "object",
23       "required": [
24         "veggieName",
25         "veggieLike"
26       ],
27       "properties": {
28         "veggieName": {
29           "type": "string",
30           "description": "The name of the vegetable."
31         },
32         "veggieLike": {
33           "type": "boolean",
34           "description": "Do I like this vegetable?"
35         }
36       }
37     }
38   }
39 }