{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/redreplier-com/json-schema/redreplier-com-keyword-schema.json",
  "title": "Keyword",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/redreplier-com-openapi.json#/components/schemas/Keyword",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "websiteId": {
      "type": "string",
      "format": "uuid"
    },
    "value": {
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/KeywordStatus"
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "websiteId",
    "value",
    "status"
  ],
  "$defs": {
    "KeywordStatus": {
      "type": "string",
      "enum": [
        "PENDING",
        "ACTIVE",
        "DISABLED",
        "SUSPENDED"
      ],
      "description": "`PENDING` keywords are stored but not monitored until a paid slot covers them."
    }
  }
}