{
  "$id": "https://schemas.sand.binaryedge.io/minion/modules/prestodb",
  "title": "PrestoDB Module Output Body",
  "type": "object",
  "properties": {
    "catalogs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/catalog"
      }
    }
  },
  "required": [
    "catalogs"
  ],
  "additionalProperties": false,
  "$defs": {
    "schema": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "tables": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false
    },
    "catalog": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "schemas": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/schema"
          }
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false
    }
  }
}
