{
    "definitions": {
        "test": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "definitions": {
                "email": {
                    "description": "test email",
                    "example": "bob@example.com",
                    "format": "email",
                    "type": "string"
                },
                "name": {
                    "description": "the name of the test",
                    "example": "Testy test",
                    "type": [
                        "string"
                    ]
                }
            },
            "description": "A grand test.  Perhaps the best test?",
            "links": [
                {
                    "description": "Create a new test.",
                    "href": "/tests",
                    "method": "POST",
                    "rel": "create",
                    "schema": {
                        "properties": {
                            "email": {
                                "$ref": "#/definitions/test/definitions/email"
                            },
                            "name": {
                                "$ref": "#/definitions/test/definitions/name"
                            }
                        },
                        "required": [
                            "name",
                            "email"
                        ],
                        "type": [
                            "object"
                        ]
                    },
                    "title": "Create"
                }
            ],
            "properties": {
                "email": {
                    "$ref": "#/definitions/test/definitions/email"
                },
                "name": {
                    "$ref": "#/definitions/test/definitions/name"
                }
            },
            "title": "Test",
            "type": [
                "object"
            ]
        }
    },
    "description": "Test of a test.",
    "links": [
        {
            "href": "https://localhost:3000",
            "rel": "self"
        }
    ],
    "properties": {
        "test": {
            "$ref": "#/definitions/test"
        }
    },
    "title": "JSON Schema Validator",
    "type": [
        "object"
    ]
}