{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-mrtruleset-patch-request-schema.json",
  "title": "MRTRulesetPatchRequest",
  "description": "PATCH request for updating the MRT environment hostname or adding MRT rules to route to an existing MRT environment.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-commerce-cloud-zones-api-openapi.yml#/components/schemas/MRTRulesetPatchRequest",
  "required": [
    "mrtHostname"
  ],
  "type": "object",
  "properties": {
    "oldMrtHostname": {
      "type": "string",
      "description": "The customer's current MRT instance hostname.",
      "pattern": "^.*$"
    },
    "mrtHostname": {
      "type": "string",
      "description": "The customer's MRT instance hostname.",
      "pattern": "^.*$"
    },
    "expressions": {
      "items": {
        "type": "string",
        "pattern": "^.*$"
      },
      "type": "array",
      "description": "An array containing the expressions for each MRT rule."
    },
    "descriptions": {
      "items": {
        "type": "string",
        "pattern": "^.*$"
      },
      "type": "array",
      "description": "An array containing the descriptions for each MRT rule. The number of descriptions provided must match the number of expressions provided. Optional."
    }
  },
  "additionalProperties": false
}