Metadata-Version: 2.5
Name: zhizong
Version: 0.1.1
Summary: Contract-first corpus validator: validates contract documents against the grammar shipped inside the package
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: jsonschema>=4.18
Requires-Dist: pyyaml>=6.0
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# 秩宗 (zhizong)

A contract validation tool that validates a corpus of contract documents against the grammar shipped inside the package.

## Installation

```bash
pip install zhizong
```

## Usage

```bash
zhizong validate [--config PATH]
zhizong --version
```

## Configuration

| Key | Required | Default | Description |
|-----|----------|---------|-------------|
| `namespace` | Yes | - | The namespace identifier for the contract documents |
| `contracts_root` | No | `contracts` | The root directory containing contract documents |

## Grammar Specification

The normative format specification is defined in `src/zhizong/versions/1.yaml`.