{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "notifications": {
            "type": "boolean",
            "description": "whether this candidate wants to receive email alerts about new jobs"
        },
        "internalFlag": {
            "type": "boolean",
            "description": "whether this candidate is an internal"
        }
    },
    "type": "object",
    "properties": {
        "notifications": {
            "$ref": "#/definitions/notifications"
        },
        "internalFlag": {
            "$ref": "#/definitions/internalFlag"
        }
    },
    "required": [
        "notifications",
        "internalFlag"
    ],
    "additionalProperties": false
}