Register Sources SK is a shared library for the OpenOwnership Register project. It is designed for use with the beneficial ownership data in the Public Sector Partners Register collected by the Ministry of Justice in Slovakia.
The primary purposes of this library are:
- Providing typed objects for the JSON-line data. It makes use of the dry-types and dry-struct gems to specify the different object types allowed in the data returned.
- Persisting the SK records using Elasticsearch. This functionality includes creating a mapping for indexing the possible fields observed as well as functions for storage and retrieval.
Install and boot Register.
Configure your environment using the example file:
cp .env.example .env
Run the tests:
docker compose run sources-sk test