agol-schemas

1.0.2 • Public • Published

agol-schemas

JSON Schemas for ArcGIS Online's requests and responses.
Based on ArcGIS REST API documentation.

All schemas are written in their own separate files under the data folder.
A script combines them into the output format under the dist folder.
This folder includes the scripts that combines input schemas into output.

Schemas are available in 2 formats: swagger and json-schema-faker

swagger

  • Definitions for OpenAPI specifications (swagger.io).
  • This is the Definitions section of the swagger.json file.
  • It removes faker, chance, and id properties.
  • Stored in /dist/swaggerDefinitions.json.

json-schema-faker

  • Definitions for json-schema-faker
  • These schemas are one file for each schema. Each file includes the schema and a Definitions section that include all the other schemas that the main schema depend on.
  • This includes faker.js, and chance.js info.

For a list of all schemas list in the ArcGIS REST API, see coverage.
A list of schemas included in this library and their descriptions is in the schemas doc file.
For documentation of code files, read the doc for each file in the doc folder.

Readme

Keywords

Package Sidebar

Install

npm i agol-schemas

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • amreldib