{
    "definitions": {
        "app": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "definitions": {
                "created_at": {
                    "description": "when app was created",
                    "example": "2012-01-01T12:00:00Z",
                    "format": "date-time",
                    "type": [
                        "string"
                    ]
                },
                "id": {
                    "description": "unique identifier of app",
                    "example": "01234567-89ab-cdef-0123-456789abcdef",
                    "format": "uuid",
                    "type": [
                        "string"
                    ]
                },
                "identity": {
                    "$ref": "#/definitions/app/definitions/id"
                },
                "updated_at": {
                    "description": "when app was updated",
                    "example": "2012-01-01T12:00:00Z",
                    "format": "date-time",
                    "type": [
                        "string"
                    ]
                }
            },
            "description": "FIXME",
            "links": [
                {
                    "description": "Create a new app.",
                    "href": "/apps",
                    "method": "POST",
                    "rel": "create",
                    "schema": {
                        "properties": {},
                        "type": [
                            "object"
                        ]
                    },
                    "title": "Create"
                },
                {
                    "description": "Delete an existing app.",
                    "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}",
                    "method": "DELETE",
                    "rel": "destroy",
                    "title": "Delete"
                },
                {
                    "description": "Info for existing app.",
                    "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}",
                    "method": "GET",
                    "rel": "self",
                    "title": "Info"
                },
                {
                    "description": "List existing apps.",
                    "href": "/apps",
                    "method": "GET",
                    "rel": "instances",
                    "title": "List"
                },
                {
                    "description": "Update an existing app.",
                    "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}",
                    "method": "PATCH",
                    "rel": "update",
                    "schema": {
                        "properties": {},
                        "type": [
                            "object"
                        ]
                    },
                    "title": "Update"
                }
            ],
            "properties": {
                "created_at": {
                    "$ref": "#/definitions/app/definitions/created_at"
                },
                "id": {
                    "$ref": "#/definitions/app/definitions/id"
                },
                "updated_at": {
                    "$ref": "#/definitions/app/definitions/updated_at"
                }
            },
            "title": "FIXME - App",
            "type": [
                "object"
            ]
        },
        "user": {
            "$schema": "http://json-schema.org/draft-04/schema",
            "definitions": {
                "created_at": {
                    "description": "when user was created",
                    "example": "2012-01-01T12:00:00Z",
                    "format": "date-time",
                    "type": [
                        "string"
                    ]
                },
                "email": {
                    "description": "user's email address",
                    "example": "john.smith@example.com",
                    "format": "email",
                    "type": [
                        "string"
                    ]
                },
                "id": {
                    "description": "unique identifier of user",
                    "example": "01234567-89ab-cdef-0123-456789abcdef",
                    "format": "uuid",
                    "type": [
                        "string"
                    ]
                },
                "identity": {
                    "$ref": "#/definitions/user/definitions/id"
                },
                "updated_at": {
                    "description": "when user was updated",
                    "example": "2012-01-01T12:00:00Z",
                    "format": "date-time",
                    "type": [
                        "string"
                    ]
                },
                "username": {
                    "description": "user's name",
                    "example": "smith",
                    "type": [
                        "string"
                    ]
                }
            },
            "description": "FIXME",
            "links": [
                {
                    "description": "Create a new user.",
                    "href": "/users",
                    "method": "POST",
                    "rel": "create",
                    "schema": {
                        "properties": {
                            "email": {
                                "$ref": "#/definitions/user/definitions/email"
                            },
                            "username": {
                                "$ref": "#/definitions/user/definitions/username"
                            }
                        },
                        "required": [
                            "username",
                            "email"
                        ],
                        "type": [
                            "object"
                        ]
                    },
                    "title": "Create"
                },
                {
                    "description": "Delete an existing user.",
                    "href": "/users/{(%23%2Fdefinitions%2Fuser%2Fdefinitions%2Fidentity)}",
                    "method": "DELETE",
                    "rel": "destroy",
                    "title": "Delete"
                },
                {
                    "description": "Info for existing user.",
                    "href": "/users/{(%23%2Fdefinitions%2Fuser%2Fdefinitions%2Fidentity)}",
                    "method": "GET",
                    "rel": "self",
                    "title": "Info"
                },
                {
                    "description": "List existing users.",
                    "href": "/users",
                    "method": "GET",
                    "rel": "instances",
                    "title": "List"
                },
                {
                    "description": "Update an existing user.",
                    "href": "/users/{(%23%2Fdefinitions%2Fuser%2Fdefinitions%2Fidentity)}",
                    "method": "PATCH",
                    "rel": "update",
                    "schema": {
                        "properties": {
                            "email": {
                                "$ref": "#/definitions/user/definitions/email"
                            },
                            "username": {
                                "$ref": "#/definitions/user/definitions/username"
                            }
                        },
                        "type": [
                            "object"
                        ]
                    },
                    "title": "Update"
                }
            ],
            "properties": {
                "created_at": {
                    "$ref": "#/definitions/user/definitions/created_at"
                },
                "email": {
                    "$ref": "#/definitions/user/definitions/email"
                },
                "id": {
                    "$ref": "#/definitions/user/definitions/id"
                },
                "updated_at": {
                    "$ref": "#/definitions/user/definitions/updated_at"
                },
                "username": {
                    "$ref": "#/definitions/user/definitions/username"
                }
            },
            "title": "FIXME - User",
            "type": [
                "object"
            ]
        }
    },
    "description": "Hello world prmd API",
    "links": [
        {
            "href": "https://api.hello.com",
            "rel": "self"
        }
    ],
    "properties": {
        "app": {
            "$ref": "#/definitions/app"
        },
        "user": {
            "$ref": "#/definitions/user"
        }
    },
    "title": "Hello Prmd",
    "type": [
        "object"
    ]
}