This repository was archived by the owner on Feb 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Bills fields
jpmckinney edited this page Apr 19, 2013
·
28 revisions
Fields that are candidates for elimination are given in bold.
-
_id: the bill ID in the formatAKB00000001whereAKis the uppercase jurisdiction ID -
_all_ids: all IDs of merged documents plus this document's_id -
_type: alwaysbill -
type: a list describing the type of document, e.g.appointment -
bill_id: an abbreviation documentssponsorsversions- Hierarchy
-
state: the jurisdiction ID, e.g.ak -
chamber:lowerorupper -
_term: why the underscore? session
-
- Title
title-
alternate_titles(+extended_title,+official_titleand+short_titlealso occur rarely)
- Actions
actionsaction_dates-
action_dates.first: the date on which the first action was taken -
action_dates.last: the date on which an action was most recently taken action_dates.passed_loweraction_dates.passed_upperaction_dates.signed
- Sources
sourcessources.url
- Metadata
created_atupdated_at
-
_current_term:trueorfalse -
_current_session:trueorfalse -
subjects(+subjectalso occurs rarely) - Actions
-
actions.type: the types of action taken, e.g.bill:introduced -
actions.date: the date on which the action was taken -
actions.action: the description of the action -
actions.actor:executiveorotheror begins withlowerorupper
-
- Sponsors
-
sponsors.leg_id: the legislator ID -
sponsors.type:primaryorcosponsor -
sponsors.name: the sponsor's name, often only the last name
-
- Versions
-
versions.doc_id: the document ID in the formatAKD00000001whereAKis the uppercase jurisdiction ID, which refers to, e.g. http://static.openstates.org/documents/ak/AKD00000001 -
versions.url(+bill_url,versions.+pdf_urlandversions.+sourcealso occur rarely) -
versions.mimetype: one of a list of MIME types (versions.+mimetypealso occurs rarely) versions.name
-
-
country: alwaysus -
level: alwaysstate scraped_subjectssummary- Actions
actions.related_entities-
actions.related_entities.type:committeeorlegislator -
actions.related_entities.id: the committee or legislator ID -
actions.related_entities.name: the committee or legislator name actions.related_votes-
actions.committee: the committee ID -
actions._scraped_committee_name: the native committee name -
actions.+action_number(actions.+action_nummore rarely)
- Companions: Although most bills have at most one companion, in NY this is not the case
-
companions: a bill has up to three companion bills (+companionmore rarely) -
companions.chamber: alwaysnull, butlower,upperornullaccording to schema companions.session-
companions.bill_id: an abbreviation -
companions.internal_id: a bill ID
-
- Documents
-
documents.doc_id: the document ID in the formatAKD00000001whereAKis the uppercase jurisdiction ID, which refers to a private S3 URL -
documents.url(documents.+sourcemore rarely) documents.name
-
- Sources
sources.retrieved
- Sponsors
-
sponsors.chamber:lowerorupper -
sponsors.official_type: the native type, e.g.Pas opposed toprimary -
sponsors.+main_sponsor_url(sponsors.+sponsor_linkmore rarely)
-
- Versions
versions._oyster_id
_guid-
alternate_bill_ids(+alternate_bill_idsmore rarely) +companion_bill_ids+referral+status+impact_clause+type_+final_disposition+bill_lr+description+requester+drafter+fiscal_notes+by_request_of-
+chapterand+volume_chapter -
Colon fields?
+bill_draft_number:+category:+fiscal_note_probable:+preintroduction_required:+transmittal_date:
- Actions
actions._vote_idactions._code_idactions._codeactions.+abbrv-
actions.+absent_voters(actions.+absentmore rarely) actions.+actor_infoactions.+actor_info.detailsactions.+actor_info.committee_codeactions.+amendmentactions.+assigned_cttyactions.+bill_idactions.+billsactions.+brief_action_nameactions.+chapteractions.+chaptered_versionactions.+commentactions.+concuractions.+dayactions.+effective_date-
actions.+excused_voters(actions.+excusedmore rarely) actions.+from_committeeactions.+no_votesactions.+not_votingactions.+pass_failactions.+session_lawsactions.+signed_chamberactions.+vacantactions.+versionactions.+veto_memoactions.+vote_thresholdactions.+yes_votes
- Documents
documents.mimetypedocuments.+datedocuments.+type
- Sponsors
-
sponsors.committee_id: a sponsor may be a committee or a person sponsors._codesponsors.+leg_url
-
- Versions
versions._version_idversions._internal_document_idversions.+date
-
+conference_committee(conference_committeemore rarely)-
+conference_committee. lower(conference_committee.lowermore rarely) -
+conference_committee. upper(conference_committee.uppermore rarely)
-