# OIP-0017 draft folder

The proposal and, under `patches/`, the exact edits acceptance would make. Nothing here changes the protocol until the
editors accept the proposal and its patches are applied in the same change. The patches are made against the current
tree and apply on their own; they do not need the patches of OIP-0006 or OIP-0014, whose fields this proposal reads by
name only.

| File | What it changes on acceptance |
|---|---|
| [`OIP-0017.md`](OIP-0017.md) | the proposal |
| `patches/spec.patch` | §7.1 row `OBSP-COMMUNITY`, new §7.3 with COM-1 to COM-8; `registers/requirements.yaml` regenerated (78 requirements) |
| `patches/registers.patch` | profile `OBSP-COMMUNITY` (join, describe, observe, qualify); `conformance/suite.yaml` lists it; the Makefile target `conformance-community` runs its example set as a prerequisite of `conformance` (the `PROFILES` and `.PHONY` lines are not edited) |
| `patches/schemas-fixtures.patch` | new schemas `co-location-record` and `human-report`; the profile id added to the `conformance-claim`, `conformance-report` and `participant-manifest` enumerations; 8 positive and 47 negative fixtures; the example set `conformance/examples/OBSP-COMMUNITY/` |
| `patches/cases-invariants.patch` | cases CT-COMMUNITY-001 to CT-COMMUNITY-006; six invariants in `sdk/python/src/obsp/community.py`, merged into the suite's table by `conformance.py`; 47 unit tests in `sdk/python/tests/test_community.py` |

Apply all four patches, in the order of the table, before running `make check`. Acceptance removes `patches/`.
With these patches applied, every patch of OIP-0001 to OIP-0008 still applies. The generated
`registers/requirements.yaml` meets OIP-0009 to OIP-0015 and OIP-0019 (the proposal accepted second regenerates it with
`python3 tools/requirements.py`), and the profile lines (§7.1, §7.3, the profile register, the suite and the three
enumerations) meet the other new-profile drafts, OIP-0010 to OIP-0013: whichever is accepted second is rebased on the
first.

Check that every patch still applies to the current tree: `python3 -m unittest tests.test_validate -k draft_patches`.
