>>==== MODE ====>>
citation
<<==== MODE ====<<

>>==== RESULT ====>>
People v. Taylor, 73 N.Y.2d 683 (1989).
<<==== RESULT ====<<

>>==== CITATION-ITEMS ====>>
[
    [
        {
            "id": 97
        }
    ]
]
<<==== CITATION-ITEMS ====<<

>>==== CSL ====>>
<style
       xmlns="http://purl.org/net/xbiblio/csl"
      class="note"
      version="1.0"
      page-range-format="chicago">
  <info>
    <title>Bluebook, 19th edition</title>
    <id>http://www.zotero.org/styles/bluebook-19th</id>
    <link rel="self" href="http://gsl-nagoya-u.net/http/pub/bluebook-19th.csl" />
    <link href="http://www.legalbluebook.com/" rel="documentation" />
    <author>
      <name>Frank Bennett</name>
      <email>biercenator@gmail.com</email>
    </author>
    <contributor>
      <name>Jennifer M. Duperon</name>
      <email>jennifer@mail.address</email> 
    </contributor>
    <summary>Bluebook Style for legal materials (19th edition)</summary>
    <category field="generic-base" />
    <category citation-format="note" />
    <updated>2010-04-24T04:49:00+09:00</updated>
  </info>
  <locale>
	<terms>
	  <term name="ibid">id.</term>
	</terms>
  </locale>

  <!-- ### BLUEBOOK AUTHOR ### -->
  <macro name="bb-author">
	<names variable="author">
	  <name/>
	</names>
  </macro>
  <macro name="bb-author-short">
    <choose>
      <if type="book" match="any">
        <names variable="author">
	      <name form="short" font-variant="small-caps"/>
	    </names>
      </if>
      <else>
        <names variable="author">
	      <name form="short"/>
	    </names>
      </else>
    </choose>
  </macro>

  <!-- ### BLUEBOOK TITLE ### -->
  <macro name="bb-short-title">
    <choose>
      <if type="book" match="any">
        <text variable="title" font-variant="small-caps" form="short"/>
      </if>
      <else-if type="legal_case">
        <choose>
          <if position="near-note">
            <choose>
              <if variable="title">
                <text variable="title" form="short" font-style="italic"/>
              </if>
              <else>
                <text variable="title" form="short"/>
              </else>
            </choose>
          </if>
          <else>
            <text variable="title" form="short"/>
          </else>
        </choose>
      </else-if>
      <else-if type="bill legislation" match="any">
        <text variable="title" form="short"/>
      </else-if>
      <else>
        <text variable="title" font-style="italic" form="short"/>
      </else>
    </choose>
  </macro>

  <!-- ### BLUEBOOK ISSUED ### -->
  <macro name="bb-issued">
	<group prefix="(" suffix=")">
	  <date variable="issued" form="text" date-parts="year"/>
	</group>
  </macro>

  <!-- ### ID BACKREFERENCES ### -->
  <macro name="bb-ibid">
	<choose> 
	  <if position="ibid-with-locator">
		<text term="ibid" font-style="italic"/>
		<group delimiter=" ">
		  <choose>
			<if locator="page">
			  <text value=" at"/>
			</if>
			<else>
			  <text value=", "/>
			  <label form="short" variable="locator"/>
			</else>
		  </choose>
		  <text variable="locator"/>
		</group>
	  </if>
	  <else-if position="ibid">
		<text term="ibid" font-style="italic"/>
	  </else-if>
	</choose>
  </macro>

  <!-- ### POINT LOCATORS -->
  <macro name="bb-point-locator-comma">
	<group delimiter=" ">
	  <choose>
        <if variable="number page" position="ibid" match="any">
		  <text value=","/>
        </if>
	  </choose>
	  <choose>
        <if locator="page" match="none">
		  <label form="symbol" variable="locator" suffix=" "/>
	    </if>
	  </choose>
	  <text variable="locator"/>
	</group>
  </macro>
  <macro name="bb-point-locator-base">
	<choose>
      <if locator="page" match="none">
		<label form="symbol" variable="locator" suffix=" "/>
	  </if>
	</choose>
	<text variable="locator"/>
  </macro>

  <!-- ### LEGAL CASE ### -->
  <macro name="bb-legal-case">
	<choose>
	  <if position="near-note">
		<text macro="bb-legal-case-subsequent"/>
	  </if>
	  <else-if position="ibid">
		<text macro="bb-ibid"/>
	  </else-if>
	  <else-if position="first">
		<text macro="bb-legal-case-first"/>
	  </else-if>
	  <else>
		<text macro="bb-legal-case-first"/>
	  </else>
	</choose>
  </macro>
  <macro name="bb-legal-case-first">
    <choose>
      <if variable="title">
        <!-- Common law cases -->
		<group delimiter=", ">
		  <text variable="title"/>
		  <group delimiter=" ">
			<choose>
			  <if variable="issue">
				<text variable="volume" prefix="[" suffix="]"/>
				<text variable="issue"/>
			  </if>
			  <else>
				<text variable="volume"/>
			  </else>
			</choose>
			<text variable="container-title" form="short"/>
			<group>
			  <text variable="page"/>
			  <text macro="bb-point-locator-comma"/>
			</group>
			<group prefix="(" suffix=")" delimiter=" ">
			  <text variable="authority" form="short"/>
			  <date variable="issued">
				<date-part name="year"/>	
			  </date>
			</group>	
		  </group>
		</group>
	  </if>
      <else>
		<!-- Civil law cases -->
		<group delimiter=", ">
		  <text variable="authority"/>
		  <text variable="title" form="short"/>
		  <date variable="issued" form="text"/>
		  <text variable="container-title" font-style="italic" strip-periods="true"/>
		  <text variable="volume"/>
          <group delimiter=" ">
			<text variable="section"/>
            <label variable="page" form="short"/>
            <text variable="page"/>
		  </group>
          <text variable="number"/>
          <group delimiter=" ">
            <text variable="genre"/>
  		    <names variable="author">
			  <name initialize-with="." font-variant="small-caps"/>
		    </names>
		  </group>
		</group>
	  </else>
	</choose>
  </macro>
  <macro name="bb-legal-case-subsequent">
    <group delimiter=", ">
      <text macro="bb-short-title"/>
      <group delimiter=" ">
		<choose>
		  <if variable="issue">
			<text variable="volume" prefix="[" suffix="]"/>
			<text variable="issue"/>
		  </if>
		  <else>
			<text variable="volume"/>
		  </else>
		</choose>
        <text variable="container-title" form="short"/>
		<choose>
          <if variable="locator">
            <text macro="bb-point-locator-base"/>
		  </if>
		  <else>
		    <text variable="page"/>
		  </else>
		</choose>
      </group>
	</group>
  </macro>

  <!-- ### LEGISLATION ### -->
  <macro name="bb-legislation">
	<choose>
	  <if position="first">
		<text macro="bb-legislation-first"/>
	  </if>
	  <else-if position="near-note">
		<text macro="bb-legislation-subsequent"/>
	  </else-if>
	  <else>
		<text macro="bb-legislation-first"/>
	  </else>
	</choose>
  </macro>
  <macro name="bb-legislation-first">
	<choose>
	  <if variable="container-title">
		<text macro="bb-statute-first"/>
	  </if>
	  <else>
		<text macro="bb-code-first"/>
	  </else>
	</choose>
  </macro>
  <macro name="bb-legislation-subsequent">
	<choose>
	  <if variable="container-title">
		<text macro="bb-statute-subsequent"/>
	  </if>
	  <else>
		<text macro="bb-code-subsequent"/>
	  </else>
	</choose>
  </macro>
  <macro name="bb-statute-first">
	<group delimiter=", ">
	  <text variable="title"/>
	  <text macro="bb-statute-subsequent"/>
	</group>
  </macro>
  <macro name="bb-statute-subsequent">
	<group delimiter="">
	  <group delimiter=" ">
		<text variable="volume"/>
		<text variable="container-title"/>
		<text variable="number"/>
		<text variable="page"/>
		<choose>
		  <if is-numeric="section">
			<text term="section" form="symbol"/>
			<text variable="section"/>
		  </if>
		</choose>
	  </group>
	  <text macro="bb-point-locator-comma"/>
	  <date prefix=" (" variable="issued" date-parts="year" form="text" suffix=")"/>
	</group>
  </macro>
  <macro name="bb-code-first">
	<group delimiter=" ">
	  <text variable="title" font-variant="small-caps"/>
	  <group delimiter=" ">
		<label variable="locator" form="symbol"/>
		<text variable="locator"/>
	  </group>
	</group>
  </macro>
  <macro name="bb-code-subsequent">
	<group delimiter=" ">
	  <text variable="title" form="short" font-variant="small-caps"/>
	  <group delimiter=" ">
		<label variable="locator" form="symbol"/>
		<text variable="locator"/>
	  </group>
	</group>
  </macro>

  <!-- ### SECONDARY SUBSEQUENT (generic) ### -->
  <macro name="bb-secondary-subsequent">
    <group delimiter=", ">
	  <text macro="bb-author-short"/>
	  <choose>
		<if disambiguate="true">
          <text macro="bb-short-title"/>
		</if>
	  </choose>
	  <group delimiter="">
		<group delimiter=" ">
		  <text value="supra" font-style="italic"/>
		  <choose>
			<if variable="first-reference-note-number">
			  <text value="note"/>
			  <text variable="first-reference-note-number"/>
			</if>
		  </choose>
		</group>
        <choose>
          <if variable="first-reference-note-number locator" match="all">
            <text value=", "/>
          </if>
          <else-if variable="locator">
            <text value=" "/>
          </else-if>
        </choose>
		<group delimiter=" ">
		  <choose>
			<if locator="page">
			  <text term="at"/>
			</if>
			<else>
			  <label variable="locator"/>
			</else>
		  </choose>
		  <text variable="locator"/>
		</group>
	  </group>
	</group>
  </macro>

  <!-- ### BOOK ### -->
  <macro name="bb-book">
	<choose>
	  <if position="first">
		<text macro="bb-book-first"/>
	  </if>
	  <else-if position="ibid">
		<text macro="bb-ibid"/>
	  </else-if>
	  <else-if position="subsequent">
		<text macro="bb-secondary-subsequent"/>
	  </else-if>
	</choose>
  </macro>
  <macro name="bb-book-first">
	<group delimiter=", ">
	  <text macro="bb-author" font-variant="small-caps"/>
	  <group delimiter=" ">
		<text variable="title" font-variant="small-caps"/>
        <text macro="bb-point-locator-base"/>
		<text macro="bb-issued"/>
	  </group>
	</group>
    <text variable="references" prefix=" [" suffix="]"/>
  </macro>

  <!-- ### PERIODICAL ### -->
  <macro name="bb-periodical">
	<choose>
	  <if position="first">
		<text macro="bb-periodical-first"/>
	  </if>
	  <else-if position="ibid">
		<text term="ibid" font-style="italic"/>
	  </else-if>
	  <else-if position="subsequent">
		<text macro="bb-secondary-subsequent"/>
	  </else-if>
	</choose>
  </macro>
  <macro name="bb-periodical-first">
	<group delimiter=" ">
	  <group delimiter=", ">
		<names variable="author">
		  <name/>
		</names>
		<text variable="title" font-style="italic"/>
		<group delimiter=" ">
		  <text variable="volume"/>
		  <text variable="container-title" form="short" font-variant="small-caps"/>
		  <text variable="page-first"/>
		</group>
        <text macro="bb-point-locator-base"/>
	  </group>
	  <text macro="bb-issued"/>
	</group>
  </macro>
  <citation
         near-note-distance="5"
         et-al-min="2"
         et-al-subsequent-min="4"
         et-al-subsequent-use-first="2"
         et-al-use-first="1">
    <layout delimiter="; " suffix=".">
      <choose>
        <if type="legal_case">
          <text macro="bb-legal-case"/>
        </if>
		<else-if type="legislation">
		  <text macro="bb-legislation"/>
		</else-if>
		<else-if type="book" match="any">
		  <text macro="bb-book"/>
		</else-if>
        <else>
		  <text macro="bb-periodical"/>
		</else>
	  </choose>
    </layout>
  </citation>
</style>
<<==== CSL ====<<

>>==== INPUT ====>>
[
  {
    "container-title": "N.Y.2d",
    "id": 97,
    "issued": {
      "date-parts": [
        [
          1989
        ]
      ]
    },
    "multi": {
      "_keys": {}
    },
    "page": "683",
    "title": "People v. Taylor",
    "type": "legal_case",
    "volume": "73"
  }
]
<<==== INPUT ====<<



>>===== VERSION =====>>
1.0
<<===== VERSION =====<<

