Skip to content

Instantly share code, notes, and snippets.

@waldoj
Created March 16, 2013 18:54
Show Gist options
  • Save waldoj/5177759 to your computer and use it in GitHub Desktop.
Save waldoj/5177759 to your computer and use it in GitHub Desktop.
Sample API response from Virginia Decoded's Law method.
{
"section_number": "15.2-627",
"section_id": "7508",
"structure_id": "1980",
"catch_line": "Department of education.",
"history": "Code 1950, § 15-324; 1956, c. 153; 1962, c. 623, § 15.1-644; 1980, c. 559; 1981, c. 246; 1982, cc. 32, 75; 1995, c. 8; 1996, c. 873; 1997, c. 587.",
"full_text": "<p>The department of education shall consist of the county school board, the division superintendent of schools and the officers and employees thereof. Except as herein otherwise provided, the county school board and the division superintendent of schools shall exercise all the powers conferred and perform all the duties imposed upon them by general law. Except for the initial elected board which shall consist of five members, the county school board shall be composed of not less than three nor more than nine members; however, there shall be at least one school board member elected from each of the county’s magisterial or election districts. The members shall be elected by popular vote from election districts coterminous with the election districts for the board of county supervisors. The exact number of members shall be determined by the board of county supervisors. Elections of school board members shall be held to coincide with the elections of members of the board of county supervisors at the regular general election in November. The terms of office for the county school board members shall be the same as the terms of the members of the board of county supervisors and shall commence on January 1 following their election.<\/p><p>A vacancy in the office of school board member shall be filled pursuant to §§ 24.2-226 and 24.2-228.<\/p><p>In order to have their names placed on the ballot, all candidates shall be nominated only by petition as provided by general law pursuant to § 24.2-506.<\/p><p>The county school board may also appoint a resident of the county to cast the deciding vote in case of a tie vote of the school board as provided in § 22.1-75. The tie breaker, if any, shall be appointed for a four-year term whether appointed to fill a vacancy caused by expiration of term or otherwise.<\/p><p>The chairman of the county school board, for the purpose of appearing before the board of county supervisors, shall be considered head of this department, unless some other person in the department shall be designated by the school board for such purpose.<\/p>",
"repealed": "n",
"text": {
"0": {
"text": "The department of education shall consist of the county school board, the division superintendent of schools and the officers and employees thereof. Except as herein otherwise provided, the county school board and the division superintendent of schools shall exercise all the powers conferred and perform all the duties imposed upon them by general law. Except for the initial elected board which shall consist of five members, the county school board shall be composed of not less than three nor more than nine members; however, there shall be at least one school board member elected from each of the county’s magisterial or election districts. The members shall be elected by popular vote from election districts coterminous with the election districts for the board of county supervisors. The exact number of members shall be determined by the board of county supervisors. Elections of school board members shall be held to coincide with the elections of members of the board of county supervisors at the regular general election in November. The terms of office for the county school board members shall be the same as the terms of the members of the board of county supervisors and shall commence on January 1 following their election.",
"type": "section",
"prefixes": [
""
],
"prefix": "",
"entire_prefix": "",
"prefix_anchor": "",
"level": 1
},
"1": {
"text": "A vacancy in the office of school board member shall be filled pursuant to §§ 24.2-226 and 24.2-228.",
"type": "section",
"prefixes": [
""
],
"prefix": "",
"entire_prefix": "",
"prefix_anchor": "",
"level": 1
},
"2": {
"text": "In order to have their names placed on the ballot, all candidates shall be nominated only by petition as provided by general law pursuant to § 24.2-506.",
"type": "section",
"prefixes": [
""
],
"prefix": "",
"entire_prefix": "",
"prefix_anchor": "",
"level": 1
},
"3": {
"text": "The county school board may also appoint a resident of the county to cast the deciding vote in case of a tie vote of the school board as provided in § 22.1-75. The tie breaker, if any, shall be appointed for a four-year term whether appointed to fill a vacancy caused by expiration of term or otherwise.",
"type": "section",
"prefixes": [
""
],
"prefix": "",
"entire_prefix": "",
"prefix_anchor": "",
"level": 1
},
"4": {
"text": "The chairman of the county school board, for the purpose of appearing before the board of county supervisors, shall be considered head of this department, unless some other person in the department shall be designated by the school board for such purpose.",
"type": "section",
"prefixes": [
""
],
"prefix": "",
"entire_prefix": "",
"prefix_anchor": "",
"level": 1
}
},
"ancestry": {
"1": {
"id": "1980",
"name": "County Manager Form of Government",
"identifier": "6",
"label": "chapter",
"url": "/15.2/6/"
},
"2": {
"id": "27",
"name": "Counties, Cities and Towns",
"identifier": "15.2",
"label": "title",
"url": "/15.2/"
}
},
"structure_contents": {
"0": {
"id": "7481",
"structure_id": "1980",
"section_number": "15.2-600",
"catch_line": "Designation of form; applicability of chapter.",
"url": "http://vacode.org/15.2-600/",
"api_url": "http://vacode.org/api/law/15.2-600/"
},
"1": {
"id": "7482",
"structure_id": "1980",
"section_number": "15.2-601",
"catch_line": "Adoption of county manager form.",
"url": "http://vacode.org/15.2-601/",
"api_url": "http://vacode.org/api/law/15.2-601/"
},
"2": {
"id": "7483",
"structure_id": "1980",
"section_number": "15.2-602",
"catch_line": "Powers vested in board of supervisors; election and terms of members; vacancies.",
"url": "http://vacode.org/15.2-602/",
"api_url": "http://vacode.org/api/law/15.2-602/"
},
"3": {
"id": "7484",
"structure_id": "1980",
"section_number": "15.2-603",
"catch_line": "Referendum on election of supervisors by districts or at large.",
"url": "http://vacode.org/15.2-603/",
"api_url": "http://vacode.org/api/law/15.2-603/"
},
"4": {
"id": "7485",
"structure_id": "1980",
"section_number": "15.2-604",
"catch_line": "General powers of board.",
"url": "http://vacode.org/15.2-604/",
"api_url": "http://vacode.org/api/law/15.2-604/"
},
"5": {
"id": "7486",
"structure_id": "1980",
"section_number": "15.2-605",
"catch_line": "Prohibiting misdemeanors and providing penalties.",
"url": "http://vacode.org/15.2-605/",
"api_url": "http://vacode.org/api/law/15.2-605/"
},
"6": {
"id": "7487",
"structure_id": "1980",
"section_number": "15.2-606",
"catch_line": "Investigation of county officers.",
"url": "http://vacode.org/15.2-606/",
"api_url": "http://vacode.org/api/law/15.2-606/"
},
"7": {
"id": "7488",
"structure_id": "1980",
"section_number": "15.2-607",
"catch_line": "Organization of departments.",
"url": "http://vacode.org/15.2-607/",
"api_url": "http://vacode.org/api/law/15.2-607/"
},
"8": {
"id": "7489",
"structure_id": "1980",
"section_number": "15.2-608",
"catch_line": "Designation of officers to perform certain duties.",
"url": "http://vacode.org/15.2-608/",
"api_url": "http://vacode.org/api/law/15.2-608/"
},
"9": {
"id": "7490",
"structure_id": "1980",
"section_number": "15.2-609",
"catch_line": "Appointment of county manager.",
"url": "http://vacode.org/15.2-609/",
"api_url": "http://vacode.org/api/law/15.2-609/"
},
"10": {
"id": "7491",
"structure_id": "1980",
"section_number": "15.2-610",
"catch_line": "Tenure of office; removal.",
"url": "http://vacode.org/15.2-610/",
"api_url": "http://vacode.org/api/law/15.2-610/"
},
"11": {
"id": "7492",
"structure_id": "1980",
"section_number": "15.2-611",
"catch_line": "Disability of county manager.",
"url": "http://vacode.org/15.2-611/",
"api_url": "http://vacode.org/api/law/15.2-611/"
},
"12": {
"id": "7493",
"structure_id": "1980",
"section_number": "15.2-612",
"catch_line": "Manager responsible for administration of affairs of county; appointment of officers and employees.",
"url": "http://vacode.org/15.2-612/",
"api_url": "http://vacode.org/api/law/15.2-612/"
}
},
"previous_section": {
"id": "7507",
"structure_id": "1980",
"section_number": "15.2-626",
"catch_line": "Department and board of social services.",
"url": "http://vacode.org/15.2-626/",
"api_url": "http://vacode.org/api/law/15.2-626/"
},
"next_section": {
"id": "7509",
"structure_id": "1980",
"section_number": "15.2-628",
"catch_line": "Terms of school boards.",
"url": "http://vacode.org/15.2-628/",
"api_url": "http://vacode.org/api/law/15.2-628/"
},
"metadata": {
"history": {
"1": {
"year": "1956",
"chapter": "153"
},
"2": {
"year": "1962",
"chapter": "623",
"section": "1962, c. 623, § 15.1-644"
},
"3": {
"year": "1980",
"chapter": "559"
},
"4": {
"year": "1981",
"chapter": "246"
},
"5": {
"year": "1982",
"chapter": [
"32",
"75"
]
},
"6": {
"year": "1995",
"chapter": "8"
},
"7": {
"year": "1996",
"chapter": "873"
},
"8": {
"year": "1997",
"chapter": "587"
}
}
},
"court_decisions": false,
"official_url": "http://lis.virginia.gov/cgi-bin/legp604.exe?000+cod+15.2-627",
"history_text": "This law has been modified 7 times since it was first created in 1956. Those modifications are cataloged by “The Acts of Assembly,” a state publication, by year and chapter. Those modifications that can be read on the General Assembly’s website will be linked accordingly. Those modifications are as follows: in 1962, chapter 623; in 1980, chapter 559; in 1981, chapter 246; in 1982, chapters 32, 75; in 1995 chapter <a href=510707da05a8b2d4f73cc97dfd900450b2d15c75quot;http://leg1.state.va.us/cgi-bin/legp504.exe?951+ful+CHAP0008510707da05a8b2d4f73cc97dfd900450b2d15c75quot;>8<\/a>; in 1996 chapter <a href=510707da05a8b2d4f73cc97dfd900450b2d15c75quot;http://leg1.state.va.us/cgi-bin/legp504.exe?961+ful+CHAP0873510707da05a8b2d4f73cc97dfd900450b2d15c75quot;>873<\/a>; in 1997 chapter <a href=510707da05a8b2d4f73cc97dfd900450b2d15c75quot;http://leg1.state.va.us/cgi-bin/legp504.exe?971+ful+CHAP0587510707da05a8b2d4f73cc97dfd900450b2d15c75quot;>587<\/a>.",
"references": [
{
"id": "12528",
"section_number": "22.1-29.1",
"catch_line": "Public hearing before appointment of school board members.",
"url": "http://vacode.org/22.1-29.1/"
},
{
"id": "12533",
"section_number": "22.1-34",
"catch_line": "Application of article.",
"url": "http://vacode.org/22.1-34/"
},
{
"id": "12542",
"section_number": "22.1-41",
"catch_line": "Application of article.",
"url": "http://vacode.org/22.1-41/"
},
{
"id": "12596",
"section_number": "22.1-75",
"catch_line": "Procedure in case of tie vote.",
"url": "http://vacode.org/22.1-75/"
}
],
"related": {
"0": {
"id": "7469",
"catch_line": "Department of education.",
"section_number": "15.2-531",
"url": "/15.2-531/"
},
"1": {
"id": "7618",
"catch_line": "Department of education.",
"section_number": "15.2-837",
"url": "/15.2-837/"
},
"2": {
"id": "12566",
"catch_line": "Election of school board members; appointment of tie breaker.",
"section_number": "22.1-57.3",
"url": "/22.1-57.3/"
},
"3": {
"id": "7428",
"catch_line": "County school board and division superintendent of schools.",
"section_number": "15.2-410",
"url": "/15.2-410/"
},
"4": {
"id": "7583",
"catch_line": "Powers of county vested in board of supervisors; membership, election, terms, etc., of board; vacancies; powers of chairman.",
"section_number": "15.2-802",
"url": "/15.2-802/"
}
},
"amendment_years": {
"0": "1950",
"1": "1956",
"2": "1962",
"3": "1980",
"4": "1981",
"5": "1982",
"6": "1995",
"7": "1996",
"8": "1997"
},
"url": "http://vacode.org/15.2-627/",
"citation": {
"official": "Va. Code §&nbsp;15.2-627",
"universal": "VA Code §&nbsp;15.2-627"
},
"api_version": "0.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment