{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DirectConnection",
  "title": "DirectConnection",
  "type": "object",
  "description": "Direct TCP connection details for the database",
  "properties": {
    "host": {
      "type": "string",
      "description": "Database host address"
    },
    "port": {
      "type": "integer",
      "description": "Database port number",
      "default": 5432
    },
    "username": {
      "type": "string",
      "description": "Database username"
    },
    "password": {
      "type": "string",
      "description": "Database password"
    },
    "database": {
      "type": "string",
      "description": "Database name"
    }
  },
  "required": [
    "host",
    "port",
    "username",
    "password",
    "database"
  ]
}