Metadata-Version: 2.4
Name: openrea-schema
Version: 0.1.0
Summary: The openREA schema: an open, agent-native, evidence-linked representation of economic activity. Schema-only convenience package.
Project-URL: Homepage, https://github.com/openrea/openrea
Project-URL: Specification, https://github.com/openrea/openrea/blob/main/SPEC.md
Project-URL: Issues, https://github.com/openrea/openrea/issues
Author-email: Shannon Wright <shannon@themaevenoffice.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: accounting,agents,audit,economic-events,json-schema,provenance,rea,schema
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.9
Provides-Extra: validate
Requires-Dist: jsonschema>=4.18; extra == 'validate'
Description-Content-Type: text/markdown

# openrea

The [openREA](https://github.com/openrea/openrea) JSON Schema as an installable package — an open, agent-native, evidence-linked representation of economic activity, from which accounting, tax, and audit views derive.

```python
import openrea

openrea.SCHEMA           # the JSON Schema (draft 2020-12) as a dict
openrea.SCHEMA_VERSION   # "0.1-draft"
openrea.validate(doc)    # pip install 'openrea-schema[validate]'
```

Documents use the `.openrea.json` suffix. This package is schema-only by design: the specification, canonical examples, conformance suite, and open questions live in the repository. Full document conformance additionally requires the cross-record checks (referential integrity, supersession acyclicity, contradiction detection) that JSON Schema cannot express — see [`tests/conformance`](https://github.com/openrea/openrea/tree/main/tests/conformance).

Apache-2.0. The spec is a v0.1 draft and is built to be attacked: [issues](https://github.com/openrea/openrea/issues).
