{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-email-domain-filter-schema.json",
  "title": "email.domain.Filter",
  "description": "Filter List",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-email-domain-openapi.yml#/components/schemas/email.domain.Filter",
  "type": "object",
  "properties": {
    "action": {
      "allOf": [
        {
          "$ref": "#/$defs/domain.DomainFilterActionEnum"
        }
      ],
      "description": "Action of filter",
      "nullable": true,
      "readOnly": true
    },
    "actionParam": {
      "type": [
        "string",
        "null"
      ],
      "description": "Action parameter of filter",
      "readOnly": true
    },
    "active": {
      "type": "boolean",
      "description": "If true filter is active",
      "readOnly": true
    },
    "domain": {
      "type": "string",
      "description": "Domain name of filter",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Filter name",
      "readOnly": true
    },
    "pop": {
      "type": "string",
      "description": "Account name of filter",
      "readOnly": true
    },
    "priority": {
      "type": "integer",
      "description": "Priority of filter",
      "readOnly": true
    }
  },
  "$defs": {
    "domain.DomainFilterActionEnum": {
      "type": "string",
      "description": "Possible values for filter action",
      "enum": [
        "accept",
        "account",
        "delete",
        "redirect"
      ]
    }
  }
}