{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/ps/bsd.json",
  "title": "ps/bsd",
  "description": "ps aux (USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND) on Linux and macOS",
  "x-jsonize": {
    "definition": "ps/bsd",
    "version": 1
  },
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "user": {
        "type": "string"
      },
      "pid": {
        "type": "integer"
      },
      "cpu_percent": {
        "type": "number"
      },
      "mem_percent": {
        "type": "number"
      },
      "vsz": {
        "type": "integer"
      },
      "rss": {
        "type": "integer"
      },
      "tty": {
        "type": [
          "string",
          "null"
        ]
      },
      "stat": {
        "type": "string"
      },
      "start": {
        "type": "string"
      },
      "time": {
        "type": "number"
      },
      "command": {
        "type": "string"
      }
    },
    "required": [
      "user",
      "pid",
      "cpu_percent",
      "mem_percent",
      "vsz",
      "rss",
      "tty",
      "stat",
      "start",
      "time",
      "command"
    ]
  }
}
