Xero · Schema

UploadObject

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
body string
name string exact name of the file you are uploading
filename string
mimeType string
View JSON Schema on GitHub

JSON Schema

xero-uploadobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UploadObject",
  "title": "UploadObject",
  "type": "object",
  "required": [
    "body",
    "name",
    "filename"
  ],
  "properties": {
    "body": {
      "type": "string",
      "format": "byte"
    },
    "name": {
      "type": "string",
      "description": "exact name of the file you are uploading"
    },
    "filename": {
      "type": "string"
    },
    "mimeType": {
      "type": "string"
    }
  }
}