<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/cts.jsonPropertyReference.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>cts.jsonPropertyReference</api:function-name><api:suggest>cts.jsonpropertyreference</api:suggest><api:suggest>cts</api:suggest><api:suggest>jsonpropertyreference</api:suggest><api:function-link mode="xquery" fullname="cts:json-property-reference">/apidoc/8.0/cts:json-property-reference.xml</api:function-link><api:function mode="javascript" name="jsonPropertyReference" type="builtin" lib="cts" category="SearchBuiltins" subcategory="Lexicon" hidden="false" bucket="MarkLogic Built-In Functions" prefix="cts" namespace="http://marklogic.com/cts" fullname="cts.jsonPropertyReference"><api:summary>
  Creates a reference to a JSON property value lexicon, for use as a parameter
  to cts:value-tuples.  Since lexicons are implemented with range indexes,
  this function will throw an exception if the specified range index does
  not exist.
</api:summary><api:params><api:param name="property" type="xs:string"><api:param-description>
    A property name.</api:param-description><api:param-name>property</api:param-name><api:param-type>String</api:param-type></api:param><api:param name="options" type="xs:string*" optional="true"><api:param-description>
    Options.  The default is ().
    <p xmlns="http://www.w3.org/1999/xhtml">
      Options include:</p>
      <blockquote xmlns="http://www.w3.org/1999/xhtml"><dl>
        <dt>"type=<em>type</em>"</dt>
        <dd>Use the lexicon with the type specified by <em>type</em>
        (int, unsignedInt, long, unsignedLong, float, double, decimal,
        dateTime, time, date, gYearMonth, gYear, gMonth, gDay,
        yearMonthDuration, dayTimeDuration, string, anyURI, point, or
        long-lat-point)</dd>
        <dt>"collation=<em>URI</em>"</dt>
        <dd>Use the lexicon with the collation specified by <em>URI</em>.</dd>
        <dt>"coordinate-system=<em>coord</em>"</dt>
        <dd>Use the given coordinate system. Possible values
        are "wgs84" and "raw".</dd>
        <dt>"nullable"</dt>
        <dd>Allow null values in tuples reported from cts:value-tuples when
        using this lexicon.</dd>
        <dt>"unchecked"</dt>
        <dd>Read the scalar type, collation and coordinate-system info
        only from the input. Do not check the definition against the
        context database.</dd>
     </dl></blockquote>
  </api:param-description><api:param-name>options</api:param-name><api:param-type>String[]</api:param-type></api:param></api:params><api:return>cts.reference</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
cts.jsonPropertyReference("TITLE");
=&gt;
cts.jsonPropertyReference("TITLE",
  ["type=string","collation=http://marklogic.com/collation/"])
</pre></api:example></api:function></api:function-page>