<?xml version='1.0' encoding='utf-8'?>
<baltimore-city-law heading="Regulation .22 Data and Reporting.">
  <section prefix="Regulation" num=".22" heading="Data and Reporting.">
    <para num="A.">GPS.
A permit holder shall ensure each dockless vehicle in their fleet is equipped with on-board GPS technology that does not rely on a user’s mobile device to obtain spatial information.</para>
    <para num="B.">Publicly Accessible Application Program Interface (API).<para num="(1)">The permit holder shall provide a publicly accessible API.</para>
      <para num="(2)">The permit holder shall ensure that:<para num="(a)">The public API is in a gbfs.json file format;</para>
        <para num="(b)">There are no “stations” in the parlance of GBFS, therefore both station_status.json and station_information.json should return an empty list;</para>
        <para num="(c)">FreE-Bicycle-status.json is required;</para>
        <para num="(d)">The field “vehicle_type” is added to the public API to describe the vehicle type, which may be:<para num="(i)">“Bicycle”;</para>
          <para num="(ii)">“E-Bicycle”;</para>
          <para num="(iii)">“Scooter”; or</para>
          <para num="(iv)">Another type of specified permitted vehicle;</para>
        </para>
        <para num="(e)">The Department is instructed on how to request authentication, if the public API requires authentication;</para>
        <para num="(f)">The location of the public API is provided to the Department; and</para>
        <para num="(g)">A smart phone-based application used to rent dockless vehicles is not considered the public API program interface required by &lt;cite data-path="14.02.01.22|B.|(1)"&gt;§B(1) of this regulation&lt;/cite&gt;.</para>
      </para>
      <para num="(3)">The permit holder shall provide access to at least 50 requests per hour.</para>
      <para num="(4)">The Department shall post the location of the public API to the Department’s website.</para>
    </para>
    <para num="C.">Mobility Data Specification (MDS) Policy API.<para num="(1)">A permit holder shall:<para num="(a)">Provide an MDS Policy API to the Department for a dockless vehicle trip in Baltimore City, including trips which:<para num="(i)">Start in Baltimore City;</para>
          <para num="(ii)">End in Baltimore City; or</para>
          <para num="(iii)">Pass through Baltimore City;</para>
        </para>
        <para num="(b)">Adhere to an MDS of 1.0 or newer, as set by the OMF;</para>
        <para num="(c)">Post the MDS Policy API on GitHub under the OMF Mobility Data specification;</para>
        <para num="(d)">Provide API endpoints, including:<para num="(i)">A trip;</para>
          <para num="(ii)">A status change;</para>
          <para num="(iii)">A vehicle; and</para>
          <para num="(iv)">Real-time data;</para>
        </para>
        <para num="(e)">Update or add endpoints to the MDS Policy API within:<para num="(i)">Sixty days of notification from the Department for required published endpoints; and</para>
          <para num="(ii)">Ninety days for beta endpoints;</para>
        </para>
        <para num="(f)">Change vehicle status to ‘Unknown’ if a vehicle is suspected to be:<para num="(i)">Vandalized; or</para>
          <para num="(ii)">Missing for five or more days;</para>
        </para>
        <para num="(g)">Ensure GPS data are transmitted from a dockless vehicle on-trip at a minimum frequency of once per 30 seconds;</para>
        <para num="(h)">Develop and maintain a working Wi-Fi connection to ingest MDS Policy API endpoints provided by the Department; and</para>
        <para num="(i)">Share current data through the MDS Policy API at least once per 24 hours.</para>
      </para>
      <para num="(2)">The Department may require additional or updated endpoints published by OMF.</para>
      <para num="(3)">The Department may share the MDS Policy API with a third-party aggregator in accordance with &lt;cite data-path="14.02.01.22|C.|(4)"&gt;§C(4) of this regulation&lt;/cite&gt; for the purpose of:<para num="(a)">Secure data storage; and</para>
        <para num="(b)">Analysis.</para>
      </para>
      <para num="(4)">To share data with a third-party aggregator in accordance with &lt;cite data-path="14.02.01.22|C.|(3)"&gt;§C(3) of this regulation&lt;/cite&gt;, the Department shall enter into a memorandum of understanding with a third-party aggregator that:<para num="(a)">Includes a provision governing the public release of data by a third-party aggregator; and</para>
        <para num="(b)">Is made available for a permit holder to review prior to being finalized.</para>
      </para>
    </para>
    <para num="D.">Reporting.<para num="(1)">Time Sensitive Reports.
