Introduction
Extension DP (Data Package Extension Template) is a GitHub repository template for rapid Data Package extension development.
Tip
A domain-specific extension is the way to enrich Data Package’s metadata to meet specific needs of a knowledge domain.
How to create an extension
The steps to create and publish a new Data Package extension are:
- Create a new repository from the template
- Modify the extension's profile (JSON Schema) and schemas (Table Schema)
- Update the user-facing documentation and homepage
- The specifications are generated automatically
- The documentation portal is generated and published automatically
- Python SDK is generated and published automatically
- TypeScript SDK is generated and published automatically
Cardealer DP, in practice
At Mycarro, we needed a standardized data exchange format for the automotive industry. To address this, we created Cardealer DP (Car Dealer Data Package), a data exchange format for car dealerships. Having a data model in place and using the Extension DP template, it took around a day to publish the initial version of this extension and its tooling.
The generated TypeScript SDK is shown above: the extension's schemas become real types, so a postcode written as a number is a compile error rather than something a consumer discovers later.
Note
Have your own data exchange in mind? Try it out and let us know what you think!
Special thanks to NLnet for supporting this development!


