JMenu selected/deselected events implemented
[jalview.git] / examples / biojson-doc / tests / example2.json
1 [
2     {
3         "schema" : {
4             "$schema": "http://json-schema.org/draft-04/schema#",
5             "title": "Product set",
6             "type": "array",
7             "items": {
8                 "title": "Product",
9                 "type": "object",
10                 "properties": {
11                     "id": {
12                         "description": "The unique identifier for a product",
13                         "type": "number"
14                     },
15                     "name": {
16                         "type": "string"
17                     },
18                     "price": {
19                         "type": "number",
20                         "minimum": 0,
21                         "exclusiveMinimum": true
22                     },
23                     "tags": {
24                         "type": "array",
25                         "items": {
26                             "type": "string"
27                         },
28                         "minItems": 1,
29                         "uniqueItems": true
30                     },
31                     "dimensions": {
32                         "type": "object",
33                         "properties": {
34                             "length": {"type": "number"},
35                             "width": {"type": "number"},
36                             "height": {"type": "number"}
37                         },
38                         "required": ["length", "width", "height"]
39                     },
40                     "warehouseLocation": {
41                         "description": "Coordinates of the warehouse with the product",
42                         "$ref": "http://localhost:8000/docson/tests/geo.json"
43                     }
44                 },
45                 "required": ["id", "name", "price"]
46             }
47         }
48     }
49 ]