source: trip-planner-front/node_modules/json-schema/draft-03/examples/interfaces@ bdd6491

Last change on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 845 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.