{
    "fields": {
        "name": {
            "type": "varchar",
            "required": true,
            "readOnly": true
        },
        "status": {
            "type": "enum",
            "readOnly": true,
            "options": ["Success", "Failed"],
            "style": {
                "Success": "success",
                "Failed": "danger"
            }
        },
        "executionTime": {
            "type": "datetime",
            "readOnly": true,
            "hasSeconds": true
        },
        "createdAt": {
            "type": "datetime",
            "readOnly": true
        },
        "scheduledJob": {
            "type": "link"
        },
        "target": {
            "type": "linkParent"
        }
    },
    "links": {
        "scheduledJob": {
            "type": "belongsTo",
            "entity": "ScheduledJob"
        }
    },
    "collection": {
        "orderBy": "executionTime",
        "order": "desc"
    },
    "indexes": {
        "scheduledJobIdExecutionTime": {
            "type": "index",
            "columns": ["scheduledJobId", "executionTime"]
        }
    }
}
