{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#CodeDeploy",
    "description": "A code deploy job.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#RecordEntity"
        },
        {
            "properties": {
                "jobName": {
                    "description": "Build/deploy job name.",
                    "type": "string"
                },
                "jobNumber": {
                    "description": "Build/deploy job number.",
                    "type": "integer"
                },
                "summary": {
                    "description": "Descriptive text of the job.",
                    "type": "string"
                },
                "action": {
                    "description": "Deploy action (e.g. plan, apply, destroy, rollback).",
                    "type": "string"
                },
                "target": {
                    "description": "Name of the target system or environment.",
                    "type": "string"
                },
                "production": {
                    "description": "Indicates if this is a production deploy, defaults to true.",
                    "type": "boolean",
                    "default": true
                }
            },
            "required": []
        }
    ]
}
