{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/outsystems/main/json-schema/outsystems-domain-patch-request-schema.json",
  "title": "DomainPatchRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/outsystems-domains-api-openapi.yml#/components/schemas/DomainPatchRequest",
  "type": "object",
  "properties": {
    "defaultApplicationKey": {
      "type": [
        "string",
        "null"
      ],
      "description": "The application key to set as the default for the domain.",
      "format": "uuid"
    },
    "redirectOption": {
      "allOf": [
        {
          "$ref": "#/$defs/RedirectOption"
        }
      ],
      "description": "The type of redirect to use, enum of [Permanent, Temporary, None]\nDefault is Permanent (301) redirect."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "RedirectOption": {
      "enum": [
        "Permanent",
        "Temporary",
        "None"
      ],
      "type": "string",
      "description": "The type of redirect to use for domains."
    }
  }
}