{
  "workspace_id": "starter",
  "name": "postgres",
  "schema": {
    "type": "object",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "required": [
      "dbname",
      "user",
      "password"
    ],
    "properties": {
      "host": {
        "type": "string",
        "description": "The instance host"
      },
      "port": {
        "type": "integer",
        "description": "The instance port"
      },
      "user": {
        "type": "string",
        "description": "The postgres username"
      },
      "dbname": {
        "type": "string",
        "description": "The database name"
      },
      "sslmode": {
        "enum": [
          "disable",
          "allow",
          "prefer",
          "require",
          "verify-ca",
          "verify-full"
        ],
        "type": "string",
        "description": "The sslmode"
      },
      "password": {
        "type": "string",
        "description": "The postgres users password"
      }
    }
  },
  "description": "A postgres database connection resource"
}