From 77f8d45fdb2061e338bf7d5c401a421e2aef3f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9lanie=20Vistry?= Date: Mon, 25 May 2026 16:28:18 +0200 Subject: [PATCH 1/3] Deleted removed streams --- .../taps/schemas/xero/v2/json/employees.json | 44 - .../schemas/xero/v2/json/expense_claims.json | 2809 ----------------- _data/taps/schemas/xero/v2/json/receipts.json | 1193 ------- .../schemas/xero/v2/xero-v2-foreign-keys.yml | 31 +- _data/taps/schemas/xero/v2/xero-v2-tables.yml | 47 - 5 files changed, 2 insertions(+), 4122 deletions(-) delete mode 100644 _data/taps/schemas/xero/v2/json/employees.json delete mode 100644 _data/taps/schemas/xero/v2/json/expense_claims.json delete mode 100644 _data/taps/schemas/xero/v2/json/receipts.json diff --git a/_data/taps/schemas/xero/v2/json/employees.json b/_data/taps/schemas/xero/v2/json/employees.json deleted file mode 100644 index 037abc013..000000000 --- a/_data/taps/schemas/xero/v2/json/employees.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "additionalProperties": false, - "properties": { - "EmployeeID": { - "type": [ - "string" - ] - }, - "ExternalLink": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - } - }, - "type": [ - "null", - "object" - ] -} \ No newline at end of file diff --git a/_data/taps/schemas/xero/v2/json/expense_claims.json b/_data/taps/schemas/xero/v2/json/expense_claims.json deleted file mode 100644 index c7d699d11..000000000 --- a/_data/taps/schemas/xero/v2/json/expense_claims.json +++ /dev/null @@ -1,2809 +0,0 @@ -{ - "additionalProperties": false, - "properties": { - "AmountDue": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "AmountPaid": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "ExpenseClaimID": { - "type": [ - "string" - ] - }, - "PaymentDueDate": { - "type": [ - "null", - "date-time" - ] - }, - "Payments": { - "items": { - "properties": { - "Account": { - "properties": { - "AccountID": { - "type": [ - "string" - ] - }, - "BankAccountNumber": { - "type": [ - "null", - "string" - ] - }, - "BankAccountType": { - "type": [ - "null", - "string" - ] - }, - "Class": { - "type": [ - "null", - "string" - ] - }, - "Code": { - "type": [ - "null", - "string" - ] - }, - "CurrencyCode": { - "type": [ - "null", - "string" - ] - }, - "Description": { - "type": [ - "null", - "string" - ] - }, - "EnablePaymentsToAccount": { - "type": [ - "null", - "boolean" - ] - }, - "HasAttachments": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "ReportingCode": { - "type": [ - "null", - "string" - ] - }, - "ReportingCodeName": { - "type": [ - "null", - "string" - ] - }, - "ShowInExpenseClaims": { - "type": [ - "null", - "boolean" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "SystemAccount": { - "type": [ - "null", - "string" - ] - }, - "TaxType": { - "type": [ - "null", - "string" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - } - }, - "type": [ - "object" - ] - }, - "Amount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "BankAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "BatchPaymentID": { - "type": [ - "null", - "string" - ] - }, - "CreditNote": { - "additionalProperties": false, - "properties": { - "CreditNoteNumber": { - "type": [ - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "CurrencyRate": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-10, - "type": [ - "null", - "number" - ] - }, - "Date": { - "type": [ - "null", - "date-time" - ] - }, - "HasAccount": { - "type": [ - "null", - "boolean" - ] - }, - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "Invoice": { - "properties": { - "AmountCredited": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "AmountDue": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "AmountPaid": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "BrandingThemeID": { - "type": [ - "null", - "string" - ] - }, - "Contact": { - "properties": { - "AccountNumber": { - "type": [ - "null", - "string" - ] - }, - "AccountsPayableTaxType": { - "type": [ - "null", - "string" - ] - }, - "AccountsReceivableTaxType": { - "type": [ - "null", - "string" - ] - }, - "Addresses": { - "items": { - "properties": { - "AddressLine1": { - "type": [ - "null", - "string" - ] - }, - "AddressLine2": { - "type": [ - "null", - "string" - ] - }, - "AddressLine3": { - "type": [ - "null", - "string" - ] - }, - "AddressLine4": { - "type": [ - "null", - "string" - ] - }, - "AddressType": { - "type": [ - "null", - "string" - ] - }, - "AttentionTo": { - "type": [ - "null", - "string" - ] - }, - "City": { - "type": [ - "null", - "string" - ] - }, - "Country": { - "type": [ - "null", - "string" - ] - }, - "PostalCode": { - "type": [ - "null", - "string" - ] - }, - "Region": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Attachments": { - "items": { - "additionalProperties": false, - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Balances": { - "additionalProperties": false, - "properties": { - "AccountsPayable": { - "additionalProperties": false, - "properties": { - "Outstanding": { - "type": [ - "null", - "number" - ] - }, - "Overdue": { - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "AccountsReceivable": { - "additionalProperties": false, - "properties": { - "Outstanding": { - "type": [ - "null", - "number" - ] - }, - "Overdue": { - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "BankAccountDetails": { - "type": [ - "null", - "string" - ] - }, - "BatchPayments": { - "additionalProperties": false, - "properties": { - "BankAccountName": { - "type": [ - "null", - "string" - ] - }, - "BankAccountNumber": { - "type": [ - "null", - "string" - ] - }, - "Code": { - "type": [ - "null", - "string" - ] - }, - "Details": { - "type": [ - "null", - "string" - ] - }, - "Reference": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "BrandingTheme": { - "properties": { - "BrandingThemeID": { - "type": [ - "string" - ] - }, - "CreatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "SortOrder": { - "type": [ - "null", - "integer" - ] - } - }, - "type": [ - "object" - ] - }, - "ContactGroups": { - "items": { - "properties": { - "ContactGroupID": { - "type": [ - "string" - ] - }, - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ContactID": { - "type": [ - "string" - ] - }, - "ContactNumber": { - "type": [ - "null", - "string" - ] - }, - "ContactPersons": { - "items": { - "additionalProperties": false, - "properties": { - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "IncludeInEmails": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ContactStatus": { - "type": [ - "null", - "string" - ] - }, - "DefaultCurrency": { - "type": [ - "null", - "string" - ] - }, - "Discount": { - "type": [ - "null", - "number" - ] - }, - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "HasAttachments": { - "type": [ - "null", - "boolean" - ] - }, - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsCustomer": { - "type": [ - "null", - "boolean" - ] - }, - "IsSupplier": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "PaymentTerms": { - "properties": { - "Bills": { - "additionalProperties": false, - "properties": { - "Day": { - "type": [ - "null", - "integer" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "Sales": { - "additionalProperties": false, - "properties": { - "Day": { - "type": [ - "null", - "integer" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "object" - ] - }, - "Phones": { - "items": { - "properties": { - "PhoneAreaCode": { - "type": [ - "null", - "string" - ] - }, - "PhoneCountryCode": { - "type": [ - "null", - "string" - ] - }, - "PhoneNumber": { - "type": [ - "null", - "string" - ] - }, - "PhoneType": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "PurchasesDefaultAccountCode": { - "type": [ - "null", - "string" - ] - }, - "PurchasesTrackingCategories": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "SalesDefaultAccountCode": { - "type": [ - "null", - "string" - ] - }, - "SalesTrackingCategories": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "SkypeUserName": { - "type": [ - "null", - "string" - ] - }, - "TaxNumber": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryOption": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Website": { - "type": [ - "null", - "string" - ] - }, - "XeroNetworkKey": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "CurrencyCode": { - "type": [ - "null", - "string" - ] - }, - "CurrencyRate": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-10, - "type": [ - "null", - "number" - ] - }, - "Date": { - "type": [ - "null", - "date-time" - ] - }, - "DateString": { - "type": [ - "null", - "date-time" - ] - }, - "DueDate": { - "type": [ - "null", - "date-time" - ] - }, - "DueDateString": { - "type": [ - "null", - "date-time" - ] - }, - "ExpectedPaymentDate": { - "type": [ - "null", - "date-time" - ] - }, - "FullyPaidOnDate": { - "type": [ - "null", - "date-time" - ] - }, - "HasAttachments": { - "type": [ - "null", - "boolean" - ] - }, - "HasErrors": { - "type": [ - "null", - "boolean" - ] - }, - "InvoiceID": { - "type": [ - "string" - ] - }, - "InvoiceNumber": { - "type": [ - "null", - "string" - ] - }, - "IsDiscounted": { - "type": [ - "null", - "boolean" - ] - }, - "LineAmountTypes": { - "type": [ - "null", - "string" - ] - }, - "LineItems": { - "items": { - "properties": { - "AccountCode": { - "type": [ - "null", - "string" - ] - }, - "Description": { - "type": [ - "null", - "string" - ] - }, - "DiscountRate": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "ItemCode": { - "type": [ - "null", - "string" - ] - }, - "LineAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "LineItemID": { - "type": [ - "string" - ] - }, - "Quantity": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TaxAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TaxType": { - "type": [ - "null", - "string" - ] - }, - "Tracking": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "UnitAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "PlannedPaymentDate": { - "type": [ - "null", - "date-time" - ] - }, - "Reference": { - "type": [ - "null", - "string" - ] - }, - "SentToContact": { - "type": [ - "null", - "boolean" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "SubTotal": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "Total": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TotalDiscount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TotalTax": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "Url": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "IsReconciled": { - "type": [ - "null", - "boolean" - ] - }, - "Overpayment": { - "items": { - "additionalProperties": false, - "properties": { - "OverpaymentID": { - "type": [ - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "PaymentID": { - "type": [ - "string" - ] - }, - "PaymentType": { - "type": [ - "null", - "string" - ] - }, - "Prepayments": { - "items": { - "additionalProperties": false, - "properties": { - "PrepaymentID": { - "type": [ - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Reference": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Receipts": { - "items": { - "properties": { - "Attachments": { - "items": { - "additionalProperties": false, - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Contact": { - "properties": { - "AccountNumber": { - "type": [ - "null", - "string" - ] - }, - "AccountsPayableTaxType": { - "type": [ - "null", - "string" - ] - }, - "AccountsReceivableTaxType": { - "type": [ - "null", - "string" - ] - }, - "Addresses": { - "items": { - "properties": { - "AddressLine1": { - "type": [ - "null", - "string" - ] - }, - "AddressLine2": { - "type": [ - "null", - "string" - ] - }, - "AddressLine3": { - "type": [ - "null", - "string" - ] - }, - "AddressLine4": { - "type": [ - "null", - "string" - ] - }, - "AddressType": { - "type": [ - "null", - "string" - ] - }, - "AttentionTo": { - "type": [ - "null", - "string" - ] - }, - "City": { - "type": [ - "null", - "string" - ] - }, - "Country": { - "type": [ - "null", - "string" - ] - }, - "PostalCode": { - "type": [ - "null", - "string" - ] - }, - "Region": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Attachments": { - "items": { - "additionalProperties": false, - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Balances": { - "additionalProperties": false, - "properties": { - "AccountsPayable": { - "additionalProperties": false, - "properties": { - "Outstanding": { - "type": [ - "null", - "number" - ] - }, - "Overdue": { - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "AccountsReceivable": { - "additionalProperties": false, - "properties": { - "Outstanding": { - "type": [ - "null", - "number" - ] - }, - "Overdue": { - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "BankAccountDetails": { - "type": [ - "null", - "string" - ] - }, - "BatchPayments": { - "additionalProperties": false, - "properties": { - "BankAccountName": { - "type": [ - "null", - "string" - ] - }, - "BankAccountNumber": { - "type": [ - "null", - "string" - ] - }, - "Code": { - "type": [ - "null", - "string" - ] - }, - "Details": { - "type": [ - "null", - "string" - ] - }, - "Reference": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "BrandingTheme": { - "properties": { - "BrandingThemeID": { - "type": [ - "string" - ] - }, - "CreatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "SortOrder": { - "type": [ - "null", - "integer" - ] - } - }, - "type": [ - "object" - ] - }, - "ContactGroups": { - "items": { - "properties": { - "ContactGroupID": { - "type": [ - "string" - ] - }, - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ContactID": { - "type": [ - "string" - ] - }, - "ContactNumber": { - "type": [ - "null", - "string" - ] - }, - "ContactPersons": { - "items": { - "additionalProperties": false, - "properties": { - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "IncludeInEmails": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ContactStatus": { - "type": [ - "null", - "string" - ] - }, - "DefaultCurrency": { - "type": [ - "null", - "string" - ] - }, - "Discount": { - "type": [ - "null", - "number" - ] - }, - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "HasAttachments": { - "type": [ - "null", - "boolean" - ] - }, - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsCustomer": { - "type": [ - "null", - "boolean" - ] - }, - "IsSupplier": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "PaymentTerms": { - "properties": { - "Bills": { - "additionalProperties": false, - "properties": { - "Day": { - "type": [ - "null", - "integer" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "Sales": { - "additionalProperties": false, - "properties": { - "Day": { - "type": [ - "null", - "integer" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "object" - ] - }, - "Phones": { - "items": { - "properties": { - "PhoneAreaCode": { - "type": [ - "null", - "string" - ] - }, - "PhoneCountryCode": { - "type": [ - "null", - "string" - ] - }, - "PhoneNumber": { - "type": [ - "null", - "string" - ] - }, - "PhoneType": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "PurchasesDefaultAccountCode": { - "type": [ - "null", - "string" - ] - }, - "PurchasesTrackingCategories": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "SalesDefaultAccountCode": { - "type": [ - "null", - "string" - ] - }, - "SalesTrackingCategories": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "SkypeUserName": { - "type": [ - "null", - "string" - ] - }, - "TaxNumber": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryOption": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Website": { - "type": [ - "null", - "string" - ] - }, - "XeroNetworkKey": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "Date": { - "type": [ - "null", - "date-time" - ] - }, - "HasAttachments": { - "type": [ - "null", - "boolean" - ] - }, - "ID": { - "type": [ - "null", - "string" - ] - }, - "LineAmountTypes": { - "type": [ - "null", - "string" - ] - }, - "LineItems": { - "items": { - "properties": { - "AccountCode": { - "type": [ - "null", - "string" - ] - }, - "Description": { - "type": [ - "null", - "string" - ] - }, - "DiscountRate": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "ItemCode": { - "type": [ - "null", - "string" - ] - }, - "LineAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "LineItemID": { - "type": [ - "string" - ] - }, - "Quantity": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TaxAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TaxType": { - "type": [ - "null", - "string" - ] - }, - "Tracking": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "UnitAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ReceiptID": { - "type": [ - "string" - ] - }, - "ReceiptNumber": { - "type": [ - "null", - "integer" - ] - }, - "Reference": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "SubTotal": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "Total": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TotalTax": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "Url": { - "type": [ - "null", - "string" - ] - }, - "User": { - "properties": { - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "IsSubscriber": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - }, - "OrganisationRole": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "UserID": { - "type": [ - "string" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - } - }, - "type": [ - "object" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ReportingDate": { - "type": [ - "null", - "date-time" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "Total": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "User": { - "properties": { - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "IsSubscriber": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - }, - "OrganisationRole": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "UserID": { - "type": [ - "string" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - } - }, - "type": [ - "object" - ] - } - }, - "tap_schema_dependencies": [ - "users", - "receipts", - "payments" - ], - "type": [ - "null", - "object" - ] -} \ No newline at end of file diff --git a/_data/taps/schemas/xero/v2/json/receipts.json b/_data/taps/schemas/xero/v2/json/receipts.json deleted file mode 100644 index 80a48192b..000000000 --- a/_data/taps/schemas/xero/v2/json/receipts.json +++ /dev/null @@ -1,1193 +0,0 @@ -{ - "additionalProperties": false, - "properties": { - "Attachments": { - "items": { - "additionalProperties": false, - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Contact": { - "properties": { - "AccountNumber": { - "type": [ - "null", - "string" - ] - }, - "AccountsPayableTaxType": { - "type": [ - "null", - "string" - ] - }, - "AccountsReceivableTaxType": { - "type": [ - "null", - "string" - ] - }, - "Addresses": { - "items": { - "properties": { - "AddressLine1": { - "type": [ - "null", - "string" - ] - }, - "AddressLine2": { - "type": [ - "null", - "string" - ] - }, - "AddressLine3": { - "type": [ - "null", - "string" - ] - }, - "AddressLine4": { - "type": [ - "null", - "string" - ] - }, - "AddressType": { - "type": [ - "null", - "string" - ] - }, - "AttentionTo": { - "type": [ - "null", - "string" - ] - }, - "City": { - "type": [ - "null", - "string" - ] - }, - "Country": { - "type": [ - "null", - "string" - ] - }, - "PostalCode": { - "type": [ - "null", - "string" - ] - }, - "Region": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Attachments": { - "items": { - "additionalProperties": false, - "properties": {}, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Balances": { - "additionalProperties": false, - "properties": { - "AccountsPayable": { - "additionalProperties": false, - "properties": { - "Outstanding": { - "type": [ - "null", - "number" - ] - }, - "Overdue": { - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "AccountsReceivable": { - "additionalProperties": false, - "properties": { - "Outstanding": { - "type": [ - "null", - "number" - ] - }, - "Overdue": { - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "BankAccountDetails": { - "type": [ - "null", - "string" - ] - }, - "BatchPayments": { - "additionalProperties": false, - "properties": { - "BankAccountName": { - "type": [ - "null", - "string" - ] - }, - "BankAccountNumber": { - "type": [ - "null", - "string" - ] - }, - "Code": { - "type": [ - "null", - "string" - ] - }, - "Details": { - "type": [ - "null", - "string" - ] - }, - "Reference": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "BrandingTheme": { - "properties": { - "BrandingThemeID": { - "type": [ - "string" - ] - }, - "CreatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "SortOrder": { - "type": [ - "null", - "integer" - ] - } - }, - "type": [ - "object" - ] - }, - "ContactGroups": { - "items": { - "properties": { - "ContactGroupID": { - "type": [ - "string" - ] - }, - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ContactID": { - "type": [ - "string" - ] - }, - "ContactNumber": { - "type": [ - "null", - "string" - ] - }, - "ContactPersons": { - "items": { - "additionalProperties": false, - "properties": { - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "IncludeInEmails": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ContactStatus": { - "type": [ - "null", - "string" - ] - }, - "DefaultCurrency": { - "type": [ - "null", - "string" - ] - }, - "Discount": { - "type": [ - "null", - "number" - ] - }, - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "HasAttachments": { - "type": [ - "null", - "boolean" - ] - }, - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsCustomer": { - "type": [ - "null", - "boolean" - ] - }, - "IsSupplier": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "PaymentTerms": { - "properties": { - "Bills": { - "additionalProperties": false, - "properties": { - "Day": { - "type": [ - "null", - "integer" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "Sales": { - "additionalProperties": false, - "properties": { - "Day": { - "type": [ - "null", - "integer" - ] - }, - "Type": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - } - }, - "type": [ - "object" - ] - }, - "Phones": { - "items": { - "properties": { - "PhoneAreaCode": { - "type": [ - "null", - "string" - ] - }, - "PhoneCountryCode": { - "type": [ - "null", - "string" - ] - }, - "PhoneNumber": { - "type": [ - "null", - "string" - ] - }, - "PhoneType": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "PurchasesDefaultAccountCode": { - "type": [ - "null", - "string" - ] - }, - "PurchasesTrackingCategories": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "SalesDefaultAccountCode": { - "type": [ - "null", - "string" - ] - }, - "SalesTrackingCategories": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "SkypeUserName": { - "type": [ - "null", - "string" - ] - }, - "TaxNumber": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryOption": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Website": { - "type": [ - "null", - "string" - ] - }, - "XeroNetworkKey": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "Date": { - "type": [ - "null", - "date-time" - ] - }, - "HasAttachments": { - "type": [ - "null", - "boolean" - ] - }, - "ID": { - "type": [ - "null", - "string" - ] - }, - "LineAmountTypes": { - "type": [ - "null", - "string" - ] - }, - "LineItems": { - "items": { - "properties": { - "AccountCode": { - "type": [ - "null", - "string" - ] - }, - "Description": { - "type": [ - "null", - "string" - ] - }, - "DiscountRate": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "ItemCode": { - "type": [ - "null", - "string" - ] - }, - "LineAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "LineItemID": { - "type": [ - "string" - ] - }, - "Quantity": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TaxAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TaxType": { - "type": [ - "null", - "string" - ] - }, - "Tracking": { - "items": { - "properties": { - "Name": { - "type": [ - "null", - "string" - ] - }, - "Option": { - "type": [ - "null", - "string" - ] - }, - "Options": { - "items": { - "additionalProperties": false, - "properties": { - "HasValidationErrors": { - "type": [ - "null", - "boolean" - ] - }, - "IsActive": { - "type": [ - "null", - "boolean" - ] - }, - "IsArchived": { - "type": [ - "null", - "boolean" - ] - }, - "IsDeleted": { - "type": [ - "null", - "boolean" - ] - }, - "Name": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "TrackingCategoryID": { - "type": [ - "string" - ] - }, - "TrackingCategoryName": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionID": { - "type": [ - "null", - "string" - ] - }, - "TrackingOptionName": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "UnitAmount": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - } - }, - "type": [ - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "ReceiptID": { - "type": [ - "string" - ] - }, - "ReceiptNumber": { - "type": [ - "null", - "integer" - ] - }, - "Reference": { - "type": [ - "null", - "string" - ] - }, - "Status": { - "type": [ - "null", - "string" - ] - }, - "SubTotal": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "Total": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "TotalTax": { - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "maximum": 1e+33, - "minimum": -1e+33, - "multipleOf": 1e-05, - "type": [ - "null", - "number" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "Url": { - "type": [ - "null", - "string" - ] - }, - "User": { - "properties": { - "EmailAddress": { - "type": [ - "null", - "string" - ] - }, - "FirstName": { - "type": [ - "null", - "string" - ] - }, - "IsSubscriber": { - "type": [ - "null", - "boolean" - ] - }, - "LastName": { - "type": [ - "null", - "string" - ] - }, - "OrganisationRole": { - "type": [ - "null", - "string" - ] - }, - "UpdatedDateUTC": { - "type": [ - "null", - "date-time" - ] - }, - "UserID": { - "type": [ - "string" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - } - }, - "type": [ - "object" - ] - }, - "ValidationErrors": { - "items": { - "additionalProperties": false, - "properties": { - "Message": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - } - }, - "tap_schema_dependencies": [ - "contacts", - "line_items", - "users", - "validation_errors", - "attachments" - ], - "type": [ - "null", - "object" - ] -} \ No newline at end of file diff --git a/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml b/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml index 118c93229..dce05798e 100644 --- a/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml +++ b/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml @@ -74,9 +74,6 @@ keys: - table: prepayments keys: - Contact.ContactID - - table: receipts - keys: - - Contact.ContactID - table: repeating_invoices keys: - Contact.ContactID @@ -112,14 +109,6 @@ keys: - table: repeating_invoices keys: - CurrencyCode - employees_EmployeeID: - - table: employees - keys: - - EmployeeID - expense_claims_ExpenseClaimID: - - table: expense_claims - keys: - - ExpenseClaimID invoices_InvoiceID: - table: invoices keys: @@ -171,9 +160,6 @@ keys: keys: - Overpayment.OverpaymentID payments_PaymentID: - - table: expense_claims - keys: - - Payments.PaymentID - table: invoices keys: - Payments.PaymentID @@ -200,13 +186,6 @@ keys: - table: purchase_orders keys: - PurchaseOrderID - receipts_ReceiptID: - - table: expense_claims - keys: - - Receipts.ReceiptID - - table: receipts - keys: - - ReceiptID repeating_invoices_RepeatingInvoiceID: - table: repeating_invoices keys: @@ -251,9 +230,6 @@ keys: - table: purchase_orders keys: - LineItems.Tracking.TrackingCategoryID - - table: receipts - keys: - - LineItems.Tracking.TrackingCategoryID - table: repeating_invoices keys: - LineItems.Tracking.TrackingCategoryID @@ -261,12 +237,9 @@ keys: keys: - TrackingCategoryID users_UserID: - - table: expense_claims - keys: - - User.UserID - - table: receipts + - table: users keys: - - User.UserID + - UserID tables: - table-name: accounts join: diff --git a/_data/taps/schemas/xero/v2/xero-v2-tables.yml b/_data/taps/schemas/xero/v2/xero-v2-tables.yml index 13b71553c..62781f359 100644 --- a/_data/taps/schemas/xero/v2/xero-v2-tables.yml +++ b/_data/taps/schemas/xero/v2/xero-v2-tables.yml @@ -97,41 +97,6 @@ tables: table-details: replication-method: Full Table primary-key: Code -- name: employees - description: 'The `{{ table.name }}` table contains info about employees. - - - **Note**: According to [{{ integration.display_name }}''s documentation](https://developer.xero.com/documentation/api/employees), - the endpoint that produces this table is: - - - > Used for an [employee type](https://help.xero.com/int/Contacts_EmployeeAdd) - used exclusively by the global Payrun functionality in {{ integration.display_name - }} core accounting. - - - As a result, this table may not contain all employee data. Refer to the `contacts` - table if you believe you are missing records. - - ' - links: - singer-schema: https://github.com/singer-io/tap-xero/blob/master/tap_xero/schemas/employees.json - api-method: https://developer.xero.com/documentation/api/employees - table-details: - replication-method: Key-based Incremental - primary-key: EmployeeID - replication-key: UpdatedDateUTC -- name: expense_claims - description: 'The `{{ table.name }}` table contains info about expense claims. - - ' - links: - singer-schema: https://github.com/singer-io/tap-xero/blob/master/tap_xero/schemas/expense_claims.json - api-method: https://developer.xero.com/documentation/api/expense-claims - table-details: - replication-method: Key-based Incremental - primary-key: ExpenseClaimID - replication-key: UpdatedDateUTC - name: invoices description: 'The `{{ table.name }}` table contains info about sales invoices, which are requests for payment for goods and services. @@ -263,18 +228,6 @@ tables: replication-method: Key-based Incremental primary-key: QuoteID replication-key: UpdatedDateUTC -- name: receipts - description: 'The `{{ table.name }}` table contains info about invoice receipts, - which are receipts sent to customers after an invoice has been received. - - ' - links: - singer-schema: https://github.com/singer-io/tap-xero/blob/master/tap_xero/schemas/receipts.json - api-method: https://developer.xero.com/documentation/api/receipts - table-details: - replication-method: Key-based Incremental - primary-key: ReceiptID - replication-key: UpdatedDateUTC - name: repeating_invoices description: 'The `{{ table.name }}` table contains info about invoices set up to repeat in your {{ integration.display_name }} account. A repeating invoice is From 1f7c798bd78d033d3ccda4162237a2cfaa6a5f85 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 25 May 2026 14:30:14 +0000 Subject: [PATCH 2/3] Automated commit: Generate foreign keys --- .../schemas/xero/v2/xero-v2-foreign-keys.yml | 156 ------------------ 1 file changed, 156 deletions(-) diff --git a/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml b/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml index dce05798e..378f2e995 100644 --- a/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml +++ b/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml @@ -433,10 +433,6 @@ tables: keys: - key: JournalLines.TrackingCategories.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: JournalLines.TrackingCategories.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: repeating_invoices keys: - key: JournalLines.TrackingCategories.TrackingCategoryID @@ -499,10 +495,6 @@ tables: foreign-key: Allocations.Invoice.InvoiceID - key: Prepayments.PrepaymentID foreign-key: PrepaymentID - - table-name: expense_claims - keys: - - key: PaymentID - foreign-key: Payments.PaymentID - table-name: linked_transactions join: - table-name: bank_transactions @@ -541,10 +533,6 @@ tables: foreign-key: Allocations.Invoice.InvoiceID - key: TargetTransactionID foreign-key: Allocations.Invoice.InvoiceID - - table-name: receipts - keys: - - key: ContactID - foreign-key: Contact.ContactID - table-name: repeating_invoices keys: - key: ContactID @@ -645,14 +633,6 @@ tables: foreign-key: LineItems.Tracking.TrackingCategoryID - key: PurchasesTrackingCategories.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: ContactID - foreign-key: Contact.ContactID - - key: SalesTrackingCategories.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - - key: PurchasesTrackingCategories.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: journals keys: - key: SalesTrackingCategories.TrackingCategoryID @@ -735,12 +715,6 @@ tables: foreign-key: CurrencyCode - key: LineItems.Tracking.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: accounts keys: - key: CurrencyCode @@ -843,12 +817,6 @@ tables: foreign-key: PrepaymentID - key: LineItems.Tracking.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: accounts keys: - key: CurrencyCode @@ -877,10 +845,6 @@ tables: foreign-key: PaymentID - key: Prepayments.PrepaymentID foreign-key: Prepayments.PrepaymentID - - table-name: expense_claims - keys: - - key: Payments.PaymentID - foreign-key: Payments.PaymentID - table-name: journals keys: - key: LineItems.Tracking.TrackingCategoryID @@ -961,10 +925,6 @@ tables: keys: - key: LineItems.Tracking.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: tracking_categories keys: - key: LineItems.Tracking.TrackingCategoryID @@ -1031,12 +991,6 @@ tables: foreign-key: CurrencyCode - key: LineItems.Tracking.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: accounts keys: - key: CurrencyCode @@ -1111,12 +1065,6 @@ tables: foreign-key: Allocations.Invoice.InvoiceID - key: LineItems.Tracking.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: repeating_invoices keys: - key: Contact.ContactID @@ -1135,10 +1083,6 @@ tables: keys: - key: OverpaymentID foreign-key: OverpaymentID - - table-name: expense_claims - keys: - - key: Payments.PaymentID - foreign-key: Payments.PaymentID - table-name: journals keys: - key: LineItems.Tracking.TrackingCategoryID @@ -1201,12 +1145,6 @@ tables: foreign-key: Allocations.Invoice.InvoiceID - key: LineItems.Tracking.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: repeating_invoices keys: - key: Contact.ContactID @@ -1253,72 +1191,6 @@ tables: keys: - key: LineItems.Tracking.TrackingCategoryID foreign-key: TrackingCategoryID -- table-name: receipts - join: - - table-name: contacts - keys: - - key: Contact.ContactID - foreign-key: ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: SalesTrackingCategories.TrackingCategoryID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: PurchasesTrackingCategories.TrackingCategoryID - - table-name: credit_notes - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: invoices - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: linked_transactions - keys: - - key: Contact.ContactID - foreign-key: ContactID - - table-name: overpayments - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: prepayments - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: repeating_invoices - keys: - - key: Contact.ContactID - foreign-key: Contact.ContactID - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: expense_claims - keys: - - key: ReceiptID - foreign-key: Receipts.ReceiptID - - key: User.UserID - foreign-key: User.UserID - - table-name: journals - keys: - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: JournalLines.TrackingCategories.TrackingCategoryID - - table-name: manual_journals - keys: - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: JournalLines.Tracking.TrackingCategoryID - - table-name: purchase_orders - keys: - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: tracking_categories - keys: - - key: LineItems.Tracking.TrackingCategoryID - foreign-key: TrackingCategoryID - table-name: currencies join: - table-name: accounts @@ -1349,26 +1221,6 @@ tables: keys: - key: Code foreign-key: CurrencyCode -- table-name: expense_claims - join: - - table-name: invoices - keys: - - key: Payments.PaymentID - foreign-key: Payments.PaymentID - - table-name: overpayments - keys: - - key: Payments.PaymentID - foreign-key: Payments.PaymentID - - table-name: payments - keys: - - key: Payments.PaymentID - foreign-key: PaymentID - - table-name: receipts - keys: - - key: Receipts.ReceiptID - foreign-key: ReceiptID - - key: User.UserID - foreign-key: User.UserID - table-name: tax_rates join: - table-name: journals @@ -1407,10 +1259,6 @@ tables: keys: - key: JournalLines.Tracking.TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: JournalLines.Tracking.TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: repeating_invoices keys: - key: JournalLines.Tracking.TrackingCategoryID @@ -1455,10 +1303,6 @@ tables: keys: - key: TrackingCategoryID foreign-key: LineItems.Tracking.TrackingCategoryID - - table-name: receipts - keys: - - key: TrackingCategoryID - foreign-key: LineItems.Tracking.TrackingCategoryID - table-name: repeating_invoices keys: - key: TrackingCategoryID From a10e35ec395ae84932d5fb59d2b752622f5a58df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9lanie=20Vistry?= Date: Mon, 25 May 2026 16:43:35 +0200 Subject: [PATCH 3/3] Fixed folder names --- .../schemas/xero/{v2 => v1}/json/quotes.json | 0 .../xero/{v2 => v1}/xero-v2-foreign-keys.yml | 0 .../xero/{v2 => v1}/xero-v2-tables.yml | 0 .../{v2 => v19-10-2016}/json/accounts.json | 0 .../{v1 => v19-10-2016}/json/attachments.json | 0 .../json/bank_transactions.json | 2 +- .../json/bank_transfers.json | 2 +- .../json/branding_themes.json | 0 .../json/contact_groups.json | 0 .../{v2 => v19-10-2016}/json/contacts.json | 0 .../json/credit_notes.json | 4 ++-- .../{v2 => v19-10-2016}/json/currencies.json | 0 .../{v1 => v19-10-2016}/json/employees.json | 0 .../json/expense_claims.json | 0 .../{v2 => v19-10-2016}/json/invoices.json | 22 +++++++++---------- .../xero/{v2 => v19-10-2016}/json/items.json | 0 .../{v2 => v19-10-2016}/json/journals.json | 0 .../json/linked_transactions.json | 0 .../json/manual_journals.json | 0 .../json/organisations.json | 0 .../json/overpayments.json | 8 +++---- .../{v2 => v19-10-2016}/json/payments.json | 4 ++-- .../{v2 => v19-10-2016}/json/prepayments.json | 8 +++---- .../json/purchase_orders.json | 2 +- .../{v1 => v19-10-2016}/json/receipts.json | 0 .../json/repeating_invoices.json | 0 .../{v2 => v19-10-2016}/json/tax_rates.json | 0 .../json/tracking_categories.json | 0 .../xero/{v2 => v19-10-2016}/json/users.json | 0 .../json/validation_errors.json | 0 .../xero-v1-foreign-keys.yml | 0 .../{v1 => v19-10-2016}/xero-v1-tables.yml | 0 32 files changed, 26 insertions(+), 26 deletions(-) rename _data/taps/schemas/xero/{v2 => v1}/json/quotes.json (100%) rename _data/taps/schemas/xero/{v2 => v1}/xero-v2-foreign-keys.yml (100%) rename _data/taps/schemas/xero/{v2 => v1}/xero-v2-tables.yml (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/accounts.json (100%) rename _data/taps/schemas/xero/{v1 => v19-10-2016}/json/attachments.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/bank_transactions.json (99%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/bank_transfers.json (99%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/branding_themes.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/contact_groups.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/contacts.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/credit_notes.json (99%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/currencies.json (100%) rename _data/taps/schemas/xero/{v1 => v19-10-2016}/json/employees.json (100%) rename _data/taps/schemas/xero/{v1 => v19-10-2016}/json/expense_claims.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/invoices.json (99%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/items.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/journals.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/linked_transactions.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/manual_journals.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/organisations.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/overpayments.json (99%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/payments.json (99%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/prepayments.json (99%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/purchase_orders.json (99%) rename _data/taps/schemas/xero/{v1 => v19-10-2016}/json/receipts.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/repeating_invoices.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/tax_rates.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/tracking_categories.json (100%) rename _data/taps/schemas/xero/{v2 => v19-10-2016}/json/users.json (100%) rename _data/taps/schemas/xero/{v1 => v19-10-2016}/json/validation_errors.json (100%) rename _data/taps/schemas/xero/{v1 => v19-10-2016}/xero-v1-foreign-keys.yml (100%) rename _data/taps/schemas/xero/{v1 => v19-10-2016}/xero-v1-tables.yml (100%) diff --git a/_data/taps/schemas/xero/v2/json/quotes.json b/_data/taps/schemas/xero/v1/json/quotes.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/quotes.json rename to _data/taps/schemas/xero/v1/json/quotes.json diff --git a/_data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml b/_data/taps/schemas/xero/v1/xero-v2-foreign-keys.yml similarity index 100% rename from _data/taps/schemas/xero/v2/xero-v2-foreign-keys.yml rename to _data/taps/schemas/xero/v1/xero-v2-foreign-keys.yml diff --git a/_data/taps/schemas/xero/v2/xero-v2-tables.yml b/_data/taps/schemas/xero/v1/xero-v2-tables.yml similarity index 100% rename from _data/taps/schemas/xero/v2/xero-v2-tables.yml rename to _data/taps/schemas/xero/v1/xero-v2-tables.yml diff --git a/_data/taps/schemas/xero/v2/json/accounts.json b/_data/taps/schemas/xero/v19-10-2016/json/accounts.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/accounts.json rename to _data/taps/schemas/xero/v19-10-2016/json/accounts.json diff --git a/_data/taps/schemas/xero/v1/json/attachments.json b/_data/taps/schemas/xero/v19-10-2016/json/attachments.json similarity index 100% rename from _data/taps/schemas/xero/v1/json/attachments.json rename to _data/taps/schemas/xero/v19-10-2016/json/attachments.json diff --git a/_data/taps/schemas/xero/v2/json/bank_transactions.json b/_data/taps/schemas/xero/v19-10-2016/json/bank_transactions.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/bank_transactions.json rename to _data/taps/schemas/xero/v19-10-2016/json/bank_transactions.json index 906cbdd54..269a43dff 100644 --- a/_data/taps/schemas/xero/v2/json/bank_transactions.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/bank_transactions.json @@ -904,7 +904,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v2/json/bank_transfers.json b/_data/taps/schemas/xero/v19-10-2016/json/bank_transfers.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/bank_transfers.json rename to _data/taps/schemas/xero/v19-10-2016/json/bank_transfers.json index 37b937859..7f899f07a 100644 --- a/_data/taps/schemas/xero/v2/json/bank_transfers.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/bank_transfers.json @@ -34,7 +34,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v2/json/branding_themes.json b/_data/taps/schemas/xero/v19-10-2016/json/branding_themes.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/branding_themes.json rename to _data/taps/schemas/xero/v19-10-2016/json/branding_themes.json diff --git a/_data/taps/schemas/xero/v2/json/contact_groups.json b/_data/taps/schemas/xero/v19-10-2016/json/contact_groups.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/contact_groups.json rename to _data/taps/schemas/xero/v19-10-2016/json/contact_groups.json diff --git a/_data/taps/schemas/xero/v2/json/contacts.json b/_data/taps/schemas/xero/v19-10-2016/json/contacts.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/contacts.json rename to _data/taps/schemas/xero/v19-10-2016/json/contacts.json diff --git a/_data/taps/schemas/xero/v2/json/credit_notes.json b/_data/taps/schemas/xero/v19-10-2016/json/credit_notes.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/credit_notes.json rename to _data/taps/schemas/xero/v19-10-2016/json/credit_notes.json index 47b0691e5..bc0ba02af 100644 --- a/_data/taps/schemas/xero/v2/json/credit_notes.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/credit_notes.json @@ -846,7 +846,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -2044,7 +2044,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v2/json/currencies.json b/_data/taps/schemas/xero/v19-10-2016/json/currencies.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/currencies.json rename to _data/taps/schemas/xero/v19-10-2016/json/currencies.json diff --git a/_data/taps/schemas/xero/v1/json/employees.json b/_data/taps/schemas/xero/v19-10-2016/json/employees.json similarity index 100% rename from _data/taps/schemas/xero/v1/json/employees.json rename to _data/taps/schemas/xero/v19-10-2016/json/employees.json diff --git a/_data/taps/schemas/xero/v1/json/expense_claims.json b/_data/taps/schemas/xero/v19-10-2016/json/expense_claims.json similarity index 100% rename from _data/taps/schemas/xero/v1/json/expense_claims.json rename to _data/taps/schemas/xero/v19-10-2016/json/expense_claims.json diff --git a/_data/taps/schemas/xero/v2/json/invoices.json b/_data/taps/schemas/xero/v19-10-2016/json/invoices.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/invoices.json rename to _data/taps/schemas/xero/v19-10-2016/json/invoices.json index 898eb4a0e..fc8b707a8 100644 --- a/_data/taps/schemas/xero/v2/json/invoices.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/invoices.json @@ -1661,7 +1661,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -2859,7 +2859,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -3216,7 +3216,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -3671,7 +3671,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -4520,7 +4520,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -5145,7 +5145,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -5994,7 +5994,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -7315,7 +7315,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -8496,7 +8496,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -8904,7 +8904,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -9753,7 +9753,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v2/json/items.json b/_data/taps/schemas/xero/v19-10-2016/json/items.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/items.json rename to _data/taps/schemas/xero/v19-10-2016/json/items.json diff --git a/_data/taps/schemas/xero/v2/json/journals.json b/_data/taps/schemas/xero/v19-10-2016/json/journals.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/journals.json rename to _data/taps/schemas/xero/v19-10-2016/json/journals.json diff --git a/_data/taps/schemas/xero/v2/json/linked_transactions.json b/_data/taps/schemas/xero/v19-10-2016/json/linked_transactions.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/linked_transactions.json rename to _data/taps/schemas/xero/v19-10-2016/json/linked_transactions.json diff --git a/_data/taps/schemas/xero/v2/json/manual_journals.json b/_data/taps/schemas/xero/v19-10-2016/json/manual_journals.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/manual_journals.json rename to _data/taps/schemas/xero/v19-10-2016/json/manual_journals.json diff --git a/_data/taps/schemas/xero/v2/json/organisations.json b/_data/taps/schemas/xero/v19-10-2016/json/organisations.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/organisations.json rename to _data/taps/schemas/xero/v19-10-2016/json/organisations.json diff --git a/_data/taps/schemas/xero/v2/json/overpayments.json b/_data/taps/schemas/xero/v19-10-2016/json/overpayments.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/overpayments.json rename to _data/taps/schemas/xero/v19-10-2016/json/overpayments.json index c42ca8d5b..1f3662ad0 100644 --- a/_data/taps/schemas/xero/v2/json/overpayments.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/overpayments.json @@ -846,7 +846,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -2027,7 +2027,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -2440,7 +2440,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -3289,7 +3289,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v2/json/payments.json b/_data/taps/schemas/xero/v19-10-2016/json/payments.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/payments.json rename to _data/taps/schemas/xero/v19-10-2016/json/payments.json index eb17d161f..9947530e6 100644 --- a/_data/taps/schemas/xero/v2/json/payments.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/payments.json @@ -162,7 +162,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -1011,7 +1011,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v2/json/prepayments.json b/_data/taps/schemas/xero/v19-10-2016/json/prepayments.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/prepayments.json rename to _data/taps/schemas/xero/v19-10-2016/json/prepayments.json index 352447b08..4c0f9c8d8 100644 --- a/_data/taps/schemas/xero/v2/json/prepayments.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/prepayments.json @@ -846,7 +846,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -2027,7 +2027,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -2435,7 +2435,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" @@ -3284,7 +3284,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v2/json/purchase_orders.json b/_data/taps/schemas/xero/v19-10-2016/json/purchase_orders.json similarity index 99% rename from _data/taps/schemas/xero/v2/json/purchase_orders.json rename to _data/taps/schemas/xero/v19-10-2016/json/purchase_orders.json index e4e8a9105..3ee350742 100644 --- a/_data/taps/schemas/xero/v2/json/purchase_orders.json +++ b/_data/taps/schemas/xero/v19-10-2016/json/purchase_orders.json @@ -797,7 +797,7 @@ "exclusiveMinimum": true, "maximum": 1e+33, "minimum": -1e+33, - "multipleOf": 1e-10, + "multipleOf": 1e-06, "type": [ "null", "number" diff --git a/_data/taps/schemas/xero/v1/json/receipts.json b/_data/taps/schemas/xero/v19-10-2016/json/receipts.json similarity index 100% rename from _data/taps/schemas/xero/v1/json/receipts.json rename to _data/taps/schemas/xero/v19-10-2016/json/receipts.json diff --git a/_data/taps/schemas/xero/v2/json/repeating_invoices.json b/_data/taps/schemas/xero/v19-10-2016/json/repeating_invoices.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/repeating_invoices.json rename to _data/taps/schemas/xero/v19-10-2016/json/repeating_invoices.json diff --git a/_data/taps/schemas/xero/v2/json/tax_rates.json b/_data/taps/schemas/xero/v19-10-2016/json/tax_rates.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/tax_rates.json rename to _data/taps/schemas/xero/v19-10-2016/json/tax_rates.json diff --git a/_data/taps/schemas/xero/v2/json/tracking_categories.json b/_data/taps/schemas/xero/v19-10-2016/json/tracking_categories.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/tracking_categories.json rename to _data/taps/schemas/xero/v19-10-2016/json/tracking_categories.json diff --git a/_data/taps/schemas/xero/v2/json/users.json b/_data/taps/schemas/xero/v19-10-2016/json/users.json similarity index 100% rename from _data/taps/schemas/xero/v2/json/users.json rename to _data/taps/schemas/xero/v19-10-2016/json/users.json diff --git a/_data/taps/schemas/xero/v1/json/validation_errors.json b/_data/taps/schemas/xero/v19-10-2016/json/validation_errors.json similarity index 100% rename from _data/taps/schemas/xero/v1/json/validation_errors.json rename to _data/taps/schemas/xero/v19-10-2016/json/validation_errors.json diff --git a/_data/taps/schemas/xero/v1/xero-v1-foreign-keys.yml b/_data/taps/schemas/xero/v19-10-2016/xero-v1-foreign-keys.yml similarity index 100% rename from _data/taps/schemas/xero/v1/xero-v1-foreign-keys.yml rename to _data/taps/schemas/xero/v19-10-2016/xero-v1-foreign-keys.yml diff --git a/_data/taps/schemas/xero/v1/xero-v1-tables.yml b/_data/taps/schemas/xero/v19-10-2016/xero-v1-tables.yml similarity index 100% rename from _data/taps/schemas/xero/v1/xero-v1-tables.yml rename to _data/taps/schemas/xero/v19-10-2016/xero-v1-tables.yml