Git Product home page Git Product logo

xeroapi-schemas's Introduction

Xero API XSD Schemas

This repository contains a set of XSD schemas that can be used with the Xero API. Xero provide online accounting software for businesses. For more information on connecting to the API, see the Xero Developer Centre.

Download Xero Schema

Add this dependency to your POM.xml

<dependency>
  <groupId>com.xero</groupId>
  <artifactId>xero-accounting-api-schema</artifactId>
  <version>0.0.7</version>
</dependency>

You will also add this repository to your POM.xml

 <repository>
  <id>xero-accounting-api-schema-mvn-repo</id>
  <url>https://raw.github.com/XeroAPI/XeroAPI-Schemas/mvn-repo/</url>
  <snapshots>
    <enabled>true</enabled>
    <updatePolicy>always</updatePolicy>
  </snapshots>
</repository>

Generate your own classes

We've added support for maven build automation. A pom.xml file in the root defines how to generate Java classes from the XSD files in this project. To generate you Java classes, open your terminal app and change to the directory containing the pom.xml file and run the following command

mvn clean install 

A new target directory will be created along with subfolders. Look in the generated-source subfolder for your Java classes.

Please Note These XSD schemas are provided as a guide for the XML that is read/written to the Xero API 'as is' for information purposes only.

Xero does not commit to ensuring these schemas are always kept up to date, but does accept contributions and amendments to ensure they are as accurate as possible.

Status

Build Status

Copyright

Copyright (c) 2010 Xero Limited

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Warranty

Xero API Schemas

The Xero API Schemas is provided under the MIT license as described above.

PLEASE NOTE: No warranty is given to the accuracy of the schema files. The Xero API team reserve the right to introduce new elements to the API request and response messages without warning.

The schemas are provided for reference purposes for generating client-side object models. Considering that the schema files may not always match the response from the API, we reccommend that you do NOT validate response xml messages using the xml schemas.

The use of the Xero Developer Platform is bound by the Xero Developer Platform Terms and Conditions, see http://developer.xero.com/xero-developer-platform-terms-conditions/ for more information.

xeroapi-schemas's People

Contributors

sidneyallen avatar ronanq avatar danbarratt avatar rileyjamesxero avatar benmccann avatar richardofortune avatar jamescolemanxero avatar fidothe avatar cameronbraid avatar guisim avatar trungie avatar samitha-xero avatar j-davies avatar

Watchers

James Cloos avatar Mohammad Ariawan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.