A permit holder shall report the following to the Department within 24 hours of notice:<para num="(a)">Non-deployment request at a location by an adjacent property owner for verification by the Department;</para>
        <para num="(b)">A vehicle that is in a location where the permit holder cannot retrieve it, including a body of water; and</para>
        <para num="(c)">An issue that could affect public safety, including:<para num="(i)">A report of criminal activity involving a dockless vehicle;</para>
          <para num="(ii)">A report of a crash involving a dockless vehicle;</para>
          <para num="(iii)">Contact with the Baltimore City Police Department;</para>
          <para num="(iv)">Contact with the Baltimore City Fire Department; or</para>
          <para num="(v)">A defect in equipment.</para>
        </para>
      </para>
      <para num="(2)">Monthly Reports.
A permit holder shall provide the Department with a monthly report by the tenth business day following the final day of the month which:<para num="(a)">Uses the Department’s reporting template;</para>
        <para num="(b)">Is in Excel or CSV format;</para>
        <para num="(c)">Includes:<para num="(i)">A report of each dockless vehicle lost due to theft or vandalism;</para>
          <para num="(ii)">Aggregated repair information on a permit holder’s dockless vehicle fleet by model of vehicle and type of repair;</para>
          <para num="(iii)">Each illegal parking request from the public;</para>
          <para num="(iv)">Each customer complaint received with response time noted;</para>
          <para num="(v)">A record of attendance at a City meeting;</para>
          <para num="(vi)">The number of people in attendance at a community event;</para>
          <para num="(vii)">A summary of marketing efforts;</para>
          <para num="(viii)">The number of users that took a trip on a dockless vehicle during the reporting period;</para>
          <para num="(ix)">The number of rides by low-income pass users during the reporting period;</para>
          <para num="(x)">The number of rides by cash users during the reporting period;</para>
          <para num="(xi)">The number of rides by non-smart phone users during the reporting period;</para>
          <para num="(xii)">The number of users provided for in &lt;cite data-path="14.02.01.22|D.|(2)|(c)|(ix)"&gt;§(2)(c)(ix)&lt;/cite&gt;&lt;cite data-path="14.02.01.22|D.|(2)|(c)|(xi)"&gt;-(xi)&lt;/cite&gt; of &lt;cite data-path="14.02.01.22"&gt;this regulation&lt;/cite&gt; disaggregated by the type of plan and user home zip code;</para>
          <para num="(xiii)">The number of users of the low-income pass; and</para>
          <para num="(xiv)">An update to maintenance or operational plan.</para>
        </para>
      </para>
      <para num="(3)">Software Issues and Hacking Events.
A permit holder shall:<para num="(a)">Notify the Department of a change to a data portal, including a response to a notification from the Department regarding:<para num="(i)">A software glitch;</para>
          <para num="(ii)">An issue with hacking; or</para>
          <para num="(iii)">A data portal;</para>
        </para>
        <para num="(b)">Acknowledge a notification from the Department about data and reporting within 24 hours;</para>
        <para num="(c)">Provide the Department with a plan for addressing an identified problem;</para>
        <para num="(d)">Provide a progress update to the Department once per 48 hours while the problem persists; and</para>
        <para num="(e)">Permanently fix an issues within 60 days of receiving notice of the problem.</para>
      </para>
      <para num="(4)">User Privacy.
A permit holder shall protect user privacy by:<para num="(a)">Complying with Payment Card Industry Data Security Standards for an electronic payment;</para>
        <para num="(b)">Notifying a user of a mobile device feature that the mobile application accesses; and</para>
        <para num="(c)">Not releasing personal user data to an entity:<para num="(i)">Unrelated to operations; or</para>
          <para num="(ii)">That intends to use the data in a commercial sale to a third party.</para>
        </para>
      </para>
    </para>
  </section>
</baltimore-city-law>
