{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "title": "sdu_service_deployment_undeploy_command",
    "description": "SDU dervice deployment undeploy command",
    "additionalProperties": false,
    "required": [
        "request_id",
        "tenant_id",
        "environment_id",
        "service_definition_id",
        "service_deployment_id",
        "service_id"
    ],
    "properties": {
        "request_id": {
            "type": "string",
            "minLength": 32,
            "maxLength": 36,
            "format": "uuid",
            "description": "A UUID."
        },
        "tenant_id": {
            "type": "string",
            "minLength": 32,
            "maxLength": 36,
            "format": "uuid",
            "description": "A UUID."
        },
        "environment_id": {
            "type": "string",
            "minLength": 32,
            "maxLength": 36,
            "format": "uuid",
            "description": "A UUID."
        },
        "service_definition_id": {
            "type": "string",
            "minLength": 32,
            "maxLength": 36,
            "format": "uuid",
            "description": "A UUID."
        },
        "service_deployment_id": {
            "type": "string",
            "minLength": 32,
            "maxLength": 36,
            "format": "uuid",
            "description": "A UUID."
        },
        "service_id": {
            "type": "string",
            "description": "A human readable ID for the service (i.e. media-service)"
        },
        "custom_object_definitions": {
            "type": "array",
            "additionalItems": false,
            "description": "An array of custom object definitions that needs to be cleaned-up with the service deployment",
            "items": {
                "type": "object",
                "description": "A custom object definition to be deleted"
            }
        }
    }
}
