Initial commit
[yaffs-website] / node_modules / json-schema / draft-03 / examples / interfaces
1 {\r
2     "extends":"http://json-schema.org/hyper-schema",\r
3     "description":"A schema for schema interface definitions that describe programmatic class structures using JSON schema syntax",\r
4     "properties":{\r
5         "methods":{\r
6             "type":"object",\r
7             "description":"This defines the set of methods available to the class instances",\r
8             "additionalProperties":{\r
9                 "type":"object",\r
10                 "description":"The definition of the method",\r
11                 "properties":{\r
12                         "parameters":{\r
13                                 "type":"array",\r
14                                 "description":"The set of parameters that should be passed to the method when it is called",\r
15                                 "items":{"$ref":"#"},\r
16                                 "required": true\r
17                         },\r
18                         "returns":{"$ref":"#"}\r
19                 }\r
20             }\r
21         }    \r
22     }\r
23 }\r