# OIP-0020 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 OIP-0006's patches, although the proposal requires OIP-0006 to be
accepted first.

| File | What it changes on acceptance |
|---|---|
| [`OIP-0020.md`](OIP-0020.md) | the proposal |
| `patches/spec.patch` | §4.2 rows CoverageObservation, Detection and ArdClaim; §5.10 paragraph "Earth-observation products" with EOP-1 to EOP-9; `registers/requirements.yaml` regenerated (79 requirements) |
| `patches/registers.patch` | `registers/functions.yaml`: observe gains `coverage-observation` and `detection`, qualify gains `ard-claim`, exchange gains all three |
| `patches/schemas-fixtures.patch` | new schemas `coverage-observation`, `ard-claim`, `detection`; additive fields on `product-manifest` (extent, processing level, lineage, origin aggregate) and `calibration-record` (`eoCalibration`); 10 positive and 43 negative fixtures; example documents for OBSP-GRID, OBSP-PROVIDER and OBSP-CONSUMER |
| `patches/cases-invariants.patch` | cases CT-GRID-080 to 083, CT-PROVIDER-080 and 081, CT-CONSUMER-080 to 083; the CT-CONSUMER-083 attestation; seven invariants in `sdk/python/src/obsp/eo_products.py`, merged into the suite's table by `conformance.py`; 33 unit tests in `sdk/python/tests/test_eo_products.py` |

Apply all four patches, in the order of the table, before running `make check`. Acceptance removes `patches/` and adds
the relation rows listed in the proposal (then `python3 tools/build_edges.py`); the patches do not touch
`registers/relations.yaml` or `registers/implements-edges.json`. The lines this proposal shares with other drafts are
listed in the proposal (Compatibility).

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