Skip to main content

HSDS Validator

Validate files against the Human Services Data Specification (HSDS) and return a detailed report if validation fails.

The validator can be accessed via the Command Line Interface (CLI) or deployed as an API.

Important: Every file in the input directory must be of a single object type specified in the name of the directory.

Installation

pip install hsds-validator

With API support:

pip install hsds-validator[api]

Usage

CLI

Run hsds-validate --help to see options and instructions.

hsds-validate <path/to/input-directory> <path/to/schema-directory> [-o]

Parameters

  • <input_directory>: Path to directory containing JSON files to validate. Directory name must match the object type (required)
  • <schema_directory>: Path to directory containing JSON schema files (required)
  • -o, --save: Optional flag to save validation results to validation_results.json in the input directory

Examples

# Validate organization files
hsds-validate ./organization ./schemas

# Validate and save results
hsds-validate ./organization ./schemas --save

API Server

hsds-api

API available at http://localhost:8000. Visit http://localhost:8000/docs for interactive documentation.

Note: The API accepts two ZIP files: the data to validate and the schemas.

Requirements

  • Python >= 3.13

License

MIT

Contact

Stevens Blueprint - blueprint@stevens.edu

About HSDS

Learn more about the Human Services Data Specification at docs.openreferral.org.

Metadata

Release files for hsds-validator 0.1.2

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

Source distribution (sdist)

Source distribution for hsds-validator 0.1.2
File Size Uploaded Provenance
hsds_validator-0.1.2.tar.gz 50.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hsds-validator 0.1.2
File Interpreter ABI Platform
hsds_validator-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 67.3 kB

Release files / hsds_validator-0.1.2.tar.gz

Download URL hsds_validator-0.1.2.tar.gz
Size 50.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ce6e7060818b5e06b15f0e491dfacb764e5bf9fefc6cf2f582f296c837cec63c
BLAKE2b-256 checksum
How to use checksums
65f22fbdf6db5e04edf19666e274f781372489de2d7228dc60afcfe39dde4b70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2025.

Transparency log

Release files / hsds_validator-0.1.2-py3-none-any.whl

Download URL hsds_validator-0.1.2-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0447be62bef5720f6a5a9628e8620d7ecbf14e3fe0b782cab869d943b8cef46
BLAKE2b-256 checksum
How to use checksums
e31c5abe2744b80d8323f702d80b3be4e15100eb9d268afe63b455114ae3ca96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2025.

Transparency log

Security for hsds-validator 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hsds_validator-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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