{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "put user request",
    "description": "put user request",
    "type": "object",
    "properties": {
        "email": {
            "type": "string",
            "minLength": 1
        },
        "password": {
            "type": "string",
            "minLength": 1
        },
        "dockerImageName": {
            "type": "string",
            "minLength": 1
        },
        "credentials": {
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string",
                        "minLength": 1
                    },
                    "secret": {
                        "type": "string",
                        "minLength": 1
                    },
                    "createdOn": {
                        "type": "string",
                        "minLength": 1
                    },
                    "expiresOn": {
                        "type": "string",
                        "minLength": 1
                    },
                    "revokedOn": {
                        "type": "string",
                        "minLength": 1
                    }
                },
                "required": [
                    "key",
                    "secret",
                    "createdOn",
                    "expiresOn"
                ],
                "additionalProperties": false
            }
        }
    },
    "required": [
        "email",
        "password",
        "dockerImageName",
        "credentials"
    ],
    "additionalProperties": false
}