diff --git a/CHANGELOG.md b/CHANGELOG.md index 00dee90..40c84e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Added the following fields to `Alert.attributes`: `n_previous_sources` and `ssobjectid`. - Unit tests: - Tests take into account new `Alert.attributes` keys. +- `Schema`: + - Schema map for the ZTF lite schema. ### Changed diff --git a/pittgoogle/schemas/maps/ztf-lite.yml b/pittgoogle/schemas/maps/ztf-lite.yml new file mode 100644 index 0000000..15e3be6 --- /dev/null +++ b/pittgoogle/schemas/maps/ztf-lite.yml @@ -0,0 +1,14 @@ +FILTER_MAP: + 1: g + 2: r + 3: i +prv_sources: prv_sources +source: source_dict +objectid: [alertIds, objectId] +sourceid: [alertIds, sourceId] +filter: [source_dict, filter] +mag: [source_dict, mag] +mag_err: [source_dict, magerr] +mag_zp: [source_dict, magzp] +xmatch: xmatch +jd: [source_dict, jd]