Ultravin
Copyright (c) 2026 Bryce Drennan

The source code in this repository is licensed under the MIT License; see
LICENSE for the full text.

--------------------------------------------------------------------------
Embedded NHTSA vPIC data
--------------------------------------------------------------------------

The following files are not original works of the Ultravin authors. They are
derived, by mechanical transformation, from the NHTSA vPIC standalone database:

    crates/ultravin-core/data/vpic.rkyv   reference tables, serialized
    vpic/schema/                          table definitions
    vpic/procs/                           decode stored procedures

Upstream source
    U.S. Department of Transportation, National Highway Traffic Safety
    Administration (NHTSA), Vehicle Product Information Catalog and Vehicle
    Listing (vPIC), https://vpic.nhtsa.dot.gov/

    Distributed by NHTSA as a standalone database download:
    https://vpic.nhtsa.dot.gov/Downloads/vPICList_lite_YYYY_MM.plain.zip
    (a MS SQL .bak variant is published at the same location; see the Makefile
    `download` and `download-bak` targets)

    The exact release Ultravin currently embeds — its month, download URL, and
    the SHA-256 of the dump it was built from — is recorded in
    vpic/manifest.json.

Copyright status
    Works prepared by officers or employees of the United States Government as
    part of their official duties are not subject to copyright protection
    within the United States (17 U.S.C. section 105). NHTSA publishes vPIC for
    public use and imposes no license terms on the download. Ultravin claims no
    copyright over the vPIC data.

    The MIT grant in LICENSE covers this project's own code and build tooling.
    It does not extend to vpic/schema/ and vpic/procs/. Those files are NHTSA's
    own output reproduced here, so they are public-domain US-government works,
    not material Ultravin is in a position to license to anyone.

Relationship to the upstream files
    NHTSA publishes vPIC as a PostgreSQL dump (pg_dump plain format), so the
    schema and the stored procedures arrive as PostgreSQL already — nothing was
    ported, translated, or rewritten. vpic-import (crates/ultravin-build) splits
    that dump into one file per object and strips volatile pg_dump TOC/OID
    comments so month-to-month upstream diffs stay readable. The SQL text itself
    is NHTSA's, and a CI gate requires the importer to reproduce it
    byte-identically. vpic/procs/spvindecode.sql is the decoder Ultravin is
    checked against, run unmodified as the parity oracle; see
    docs/ACCEPTANCE.md.

    crates/ultravin-core/data/vpic.rkyv is a transformation rather than a copy.
    The importer normalizes the reference tables into a read-only columnar
    layout, interns strings into a shared arena, and drops tables the decoder
    never consults. It carries the same facts, arranged for lookup.

Endorsement
    Ultravin is an independent project. NHTSA does not endorse, sponsor, or
    certify it, and this notice is a statement of provenance only.
