federatedbookkeeping / timesheets

Federated Timesheets Project. Gitter: https://gitter.im/federatedbookkeeping/timesheets
MIT License
9 stars 1 forks source link

Interpreting top 2 lines of a m-ld.ndjson #49

Closed michielbdejong closed 2 years ago

michielbdejong commented 2 years ago

The top two lines of the m-ld.ndjson file which I now obtained through https://github.com/federatedbookkeeping/timesheets/issues/47 read:

{"@id":"fedb/fedt","@type":"Project"}
{"@id":"angus/ts-agm-2022-08-08","project":{"@id":"fedb/fedt"},"@type":"Timesheet"}

Does this imply that all subsequent lines pertain to that project and that timesheet?

michielbdejong commented 2 years ago

Sorry this issue should have gone to https://github.com/m-ld/timeld but I guess we can also answer it here as part of https://github.com/federatedbookkeeping/timesheets/wiki/Timesheet-Data-Formats

gsvarovsky commented 2 years ago

Does this imply that all subsequent lines pertain to that project and that timesheet?

Yes, see https://github.com/m-ld/timeld/blob/main/doc/api.md#report

Note also https://github.com/m-ld/timeld/issues/44: The session key in each Entry leaks an internal identifier instead of the timesheet reference.