{"id":15047002,"url":"https://github.com/datastreamapp/wqx","last_synced_at":"2025-10-29T21:30:50.841Z","repository":{"id":42955869,"uuid":"121682606","full_name":"datastreamapp/wqx","owner":"datastreamapp","description":"Water Quality Exchange (WQX) JSON Schema","archived":false,"fork":false,"pushed_at":"2024-05-18T00:22:51.000Z","size":233834,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-05-18T01:26:16.890Z","etag":null,"topics":["json-schema","wqx"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datastreamapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-15T21:04:11.000Z","updated_at":"2024-05-18T01:26:21.781Z","dependencies_parsed_at":"2022-07-14T13:20:32.618Z","dependency_job_id":"25af78ce-4b6d-48e6-aa7b-33f77b3dc17f","html_url":"https://github.com/datastreamapp/wqx","commit_stats":{"total_commits":319,"total_committers":4,"mean_commits":79.75,"dds":0.4012539184952978,"last_synced_commit":"2b361413e88d780dade4034f87602140f00b2487"},"previous_names":[],"tags_count":169,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastreamapp%2Fwqx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastreamapp%2Fwqx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastreamapp%2Fwqx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datastreamapp%2Fwqx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datastreamapp","download_url":"https://codeload.github.com/datastreamapp/wqx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219858954,"owners_count":16556039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json-schema","wqx"],"created_at":"2024-09-24T20:53:51.652Z","updated_at":"2025-10-29T21:30:46.291Z","avatar_url":"https://github.com/datastreamapp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003c!--\u003cimg src=\"https://raw.githubusercontent.com/gordonfn/wqx/master/docs/images/water-quality-exchange.gif\" alt=\"WQX Logo\" width=\"200\"\u003e--\u003e\n  \u003cbr\u003e\n  Water Quality Exchange (WQX)\u003cbr/\u003eJSON Schema\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/gordonfn/wqx\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/gordonfn/wqx.svg?style=social\u0026label=Stars\" alt=\"Stars\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/wqx\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/wqx.svg\" alt=\"npm version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/wqx\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/wqx.svg\" alt=\"npm downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/wqx\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/wqx.svg\" alt=\"npm license\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Background\n\nThe WQX standard for the Exchange of Water Quality Data was developed by the US Environmental Protection Agency (EPA) and the US Geological Society (USGS) and is an implementation of the ESAR (Environmental Sampling, Analysis and Results) data standard. \n\nThe Gordon Foundation transformed the WQX from its original XML format to json table schema.This was done using resources available on the following site: \n- https://www.epa.gov/waterdata/water-quality-data-wqx\n- http://www.exchangenetwork.net/data-exchange/wqx/ \n- https://www3.epa.gov/storet/archive/web/wqx.html\n\nIn 2018, [The Gordon Foundation](http://gordonfoundation.ca) led a comprehensive review process to determine how this model could be adapted to best meet the needs of diverse water monitoring initiatives in Canada. The result is DataStream’s WQX Open Data Schema ([DS-WQX](https://github.com/gordonfn/schema)). \n\nDataStream ([www.DataStream.org](http://gordonfoundation.ca/initiatives/datastream)) is an online open-access platform for sharing water quality data in Canada. It was developed by The Gordon Foundation and carried out in collaboration with regional partners and monitoring networks. \n\n## Install\n```bash\n$ npm i wqx\n```\n\n## Schemas\n- `project`\n- `location`\n- `activitymetric`\n- `biological`\n- `biological-habitat`\n- `habitat`\n- `instantaneous`\n- `physical-chemistry`\n\n## Use\n```javascript\nconst jsonschema = requrie('wqx/json-schema/biological');\n```\n\n\n## Contributing\n\n### Building `definitions.values.json`\nThis should only be run if the version of WQX is updated.\n```bash\n$ curl https://cdx.epa.gov/wqx/download/DomainValues/All.zip\n$ unzip All.zip\n$ npm run build:values\n```\n\n### Publishing\n```bash\n# update version in `package.json`\nnpm run build\ncd dist\nnpm publish\n```\n\n### Contributors\n- [willfarrell](https://github.com/willfarrell)\n\n## References\n- [US EPA WQX](https://www.epa.gov/waterdata/water-quality-data-wqx)\n- [Web Template Files](https://www.epa.gov/waterdata/water-quality-exchange-web-template-files)\n- [Schema (XML)](http://www.exchangenetwork.net/data-exchange/wqx/)\n- [Schema Allowed Values](https://www.epa.gov/waterdata/storage-and-retrieval-and-water-quality-exchange-domain-services-and-downloads#domain)\n- [US EPA WQX Historical](https://www3.epa.gov/storet/archive/web/wqx.html)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"http://gordonfoundation.ca\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/gordonfn/wqx/master/docs/images/the-gordon-foundation.svg?sanitize=true\" alt=\"The Gordon Foundation Logo\" width=\"200\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatastreamapp%2Fwqx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatastreamapp%2Fwqx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatastreamapp%2Fwqx/lists"}