{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phala/json-schema/phala-update-network-config-request-schema.json",
  "title": "UpdateNetworkConfigRequest",
  "description": "Partial update for KMS/Gateway URLs. Only set fields are applied.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phala-cvms-network-config-api-openapi.yml#/components/schemas/UpdateNetworkConfigRequest",
  "properties": {
    "kms_urls": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kms Urls"
    },
    "gateway_urls": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Gateway Urls"
    },
    "restart": {
      "type": "boolean",
      "title": "Restart",
      "description": "Restart the CVM after applying changes to reload configuration.",
      "default": false
    }
  },
  "type": "object"
}