{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-robotapi-robot-csv-upload-req-schema.json",
  "title": "robotapiRobotCsvUploadReq",
  "description": "Request body for uploading a CSV file for any inventory type",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-add-via-csv-file-api-openapi.yml#/components/schemas/robotapiRobotCsvUploadReq",
  "type": "object",
  "properties": {
    "csv": {
      "type": "string",
      "format": "byte"
    },
    "user": {
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/robotapiRobotInventoryType"
    }
  },
  "$defs": {
    "robotapiRobotInventoryType": {
      "description": "Supported Inventory Type",
      "type": "string",
      "enum": [
        "INV_TYPE_UNKNOWN",
        "INV_TYPE_NODE",
        "INV_TYPE_PROVIDER",
        "INV_TYPE_CREDENTIAL",
        "INV_TYPE_TAG"
      ],
      "default": "INV_TYPE_UNKNOWN"
    }
  }
}