Skip to main content

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.

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.

Metadata

Release files for htschema 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for htschema 0.1.0
File Size Uploaded
htschema-0.1.0.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for htschema 0.1.0
File Interpreter ABI Platform
htschema-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 kB

Release files / htschema-0.1.0.tar.gz

Download URL htschema-0.1.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
70be4e4f29d1ba825d792f9353ae4038fb3a6d06d4458ba1558b14090ac230ac
BLAKE2b-256 checksum
How to use checksums
9edcf57605c5c4b691945dc7cc7e077632aaa363b5558f24c36cd739d88eed52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

Release files / htschema-0.1.0-py3-none-any.whl

Download URL htschema-0.1.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
587ca9dbf4befe9e663f4ba7512a2ab12e19ea684202c71fb9db4db1b588e826
BLAKE2b-256 checksum
How to use checksums
006480b020578ccb3fefc2e2dbae881fba965ea35fd22365520dbff66437a278
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page