JMenu selected/deselected events implemented
[jalview.git] / examples / biojson-doc / tests / address.json
1 [
2     {
3         "schema" : {
4             "$schema": "http://json-schema.org/draft-04/schema#",
5
6             "definitions": {
7                 "address": {
8                     "type": "object",
9                     "properties": {
10                         "street_address": { "type": "string" },
11                         "city":           { "type": "string" },
12                         "state":          { "type": "string" }
13                     },
14                     "required": ["street_address", "city", "state"]
15                 }
16             },
17
18             "type": "object",
19
20             "properties": {
21                 "billing_address": { "$ref": "#/definitions/address" },
22                 "shipping_address": {
23                     "allOf": [
24                         { "$ref": "#/definitions/address" },
25                         { "properties":
26                         { "type": { "enum": [ "residential", "business" ] } },
27                             "required": ["type"]
28                         }
29                     ]
30                 }
31             }
32         }
33     }]