{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recruitmcp-com/json-schema/recruitmcp-com-cache-deletion-preview-schema.json",
  "title": "CacheDeletionPreview",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recruitmcp-com-privacy-api-openapi.yml#/components/schemas/CacheDeletionPreview",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "cache_deletion"
    },
    "dry_run": {
      "type": "boolean"
    },
    "deleted": {
      "type": "boolean",
      "description": "Always false on a dry run."
    },
    "would_delete": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "effect": {
      "type": "string"
    },
    "execute": {
      "type": "string",
      "description": "The call that deletes."
    },
    "cost": {
      "$ref": "#/$defs/Cost"
    }
  },
  "required": [
    "object",
    "dry_run",
    "deleted",
    "would_delete",
    "cost"
  ],
  "$defs": {
    "Cost": {
      "type": "object",
      "properties": {
        "credits": {
          "type": "integer",
          "description": "Credits charged by this call. Whole credits. 0 on an idempotent replay, where the body also has replayed: true and the header Idempotent-Replayed: true."
        },
        "cached_items": {
          "type": "integer",
          "description": "Items read from cache. On a replay, the value of the first response."
        },
        "live_items": {
          "type": "integer",
          "description": "Items fetched live by this call. 0 on a replay."
        },
        "upstream_calls": {
          "type": "integer",
          "description": "Index calls made by this call. 0 on a replay."
        }
      },
      "required": [
        "credits"
      ]
    }
  }
}