Skip to content

Add support for treaties #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ A complete data point has fields like so:

"$citation": [
{
"cite_type": "state|federal|neutral|specialty|specialty_west|specialty_lexis|state_regional|scotus_early",
"cite_type": "state|federal|neutral|specialty|specialty_west|specialty_lexis|state_regional|scotus_early|treaty",
"editions": {
"$citation": {
"end": null,
Expand Down
155 changes: 154 additions & 1 deletion reporters_db/data/laws.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,23 @@
"variations": []
}
],
"C.E.T.S.": [
{
"cite_type": "treaty",
"end": null,
"examples": [
"C.E.T.S. No. 196"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "",
"name": "Council of Europe Treaty Series",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d+)"
],
"start": "2004-01-01T00:00:00",
"variations": []
}
],
"C.F.R.": [
{
"cite_type": "admin_compilation",
Expand Down Expand Up @@ -1176,6 +1193,40 @@
"variations": []
}
],
"E.A.S.": [
{
"cite_type": "treaty",
"end": "1945-12-31T23:59:59",
"examples": [
"E.A.S. 472"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "United States",
"name": "Executive Agreement Series",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d+)"
],
"start": "1922-01-01T00:00:00",
"variations": []
}
],
"E.T.S.": [
{
"cite_type": "treaty",
"end": "2003-12-31T23:59:59",
"examples": [
"E.T.S. 5"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "",
"name": "European Treaty Series",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d+)"
],
"start": "1948-01-01T00:00:00",
"variations": []
}
],
"FR": [
{
"cite_type": "admin_register",
Expand Down Expand Up @@ -1587,6 +1638,23 @@
"variations": []
}
],
"Hein's": [
{
"cite_type": "treaty",
"end": null,
"examples": [
"Hein's No. KAV 2053"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "United States",
"name": "Hein’s United States Treaties and Other International Agreements",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*KAV\\s*(?P<number>\\d+)"
],
"start": "1984-01-01T00:00:00",
"variations": []
}
],
"Idaho Admin. Bull.": [
{
"cite_type": "admin_register",
Expand Down Expand Up @@ -4817,6 +4885,23 @@
"variations": []
}
],
"Pan-Am. T.S.": [
{
"cite_type": "treaty",
"end": null,
"examples": [
"Pan-Am. T.S. No. 22"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "",
"name": "Pan-American Treaty Series",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d+)"
],
"start": "1949-01-01T00:00:00",
"variations": []
}
],
"Pub. L.": [
{
"cite_type": "leg_statute",
Expand Down Expand Up @@ -5029,6 +5114,40 @@
"variations": []
}
],
"S. Exec. Doc.": [
{
"cite_type": "treaty",
"end": "1980-12-31T23:59:59",
"examples": [
"S. Exec. Doc. No. 38"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "United States",
"name": "Senate Executive Documents",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d*[A-Z]?)"
],
"start": "1778-01-01T00:00:00",
"variations": []
}
],
"S. Treaty Doc.": [
{
"cite_type": "treaty",
"end": null,
"examples": [
"S. Treaty Doc. No. 100-20"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "United States",
"name": "Senate Treaty Document ",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d+-?\\d*)"
],
"start": "1981-01-01T00:00:00",
"variations": []
}
],
"S.C. Acts": [
{
"cite_type": "leg_session",
Expand Down Expand Up @@ -5191,14 +5310,48 @@
],
"jurisdiction": "United States",
"name": "United States Statutes at Large",
"notes": "Automatically generated. Remove this message if replacing with real examples.",
"notes": "Some of these citations may be to treaties, which were reported here until December 31, 1949. See Ch 1001, Sec. 2, 64 Stat. 980 (1950).",
"regexes": [
"$volume $reporter $page_with_commas"
],
"start": null,
"variations": []
}
],
"T.I.A.S.": [
{
"cite_type": "treaty",
"end": null,
"examples": [
"T.I.A.S. No. 6577"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "United States",
"name": "Treaties and Other International Acts Series",
"regexes": [
"$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d+)"
],
"start": "1945-01-01T00:00:00",
"variations": []
}
],
"T.S.": [
{
"cite_type": "treaty",
"end": "1945-12-31T23:59:59",
"examples": [
" T.S. No. 251"
],
"href": "https://law.resource.org/pub/us/code/blue/IndigoBook.html#T6",
"jurisdiction": "United States",
"name": "Treaty Series",
"regexes": [
"\\s$reporter\\s*(?:No\\.|Number)?\\s*(?P<number>\\d+)"
],
"start": "1778-01-01T00:00:00",
"variations": []
}
],
"Tenn. Admin. Reg.": [
{
"cite_type": "admin_register",
Expand Down
Loading