Metadata-Version: 2.4
Name: joint-schema
Version: 0.1.0
Summary: Multi-domain military operations schema: MIM operational concepts, DISARM influence operation TTPs, and STIX cyber threat intelligence
License: TBD
Project-URL: Homepage, https://github.com/tairnyn/joint-schema
Project-URL: Repository, https://github.com/tairnyn/joint-schema
Project-URL: Issues, https://github.com/tairnyn/joint-schema/issues
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: linkml>=1.8.0
Requires-Dist: linkml-runtime>=1.8.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: stix2>=3.0.0
Requires-Dist: PyYAML>=6.0
Requires-Dist: jsonschema>=4.0.0
Requires-Dist: click>=8.0.0
Provides-Extra: dev
Requires-Dist: build>=1.0.0; extra == "dev"
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
Requires-Dist: ruff>=0.4.0; extra == "dev"

# joint-schema

Multi-domain military operations schema covering three integrated knowledge domains:

| Domain | Description |
|--------|-------------|
| **MIM** | Military Information Model — operational concepts, units, tasks, effects |
| **DISARM** | Influence operation Tactics, Techniques & Procedures (TTPs) |
| **STIX** | Cyber threat intelligence objects bridged from STIX 2.1 |

## Directory structure

```
joint-schema/
├── schema/
│   ├── core/       # Shared base classes, common types, enumerations
│   ├── mim/        # MIM operational concept schemas (LinkML YAML)
│   ├── disarm/     # DISARM TTP schemas (LinkML YAML)
│   └── bridge/     # Cross-domain linkage / alignment schemas
├── generated/      # Auto-generated artifacts (JSON Schema, Pydantic, OWL, …)
├── llm-context/    # Bundled context files for LLM tooling
├── docs/           # Documentation source and build output
└── tests/          # Schema validation and integration tests
```

## Quickstart

```bash
# Python toolchain
python -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -r requirements.txt

# Node toolchain (DOCX generation)
npm install

# Run tests
pytest
```

## Generating artifacts

```bash
# JSON Schema from a LinkML source file
gen-json-schema schema/core/core.yaml > generated/core.schema.json

# Pydantic models
gen-pydantic schema/core/core.yaml > generated/core_models.py
```
