{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fidro-io/json-schema/fidro-io-post-api-blocklist-request-schema.json",
  "title": "PostApiBlocklistRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fidro-io-openapi-generated.yml#/components/schemas/PostApiBlocklistRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Type of entry: \"email\", \"ip\", or \"domain\""
    },
    "value": {
      "type": "string",
      "description": "The value to block (email address, IP, or domain)"
    },
    "reason": {
      "type": "string",
      "description": "Reason for blocking this entry"
    },
    "severity": {
      "type": "integer",
      "description": "Severity level from 1 (low) to 10 (high). Default: 5"
    },
    "is_public": {
      "type": "boolean",
      "description": "Share this entry publicly. Default: false"
    }
  },
  "required": [
    "type",
    "value"
  ]
}