{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentrux-com/json-schema/agentrux-com-patch-settings-body-schema.json",
  "title": "PatchSettingsBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentrux-com-console-workspace-api-openapi.yml#/components/schemas/PatchSettingsBody",
  "properties": {
    "default_event_retention_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Default Event Retention Seconds"
    },
    "notification_email": {
      "anyOf": [
        {
          "type": "string",
          "format": "email"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notification Email"
    },
    "ip_allowlist": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Ip Allowlist"
    },
    "domain_restriction": {
      "anyOf": [
        {
          "$ref": "#/$defs/DomainRestrictionConfig"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false,
  "type": "object",
  "$defs": {
    "DomainRestrictionConfig": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "title": "Enabled",
          "default": false
        },
        "allowed_domains": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 50,
          "title": "Allowed Domains"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "DomainRestrictionConfig"
    }
  }
}