{
  "type": "object",
  "properties": {
    "pattern_config_version": {
      "type": [
        "string",
        "null"
      ],
      "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update."
    },
    "provider_pattern_settings": {
      "type": "array",
      "description": "Pattern settings for provider patterns.",
      "items": {
        "type": "object",
        "properties": {
          "token_type": {
            "type": "string",
            "description": "The ID of the pattern to configure."
          },
          "push_protection_setting": {
            "type": "string",
            "description": "Push protection setting to set for the pattern.",
            "enum": [
              "not-set",
              "disabled",
              "enabled"
            ]
          }
        }
      }
    },
    "custom_pattern_settings": {
      "type": "array",
      "description": "Pattern settings for custom patterns.",
      "items": {
        "type": "object",
        "properties": {
          "token_type": {
            "type": "string",
            "description": "The ID of the pattern to configure."
          },
          "custom_pattern_version": {
            "type": [
              "string",
              "null"
            ],
            "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update."
          },
          "push_protection_setting": {
            "type": "string",
            "description": "Push protection setting to set for the pattern.",
            "enum": [
              "disabled",
              "enabled"
            ]
          }
        }
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}