Metadata-Version: 2.4
Name: fleetmesh-schema
Version: 0.1.0
Summary: Fleetmesh published schema files: constants, kinds, messages, digest and JSON Schemas
License: CC0-1.0
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Fleetmesh Schemas

Canonical machine-readable schemas, manifests, kind definitions, and protocol digest for **Fleetmesh** ([fleetmesh.org](https://www.fleetmesh.org)).

## Contents

- `manifests/`: Declarative manifests (`apiVersion: fleetmesh.org/v1alpha1`) for `MeshNode`, `Peering`, `GrantPolicy`, `ComputeProvider`, `InferenceRouter`, and `WorkloadRouter`.
- `schema/`:
  - `constants.json`: Cryptographic primitives, window constants, and rate ceilings.
  - `kinds.json`: Canonical event kind registry definitions.
  - `messages.json`: Wire message envelope definitions.
  - `DIGEST`: SHA-256 over canonical representations of constants, kinds, and messages.
  - `PROTOCOLS`: Supported protocol capability URIs (`https://fleetmesh.org/*`).
  - `conformance.json`: The conformance op catalogue (ops by plane, error codes, verdicts, wire shapes) that `scripts/conform.py` in fleetmesh.org drives; generated, not in the digest.
- `schemas/`: Formal JSON Schema Draft 2020-12 specifications for every event kind, DIDComm message, decrypted payload, manifest, and DID document.

## Protocol Version

```
fleetmesh/0.1-draft
```

The authoritative protocol digest is stored in `schema/DIGEST`.

## Validation

```sh
python3 scripts/check-manifests.py
python3 scripts/validate-schemas.py
```

## Licence

[CC0 1.0 Universal](LICENSE)
