{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/argorant-com/json-schema/argorant-com-blocklist-entry-schema.json",
  "title": "BlocklistEntry",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/argorant-com-blocklist-api-openapi.yml#/components/schemas/BlocklistEntry",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Entry id (full rows only)."
    },
    "value": {
      "type": "string",
      "description": "The blocked address or domain."
    },
    "type": {
      "type": "string",
      "description": "email or domain.",
      "enum": [
        "email",
        "domain"
      ]
    },
    "scope": {
      "type": "string",
      "description": "workspace (every campaign) or campaign (only campaign_id).",
      "enum": [
        "workspace",
        "campaign"
      ]
    },
    "campaign_id": {
      "type": "string",
      "description": "The campaign a campaign block covers.",
      "format": "uuid"
    },
    "campaign_name": {
      "type": "string",
      "description": "That campaign's name (full rows only)."
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When it was added.",
      "format": "date-time"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why it is blocked (full rows only)."
    },
    "yours": {
      "type": "boolean",
      "description": "true on every row, since you only see your own workspace's list (full rows only)."
    }
  }
}