{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/graphiant/main/json-schema/graphiant-v1-logs-post-response-schema.json",
  "title": "v1LogsPostResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/graphiant-logs-api-openapi.yml#/components/schemas/v1LogsPostResponse",
  "type": "object",
  "properties": {
    "cursorRef": {
      "type": "string"
    },
    "histogram": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/syslogmonHistogram"
      }
    },
    "logs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/syslogmonLog"
      }
    },
    "totalLogs": {
      "type": "integer",
      "format": "int64",
      "minimum": 0
    }
  },
  "additionalProperties": false,
  "$defs": {
    "googleProtobufTimestamp": {
      "type": "object",
      "properties": {
        "nanos": {
          "type": "integer",
          "format": "int32"
        },
        "seconds": {
          "type": "integer",
          "format": "int64"
        }
      },
      "additionalProperties": false
    },
    "syslogmonHistogram": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "format": "int32",
          "minimum": 0
        },
        "ts": {
          "$ref": "#/$defs/googleProtobufTimestamp"
        }
      },
      "additionalProperties": false
    },
    "syslogmonLog": {
      "type": "object",
      "properties": {
        "deviceId": {
          "type": "integer",
          "format": "int64",
          "minimum": 0
        },
        "facility": {
          "type": "string"
        },
        "hostname": {
          "type": "string"
        },
        "level": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "ts": {
          "$ref": "#/$defs/googleProtobufTimestamp"
        }
      },
      "additionalProperties": false
    }
  }
}