{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Some common definitions",
    "type": "object",
    "definitions": {
        "id": {
            "description": "Unique identifier.",
            "readOnly": true,
            "format": "uuid",
            "example": "01234567-89ab-cdef-0123-456789abcdef",
            "type": "string",
            "minLength": 1
        },
        "created_at": {
            "description": "Creation time.",
            "example": "2014-07-25T19:14:29.503Z",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
        },
        "updated_at": {
            "description": "Update date-time.",
            "example": "2014-07-25T19:14:29.503Z",
            "format": "date-time",
            "readOnly": false,
            "type": "string"
        },
        "email": {
            "description": "Email",
            "format": "email",
            "readOnly": false,
            "type": "string",
            "minLength": 1
        },
        "password": {
            "description": "password",
            "readOnly": false,
            "type": "string",
            "minLength": 1
        }
    },
    "properties": {
        "id": {
            "$ref": "#/definitions/id"
        },
        "created_at": {
            "$ref": "#/definitions/created_at"
        },
        "updated_at": {
            "$ref": "#/definitions/updated_at"
        },
        "email": {
            "$ref": "#/definitions/email"
        },
        "password": {
            "$ref": "#/definitions/password"
        }
    },
    "required": [
        "id",
        "created_at",
        "updated_at",
        "email",
        "password"
    ]
}