Created
December 23, 2012 20:45
-
-
Save nickl-/4365985 to your computer and use it in GitHub Desktop.
interface-schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "extends":"http://json-schema.org/hyper-schema", | |
| "description":"A schema for schema interface definitions that describe programmatic class structures using JSON schema syntax", | |
| "properties":{ | |
| "methods":{ | |
| "type":"object", | |
| "description":"This defines the set of methods available to the class instances", | |
| "additionalProperties":{ | |
| "type":"object", | |
| "description":"The definition of the method", | |
| "properties":{ | |
| "parameters":{ | |
| "type":"array", | |
| "description":"The set of parameters that should be passed to the method when it is called", | |
| "items":"#", | |
| "required": true | |
| }, | |
| "returns":"#" | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment