Skip to content
Snippets Groups Projects
swmodules.md 18.3 KiB
Newer Older
  • Learn to ignore specific revisions
  • `output`
    
    - is optional
    - type: complex
    
    ##### output Type
    
    Unknown type ``.
    
    ```json
    {
      "oneof": [
    
    Vivek Dutta's avatar
    Vivek Dutta committed
        {
          "type": "object",
          "properties": {
    
            "execution_unit": {
              "type": "array",
              "items": [
                {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "command": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "config": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "environment": {
                      "type": "string"
                    },
                    "eid": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "euid": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "disk_space": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "memory_space": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "vendor": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "command",
                    "config",
                    "version",
                    "description",
                    "environment",
                    "euid",
                    "disk_space",
                    "memory_space",
                    "vendor"
                  ]
                }
              ]
    
    Vivek Dutta's avatar
    Vivek Dutta committed
            }
    
          }
        },
        {
          "type": "object",
          "properties": {
            "execution_unit": {
              "type": "array",
              "items": []
            }
          }
    
    Vivek Dutta's avatar
    Vivek Dutta committed
        }
      ],
    
      "out": "{\"oneof\":[{\"execution_unit\":[{\"name\":\"in est aliqua aliquip\",\"command\":\"proident et \",\"config\":\"reprehenderit nisi qui esse\",\"version\":\"deserunt quis do qui laborum\",\"description\":\"ipsum fugiat non\",\"environment\":\"enim\",\"euid\":18216158,\"disk_space\":13070620,\"memory_space\":67344135,\"vendor\":\"consequat\",\"state\":\"enim sed dolore est elit\",\"eid\":7}]},{\"execution_unit\":[]}]}",
      "simpletype": "complex"
    
    Vivek Dutta's avatar
    Vivek Dutta committed
    }
    ```
    
    ### Output Example
    
    ```json
    {
    
    Vivek Dutta's avatar
    Vivek Dutta committed
        {
    
          "execution_unit": [
            {
              "name": "in est aliqua aliquip",
              "command": "proident et ",
              "config": "reprehenderit nisi qui esse",
              "version": "deserunt quis do qui laborum",
              "description": "ipsum fugiat non",
              "environment": "enim",
              "euid": 18216158,
              "disk_space": 13070620,
              "memory_space": 67344135,
              "vendor": "consequat",
              "state": "enim sed dolore est elit",
              "eid": 7
            }
          ]
        },
        { "execution_unit": [] }