Commit 3ac7c88
committed
fix(coops): split GeoJSON stubs from SensorML bodies for strict csapi-go-v2
Apply same recipe as aviation-wx (9206be0) and ndbc (9aa161b):
- PROCEDURE_BODY -> PROCEDURE_BODY_STUB (closed properties + validTime)
+ PROCEDURE_SML (rich SensorML payload using c2ab201 typo 'documentation')
- _system_stub: drop typeOf@link, all 8 links, validTime in properties
- _system_sml: drop characteristics + capabilities (server rejects)
- _datastream_schema: drop uid, documentation, characteristics, Time
field referenceTime
- _deploy_root / _deploy_group: drop documentation
- _deploy_station: drop links
- ensure_procedure call: pass sml_body=PROCEDURE_SML, force_sml=force_sml
Live --clean against /csapi-go-v2: 1 procedure + 5 systems + 5 datastreams
+ 7 deployments. SML round-trip on 8518750 preserves label, 8 keywords,
14 documents, 3 identifiers, 3 contacts (operator + qualityControl/CORMS
+ publisher).
New finding: qualityControl role and phone field on contacts both
accepted by /systems PUT (untested in prior pilots). No new upstream
issues to file.1 parent 2c632b8 commit 3ac7c88
1 file changed
Lines changed: 100 additions & 146 deletions
0 commit comments