{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://localhost:3000/schemas/post-device-request.json#",
    "title": "Post device request",
    "type": "object",
    "additionalProperties": false,
    "required": [
        "user_agent",
        "user_id"
    ],
    "properties": {
        "user_agent": {
            "type": "string",
            "minLength": 1
        },
        "user_id": {
            "type": "string",
            "minLength": 1
        }
    }
}