tl;dr: is there a well defined process for amending the current LSST alert schema or creating alerts with a user-defined schema?
As part of the PLAsTiCC v2.0 broker challenge, we’d like to supplement the standard alert schema with host information. I’ve generated a notebook to add additional fields, but wanted to know the best practice for writing out these schema.
Using schema = lsst.alert.packet.Schema.from_file(path/to/our/modified/schema/lsst.v4_1.alert.avsc)
seems to throw up exceptions that it is still expecting a valid v4_0 defined schema.
Note that the modified schema are here: plasticc_alerts/Examples/plasticc_schema at main · LSSTDESC/plasticc_alerts · GitHub (the same workbook contains our work).