{
    "definitions": {
        "signup": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "definitions": {
                "confirm": {
                    "description": "New user's password confirmation. Should match `password` field",
                    "readOnly": true,
                    "type": [
                        "string"
                    ]
                },
                "email": {
                    "description": "New user's email",
                    "format": "email",
                    "readOnly": true,
                    "type": [
                        "string"
                    ]
                },
                "password": {
                    "description": "New user's password",
                    "readOnly": true,
                    "type": [
                        "string"
                    ]
                }
            },
            "description": "Resource representing new user to be created",
            "links": [
                {
                    "description": "Create new user",
                    "href": "/signup",
                    "method": "POST",
                    "rel": "create",
                    "schema": {
                        "properties": {
                            "confirm": {
                                "$ref": "#/definitions/signup/definitions/confirm"
                            },
                            "email": {
                                "$ref": "#/definitions/signup/definitions/email"
                            },
                            "password": {
                                "$ref": "#/definitions/signup/definitions/password"
                            }
                        },
                        "required": [
                            "email",
                            "password",
                            "confirm"
                        ],
                        "type": [
                            "object"
                        ]
                    }
                }
            ],
            "properties": {},
            "stability": "prototype",
            "strictProperties": true,
            "title": "Sign up",
            "type": [
                "object"
            ]
        }
    },
    "description": "Generic purpose collection of schemas for mtodo application RESTful APIs",
    "links": [
        {
            "href": "http://mtodoapp.com/api",
            "rel": "self"
        }
    ],
    "properties": {
        "signup": {
            "$ref": "#/definitions/signup"
        }
    },
    "title": "mtodo application API",
    "type": [
        "object"
    ]
}