Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 14 additions & 0 deletions pittgoogle/schemas/maps/ztf-lite.yml
Original file line number Diff line number Diff line change
@@ -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]