{"id":21558126,"url":"https://github.com/koopjs/koop-output-dcat-ap-201","last_synced_at":"2025-08-01T20:42:57.705Z","repository":{"id":40003059,"uuid":"390341793","full_name":"koopjs/koop-output-dcat-ap-201","owner":"koopjs","description":"A Koop output plugin for generating DCAT-AP 2.0.1 feeds from the ArcGIS Hub Search API.","archived":false,"fork":false,"pushed_at":"2025-07-02T19:52:53.000Z","size":1105,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-02T20:38:49.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koopjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2021-07-28T12:21:28.000Z","updated_at":"2024-06-05T20:27:53.000Z","dependencies_parsed_at":"2024-06-05T18:14:08.694Z","dependency_job_id":"e13f843d-08c6-4743-8b92-4e3bbe9b1c6f","html_url":"https://github.com/koopjs/koop-output-dcat-ap-201","commit_stats":{"total_commits":102,"total_committers":5,"mean_commits":20.4,"dds":0.6862745098039216,"last_synced_commit":"91f0af7fb360f3f01b3e0a5ef7f8adecd2f67232"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/koopjs/koop-output-dcat-ap-201","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-dcat-ap-201","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-dcat-ap-201/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-dcat-ap-201/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-dcat-ap-201/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koopjs","download_url":"https://codeload.github.com/koopjs/koop-output-dcat-ap-201/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-dcat-ap-201/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268294109,"owners_count":24227614,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-24T08:14:03.878Z","updated_at":"2025-08-01T20:42:57.631Z","avatar_url":"https://github.com/koopjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koop Provider DCAT-AP 2.1.1\n\n[![TypeScript version][ts-badge]][typescript-4-3]\n[![Node.js version][nodejs-badge]][nodejs]\n[![APLv2][license-badge]][license]\n[![Build Status - GitHub Actions][gha-badge]][gha-ci]\n![Coverage](./coverage.svg)\n\nThis is a Koop output plugin that transforms datasets from the ArcGIS Hub Search API into a DCAT-AP 2.1.1 feed encoded in RDF/JSON-LD. It currently only supports exporting a search catalog from an entire Hub Site.\n\nHere is an example feed:\n```json\n{\n  \"@context\": {\n    \"dcat\": \"http://www.w3.org/ns/dcat#\",\n    \"dct\": \"http://purl.org/dc/terms/\",\n    \"foaf\": \"http://xmlns.com/foaf/0.1/\",\n    \"vcard\": \"http://www.w3.org/2006/vcard/ns#\",\n    \"ftype\": \"http://publications.europa.eu/resource/authority/file-type/\",\n    \"lang\": \"http://publications.europa.eu/resource/authority/language/\"\n  },\n  \"@id\": \"https://download-test-qa-pre-a-hub.hubqa.arcgis.com\",\n  \"@type\": \"dcat:Catalog\",\n  \"dct:description\": \"Create your own initiative by combining existing applications with a custom site. Use this initiative to form teams around a problem and invite your community to participate.\",\n  \"dct:title\": \"download test\",\n  \"dct:publisher\": \"QA Premium Alpha Hub\",\n  \"foaf:homepage\": {\n    \"foaf:Document\": \"https://download-test-qa-pre-a-hub.hubqa.arcgis.com/search\"\n  },\n  \"dct:language\": {\n    \"@id\": \"lang:ENG\"\n  },\n  \"dct:creator\": {\n    \"@id\": \"https://qa-pre-a-hub.maps.arcgis.com\",\n    \"@type\": \"foaf:Agent\",\n    \"foaf:name\": \"QA Premium Alpha Hub\"\n  },\n  \"dcat:dataset\": [\n    {\n      \"@type\": \"dcat:Dataset\",\n      \"@id\": \"https://download-test-qa-pre-a-hub.hubqa.arcgis.com/datasets/f4bcc1035b7d46cba95e977f4affb6be_0\",\n      \"dct:title\": \"Tahoe places of interest\",\n      \"dct:description\": \"Description. Here be Tahoe things. You can do a lot here. Here are some more words. And a few more.\",\n      \"dcat:contactPoint\": {\n        \"@id\": \"https://qa-pre-a-hub.maps.arcgis.com/sharing/rest/community/users/thervey_qa_pre_a_hub?f=json\",\n        \"@type\": \"Contact\",\n        \"vcard:fn\": \"thervey_qa_pre_a_hub\",\n        \"vcard:hasEmail\": null\n      },\n      \"dct:publisher\": \"QA Premium Alpha Hub\",\n      \"dcat:theme\": \"geospatial\",\n      \"dct:accessRights\": \"public\",\n      \"dct:identifier\": \"https://download-test-qa-pre-a-hub.hubqa.arcgis.com/datasets/f4bcc1035b7d46cba95e977f4affb6be_0\",\n      \"dct:language\": {\n        \"@id\": \"lang:GER\"\n      },\n      \"dcat:keyword\": [\n        \"some\",\n        \"keywords\",\n        \"from\",\n        \"metadata\"\n      ],\n      \"dct:provenance\": \"Myndigheten för samhällsskydd och beredskap ( https://www.msb.se/ ); con terra ( https://www.conterra.de/); Esri (https://www.esri.com/en-us/arcgis/products/arcgis-for-inspire)\",\n      \"dct:issued\": \"2021-04-19T13:30:24.055-04:00\",\n      \"dcat:distribution\": [\n        {\n          \"@type\": \"dcat:Distribution\",\n          \"dcat:accessUrl\": \"https://download-test-qa-pre-a-hub.hubqa.arcgis.com/datasets/f4bcc1035b7d46cba95e977f4affb6be_0\",\n          \"dct:format\": {\n            \"@id\": \"ftype:HTML\"\n          },\n          \"dct:description\": \"Web Page\",\n          \"dct:title\": \"ArcGIS Hub Dataset\"\n        }\n      ]\n    }\n  ]\n}\n```\n\nSee the [DCAT-AP specification](https://joinup.ec.europa.eu/collection/semantic-interoperability-community-semic/solution/dcat-application-profile-data-portals-europe/release/201-0) for more information.\n\n## Use\nVisit the [KoopJS docs](https://github.com/koopjs/koop-output-dcat-ap-201) for instructions on building and deploying a Koop app.\n\nThis package relies on the [config](https://www.npmjs.com/package/config) package for specifying configurations. Configure your ArcGIS Online environment by adding a file at `your-project/config/default.json`:\n```js\n{\n  \"arcgisPortal\": \"https://www.arcgis.com\" // or qaext or devext depending on which env you want\n}\n```\n\n**Important!** This plugin requires the [`@koopjs/koop-provider-hub-search`](https://github.com/koopjs/koop-provider-hub-search) provider to function.\n\n## Develop\n```sh\n# clone and install dependencies\ngit clone https://github.com/koopjs/koop-output-dcat-ap-201\ncd koop-output-dcat-ap-201\nnpm i\n\n# starts the example Koop app found in ./example-app.\nnpm run dev\n```\n\n## Test\nRun the `npm t` commmand to spin up the automated tests.\n\n\n\n[ts-badge]: https://img.shields.io/badge/TypeScript-4.3-blue.svg\n[nodejs-badge]: https://img.shields.io/badge/Node.js-\u003e=%2014.16-blue.svg\n[nodejs]: https://nodejs.org/dist/latest-v14.x/docs/api/\n[gha-badge]: https://github.com/koopjs/koop-output-dcat-ap-201/actions/workflows/nodejs.yml/badge.svg\n[gha-ci]: https://github.com/koopjs/koop-output-dcat-ap-201/actions/workflows/nodejs.yml\n[typescript]: https://www.typescriptlang.org/\n[typescript-4-3]: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-3.html\n[license-badge]: https://img.shields.io/badge/license-APLv2-blue.svg\n[license]: https://github.com/koopjs/koop-output-dcat-ap-201/blob/main/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Fkoop-output-dcat-ap-201","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoopjs%2Fkoop-output-dcat-ap-201","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Fkoop-output-dcat-ap-201/lists"}