{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/payrix/main/json-schema/payrix-alerts-put-request-schema.json",
  "title": "alertsPutRequest",
  "x-generated": "2026-09-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/payrix-alerts-api-openapi.yml#/components/schemas/alertsPutRequest",
  "type": "object",
  "properties": {
    "login": {
      "type": "string",
      "description": "The Login that owns this resource."
    },
    "forlogin": {
      "type": "string",
      "description": "The identifier of the Login that this Alert relates to. \nThe Alert is triggered based on the activity of this Login."
    },
    "team": {
      "type": "string",
      "description": "The identifier (ID) of the team that this Alert relates to. The Alert is triggered based on the activity of this Team."
    },
    "division": {
      "type": "string",
      "description": "The division for which this Alerts applies."
    },
    "partition": {
      "type": "string",
      "description": "The partition for which this Alerts applies."
    },
    "name": {
      "type": "string",
      "description": "The name of this Alert. \nThis field is stored as a text string and must be between 1 and 100 characters long."
    },
    "description": {
      "type": "string",
      "description": "Description of Alerts."
    },
    "inactive": {
      "allOf": [
        {
          "$ref": "#/$defs/inactive"
        },
        {
          "description": "Whether this resource is marked as inactive.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Active**\n- `1` - **Inactive**\n\n</details>"
        }
      ]
    },
    "frozen": {
      "allOf": [
        {
          "$ref": "#/$defs/frozen"
        },
        {
          "description": "Whether this resource is marked as frozen.\n\n<details>\n<summary>Valid Values</summary>\n\n- `0` - **Not Frozen**\n- `1` - **Frozen**\n\n</details>"
        }
      ]
    }
  },
  "$defs": {
    "frozen": {
      "title": "frozen",
      "enum": [
        0,
        1
      ],
      "type": "integer"
    },
    "inactive": {
      "title": "inactive",
      "enum": [
        0,
        1
      ],
      "type": "integer"
    }
  }
}