{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vee3-io/json-schema/vee3-io-uptime-probe-run-response-schema.json",
  "title": "UptimeProbeRunResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vee3-io-cron-api-openapi.yml#/components/schemas/UptimeProbeRunResponse",
  "properties": {
    "recorded_at": {
      "type": "string",
      "title": "Recorded At"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/UptimeProbeResultResponse"
      },
      "type": "array",
      "title": "Results"
    },
    "retention_deleted_count": {
      "type": "integer",
      "title": "Retention Deleted Count"
    }
  },
  "type": "object",
  "required": [
    "recorded_at",
    "results",
    "retention_deleted_count"
  ],
  "$defs": {
    "UptimeProbeResultResponse": {
      "properties": {
        "service_id": {
          "type": "string",
          "title": "Service Id"
        },
        "is_up": {
          "type": "boolean",
          "title": "Is Up"
        },
        "response_time_ms": {
          "type": "integer",
          "title": "Response Time Ms"
        },
        "status_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status Code"
        },
        "error_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Message"
        }
      },
      "type": "object",
      "required": [
        "service_id",
        "is_up",
        "response_time_ms",
        "status_code",
        "error_message"
      ],
      "title": "UptimeProbeResultResponse"
    }
  }
}