Skip to main content

Verifying provided files comply with HSDS specification.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hsds_validator-0.1.2.tar.gz (50.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hsds_validator-0.1.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file hsds_validator-0.1.2.tar.gz.

File metadata

  • Download URL: hsds_validator-0.1.2.tar.gz
  • Upload date:
  • Size: 50.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hsds_validator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ce6e7060818b5e06b15f0e491dfacb764e5bf9fefc6cf2f582f296c837cec63c
MD5 407ae5fd0092cff0c0e2e690d6ab1bfb
BLAKE2b-256 65f22fbdf6db5e04edf19666e274f781372489de2d7228dc60afcfe39dde4b70

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsds_validator-0.1.2.tar.gz:

Publisher: publish_python_package.yml on stevensblueprint/hsds-validator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hsds_validator-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: hsds_validator-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hsds_validator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0447be62bef5720f6a5a9628e8620d7ecbf14e3fe0b782cab869d943b8cef46
MD5 10ed635fb61a56e58d538a1d62b2177c
BLAKE2b-256 e31c5abe2744b80d8323f702d80b3be4e15100eb9d268afe63b455114ae3ca96

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsds_validator-0.1.2-py3-none-any.whl:

Publisher: publish_python_package.yml on stevensblueprint/hsds-validator

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page