Skip to main content

Schema job pack for Tessera: catalog and lint JSON Schema documents.

Project description

tesserakit-schema

Catalog and lint JSON Schema documents.

tessera-schema discovers JSON Schema files, extracts their structure ($id, dialect, type, properties, required, $defs), and flags structural problems. It reads schemas only: no validation of instance data, no network.

Lint

tessera schema lint --input schemas/ --output ./out/schema_pack
tessera schema lint --input person.schema.json --output ./out/schema_pack

A JSON file is treated as a schema when it has $schema, properties, $defs/definitions, or a schema-style root type. Common non-schema files (package.json, tsconfig.json, ...) are skipped.

Artifacts written:

schemas.jsonl            one SchemaDoc per schema (type, properties, required, defs)
index.md                 the schema catalog
validation_report.md     structural findings
coverage_report.md       root-type distribution + title/$schema coverage

Findings

  • required_not_in_properties (error) — a required field is not declared in properties
  • missing_type (warning) — root schema has no type
  • object_without_properties (warning) — type: object with no properties
  • additional_properties_unset (info) — additionalProperties not set; the object is open by default
  • missing_schema_version (info) — no $schema dialect
  • missing_title (info)
  • parse_error, no_schemas

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

tesserakit_schema-0.4.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

tesserakit_schema-0.4.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file tesserakit_schema-0.4.0.tar.gz.

File metadata

  • Download URL: tesserakit_schema-0.4.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tesserakit_schema-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4bfd7b8e3d230fd19b3cff2b35b168239c8da3e488618cf2c4249f77b4922772
MD5 b932daeb5df8ad77fbaa74e367741be3
BLAKE2b-256 761a198611939c76d1d26beab4651c2ea02dca6cbff107d672a3923c4032466e

See more details on using hashes here.

File details

Details for the file tesserakit_schema-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tesserakit_schema-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 434250ade7feff9271565a3ba7128b2054a980804b2222279917b05c00962954
MD5 33fcfb22b0690be9dbc7e7957ca4fc36
BLAKE2b-256 239fc6d9573c732ebfe5d9d69ab9c6a9c30e79bc19ff3547944dfcbdff04d0ac

See more details on using hashes here.

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