{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/graphiant/main/json-schema/graphiant-v2-audit-logs-post-request-schema.json",
  "title": "v2AuditLogsPostRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/graphiant-audit-api-openapi.yml#/components/schemas/v2AuditLogsPostRequest",
  "type": "object",
  "properties": {
    "cursorRef": {
      "type": "string"
    },
    "numLogs": {
      "type": "integer",
      "format": "int32",
      "minimum": 0
    },
    "oldTs": {
      "$ref": "#/$defs/googleProtobufTimestamp"
    },
    "recentTs": {
      "$ref": "#/$defs/googleProtobufTimestamp"
    },
    "selector": {
      "$ref": "#/$defs/auditmonAuditLogsV2Selector"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "auditActivityItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "auditmonAuditLogsV2Selector": {
      "type": "object",
      "properties": {
        "categories": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/auditActivityItem"
          }
        },
        "jobTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "targets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/auditActivityItem"
          }
        },
        "users": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "googleProtobufTimestamp": {
      "type": "object",
      "properties": {
        "nanos": {
          "type": "integer",
          "format": "int32"
        },
        "seconds": {
          "type": "integer",
          "format": "int64"
        }
      },
      "additionalProperties": false
    }
  }
}