Merge "Clean up A1 controller code"
[nonrtric.git] / dashboard / webapp-backend / src / test / resources / demo-policy-schema-1.json
1 {
2   "type": "object",
3   "title": "Car",
4   "properties": {
5     "make": {
6       "type": "string",
7       "enum": [
8         "Toyota",
9         "BMW",
10         "Honda",
11         "Ford",
12         "Chevy",
13         "VW"
14       ]
15     },
16     "model": {
17       "type": "string"
18     },
19     "year": {
20       "type": "integer",
21       "enum": [
22         1995,
23         1996,
24         1997,
25         1998,
26         1999,
27         2000,
28         2001,
29         2002,
30         2003,
31         2004,
32         2005,
33         2006,
34         2007,
35         2008,
36         2009,
37         2010,
38         2011,
39         2012,
40         2013,
41         2014
42       ],
43       "default": 2008
44     },
45     "safety": {
46       "type": "integer",
47       "format": "rating",
48       "maximum": 5,
49       "exclusiveMaximum": false,
50       "readonly": false
51     }
52   }
53 }