Cloudflare · Schema

zones_setting

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb PerformanceCloudflareA2A
View JSON Schema on GitHub

JSON Schema

cloudflare-zones-setting-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-zones-setting-schema.json",
  "title": "zones_setting",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-zones-api-openapi.yml#/components/schemas/zones_setting",
  "oneOf": [
    {
      "$ref": "#/$defs/zones_0rtt"
    },
    {
      "$ref": "#/$defs/zones_advanced_ddos"
    },
    {
      "$ref": "#/$defs/zones_always_online"
    },
    {
      "$ref": "#/$defs/zones_always_use_https"
    },
    {
      "$ref": "#/$defs/zones_automatic_https_rewrites"
    },
    {
      "$ref": "#/$defs/zones_brotli"
    },
    {
      "$ref": "#/$defs/zones_browser_cache_ttl"
    },
    {
      "$ref": "#/$defs/zones_browser_check"
    },
    {
      "$ref": "#/$defs/zones_cache_level"
    },
    {
      "$ref": "#/$defs/zones_challenge_ttl"
    },
    {
      "$ref": "#/$defs/zones_ciphers"
    },
    {
      "$ref": "#/$defs/zones_cname_flattening"
    },
    {
      "$ref": "#/$defs/zones_development_mode"
    },
    {
      "$ref": "#/$defs/zones_early_hints"
    },
    {
      "$ref": "#/$defs/zones_edge_cache_ttl"
    },
    {
      "$ref": "#/$defs/zones_email_obfuscation"
    },
    {
      "$ref": "#/$defs/zones_h2_prioritization"
    },
    {
      "$ref": "#/$defs/zones_hotlink_protection"
    },
    {
      "$ref": "#/$defs/zones_http2"
    },
    {
      "$ref": "#/$defs/zones_http3"
    },
    {
      "$ref": "#/$defs/zones_image_resizing"
    },
    {
      "$ref": "#/$defs/zones_ip_geolocation"
    },
    {
      "$ref": "#/$defs/zones_ipv6"
    },
    {
      "$ref": "#/$defs/zones_max_upload"
    },
    {
      "$ref": "#/$defs/zones_min_tls_version"
    },
    {
      "$ref": "#/$defs/zones_minify"
    },
    {
      "$ref": "#/$defs/zones_mirage"
    },
    {
      "$ref": "#/$defs/zones_mobile_redirect"
    },
    {
      "$ref": "#/$defs/zones_nel"
    },
    {
      "$ref": "#/$defs/zones_opportunistic_encryption"
    },
    {
      "$ref": "#/$defs/zones_opportunistic_onion"
    },
    {
      "$ref": "#/$defs/zones_orange_to_orange"
    },
    {
      "$ref": "#/$defs/zones_origin_error_page_pass_thru"
    },
    {
      "$ref": "#/$defs/zones_polish"
    },
    {
      "$ref": "#/$defs/zones_prefetch_preload"
    },
    {
      "$ref": "#/$defs/zones_proxy_read_timeout"
    },
    {
      "$ref": "#/$defs/zones_pseudo_ipv4"
    },
    {
      "$ref": "#/$defs/zones_response_buffering"
    },
    {
      "$ref": "#/$defs/zones_rocket_loader"
    },
    {
      "$ref": "#/$defs/zones_schemas-automatic_platform_optimization"
    },
    {
      "$ref": "#/$defs/zones_security_header"
    },
    {
      "$ref": "#/$defs/zones_security_level"
    },
    {
      "$ref": "#/$defs/zones_server_side_exclude"
    },
    {
      "$ref": "#/$defs/zones_sha1_support"
    },
    {
      "$ref": "#/$defs/zones_sort_query_string_for_cache"
    },
    {
      "$ref": "#/$defs/zones_ssl"
    },
    {
      "$ref": "#/$defs/zones_ssl_recommender"
    },
    {
      "$ref": "#/$defs/zones_tls_1_2_only"
    },
    {
      "$ref": "#/$defs/zones_tls_1_3"
    },
    {
      "$ref": "#/$defs/zones_tls_client_auth"
    },
    {
      "$ref": "#/$defs/zones_true_client_ip_header"
    },
    {
      "$ref": "#/$defs/zones_waf"
    },
    {
      "$ref": "#/$defs/zones_webp"
    },
    {
      "$ref": "#/$defs/zones_websockets"
    }
  ],
  "type": "object",
  "$defs": {
    "zones_0rtt": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "0rtt"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_0rtt_value"
            }
          }
        }
      ],
      "title": "0-RTT Value",
      "description": "0-RTT session resumption enabled for this zone."
    },
    "zones_0rtt_value": {
      "type": "string",
      "description": "Value of the 0-RTT setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_advanced_ddos": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "advanced_ddos"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_advanced_ddos_value"
            }
          }
        }
      ],
      "title": "Advanced DDoS Protection",
      "description": "Advanced protection from Distributed Denial of Service (DDoS) attacks on your website. This is an uneditable value that is 'on' in the case of Business and Enterprise zones."
    },
    "zones_advanced_ddos_value": {
      "type": "string",
      "description": "Value of the zone setting.\nNotes: Defaults to on for Business+ plans",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_always_online": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "always_online"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_always_online_value"
            }
          }
        }
      ],
      "title": "Always Online Mode",
      "description": "When enabled, Cloudflare serves limited copies of web pages available from the [Internet Archive's Wayback Machine](https://archive.org/web/) if your server is offline. Refer to [Always Online](https://developers.cloudflare.com/cache/about/always-online) for more information."
    },
    "zones_always_online_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "on"
    },
    "zones_always_use_https": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "always_use_https"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_always_use_https_value"
            }
          }
        }
      ],
      "title": "Zone Enable Always Use HTTPS",
      "description": "Reply to all requests for URLs that use \"http\" with a 301 redirect to the equivalent \"https\" URL. If you only want to redirect for a subset of requests, consider creating an \"Always use HTTPS\" page rule.",
      "default": "off"
    },
    "zones_always_use_https_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_automatic_https_rewrites": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "automatic_https_rewrites"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_automatic_https_rewrites_value"
            }
          }
        }
      ],
      "title": "Zone Enable Automatic HTTPS Rewrites",
      "description": "Enable the Automatic HTTPS Rewrites feature for this zone.",
      "default": "off"
    },
    "zones_automatic_https_rewrites_value": {
      "type": "string",
      "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.",
      "enum": [
        "on",
        "off"
      ],
      "default": "on"
    },
    "zones_automatic_platform_optimization": {
      "type": "object",
      "required": [
        "enabled",
        "cf",
        "wordpress",
        "wp_plugin",
        "hostnames",
        "cache_by_device_type"
      ],
      "properties": {
        "cache_by_device_type": {
          "type": "boolean",
          "description": "Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled."
        },
        "cf": {
          "type": "boolean",
          "description": "Indicates whether or not Cloudflare proxy is enabled.",
          "default": false
        },
        "enabled": {
          "type": "boolean",
          "description": "Indicates whether or not Automatic Platform Optimization is enabled.",
          "default": false
        },
        "hostnames": {
          "type": "array",
          "description": "An array of hostnames where Automatic Platform Optimization for WordPress is activated.",
          "items": {
            "type": "string",
            "format": "hostname"
          }
        },
        "wordpress": {
          "type": "boolean",
          "description": "Indicates whether or not site is powered by WordPress.",
          "default": false
        },
        "wp_plugin": {
          "type": "boolean",
          "description": "Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed.",
          "default": false
        }
      }
    },
    "zones_base": {
      "required": [
        "id",
        "value"
      ],
      "properties": {
        "editable": {
          "type": "boolean",
          "description": "Whether or not this setting can be modified for this zone (based on your Cloudflare plan level).",
          "enum": [
            true,
            false
          ],
          "default": true,
          "readOnly": true
        },
        "id": {
          "type": "string",
          "description": "Identifier of the zone setting."
        },
        "modified_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "last time this setting was modified.",
          "readOnly": true
        },
        "value": {
          "description": "Current value of the zone setting."
        }
      }
    },
    "zones_brotli": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "brotli"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_brotli_value"
            }
          }
        }
      ],
      "title": "Brotli Compression",
      "description": "When the client requesting an asset supports the Brotli compression algorithm, Cloudflare will serve a Brotli compressed version of the asset."
    },
    "zones_brotli_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "off",
        "on"
      ],
      "default": "off"
    },
    "zones_browser_cache_ttl": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "browser_cache_ttl"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_browser_cache_ttl_value"
            }
          }
        }
      ],
      "title": "Browser Cache TTL",
      "description": "Browser Cache TTL (in seconds) specifies how long Cloudflare-cached resources will remain on your visitors' computers. Cloudflare will honor any larger times specified by your server. (https://support.cloudflare.com/hc/en-us/articles/200168276)."
    },
    "zones_browser_cache_ttl_value": {
      "type": "number",
      "description": "Value of the zone setting.\nNotes: Setting a TTL of 0 is equivalent to selecting `Respect Existing Headers`",
      "enum": [
        0,
        30,
        60,
        120,
        300,
        1200,
        1800,
        3600,
        7200,
        10800,
        14400,
        18000,
        28800,
        43200,
        57600,
        72000,
        86400,
        172800,
        259200,
        345600,
        432000,
        691200,
        1382400,
        2073600,
        2678400,
        5356800,
        16070400,
        31536000
      ],
      "default": 14400
    },
    "zones_browser_check": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "browser_check"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_browser_check_value"
            }
          }
        }
      ],
      "title": "Browser Check",
      "description": "Browser Integrity Check is similar to Bad Behavior and looks for common HTTP headers abused most commonly by spammers and denies access to your page.  It will also challenge visitors that do not have a user agent or a non standard user agent (also commonly used by abuse bots, crawlers or visitors). (https://support.cloudflare.com/hc/en-us/articles/200170086)."
    },
    "zones_browser_check_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "on"
    },
    "zones_cache_level": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "cache_level"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_cache_level_value"
            }
          }
        }
      ],
      "title": "Cloudflare Cache Level",
      "description": "Cache Level functions based off the setting level. The basic setting will cache most static resources (i.e., css, images, and JavaScript). The simplified setting will ignore the query string when delivering a cached resource. The aggressive setting will cache all static resources, including ones with a query string. (https://support.cloudflare.com/hc/en-us/articles/200168256)."
    },
    "zones_cache_level_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "aggressive",
        "basic",
        "simplified"
      ],
      "default": "aggressive"
    },
    "zones_challenge_ttl": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "challenge_ttl"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_challenge_ttl_value"
            }
          }
        }
      ],
      "title": "Challenge Page TTL",
      "description": "Specify how long a visitor is allowed access to your site after successfully completing a challenge (such as a CAPTCHA). After the TTL has expired the visitor will have to complete a new challenge. We recommend a 15 - 45 minute setting and will attempt to honor any setting above 45 minutes. (https://support.cloudflare.com/hc/en-us/articles/200170136)."
    },
    "zones_challenge_ttl_value": {
      "type": "number",
      "description": "Value of the zone setting.",
      "enum": [
        300,
        900,
        1800,
        2700,
        3600,
        7200,
        10800,
        14400,
        28800,
        57600,
        86400,
        604800,
        2592000,
        31536000
      ],
      "default": 1800
    },
    "zones_ciphers": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "ciphers"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_ciphers_value"
            }
          }
        }
      ],
      "title": "Zone ciphers allowed for TLS termination",
      "description": "An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.",
      "default": []
    },
    "zones_ciphers_value": {
      "type": "array",
      "description": "Value of the zone setting.",
      "default": [],
      "uniqueItems": true,
      "items": {
        "type": "string"
      }
    },
    "zones_cname_flattening": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "How to flatten the cname destination.",
              "enum": [
                "cname_flattening"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_cname_flattening_value"
            }
          }
        }
      ],
      "title": "Cloudflare CNAME Flattening",
      "description": "Whether or not cname flattening is on."
    },
    "zones_cname_flattening_value": {
      "type": "string",
      "description": "Value of the cname flattening setting.",
      "enum": [
        "flatten_at_root",
        "flatten_all"
      ],
      "default": "flatten_at_root"
    },
    "zones_development_mode": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "development_mode"
              ]
            },
            "time_remaining": {
              "type": "number",
              "description": "Value of the zone setting.\nNotes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is false.",
              "readOnly": true
            },
            "value": {
              "$ref": "#/$defs/zones_development_mode_value"
            }
          }
        }
      ],
      "title": "Development Mode",
      "description": "Development Mode temporarily allows you to enter development mode for your websites if you need to make changes to your site. This will bypass Cloudflare's accelerated cache and slow down your site, but is useful if you are making changes to cacheable content (like images, css, or JavaScript) and would like to see those changes right away. Once entered, development mode will last for 3 hours and then automatically toggle off."
    },
    "zones_development_mode_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_early_hints": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "early_hints"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_early_hints_value"
            }
          }
        }
      ],
      "title": "Early Hints",
      "description": "When enabled, Cloudflare will attempt to speed up overall page loads by serving `103` responses with `Link` headers from the final response. Refer to [Early Hints](https://developers.cloudflare.com/cache/about/early-hints) for more information."
    },
    "zones_early_hints_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_edge_cache_ttl": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "edge_cache_ttl"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_edge_cache_ttl_value"
            }
          }
        }
      ],
      "title": "Edge Cache TTL",
      "description": "Time (in seconds) that a resource will be ensured to remain on Cloudflare's cache servers."
    },
    "zones_edge_cache_ttl_value": {
      "type": "number",
      "description": "Value of the zone setting.\nNotes: The minimum TTL available depends on the plan level of the zone. (Enterprise = 30, Business = 1800, Pro = 3600, Free = 7200)",
      "enum": [
        30,
        60,
        300,
        1200,
        1800,
        3600,
        7200,
        10800,
        14400,
        18000,
        28800,
        43200,
        57600,
        72000,
        86400,
        172800,
        259200,
        345600,
        432000,
        518400,
        604800
      ],
      "default": 7200
    },
    "zones_email_obfuscation": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "email_obfuscation"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_email_obfuscation_value"
            }
          }
        }
      ],
      "title": "Email Obfuscation",
      "description": "Encrypt email adresses on your web page from bots, while keeping them visible to humans. (https://support.cloudflare.com/hc/en-us/articles/200170016)."
    },
    "zones_email_obfuscation_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "on"
    },
    "zones_h2_prioritization": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "h2_prioritization"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_h2_prioritization_value"
            }
          }
        }
      ],
      "title": "HTTP/2 Edge Prioritization",
      "description": "HTTP/2 Edge Prioritization optimises the delivery of resources served through HTTP/2 to improve page load performance. It also supports fine control of content delivery when used in conjunction with Workers."
    },
    "zones_h2_prioritization_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off",
        "custom"
      ],
      "default": "off"
    },
    "zones_hotlink_protection": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "hotlink_protection"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_hotlink_protection_value"
            }
          }
        }
      ],
      "title": "Hotlink Protection",
      "description": "When enabled, the Hotlink Protection option ensures that other sites cannot suck up your bandwidth by building pages that use images hosted on your site. Anytime a request for an image on your site hits Cloudflare, we check to ensure that it's not another site requesting them. People will still be able to download and view images from your page, but other sites won't be able to steal them for use on their own pages. (https://support.cloudflare.com/hc/en-us/articles/200170026)."
    },
    "zones_hotlink_protection_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_http2": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "http2"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_http2_value"
            }
          }
        }
      ],
      "title": "HTTP2 Value",
      "description": "HTTP2 enabled for this zone."
    },
    "zones_http2_value": {
      "type": "string",
      "description": "Value of the HTTP2 setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_http3": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "http3"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_http3_value"
            }
          }
        }
      ],
      "title": "HTTP3 Value",
      "description": "HTTP3 enabled for this zone."
    },
    "zones_http3_value": {
      "type": "string",
      "description": "Value of the HTTP3 setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_image_resizing": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "image_resizing"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_image_resizing_value"
            }
          }
        }
      ],
      "title": "Image Resizing",
      "description": "Image Resizing provides on-demand resizing, conversion and optimisation for images served through Cloudflare's network. Refer to the [Image Resizing documentation](https://developers.cloudflare.com/images/) for more information."
    },
    "zones_image_resizing_value": {
      "type": "string",
      "description": "Whether the feature is enabled, disabled, or enabled in `open proxy` mode.",
      "enum": [
        "on",
        "off",
        "open"
      ],
      "default": "off"
    },
    "zones_ip_geolocation": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "ip_geolocation"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_ip_geolocation_value"
            }
          }
        }
      ],
      "title": "IP Geolocation",
      "description": "Enable IP Geolocation to have Cloudflare geolocate visitors to your website and pass the country code to you. (https://support.cloudflare.com/hc/en-us/articles/200168236)."
    },
    "zones_ip_geolocation_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "on"
    },
    "zones_ipv6": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "ipv6"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_ipv6_value"
            }
          }
        }
      ],
      "title": "IPv6",
      "description": "Enable IPv6 on all subdomains that are Cloudflare enabled.  (https://support.cloudflare.com/hc/en-us/articles/200168586)."
    },
    "zones_ipv6_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "off",
        "on"
      ],
      "default": "off"
    },
    "zones_max_upload": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "identifier of the zone setting.",
              "enum": [
                "max_upload"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_max_upload_value"
            }
          }
        }
      ],
      "title": "Max Upload",
      "description": "Maximum size of an allowable upload."
    },
    "zones_max_upload_value": {
      "type": "number",
      "description": "Value of the zone setting.\nNotes: The size depends on the plan level of the zone. (Enterprise = 500, Business = 200, Pro = 100, Free = 100)",
      "enum": [
        100,
        200,
        500
      ],
      "default": 100
    },
    "zones_min_tls_version": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "min_tls_version"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_min_tls_version_value"
            }
          }
        }
      ],
      "title": "Zone Minimum TLS Version value",
      "description": "Only accepts HTTPS requests that use at least the TLS protocol version specified. For example, if TLS 1.1 is selected, TLS 1.0 connections will be rejected, while 1.1, 1.2, and 1.3 (if enabled) will be permitted.",
      "default": "1.0"
    },
    "zones_min_tls_version_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "1.0",
        "1.1",
        "1.2",
        "1.3"
      ],
      "default": "1.0"
    },
    "zones_minify": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "Zone setting identifier.",
              "enum": [
                "minify"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_minify_value"
            }
          }
        }
      ],
      "title": "Auto-Minify Assets",
      "description": "Automatically minify certain assets for your website. Refer to [Using Cloudflare Auto Minify](https://support.cloudflare.com/hc/en-us/articles/200168196) for more information."
    },
    "zones_minify_value": {
      "type": "object",
      "description": "Value of the zone setting.",
      "default": {
        "css": "off",
        "html": "off",
        "js": "off"
      },
      "properties": {
        "css": {
          "description": "Automatically minify all CSS files for your website.",
          "enum": [
            "on",
            "off"
          ],
          "default": "off"
        },
        "html": {
          "description": "Automatically minify all HTML files for your website.",
          "enum": [
            "on",
            "off"
          ],
          "default": "off"
        },
        "js": {
          "description": "Automatically minify all JavaScript files for your website.",
          "enum": [
            "on",
            "off"
          ],
          "default": "off"
        }
      }
    },
    "zones_mirage": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "ID of the zone setting.",
              "enum": [
                "mirage"
              ]
            },
            "value": {
              "$ref": "#/$defs/zones_mirage_value"
            }
          }
        }
      ],
      "title": "Mirage Image Optimization",
      "description": "Automatically optimize image loading for website visitors on mobile\ndevices. Refer to [our blog post](http://blog.cloudflare.com/mirage2-solving-mobile-speed)\nfor more information.\n"
    },
    "zones_mirage_value": {
      "type": "string",
      "description": "Value of the zone setting.",
      "enum": [
        "on",
        "off"
      ],
      "default": "off"
    },
    "zones_mobile_redirect": {
      "allOf": [
        {
          "$ref": "#/$defs/zones_base"
        },
        {
          "properties": {
            "id": {
              "description": "Identifier of the zone setting.",
              "enum": [
                "mobile_redirect"
              ]
            },
            "value": {
              "$ref": "#/$defs/zo

# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cloudflare/refs/heads/main/json-schema/cloudflare-zones-setting-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudflare-zones-setting"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.