{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monit-rs/json-schema/monit-rs-probe-ingest-request-schema.json",
  "title": "ProbeIngestRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monit-rs-ingestion-api-openapi.yml#/components/schemas/ProbeIngestRequest",
  "type": "object",
  "required": [
    "endpoint_id",
    "is_success"
  ],
  "properties": {
    "endpoint_id": {
      "type": "string",
      "format": "uuid"
    },
    "is_success": {
      "type": "boolean"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 599
    },
    "response_time_ms": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0
    },
    "response_body": {
      "description": "Any JSON value: object, array, string, number, boolean, or null."
    },
    "response_headers": {
      "type": [
        "object",
        "null"
      ]
    },
    "error_message": {
      "type": [
        "string",
        "null"
      ]
    },
    "checked_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}