{
  "$id": "https://schemas.sand.binaryedge.io/minion/modules/mongodb",
  "title": "MongoDB Module Output Body",
  "type": "object",
  "properties": {
    "listDatabases": {
      "$comment": "Most of the keys in this object are controlled by the server.",
      "type": "object",
      "properties": {
        "databases": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/database"
          }
        }
      },
      "additionalProperties": true
    },
    "ping": {
      "$comment": "The keys in this object are entirely controlled by the server.",
      "type": "object"
    },
    "serverInfo": {
      "$comment": "The keys in this object are entirely controlled by the server.",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "database": {
      "$comment": "Most of the keys in this object are controlled by the server.",
      "type": "object",
      "properties": {
        "collections": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "stats": {
          "type": "object"
        }
      },
      "additionalProperties": true
    }
  }
}
