{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evaboot-com/json-schema/evaboot-com-recurring-export-out-schema.json",
  "title": "RecurringExportOut",
  "description": "One recurring export the caller can still manage.",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evaboot-com-openapi.json#/components/schemas/RecurringExportOut",
  "properties": {
    "id": {
      "description": "Schedule id. Pass it to get, update, and delete.",
      "format": "uuid",
      "title": "Id",
      "type": "string"
    },
    "name": {
      "description": "Name copied onto each future run.",
      "title": "Name",
      "type": "string"
    },
    "frequency": {
      "description": "`daily`, `weekly`, or `monthly`.",
      "title": "Frequency",
      "type": "string"
    },
    "paused": {
      "description": "When `true`, the scheduler skips this schedule.",
      "title": "Paused",
      "type": "boolean"
    },
    "search_url": {
      "description": "The saved search on LinkedIn, without the new-since-last-run filter.",
      "title": "Search Url",
      "type": "string"
    },
    "lead_search": {
      "description": "`true` for a people search, `false` for a company search.",
      "title": "Lead Search",
      "type": "boolean"
    },
    "template_extraction_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The extraction this schedule was started from, when it still exists. Same id `GET /v1/extractions/{extraction_id}/` accepts.",
      "title": "Template Extraction Id"
    },
    "last_execution_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When the schedule last launched a run. Null before the first automatic run.",
      "title": "Last Execution At"
    },
    "next_execution_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "When the next run is due. A paused schedule still reports the date it would have used.",
      "title": "Next Execution At"
    },
    "runs": {
      "default": 0,
      "description": "Exports this schedule has already produced.",
      "title": "Runs",
      "type": "integer"
    },
    "leads": {
      "default": 0,
      "description": "Leads collected across those runs.",
      "title": "Leads",
      "type": "integer"
    },
    "destinations": {
      "description": "Automatic integrations that receive each run: those sending all exports, all recurring exports, this recurring export, or the folder its runs are filed in. People-only integrations are left out of a company search.",
      "items": {
        "$ref": "#/$defs/RecurringDestinationOut"
      },
      "title": "Destinations",
      "type": "array"
    }
  },
  "required": [
    "id",
    "name",
    "frequency",
    "paused",
    "search_url",
    "lead_search"
  ],
  "type": "object",
  "$defs": {
    "RecurringDestinationOut": {
      "description": "An integration that receives this schedule's runs.",
      "properties": {
        "id": {
          "description": "Integration id.",
          "format": "uuid",
          "title": "Id",
          "type": "string"
        },
        "type": {
          "description": "Integration type.",
          "title": "Type",
          "type": "string"
        },
        "label": {
          "description": "Integration name.",
          "title": "Label",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "label"
      ],
      "title": "RecurringDestinationOut",
      "type": "object"
    }
  }
}