Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markpbaggett/ht-schema
A JSON Schema for Validating meta.ymls in HathiTrust SIPs
https://github.com/markpbaggett/ht-schema
Last synced: 13 days ago
JSON representation
A JSON Schema for Validating meta.ymls in HathiTrust SIPs
- Host: GitHub
- URL: https://github.com/markpbaggett/ht-schema
- Owner: markpbaggett
- Created: 2024-08-14T13:22:33.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T15:22:06.000Z (3 months ago)
- Last Synced: 2024-10-12T08:27:41.412Z (27 days ago)
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HathiTrust meta.yml Schma and Validator
A JSON schema and tooling to test whether a meta.yml file in a HathiTrust SIP is valid
## How to Use
If you just want to grab the schema and bring it into an application, you can grab it from `schemas\ht.json` or
from [here](https://markpbaggett.github.io/ht-schema/schemas/ht.json).If you want to use the built in validator, you can install like so:
```
pipx install htschema
```and then run the validator against a meta.yml or directory of meta.ymls like so:
```
htschema validate -p the/path/to/your/meta/files
```## Fixtures
In case it's useful, a set of meta.ymls are included in the fixtures.