{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ubicloud/main/json-schema/ubicloud-postgres-patch-config-schema.json",
  "title": "PostgresPatchConfig",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ubicloud-openapi.yml#/components/schemas/PostgresPatchConfig",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "pg_config": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "pgbouncer_config": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "additionalProperties": false,
      "required": [
        "pg_config"
      ]
    },
    {
      "type": "object",
      "properties": {
        "pgbouncer_config": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "additionalProperties": false,
      "required": [
        "pgbouncer_config"
      ]
    }
  ]
}