Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gaelreyrol/dhall-resume

JSON Resume with Dhall
https://github.com/gaelreyrol/dhall-resume

dhall nixpkgs resume resume-json schemastore

Last synced: about 1 month ago
JSON representation

JSON Resume with Dhall

Awesome Lists containing this project

README

        

# dhall-resume

[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
[![.github/workflows/ci.yml](https://github.com/gaelreyrol/dhall-resume/actions/workflows/ci.yml/badge.svg)](https://github.com/gaelreyrol/dhall-resume/actions/workflows/ci.yml)

`dhall-resume` contains [Dhall](https://dhall-lang.org/) bindings to [JSON Resume](https://jsonresume.org/) schema with some extra definitions.

## Example

```dhall
-- ./examples/demo.dhall
let Resume = ../package.dhall

in Resume.Basic::{
, basics = Some Resume.Basics::{
, name = Some "John Doe"
, email = Some "[email protected]"
, url = Some "https://johndoe.com"
}
, work = Some [
Resume.Work::{
, name = Some "Foo"
, location = Some "Earth"
, salaries = Some [
Resume.Salary::{
amount = 2000
}
]
}
]
}
```

```bash
dhall-to-json --file examples/demo.dhall
```

## Credits

- [dhall-prometheus](https://github.com/softwarefactory-project/dhall-prometheus) for the `schemastore-to-dhall` script.