Closed paultag closed 10 years ago
on legislative session, we'll embed more than the name probably... but yeah it won't have an _id, so maybe we should drop session_id in favor of just session?
I guess then it'd look like
session: {"name": "2013-14", ... other properties ... }
Oh nice. Yeah, that sounds pretty lightweight and sane. Want me to update the OCDEP?
sure
OCDEP*
PR Updated:
-session, session_id
- A reference to a ``legislative_session`` from the relevant ``Jurisdiction`` (see :ref:`OCDEP3` for details)
+session
+ A reference to a ``legislative_session`` from the relevant ``Jurisdiction`` (see :ref:`OCDEP3` for details). This must contain the ``name`` attribute at minimum, but ``may`` contain any valid object that is found in the ``Jurisdiction.legislative_session`` object.
Only change is organization_id / organization on action. This was done to bring it in-line with other OCDEPs.