BlueGit

blue-star danique-bot

Files

danique-bot / node_modules / json-schema / draft-03 / examples / interfaces

interfaces

Import template
timfa Tim · pushed by timfa · 4 years ago
c788ad20 History
interfaces 845 B Download Raw
1{
2 "extends":"http://json-schema.org/hyper-schema",
3 "description":"A schema for schema interface definitions that describe programmatic class structures using JSON schema syntax",
4 "properties":{
5 "methods":{
6 "type":"object",
7 "description":"This defines the set of methods available to the class instances",
8 "additionalProperties":{
9 "type":"object",
10 "description":"The definition of the method",
11 "properties":{
12 "parameters":{
13 "type":"array",
14 "description":"The set of parameters that should be passed to the method when it is called",
15 "items":{"$ref":"#"},
16 "required": true
17 },
18 "returns":{"$ref":"#"}
19 }
20 }
21 }
22 }
23}