{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LogpushJob",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique identifier of the job."
    },
    "name": {
      "type": "string",
      "description": "A human-readable name for the job."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the job is active."
    },
    "dataset": {
      "type": "string",
      "description": "The log dataset."
    },
    "destination_conf": {
      "type": "string",
      "description": "The destination configuration URI."
    },
    "logpull_options": {
      "type": "string",
      "description": "Logpull options specifying fields, timestamps, and sample rate."
    },
    "frequency": {
      "type": "string",
      "description": "Log push frequency."
    },
    "last_complete": {
      "type": "string",
      "description": "Timestamp of the last successful push."
    },
    "last_error": {
      "type": "string",
      "description": "Timestamp of the last error."
    },
    "error_message": {
      "type": "string",
      "description": "Last error message."
    }
  }
}