interfaces (868B)
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 }