{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/armis/json-schema/armis-arp-upload-request-schema.json",
  "title": "ArpUploadRequest",
  "description": "A CSV of IP/MAC matches to upload as user ARP records.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/armis-arp-api-openapi.yml#/components/schemas/ArpUploadRequest",
  "properties": {
    "file": {
      "type": "string",
      "contentMediaType": "application/octet-stream",
      "title": "File",
      "description": "A CSV file with the columns ip,mac."
    },
    "expiration": {
      "type": "string",
      "format": "date-time",
      "title": "Expiration",
      "description": "The UTC time at which the uploaded records expire. Must be in the future and at most 30 days from now."
    },
    "network_id": {
      "type": "string",
      "minLength": 1,
      "title": "Network Id",
      "description": "Identifies the logical network segment the ARP data originates from. Used to disambiguate overlapping IP ranges across different network segments. When multiple networks share the same IP space, this field ensures MAC-to-IP bindings are resolved within the correct network context."
    }
  },
  "type": "object",
  "required": [
    "file",
    "expiration",
    "network_id"
  ]
}