{
    "title": "CLI sync input",
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "fabric_uuid": {
            "type": "string",
            "description": "Fabric UUID"
        },
        "devices_cli": {
            "type": "array",
            "items": {
                "title": "Devices CLI Items",
                "type": "object",
                "description": "Dictionaries of device details",
                "additionalProperties": false,
                "required": [
                    "device_uuid",
                    "cli_objects"
                ],
                "properties": {
                    "device_uuid": {
                        "type": "string",
                        "title": "UUIDs of the device"
                    },
                    "cli_objects": {
                        "type": "array",
                        "title": "cli objects for that device",
                        "items": {
                            "type": "object",
                            "required": [
                                "time",
                                "status"
                            ],
                            "properties": {
                                "time": {
                                    "type": "string",
                                    "title": "Timestamp of the cli change"
                                },
                                "status": {
                                    "type": "string",
                                    "title": "Accept or Reject the commit"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}