<?xml version="1.0" encoding="UTF-8"?><database name="bizrhythm" schema="public" type="PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)">
   <sequences>
      <sequence increment="1" name="calendar_events_id_seq" startValue="1"/>
      <sequence increment="1" name="certifications_id_seq" startValue="1"/>
      <sequence increment="1" name="commentary_id_seq" startValue="1"/>
      <sequence increment="1" name="contact_dimensions_id_seq" startValue="1"/>
      <sequence increment="1" name="contacts_id_seq" startValue="1"/>
      <sequence increment="1" name="deals_id_seq" startValue="1"/>
      <sequence increment="1" name="event_cards_id_seq" startValue="1"/>
      <sequence increment="1" name="field_changes_id_seq" startValue="1"/>
      <sequence increment="1" name="interactions_id_seq" startValue="1"/>
      <sequence increment="1" name="linkedin_messages_id_seq" startValue="1"/>
      <sequence increment="1" name="profile_dimensions_id_seq" startValue="1"/>
      <sequence increment="1" name="profile_org_views_id_seq" startValue="1"/>
      <sequence increment="1" name="profiles_id_seq" startValue="1"/>
      <sequence increment="1" name="sales_templates_id_seq" startValue="1"/>
      <sequence increment="1" name="signals_id_seq" startValue="1"/>
   </sequences>
   <tables>
      <table name="binding_types" remarks="{&quot;what&quot;:&quot;Catalog of binding type identifiers and their metadata.&quot;,&quot;why&quot;:&quot;Defines the set of valid binding types referenced by other tables.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:20.732632071+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Short unique key like 'keyboard' or 'data'; primary identifier.&quot;,&quot;why&quot;:&quot;Stable reference for foreign keys; avoids long text in joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:20.757693103+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Human-readable label for the binding type, e.g., 'Keyboard'.&quot;,&quot;why&quot;:&quot;Display in UI without exposing the slug.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:20.773238071+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Plain-language explanation of what this binding type does.&quot;,&quot;why&quot;:&quot;Clarifies semantics for users and developers.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:21.042822912+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="examples" nullable="true" remarks="{&quot;what&quot;:&quot;Optional sample usage or configuration snippets for this type.&quot;,&quot;why&quot;:&quot;Shows practical application; aids documentation and testing.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:21.058439769+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="binding_types_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
      </table>
      <table name="calendar_events" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('calendar_events_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for the event row.&quot;,&quot;why&quot;:&quot;Primary key for stable references and joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.230629787+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="channel" nullable="false" remarks="{&quot;what&quot;:&quot;Integration channel name (e.g., 'google', 'outlook') that sourced the event.&quot;,&quot;why&quot;:&quot;Distinguishes providers; needed for provider-specific sync logic.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.259835041+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="provider_event_id" nullable="false" remarks="{&quot;what&quot;:&quot;Event ID as assigned by the external calendar provider.&quot;,&quot;why&quot;:&quot;Maps to provider's event to avoid duplicates and support updates.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.280374978+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="calendar_id" nullable="true" remarks="{&quot;what&quot;:&quot;External calendar identifier within the provider (e.g., calendar email).&quot;,&quot;why&quot;:&quot;Groups events by calendar; needed for per-calendar sync and filtering.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.293538545+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="account_id" nullable="false" remarks="{&quot;what&quot;:&quot;User account identifier that owns the event in the system.&quot;,&quot;why&quot;:&quot;Scopes events to a user; essential for access control and per-user queries.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.328201310+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="summary" nullable="true" remarks="{&quot;what&quot;:&quot;Event title or subject as provided by the calendar.&quot;,&quot;why&quot;:&quot;Shows event name in UI; missing summary makes events unrecognizable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.346124300+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="description" nullable="true" remarks="{&quot;what&quot;:&quot;Full event description or notes from the provider.&quot;,&quot;why&quot;:&quot;Preserves details; without it, event context is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.364872144+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="location" nullable="true" remarks="{&quot;what&quot;:&quot;Physical location or venue string for the event.&quot;,&quot;why&quot;:&quot;Provides address info; needed for maps and scheduling conflicts.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.380426792+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="start_time" nullable="true" remarks="{&quot;what&quot;:&quot;Event start date and time in UTC with timezone.&quot;,&quot;why&quot;:&quot;Determines when event begins; missing start breaks scheduling and reminders.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.392897709+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="end_time" nullable="true" remarks="{&quot;what&quot;:&quot;Event end date and time in UTC with timezone.&quot;,&quot;why&quot;:&quot;Defines event duration; needed for conflict detection and calendar display.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.411467395+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="10" name="all_day" nullable="true" remarks="{&quot;what&quot;:&quot;Flag indicating the event spans a full day (no specific time).&quot;,&quot;why&quot;:&quot;Changes rendering and timezone handling; without it, all-day events misalign.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.432645781+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="status" nullable="true" remarks="{&quot;what&quot;:&quot;Event status from provider (e.g., confirmed, tentative, cancelled).&quot;,&quot;why&quot;:&quot;Filters cancelled events; missing status may show stale events.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.451975845+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="organizer_email" nullable="true" remarks="{&quot;what&quot;:&quot;Email address of the event organizer.&quot;,&quot;why&quot;:&quot;Identifies who created the event; needed for attendee management and permissions.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.470558717+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="email" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="suppression_list"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="attendees" nullable="true" remarks="{&quot;what&quot;:&quot;JSON array of attendee objects with email, name, response status.&quot;,&quot;why&quot;:&quot;Tracks participants and RSVPs; without it, invitee info is unavailable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.504761642+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="contact_id" nullable="true" remarks="{&quot;what&quot;:&quot;Foreign key to a contact record associated with this event.&quot;,&quot;why&quot;:&quot;Links event to a CRM contact; enables contact-centric views.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.530674886+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="business_id" nullable="true" remarks="{&quot;what&quot;:&quot;Foreign key to a business or organization owning the event.&quot;,&quot;why&quot;:&quot;Scopes events to a business; needed for multi-tenant data isolation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.550186024+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="source_account" nullable="true" remarks="{&quot;what&quot;:&quot;Original account identifier from the provider, if different from account_id.&quot;,&quot;why&quot;:&quot;Preserves provider account mapping; helps when accounts are merged or migrated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.566855963+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="metadata" nullable="true" remarks="{&quot;what&quot;:&quot;Arbitrary provider-specific key-value metadata for the event.&quot;,&quot;why&quot;:&quot;Stores extra fields without schema changes; needed for provider-specific features.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.593680110+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="18" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the event row was inserted into the database.&quot;,&quot;why&quot;:&quot;Audit trail and ordering; missing it makes row creation time unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:33.624506750+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="calendar_events_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="calendar_events_channel_provider_event_id_key" unique="true">
            <column ascending="true" name="channel"/>
            <column ascending="true" name="provider_event_id"/>
         </index>
         <index name="idx_cal_account" unique="false">
            <column ascending="true" name="account_id"/>
         </index>
         <index name="idx_cal_contact" unique="false">
            <column ascending="true" name="contact_id"/>
         </index>
         <index name="idx_cal_start" unique="false">
            <column ascending="true" name="start_time"/>
         </index>
      </table>
      <table name="card_categories" remarks="" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique URL-safe identifier for the category, e.g., 'bug'.&quot;,&quot;why&quot;:&quot;Serves as primary key and stable reference for foreign keys from cards.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:24.695139826+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="category_slug" foreignKey="event_card_templates_category_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="event_card_templates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Display name for the category, e.g., 'Bug'.&quot;,&quot;why&quot;:&quot;Provides a readable label for UI and reports; slug alone is not user-friendly.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:24.907438767+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="color" nullable="false" remarks="{&quot;what&quot;:&quot;Hex color code (e.g., '#FF0000') used for category badges.&quot;,&quot;why&quot;:&quot;Enables consistent visual styling without hardcoding colors in client code.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:25.590304436+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Plain-text explanation of what the category means.&quot;,&quot;why&quot;:&quot;Clarifies category intent for users and maintainers, preventing misuse.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:25.715825512+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="action_posture" nullable="false" remarks="{&quot;what&quot;:&quot;Expected action posture value, e.g., 'active' or 'passive'.&quot;,&quot;why&quot;:&quot;Drives workflow logic that treats categories differently based on required action.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:25.781303498+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="sort_order" nullable="false" remarks="{&quot;what&quot;:&quot;Integer for ordering categories in lists; lower appears first.&quot;,&quot;why&quot;:&quot;Controls display order without relying on alphabetical or insertion order.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:26.059795610+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="card_categories_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
      </table>
      <table name="card_contacts" remarks="{&quot;what&quot;:&quot;Links an event card to a contact with a specific role.&quot;,&quot;why&quot;:&quot;Without it, we cannot know which contacts are associated with which event cards and in what capacity.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:26.125673970+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="event_card_id" nullable="false" remarks="{&quot;what&quot;:&quot;Integer identifier of the event card in this link.&quot;,&quot;why&quot;:&quot;Without it, we cannot know which event card the contact belongs to.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:26.137353761+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="card_contacts_event_card_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="event_cards"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="contact_id" nullable="false" remarks="{&quot;what&quot;:&quot;Integer identifier of the contact in this link.&quot;,&quot;why&quot;:&quot;Without it, we cannot know which contact is associated with the card.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:26.148816012+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="card_contacts_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="role" nullable="false" remarks="{&quot;what&quot;:&quot;Text label for the contact's function, e.g., 'owner' or 'reviewer'.&quot;,&quot;why&quot;:&quot;Without it, the nature of the association is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:26.165708670+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Optional free-form text with additional context about the contact's involvement.&quot;,&quot;why&quot;:&quot;Without it, any extra context is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:26.180034457+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="event_card_id" sequenceNumberInPK="1"/>
         <primaryKey column="contact_id" sequenceNumberInPK="2"/>
         <index name="card_contacts_pkey" unique="true">
            <column ascending="true" name="event_card_id"/>
            <column ascending="true" name="contact_id"/>
         </index>
         <index name="idx_cc_contact" unique="false">
            <column ascending="true" name="contact_id"/>
         </index>
         <checkConstraint constraint="(role = ANY (ARRAY['trigger'::text, 'target'::text, 'champion'::text, 'blocker'::text, 'affected'::text]))" name="card_contacts_role_check"/>
      </table>
      <table name="certifications" remarks="{&quot;what&quot;:&quot;A record that a profile passed or failed a certification check for a domain.&quot;,&quot;why&quot;:&quot;Without it, certification status and history for profiles and domains are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.377761331+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('certifications_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for this certification record.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced for updates or joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.399531229+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the profile that this certification belongs to.&quot;,&quot;why&quot;:&quot;Without it, the certification cannot be linked to a specific profile for lookup.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.438006012+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="certifications_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profiles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="domain" nullable="false" remarks="{&quot;what&quot;:&quot;Domain name (e.g., example.com) that the certification applies to.&quot;,&quot;why&quot;:&quot;Without it, the scope of the certification is unknown; multiple domains per profile would be ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.480477968+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'stackrhythm_wordpress'::text" digits="0" id="3" name="kind" nullable="false" remarks="{&quot;what&quot;:&quot;Type of certification, defaulting to 'stackrhythm_wordpress'.&quot;,&quot;why&quot;:&quot;Without it, different certification processes or standards cannot be distinguished.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.511893347+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="4" name="certified" nullable="false" remarks="{&quot;what&quot;:&quot;Whether the certification passed (true) or failed (false).&quot;,&quot;why&quot;:&quot;Without it, the outcome of the certification check is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.551825293+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="stackrhythm_version" nullable="false" remarks="{&quot;what&quot;:&quot;Version of StackRhythm software used during certification.&quot;,&quot;why&quot;:&quot;Without it, cannot know which software version produced the result, affecting reproducibility.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.568830341+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="ruleset_version" nullable="false" remarks="{&quot;what&quot;:&quot;Version of the ruleset applied for certification.&quot;,&quot;why&quot;:&quot;Without it, the exact rules used for the check are unknown, making results non-reproducible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.583240031+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="fingerprint_db_hash" nullable="true" remarks="{&quot;what&quot;:&quot;Hash of the fingerprint database used, if any.&quot;,&quot;why&quot;:&quot;Without it, cannot verify which fingerprint data was used, potentially invalidating the certification.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.611858668+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="agent" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the agent (e.g., hostname or tool) that performed the certification.&quot;,&quot;why&quot;:&quot;Without it, the source of the certification is unknown, complicating audits.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.635342978+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="agent_session" nullable="true" remarks="{&quot;what&quot;:&quot;Session identifier for the agent run, if applicable.&quot;,&quot;why&quot;:&quot;Without it, multiple runs from the same agent cannot be distinguished.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.653075427+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="certified_unix" nullable="true" remarks="{&quot;what&quot;:&quot;Unix timestamp (seconds since epoch) when certification was granted.&quot;,&quot;why&quot;:&quot;Without it, the exact time of certification is unknown, affecting validity windows.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.680089875+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="certified_at" nullable="true" remarks="{&quot;what&quot;:&quot;Human-readable timestamp of certification, e.g., ISO 8601.&quot;,&quot;why&quot;:&quot;Without it, the certification date is not available in a human-readable format.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.721328980+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="tags" nullable="false" remarks="{&quot;what&quot;:&quot;Arbitrary key-value metadata attached to the certification.&quot;,&quot;why&quot;:&quot;Without it, custom attributes like environment or notes cannot be stored.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.745735910+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="13" name="superseded_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when this certification was replaced by a newer one.&quot;,&quot;why&quot;:&quot;Without it, old certifications cannot be marked as inactive, leading to ambiguous current status.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.785588898+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="14" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when this certification record was created.&quot;,&quot;why&quot;:&quot;Without it, the record's creation time is unknown, affecting audit trails.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.832888349+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="certifications_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_cert_active" unique="false">
            <column ascending="true" name="domain"/>
            <column ascending="true" name="kind"/>
         </index>
         <index name="idx_cert_domain" unique="false">
            <column ascending="true" name="domain"/>
         </index>
         <index name="idx_cert_profile" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
      </table>
      <table name="commentary" remarks="{&quot;what&quot;:&quot;AI-generated textual notes associated with one of three entity types.&quot;,&quot;why&quot;:&quot;Without it, there is no record of machine-written observations for these entities.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:52.893241918+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('commentary_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer identifier for each commentary row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced or updated individually.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:52.918895351+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile_id" nullable="true" remarks="{&quot;what&quot;:&quot;ID of the profile this commentary is about, if any.&quot;,&quot;why&quot;:&quot;Without it, commentary cannot be linked to a specific profile when applicable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:52.934896531+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="commentary_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profiles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contact_id" nullable="true" remarks="{&quot;what&quot;:&quot;ID of the contact this commentary is about, if any.&quot;,&quot;why&quot;:&quot;Without it, commentary cannot be linked to a specific contact when applicable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:52.944167015+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="commentary_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="event_card_id" nullable="true" remarks="{&quot;what&quot;:&quot;ID of the event card this commentary is about, if any.&quot;,&quot;why&quot;:&quot;Without it, commentary cannot be linked to a specific event card when applicable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:52.961763198+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="commentary_event_card_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="event_cards"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="commentary_type" nullable="false" remarks="{&quot;what&quot;:&quot;Category of commentary: 'profile', 'contact', or 'event'.&quot;,&quot;why&quot;:&quot;Without it, it is unclear which entity the commentary targets when multiple IDs are null.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:52.980390758+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="content" nullable="false" remarks="{&quot;what&quot;:&quot;The full text of the generated commentary.&quot;,&quot;why&quot;:&quot;Without it, there is no commentary to display or analyze.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:52.996537786+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="model" nullable="false" remarks="{&quot;what&quot;:&quot;Name or version of the AI model that produced the content.&quot;,&quot;why&quot;:&quot;Without it, provenance and reproducibility of generated text are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:53.014003535+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="prompt_hash" nullable="true" remarks="{&quot;what&quot;:&quot;Hash of the prompt used to generate this commentary.&quot;,&quot;why&quot;:&quot;Without it, duplicate or near-duplicate prompts cannot be detected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:53.032214335+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="8" name="generated_at" nullable="true" remarks="{&quot;what&quot;:&quot;UTC timestamp when the commentary was generated.&quot;,&quot;why&quot;:&quot;Without it, the age and ordering of commentary entries are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:53.045360468+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="stale_after" nullable="true" remarks="{&quot;what&quot;:&quot;UTC timestamp after which this commentary is considered outdated.&quot;,&quot;why&quot;:&quot;Without it, there is no signal to refresh or discard old commentary.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:53.056461058+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="commentary_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_commentary_contact" unique="false">
            <column ascending="true" name="contact_id"/>
         </index>
         <index name="idx_commentary_profile" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="idx_commentary_type" unique="false">
            <column ascending="true" name="commentary_type"/>
         </index>
         <checkConstraint constraint="(commentary_type = ANY (ARRAY['surprise'::text, 'relational'::text, 'warning'::text, 'connection'::text, 'approach'::text]))" name="commentary_commentary_type_check"/>
      </table>
      <table name="contact_dimensions" remarks="{&quot;what&quot;:&quot;Pairs a contact with a dimension and its numeric score.&quot;,&quot;why&quot;:&quot;Without it, contact traits are not stored, so filtering by dimension is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.350644642+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('contact_dimensions_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Surrogate primary key, auto-incremented via sequence.&quot;,&quot;why&quot;:&quot;Without it, rows lack a unique identifier, making updates and joins ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.363920281+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="contact_id" nullable="false" remarks="{&quot;what&quot;:&quot;Foreign key to the contact this dimension belongs to.&quot;,&quot;why&quot;:&quot;Without it, the dimension cannot be linked to a specific contact, breaking profile integrity.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.393575367+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="contact_dimensions_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="dimension_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug identifying the dimension type, e.g. 'openness' or 'risk_tolerance'.&quot;,&quot;why&quot;:&quot;Without it, the meaning of the score is unknown, so comparisons across contacts are meaningless.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.409316866+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="contact_dimensions_dimension_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimensions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="8" id="3" name="quant_score" nullable="false" remarks="{&quot;what&quot;:&quot;Numeric value of the dimension, a real number without fixed scale.&quot;,&quot;why&quot;:&quot;Without it, the dimension has no measurable value, so ranking or filtering by score is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.425477402+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="tag_slug" nullable="true" remarks="{&quot;what&quot;:&quot;Optional secondary tag for the dimension, e.g. 'high' or 'verified'.&quot;,&quot;why&quot;:&quot;Without it, additional categorization of the dimension is lost, limiting nuanced queries.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.457068090+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="contact_dimensions_tag_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimension_values"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="time_context" nullable="true" remarks="{&quot;what&quot;:&quot;Time period the dimension applies to, e.g. 'current' or 'last_quarter'.&quot;,&quot;why&quot;:&quot;Without it, the temporal validity of the score is unknown, causing outdated data to be used.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.473709862+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="confidence" nullable="true" remarks="{&quot;what&quot;:&quot;Confidence level of the score, e.g. 'high', 'medium', 'low'.&quot;,&quot;why&quot;:&quot;Without it, data reliability is unknown, so decisions based on the score may be over-trusted.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.510448682+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of the dimension data, e.g. 'survey' or 'inferred'.&quot;,&quot;why&quot;:&quot;Without it, the provenance is unknown, making it hard to audit or filter by data source.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.541497363+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form notes about the dimension assignment.&quot;,&quot;why&quot;:&quot;Without it, context or caveats about the score are lost, reducing interpretability.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.553484738+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="9" name="assigned_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the dimension was assigned, defaulting to current time.&quot;,&quot;why&quot;:&quot;Without it, the recency of the assignment is unknown, affecting decisions based on time-sensitive data.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:28.588655505+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="contact_dimensions_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_cd_contact" unique="false">
            <column ascending="true" name="contact_id"/>
         </index>
         <checkConstraint constraint="(confidence = ANY (ARRAY['observed'::text, 'inferred'::text, 'estimated'::text]))" name="contact_dimensions_confidence_check"/>
         <checkConstraint constraint="((quant_score &gt;= (0)::double precision) AND (quant_score &lt;= (100)::double precision))" name="contact_dimensions_quant_score_check"/>
      </table>
      <table name="contacts" remarks="{&quot;what&quot;:&quot;A person or organization with contact details and outreach metadata.&quot;,&quot;why&quot;:&quot;Without it, no central record exists to link profiles, emails, and outreach status.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.018751323+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('contacts_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each contact row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced by other tables or updated reliably.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.034195431+00:00&quot;}" size="10" type="serial" typeCode="4">
            <child column="contact_id" foreignKey="card_contacts_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="card_contacts"/>
            <child column="contact_id" foreignKey="commentary_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="commentary"/>
            <child column="contact_id" foreignKey="contact_dimensions_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contact_dimensions"/>
            <child column="contact_id" foreignKey="deals_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="deals"/>
            <child column="contact_id" foreignKey="profile_dimensions_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_dimensions"/>
            <child column="contact_id" foreignKey="profile_org_views_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_org_views"/>
            <child column="contact_id" foreignKey="signals_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="signals"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the associated profile in the profiles table.&quot;,&quot;why&quot;:&quot;Without it, contact cannot be linked to its owning profile or account.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.051746985+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="contacts_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profiles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Display name of the contact, e.g., 'Jane Doe'.&quot;,&quot;why&quot;:&quot;Without it, there is no human-readable label to identify the contact in lists.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.099232176+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="title" nullable="true" remarks="{&quot;what&quot;:&quot;Job title or role of the contact, e.g., 'CTO'.&quot;,&quot;why&quot;:&quot;Without it, personalization and segmentation by seniority are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.110939489+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="email" nullable="true" remarks="{&quot;what&quot;:&quot;Primary email address for the contact.&quot;,&quot;why&quot;:&quot;Without it, no way to reach the contact or verify deliverability.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.151929473+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="email" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="suppression_list"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="linkedin_url" nullable="true" remarks="{&quot;what&quot;:&quot;Full URL to the contact's LinkedIn profile.&quot;,&quot;why&quot;:&quot;Without it, manual profile lookup and enrichment from LinkedIn are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.165862211+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="reddit_username" nullable="true" remarks="{&quot;what&quot;:&quot;Reddit username without the u/ prefix.&quot;,&quot;why&quot;:&quot;Without it, Reddit-specific outreach or engagement tracking is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.181860625+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="priority_score" nullable="true" remarks="{&quot;what&quot;:&quot;Integer priority ranking; higher means more important.&quot;,&quot;why&quot;:&quot;Without it, outreach order cannot be decided systematically.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.201704773+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="8" name="is_person_known" nullable="true" remarks="{&quot;what&quot;:&quot;True if the contact's identity is verified as a person.&quot;,&quot;why&quot;:&quot;Without it, it is unclear whether the record is a person or a generic role account.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.231438631+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="record_source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of the contact record, e.g., 'manual', 'import'.&quot;,&quot;why&quot;:&quot;Without it, data provenance and trustworthiness cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.253993915+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="mx_provider" nullable="true" remarks="{&quot;what&quot;:&quot;Email provider from MX record, e.g., 'google'.&quot;,&quot;why&quot;:&quot;Without it, email deliverability and provider-specific handling cannot be inferred.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.265065779+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="mx_category" nullable="true" remarks="{&quot;what&quot;:&quot;Category of MX provider, e.g., 'free', 'corporate'.&quot;,&quot;why&quot;:&quot;Without it, risk of email bouncing or spam filtering cannot be estimated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.308221279+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="mx_provider_type_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier for the MX provider type, e.g., 'google_workspace'.&quot;,&quot;why&quot;:&quot;Without it, provider-specific logic cannot be applied programmatically.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.321067949+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="mx_confidence" nullable="true" remarks="{&quot;what&quot;:&quot;Confidence level of MX detection, e.g., 'high'.&quot;,&quot;why&quot;:&quot;Without it, reliability of the MX classification is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.333983850+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="mx_host" nullable="true" remarks="{&quot;what&quot;:&quot;Hostname from the MX record, e.g., 'aspmx.l.google.com'.&quot;,&quot;why&quot;:&quot;Without it, the actual mail server cannot be inspected or verified.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.351732157+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'unknown'::text" digits="0" id="15" name="email_status" nullable="true" remarks="{&quot;what&quot;:&quot;Delivery status of the email, e.g., 'valid', 'bounced'.&quot;,&quot;why&quot;:&quot;Without it, outreach cannot filter out invalid addresses.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.378567721+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="email_status_reason" nullable="true" remarks="{&quot;what&quot;:&quot;Reason for the email status, e.g., 'hard bounce'.&quot;,&quot;why&quot;:&quot;Without it, the cause of a failed email cannot be diagnosed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.392840497+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="17" name="email_status_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when email_status was last updated.&quot;,&quot;why&quot;:&quot;Without it, staleness of the status cannot be determined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.411077078+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="18" name="email_hidden" nullable="true" remarks="{&quot;what&quot;:&quot;True if the email address is hidden from public view.&quot;,&quot;why&quot;:&quot;Without it, privacy preferences for the contact are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.430080661+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form notes about the contact.&quot;,&quot;why&quot;:&quot;Without it, context from previous interactions is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.444716009+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="20" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the contact record was created.&quot;,&quot;why&quot;:&quot;Without it, record age and audit history are unavailable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.476880602+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="timezone" nullable="true" remarks="{&quot;what&quot;:&quot;IANA timezone name, e.g., 'America/New_York'.&quot;,&quot;why&quot;:&quot;Without it, scheduling outreach at appropriate local times is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.492092692+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="contacts_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_contacts_profile" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
      </table>
      <table name="deals" remarks="{&quot;what&quot;:&quot;A sales opportunity record tied to a contact, tracking pipeline stage and outreach sequence.&quot;,&quot;why&quot;:&quot;Without it, there is no central entity to track sales progress, making pipeline reporting and sequence automation impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.399581184+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('deals_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer identifier for each deal row; auto-incremented via sequence.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced by foreign keys or updates.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.426928868+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="contact_id" nullable="false" remarks="{&quot;what&quot;:&quot;ID of the contact associated with this deal; references contacts.id.&quot;,&quot;why&quot;:&quot;Without it, a deal cannot be linked to its contact, making it impossible to track which person the deal belongs to.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.448312064+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="deals_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="profile_id" nullable="true" remarks="{&quot;what&quot;:&quot;ID of the profile associated with this deal; references profiles.id, null if not assigned.&quot;,&quot;why&quot;:&quot;Without it, deals cannot be filtered or grouped by profile, losing the ability to segment by profile.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.584116184+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="platform" nullable="true" remarks="{&quot;what&quot;:&quot;Name of the platform where the deal originated, e.g., LinkedIn, Email.&quot;,&quot;why&quot;:&quot;Without it, the source channel of each deal is unknown, preventing channel-based performance analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.599344815+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'prospected'::text" digits="0" id="4" name="stage" nullable="true" remarks="{&quot;what&quot;:&quot;Current sales stage of the deal, e.g., prospected, contacted, won; default 'prospected'.&quot;,&quot;why&quot;:&quot;Without it, the pipeline position is unknown, so sales progress cannot be tracked or forecasted.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.622437135+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="sequence_step" nullable="true" remarks="{&quot;what&quot;:&quot;Current step number in the outreach sequence, starting at 0.&quot;,&quot;why&quot;:&quot;Without it, the exact position in the sequence is unknown, making it impossible to resume or adjust the outreach flow.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.638674818+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="sequence_day" nullable="true" remarks="{&quot;what&quot;:&quot;Day number within the sequence when the current step is scheduled, starting at 0.&quot;,&quot;why&quot;:&quot;Without it, timing of sequence steps is unknown, so delays or scheduling cannot be managed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.659446630+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="7" name="reply_count" nullable="true" remarks="{&quot;what&quot;:&quot;Number of replies received from the contact for this deal.&quot;,&quot;why&quot;:&quot;Without it, engagement level is unknown, so follow-up decisions cannot be based on reply activity.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.673647743+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="8" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the deal row was created, in UTC.&quot;,&quot;why&quot;:&quot;Without it, the age of the deal is unknown, so time-based reporting and aging analysis are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.692964288+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="9" name="updated_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp of the last update to this deal row, in UTC.&quot;,&quot;why&quot;:&quot;Without it, staleness of data cannot be detected, and optimistic concurrency checks fail.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.763541261+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="deals_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="dimension_edges" remarks="{&quot;what&quot;:&quot;A pair of dimension values that form an edge in a dimension graph.&quot;,&quot;why&quot;:&quot;Without it, relationships between dimension values are unknown, preventing graph traversal or clustering.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:46.815217189+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="value_a" nullable="false" remarks="{&quot;what&quot;:&quot;A dimension value that anchors one endpoint of the edge.&quot;,&quot;why&quot;:&quot;Without it, the edge cannot be associated with a specific dimension value.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:46.985179153+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="dimension_edges_value_a_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimension_values"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="value_b" nullable="false" remarks="{&quot;what&quot;:&quot;A dimension value that anchors the other endpoint of the edge.&quot;,&quot;why&quot;:&quot;Without it, the edge's second endpoint is missing, making the relationship incomplete.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.016718099+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="dimension_edges_value_b_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimension_values"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="strength" nullable="false" remarks="{&quot;what&quot;:&quot;A textual label or weight describing the edge's nature.&quot;,&quot;why&quot;:&quot;Without it, the edge's type or intensity is unknown, affecting analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.059406536+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Optional free-form text for additional context about the edge.&quot;,&quot;why&quot;:&quot;Without it, rationale or caveats for the edge are lost, hindering maintenance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:47.101050949+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="value_a" sequenceNumberInPK="1"/>
         <primaryKey column="value_b" sequenceNumberInPK="2"/>
         <index name="dimension_edges_pkey" unique="true">
            <column ascending="true" name="value_a"/>
            <column ascending="true" name="value_b"/>
         </index>
         <checkConstraint constraint="(strength = ANY (ARRAY['always'::text, 'usually'::text, 'sometimes'::text, 'rarely'::text, 'never'::text]))" name="dimension_edges_strength_check"/>
      </table>
      <table name="dimension_values" remarks="{&quot;what&quot;:&quot;Lookup table of allowed values for each dimension.&quot;,&quot;why&quot;:&quot;Provides a controlled vocabulary for dimensions; without it values are free-form and inconsistent.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.160367385+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique slug identifier for this dimension value, e.g. 'small'.&quot;,&quot;why&quot;:&quot;Uniquely identifies a value for foreign keys and URLs; without it references are ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.177233266+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="tag_slug" foreignKey="contact_dimensions_tag_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="contact_dimensions"/>
            <child column="value_a" foreignKey="dimension_edges_value_a_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimension_edges"/>
            <child column="value_b" foreignKey="dimension_edges_value_b_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimension_edges"/>
            <child column="tag_slug" foreignKey="profile_dimensions_tag_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_dimensions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="dimension_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug of the parent dimension this value belongs to.&quot;,&quot;why&quot;:&quot;Groups values under a dimension; without it a value cannot be scoped to its dimension.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.197490497+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="dimension_values_dimension_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimensions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Display name for the value, e.g. 'Small'.&quot;,&quot;why&quot;:&quot;Provides a user-friendly label for UI and reports; without it only the slug is shown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.210567718+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Plain-language description of what this value means.&quot;,&quot;why&quot;:&quot;Clarifies the intended meaning to avoid misinterpretation by users or downstream logic.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.226603874+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="sort_order" nullable="false" remarks="{&quot;what&quot;:&quot;Integer used to order values within a dimension; lower appears first.&quot;,&quot;why&quot;:&quot;Determines display order; without it ordering is arbitrary or alphabetical.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.244448316+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="8" id="5" name="range_low" nullable="true" remarks="{&quot;what&quot;:&quot;Lower bound (inclusive) of a numeric range for this value.&quot;,&quot;why&quot;:&quot;Defines a numeric interval for filtering or classification; without it range-based logic cannot be applied.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.275339939+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="8" id="6" name="range_high" nullable="true" remarks="{&quot;what&quot;:&quot;Upper bound (inclusive) of a numeric range for this value.&quot;,&quot;why&quot;:&quot;Completes the range interval; without it the upper limit is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.293048354+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="headcount_min" nullable="true" remarks="{&quot;what&quot;:&quot;Minimum headcount (number of employees) for this value.&quot;,&quot;why&quot;:&quot;Used to filter or categorize by company size; without it size-based segmentation is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.314475902+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="headcount_max" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum headcount (number of employees) for this value.&quot;,&quot;why&quot;:&quot;Defines the upper size limit; without it the size range is open-ended.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.333318946+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="examples" nullable="true" remarks="{&quot;what&quot;:&quot;Comma-separated list of example instances for this value.&quot;,&quot;why&quot;:&quot;Helps users understand what fits this value; without it the value's applicability is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:41.372919048+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="dimension_values_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
         <index name="idx_dv_dimension" unique="false">
            <column ascending="true" name="dimension_slug"/>
         </index>
         <checkConstraint constraint="((range_high &gt;= (0)::double precision) AND (range_high &lt;= (100)::double precision))" name="dimension_values_range_high_check"/>
         <checkConstraint constraint="((range_low &gt;= (0)::double precision) AND (range_low &lt;= (100)::double precision))" name="dimension_values_range_low_check"/>
      </table>
      <table name="dimensions" remarks="{&quot;what&quot;:&quot;A dimension in a multidimensional data model; each row defines one analysis axis.&quot;,&quot;why&quot;:&quot;Without it, there is no catalog of available dimensions for slicing or grouping data.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.152176906+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique URL-safe identifier for the dimension; used as foreign key.&quot;,&quot;why&quot;:&quot;Without it, dimensions cannot be referenced reliably by other tables.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.168808965+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="dimension_slug" foreignKey="contact_dimensions_dimension_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="contact_dimensions"/>
            <child column="dimension_slug" foreignKey="dimension_values_dimension_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimension_values"/>
            <child column="dimension_slug" foreignKey="profile_dimensions_dimension_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_dimensions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Human-readable display name for the dimension.&quot;,&quot;why&quot;:&quot;Without it, users cannot identify the dimension in UI or reports.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.194562918+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Free-text explanation of the dimension's meaning and scope.&quot;,&quot;why&quot;:&quot;Without it, analysts cannot understand what the dimension represents.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.222693244+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="layer_order" nullable="false" remarks="{&quot;what&quot;:&quot;Integer ordering for stacking dimension layers; lower values appear first.&quot;,&quot;why&quot;:&quot;Without it, the visual layering order of dimensions is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.239373553+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="applies_to" nullable="false" remarks="{&quot;what&quot;:&quot;Target entity or fact table this dimension can be applied to.&quot;,&quot;why&quot;:&quot;Without it, it is unclear which datasets this dimension is valid for.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.257779296+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="axis_name" nullable="true" remarks="{&quot;what&quot;:&quot;Optional label for the axis when this dimension is plotted.&quot;,&quot;why&quot;:&quot;Without it, charts lack a default axis title for this dimension.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.277184152+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="axis_low_label" nullable="true" remarks="{&quot;what&quot;:&quot;Label for the low end of the axis range.&quot;,&quot;why&quot;:&quot;Without it, the lower bound of the axis is unlabeled, confusing readers.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.288617247+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="axis_high_label" nullable="true" remarks="{&quot;what&quot;:&quot;Label for the high end of the axis range.&quot;,&quot;why&quot;:&quot;Without it, the upper bound of the axis is unlabeled, confusing readers.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:08.303404572+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="dimensions_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
         <checkConstraint constraint="(applies_to = ANY (ARRAY['company'::text, 'contact'::text, 'both'::text]))" name="dimensions_applies_to_check"/>
      </table>
      <table name="event_card_templates" remarks="{&quot;what&quot;:&quot;Templates defining event card content, trigger signals, and display order.&quot;,&quot;why&quot;:&quot;Without it, no event card definitions exist to render or trigger.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.010829197+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique text identifier for the template; the primary key.&quot;,&quot;why&quot;:&quot;Without it, templates cannot be uniquely referenced or updated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.032011543+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="template_slug" foreignKey="event_cards_template_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="event_cards"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="category_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug of the category this template belongs to.&quot;,&quot;why&quot;:&quot;Without it, category-based grouping or filtering is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.046238203+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="event_card_templates_category_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="card_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Human-readable display name for the template.&quot;,&quot;why&quot;:&quot;Without it, users cannot identify the template in lists.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.058768795+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="narrative" nullable="false" remarks="{&quot;what&quot;:&quot;Text describing the event scenario shown on the card.&quot;,&quot;why&quot;:&quot;Without it, the card has no descriptive content to display.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.094870859+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="action_hint" nullable="true" remarks="{&quot;what&quot;:&quot;Optional text suggesting a user action for the event.&quot;,&quot;why&quot;:&quot;Without it, the card lacks an actionable prompt.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.109199890+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="required_signals" nullable="false" remarks="{&quot;what&quot;:&quot;Signal identifiers that must be present for the card to appear.&quot;,&quot;why&quot;:&quot;Without it, the trigger condition for the card is undefined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.161568311+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="2" digits="0" id="6" name="min_signals" nullable="false" remarks="{&quot;what&quot;:&quot;Minimum count of required signals that must be met.&quot;,&quot;why&quot;:&quot;Without it, the trigger threshold is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.178445351+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="90" digits="0" id="7" name="time_window_days" nullable="false" remarks="{&quot;what&quot;:&quot;Number of days over which signals are considered.&quot;,&quot;why&quot;:&quot;Without it, the observation period for signals is undefined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.195514095+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="8" name="sort_order" nullable="false" remarks="{&quot;what&quot;:&quot;Integer used to order templates in display.&quot;,&quot;why&quot;:&quot;Without it, the display order of templates is arbitrary.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:08:55.215766377+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="event_card_templates_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
      </table>
      <table name="event_cards" remarks="{&quot;what&quot;:&quot;A card instance tied to a profile, created from a template and matched signals.&quot;,&quot;why&quot;:&quot;Without it, the system cannot track which cards were generated for a profile and when.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.263567167+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('event_cards_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer identifier for the card, auto-incremented.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced uniquely for updates or joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.280912704+00:00&quot;}" size="10" type="serial" typeCode="4">
            <child column="event_card_id" foreignKey="card_contacts_event_card_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="card_contacts"/>
            <child column="event_card_id" foreignKey="commentary_event_card_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="commentary"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile_id" nullable="false" remarks="{&quot;what&quot;:&quot;ID of the profile this card belongs to.&quot;,&quot;why&quot;:&quot;Without it, cards cannot be scoped to a specific user profile.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.303422454+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="event_cards_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profiles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="template_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug of the template that generated this card, e.g. 'risk-alert'.&quot;,&quot;why&quot;:&quot;Without it, the card's layout and content rules are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.317492306+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="event_cards_template_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="event_card_templates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="matched_signal_ids" nullable="false" remarks="{&quot;what&quot;:&quot;Serialized list of signal IDs that triggered this card, e.g. '12,34'.&quot;,&quot;why&quot;:&quot;Without it, the system cannot know which signals contributed to the card.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.333339241+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="signal_count" nullable="false" remarks="{&quot;what&quot;:&quot;Count of matched signals for this card.&quot;,&quot;why&quot;:&quot;Without it, the card cannot display a summary or be filtered by signal volume.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.351133526+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="8" id="5" name="confidence" nullable="true" remarks="{&quot;what&quot;:&quot;Confidence score between 0 and 1 for the card's relevance.&quot;,&quot;why&quot;:&quot;Without it, the system cannot rank or prioritize cards by certainty.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.385547643+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="narrative_override" nullable="true" remarks="{&quot;what&quot;:&quot;Optional custom narrative text replacing the template's default.&quot;,&quot;why&quot;:&quot;Without it, any manual edits to the card's message are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.421243788+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="7" name="matched_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the card was generated, defaulting to current time.&quot;,&quot;why&quot;:&quot;Without it, the card's creation time is unknown, affecting ordering and expiry.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.449581036+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="expires_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp after which the card is no longer valid, if set.&quot;,&quot;why&quot;:&quot;Without it, the card's validity period is unknown, and stale cards may be shown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:15:59.554329078+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="event_cards_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_ec_confidence" unique="false">
            <column ascending="false" name="confidence"/>
         </index>
         <index name="idx_ec_profile" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="idx_ec_template" unique="false">
            <column ascending="true" name="template_slug"/>
         </index>
         <checkConstraint constraint="((confidence &gt;= (0)::double precision) AND (confidence &lt;= (100)::double precision))" name="event_cards_confidence_check"/>
      </table>
      <table name="field_changes" remarks="{&quot;what&quot;:&quot;Audit log of field-level edits across tables; one row per changed field.&quot;,&quot;why&quot;:&quot;Without it, no history of who changed what or when, making rollback and debugging impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:04.826909873+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('field_changes_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Surrogate primary key, auto-incrementing integer sequence.&quot;,&quot;why&quot;:&quot;Provides a unique identifier for each change event; no natural key exists.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:04.843827352+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="table_name" nullable="true" remarks="{&quot;what&quot;:&quot;Name of the table where the field was modified, e.g. 'users'.&quot;,&quot;why&quot;:&quot;Identifies which table the change belongs to; without it, changes from different tables are indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:04.875324761+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="record_id" nullable="true" remarks="{&quot;what&quot;:&quot;Primary key value of the row in the referenced table that was changed.&quot;,&quot;why&quot;:&quot;Links the change to a specific record; without it, cannot locate the affected row.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:04.945759870+00:00&quot;}" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="sales_templates"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="field_name" nullable="true" remarks="{&quot;what&quot;:&quot;Column name within the table that was modified, e.g. 'email'.&quot;,&quot;why&quot;:&quot;Specifies which attribute changed; without it, the change is ambiguous across multiple columns.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:05.012639177+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="old_value" nullable="true" remarks="{&quot;what&quot;:&quot;Text representation of the field's value before the change; NULL if unset.&quot;,&quot;why&quot;:&quot;Enables comparing previous state and reverting; without it, the prior value is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:05.045905610+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="new_value" nullable="true" remarks="{&quot;what&quot;:&quot;Text representation of the field's value after the change; NULL if cleared.&quot;,&quot;why&quot;:&quot;Shows the current value at time of change; without it, the update's effect is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:05.073068825+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of the change, e.g. 'web', 'api', 'migration'.&quot;,&quot;why&quot;:&quot;Distinguishes automated vs manual edits; without it, cannot trace which system caused the change.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:05.120974851+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="7" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp with time zone when the change was recorded; defaults to now().&quot;,&quot;why&quot;:&quot;Provides chronological ordering; without it, cannot sequence changes or audit over time.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:05.139972830+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="field_changes_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="interactions" remarks="{&quot;what&quot;:&quot;Log of communications and events tied to a contact and optionally a deal.&quot;,&quot;why&quot;:&quot;Without it, there is no history of touchpoints for contacts or deals, so relationship tracking is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:20.507637665+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('interactions_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer assigned by sequence; primary key.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely identified or referenced.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:20.862373359+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="contact_id" nullable="false" remarks="{&quot;what&quot;:&quot;Integer ID of the associated contact; required for every interaction.&quot;,&quot;why&quot;:&quot;Without it, interactions cannot be linked to a specific contact, making per-contact history impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:20.884192454+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="deal_id" nullable="true" remarks="{&quot;what&quot;:&quot;Integer ID of the associated deal, if any; null when not tied to a deal.&quot;,&quot;why&quot;:&quot;Without it, interactions cannot be attributed to a specific sales opportunity, so deal-stage analysis is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:20.903157012+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="channel" nullable="true" remarks="{&quot;what&quot;:&quot;Communication medium such as email, phone, or chat.&quot;,&quot;why&quot;:&quot;Without it, you cannot filter interactions by channel to analyze channel effectiveness.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:20.922492447+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="direction" nullable="true" remarks="{&quot;what&quot;:&quot;Direction of interaction: inbound or outbound.&quot;,&quot;why&quot;:&quot;Without it, you cannot distinguish incoming from outgoing communications, skewing response-time metrics.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.002834812+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="subject" nullable="true" remarks="{&quot;what&quot;:&quot;Subject line of the message or call topic.&quot;,&quot;why&quot;:&quot;Without it, quick scanning of interaction history loses context.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.020348601+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="content" nullable="true" remarks="{&quot;what&quot;:&quot;Full text or transcript of the interaction.&quot;,&quot;why&quot;:&quot;Without it, the actual substance of the interaction is lost, making review impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.036515152+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="event" nullable="true" remarks="{&quot;what&quot;:&quot;Event type or category, e.g., demo, follow-up, meeting.&quot;,&quot;why&quot;:&quot;Without it, you cannot segment interactions by purpose or stage.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.053509140+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="platform" nullable="true" remarks="{&quot;what&quot;:&quot;Platform or tool used for the interaction, e.g., Zoom, Slack.&quot;,&quot;why&quot;:&quot;Without it, you cannot analyze tool usage or integration issues.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.081632068+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form notes added by the user about the interaction.&quot;,&quot;why&quot;:&quot;Without it, context not captured in structured fields is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.099908021+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="10" name="occurred_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the interaction occurred; defaults to current time.&quot;,&quot;why&quot;:&quot;Without it, the timeline of interactions is unknown, breaking chronological analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.125175536+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="11" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when this record was inserted; defaults to current time.&quot;,&quot;why&quot;:&quot;Without it, you cannot track when the interaction was logged, which may differ from occurrence.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:21.272810775+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="interactions_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="linkedin_messages" remarks="{&quot;what&quot;:&quot;Inbound/outbound LinkedIn messages synced from Unipile; one row per message.&quot;,&quot;why&quot;:&quot;Central record for all LinkedIn conversations; without it no unified message history.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:29.952684900+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('linkedin_messages_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Surrogate primary key; internal row identifier.&quot;,&quot;why&quot;:&quot;Stable reference for joins and updates; without it no unique row identity.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.002506014+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="unipile_msg_id" nullable="false" remarks="{&quot;what&quot;:&quot;Unipile's message ID; unique external identifier.&quot;,&quot;why&quot;:&quot;Deduplicates syncs and maps to Unipile API; without it duplicates or missed updates.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.042439634+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="chat_id" nullable="false" remarks="{&quot;what&quot;:&quot;Unipile chat/conversation ID; groups messages in a thread.&quot;,&quot;why&quot;:&quot;Groups messages into conversations; without it thread context is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.086100442+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="sender_name" nullable="true" remarks="{&quot;what&quot;:&quot;Display name of the message sender as provided by LinkedIn.&quot;,&quot;why&quot;:&quot;Shows who sent without resolving contact; without it sender identity is opaque.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.561815711+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="sender_id" nullable="true" remarks="{&quot;what&quot;:&quot;LinkedIn profile ID of the sender.&quot;,&quot;why&quot;:&quot;Links to sender profile; without it cannot correlate with contact records.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.575317060+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="is_me" nullable="false" remarks="{&quot;what&quot;:&quot;True if the message was sent by the authenticated user.&quot;,&quot;why&quot;:&quot;Distinguishes outbound from inbound; without it direction is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.647165431+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="body" nullable="true" remarks="{&quot;what&quot;:&quot;Message text content; may be empty or null for non-text.&quot;,&quot;why&quot;:&quot;Provides the actual message; without it content is missing.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.671418291+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="timestamp" nullable="false" remarks="{&quot;what&quot;:&quot;UTC timestamp when the message was sent.&quot;,&quot;why&quot;:&quot;Orders messages and computes reply latency; without it chronology is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.716745584+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="8" name="is_read" nullable="true" remarks="{&quot;what&quot;:&quot;True if the message has been read by the recipient.&quot;,&quot;why&quot;:&quot;Tracks engagement; without it read status is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.756951393+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="contact_id" nullable="true" remarks="{&quot;what&quot;:&quot;Foreign key to the contact associated with this message.&quot;,&quot;why&quot;:&quot;Links message to a known contact; without it contact relationship is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.811672450+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="business_id" nullable="true" remarks="{&quot;what&quot;:&quot;Foreign key to the business account this message belongs to.&quot;,&quot;why&quot;:&quot;Scopes messages per business; without it multi-tenant isolation fails.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.876206879+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="matched_touch_id" nullable="true" remarks="{&quot;what&quot;:&quot;Foreign key to the matched outreach touch that triggered this message.&quot;,&quot;why&quot;:&quot;Ties message to a campaign step; without it attribution to outreach is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.907224429+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="12" name="is_reply" nullable="true" remarks="{&quot;what&quot;:&quot;True if this message is a reply to a prior message.&quot;,&quot;why&quot;:&quot;Identifies responses; without it cannot distinguish replies from new messages.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:30.948686816+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="13" name="reply_latency_mins" nullable="true" remarks="{&quot;what&quot;:&quot;Minutes between the previous message and this reply.&quot;,&quot;why&quot;:&quot;Measures response time; without it responsiveness metrics are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:31.720558647+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="14" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;UTC timestamp when the row was inserted into the database.&quot;,&quot;why&quot;:&quot;Audit trail and sync ordering; without it record creation time is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:31.764759597+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="linkedin_messages_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_li_chat" unique="false">
            <column ascending="true" name="chat_id"/>
         </index>
         <index name="idx_li_contact" unique="false">
            <column ascending="true" name="contact_id"/>
         </index>
         <index name="idx_li_timestamp" unique="false">
            <column ascending="true" name="timestamp"/>
         </index>
         <index name="linkedin_messages_unipile_msg_id_key" unique="true">
            <column ascending="true" name="unipile_msg_id"/>
         </index>
      </table>
      <table name="org_functions" remarks="{&quot;what&quot;:&quot;Catalog of organizational functions, each identified by a unique slug.&quot;,&quot;why&quot;:&quot;Without it, there is no canonical list of functions to reference for roles, permissions, or feature gating.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:32.219161431+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique URL-safe identifier, e.g., 'finance-approver', used as primary key.&quot;,&quot;why&quot;:&quot;Provides a stable, human-readable key for lookups and foreign key references.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:32.245607887+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="org_function_slug" foreignKey="profile_org_views_org_function_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_org_views"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Display name of the function, e.g., 'Finance Approver'.&quot;,&quot;why&quot;:&quot;Needed for user-facing labels; without it, only the slug is shown, which may be cryptic.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:32.287734612+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Plain-language explanation of what the function does and when it applies.&quot;,&quot;why&quot;:&quot;Clarifies intent for users and admins, preventing misuse or confusion about scope.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:32.301060635+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="examples" nullable="true" remarks="{&quot;what&quot;:&quot;Optional usage examples or scenarios, free-form text.&quot;,&quot;why&quot;:&quot;Helps users understand practical application; absence leaves interpretation to description alone.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:32.323894212+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="org_functions_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
      </table>
      <table name="prism_values" remarks="{&quot;what&quot;:&quot;Values belonging to a prism, each with a name and description.&quot;,&quot;why&quot;:&quot;Without it, prisms have no list of selectable values.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:26.926040127+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique text identifier for this value; primary key.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced or updated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:26.943546317+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="prism_value_slug" foreignKey="profile_org_views_prism_value_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_org_views"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="prism_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug of the prism this value belongs to.&quot;,&quot;why&quot;:&quot;Without it, values cannot be associated with a specific prism.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:26.956363502+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="prism_values_prism_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="prisms"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Display name for the value.&quot;,&quot;why&quot;:&quot;Without it, users cannot identify the value in UI.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:26.986050783+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Detailed explanation of the value's meaning.&quot;,&quot;why&quot;:&quot;Without it, the value's purpose is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:27.007192805+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="sort_order" nullable="false" remarks="{&quot;what&quot;:&quot;Integer for ordering values within a prism; lower comes first.&quot;,&quot;why&quot;:&quot;Without it, the display order of values is undefined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:27.022603562+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="prism_values_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
         <index name="idx_pv_prism" unique="false">
            <column ascending="true" name="prism_slug"/>
         </index>
      </table>
      <table name="prisms" remarks="{&quot;what&quot;:&quot;Catalog of prism definitions; each row is one prism.&quot;,&quot;why&quot;:&quot;Without it, there is no canonical list of prisms to reference.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:05.940988970+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique URL-safe identifier for a prism; primary key.&quot;,&quot;why&quot;:&quot;Without it, prisms cannot be referenced unambiguously in URLs or foreign keys.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:05.986413075+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="prism_slug" foreignKey="prism_values_prism_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="prism_values"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Human-readable display name for the prism.&quot;,&quot;why&quot;:&quot;Without it, users cannot distinguish prisms in UI lists.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:06.112318511+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Free-form explanation of the prism's purpose or behavior.&quot;,&quot;why&quot;:&quot;Without it, the prism's intent is undocumented.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:06.134057686+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="3" name="sort_order" nullable="false" remarks="{&quot;what&quot;:&quot;Integer for ordering prisms; lower appears first.&quot;,&quot;why&quot;:&quot;Without it, display order of prisms is undefined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:06.149873984+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="prisms_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
      </table>
      <table name="profile_dimensions" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('profile_dimensions_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each row.&quot;,&quot;why&quot;:&quot;Provides a stable primary key for referencing and updating rows.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.546239583+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the profile this dimension score belongs to.&quot;,&quot;why&quot;:&quot;Links each score to its owning profile; without it scores are orphaned.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.591603641+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="profile_dimensions_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profiles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="dimension_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug naming the dimension being scored, e.g. 'openness'.&quot;,&quot;why&quot;:&quot;Identifies which dimension the score refers to; without it scores are ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.605517987+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="profile_dimensions_dimension_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimensions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="8" id="3" name="quant_score" nullable="false" remarks="{&quot;what&quot;:&quot;Numeric score value for the dimension, likely a float.&quot;,&quot;why&quot;:&quot;Holds the actual measurement; without it the dimension has no quantitative result.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.622577284+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="tag_slug" nullable="true" remarks="{&quot;what&quot;:&quot;Optional slug for a tag associated with this dimension score.&quot;,&quot;why&quot;:&quot;Allows grouping or filtering scores by tag; without it tag-based queries fail.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.640050740+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="profile_dimensions_tag_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="dimension_values"/>
         </column>
         <column autoUpdated="false" defaultValue="0" digits="8" id="5" name="surprise" nullable="false" remarks="{&quot;what&quot;:&quot;Real number indicating unexpectedness of the score, default 0.&quot;,&quot;why&quot;:&quot;Captures deviation from expectation; without it surprise-based ranking is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.655120551+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="'entity'::text" digits="0" id="6" name="binding" nullable="false" remarks="{&quot;what&quot;:&quot;Scope of the score: 'entity' or other binding type.&quot;,&quot;why&quot;:&quot;Determines whether score applies to whole profile or a specific entity; without it scope is unclear.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.680692127+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="contact_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of a contact if the score is bound to one.&quot;,&quot;why&quot;:&quot;Links score to a specific contact when binding is not 'entity'; without it contact-specific scores are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.697588969+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="profile_dimensions_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="time_context" nullable="true" remarks="{&quot;what&quot;:&quot;Text describing the time period or context of the score.&quot;,&quot;why&quot;:&quot;Allows filtering scores by temporal context; without it time-based analysis is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.708202806+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="confidence" nullable="true" remarks="{&quot;what&quot;:&quot;Text label for confidence level, e.g. 'high'.&quot;,&quot;why&quot;:&quot;Indicates reliability of the score; without it low-confidence scores are indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.722552309+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of the score, e.g. 'survey' or 'inferred'.&quot;,&quot;why&quot;:&quot;Traces data provenance; without it source-based audits fail.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.741516728+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form notes about the score or its context.&quot;,&quot;why&quot;:&quot;Captures additional human context; without it qualitative details are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.766520722+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="12" name="assigned_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the score was assigned, default current time.&quot;,&quot;why&quot;:&quot;Records when the score was set; without it temporal ordering is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:17.798463219+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="profile_dimensions_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_pd_dimension" unique="false">
            <column ascending="true" name="dimension_slug"/>
         </index>
         <index name="idx_pd_profile" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="idx_pd_surprise" unique="false">
            <column ascending="false" name="surprise"/>
         </index>
         <checkConstraint constraint="(binding = ANY (ARRAY['entity'::text, 'individual'::text, 'fused'::text, 'representative'::text]))" name="profile_dimensions_binding_check"/>
         <checkConstraint constraint="(confidence = ANY (ARRAY['observed'::text, 'inferred'::text, 'estimated'::text]))" name="profile_dimensions_confidence_check"/>
         <checkConstraint constraint="((quant_score &gt;= (0)::double precision) AND (quant_score &lt;= (100)::double precision))" name="profile_dimensions_quant_score_check"/>
         <checkConstraint constraint="((surprise &gt;= (0)::double precision) AND (surprise &lt;= (100)::double precision))" name="profile_dimensions_surprise_check"/>
      </table>
      <table name="profile_org_views" remarks="{&quot;what&quot;:&quot;Snapshot of a profile's view of an org function, with metrics and optional contact binding.&quot;,&quot;why&quot;:&quot;Without it, profile-specific org function assessments cannot be stored or compared over time.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.378639219+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('profile_org_views_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for this view record.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced for updates or deletion.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.401519148+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the profile this view belongs to.&quot;,&quot;why&quot;:&quot;Without it, the view cannot be associated with a specific profile.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.415685077+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="profile_org_views_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profiles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="org_function_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug identifying the organizational function (e.g., 'engineering').&quot;,&quot;why&quot;:&quot;Without it, the function being viewed is unknown, making the view ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.428667390+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="profile_org_views_org_function_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="org_functions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="prism_value_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Slug for a prism value (e.g., 'collaboration') associated with the view.&quot;,&quot;why&quot;:&quot;Without it, the specific prism dimension being measured is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.441586332+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="profile_org_views_prism_value_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="prism_values"/>
         </column>
         <column autoUpdated="false" defaultValue="'entity'::text" digits="0" id="4" name="binding" nullable="false" remarks="{&quot;what&quot;:&quot;Binding type, default 'entity'; when 'contact', contact_id is set.&quot;,&quot;why&quot;:&quot;Without it, it is unclear whether the view applies to an entity or a specific contact.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.455812782+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="contact_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the contact when binding is 'contact'; null otherwise.&quot;,&quot;why&quot;:&quot;Without it, contact-specific views cannot be linked to a contact.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.489913661+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="profile_org_views_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="8" id="6" name="quant_score" nullable="true" remarks="{&quot;what&quot;:&quot;Numeric score (unitless) for the view, e.g., a performance metric.&quot;,&quot;why&quot;:&quot;Without it, there is no quantitative measure to compare or rank views.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.503028164+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="headcount" nullable="true" remarks="{&quot;what&quot;:&quot;Number of people in the org function at observation time.&quot;,&quot;why&quot;:&quot;Without it, the size of the function is unknown, affecting context for scores.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.522528077+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="8" id="8" name="pct_of_org" nullable="true" remarks="{&quot;what&quot;:&quot;Percentage (0-100) of the whole organization that this function represents.&quot;,&quot;why&quot;:&quot;Without it, the relative size of the function cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.536013613+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-text notes about the view.&quot;,&quot;why&quot;:&quot;Without it, additional context or caveats are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:11.912583317+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="10" name="observed_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp (with timezone) when this view was recorded; defaults to current time.&quot;,&quot;why&quot;:&quot;Without it, the temporal validity of the view is unknown, preventing time-series analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:12.062614944+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="profile_org_views_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_pov_binding" unique="false">
            <column ascending="true" name="binding"/>
         </index>
         <index name="idx_pov_function" unique="false">
            <column ascending="true" name="org_function_slug"/>
         </index>
         <index name="idx_pov_profile" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="profile_org_views_profile_id_org_function_slug_prism_value__key" unique="true">
            <column ascending="true" name="profile_id"/>
            <column ascending="true" name="org_function_slug"/>
            <column ascending="true" name="prism_value_slug"/>
         </index>
         <checkConstraint constraint="(binding = ANY (ARRAY['entity'::text, 'individual'::text, 'fused'::text, 'representative'::text]))" name="profile_org_views_binding_check"/>
         <checkConstraint constraint="((quant_score &gt;= (0)::double precision) AND (quant_score &lt;= (100)::double precision))" name="profile_org_views_quant_score_check"/>
      </table>
      <table name="profiles" remarks="{&quot;what&quot;:&quot;Root entity for a profile; each row is one profiled organization or person.&quot;,&quot;why&quot;:&quot;Provides a stable identifier so other tables can reference a profile without repeating its attributes.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.715557300+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('profiles_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Integer primary key, auto-incremented via sequence; unique identifier for each profile.&quot;,&quot;why&quot;:&quot;Needed to uniquely reference a profile from other tables and to update/delete specific rows.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.729583012+00:00&quot;}" size="10" type="serial" typeCode="4">
            <child column="profile_id" foreignKey="certifications_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="certifications"/>
            <child column="profile_id" foreignKey="commentary_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="commentary"/>
            <child column="profile_id" foreignKey="contacts_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
            <child column="profile_id" foreignKey="event_cards_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="event_cards"/>
            <child column="profile_id" foreignKey="profile_dimensions_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_dimensions"/>
            <child column="profile_id" foreignKey="profile_org_views_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profile_org_views"/>
            <child column="profile_id" foreignKey="signals_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="signals"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Display name of the profile, e.g. company or person name; free text.&quot;,&quot;why&quot;:&quot;Required for human recognition; without it profiles are indistinguishable in lists.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.741907322+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="domain" nullable="true" remarks="{&quot;what&quot;:&quot;Website domain of the profile, e.g. example.com; used as a unique-ish identifier.&quot;,&quot;why&quot;:&quot;Enables deduplication and linking to web presence; without it, profiles with same name cannot be distinguished.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.776690753+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="description" nullable="true" remarks="{&quot;what&quot;:&quot;Free-text description of the profile's purpose or background.&quot;,&quot;why&quot;:&quot;Provides context for sales or research; without it, profile purpose is unclear.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.790192781+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="industry" nullable="true" remarks="{&quot;what&quot;:&quot;Industry sector label, e.g. 'Software' or 'Healthcare'.&quot;,&quot;why&quot;:&quot;Allows filtering and segmentation by market; without it, industry-specific analysis is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.802514191+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="headcount" nullable="true" remarks="{&quot;what&quot;:&quot;Number of employees; integer count.&quot;,&quot;why&quot;:&quot;Used for sizing and targeting; without it, company size cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.811819455+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="revenue_range" nullable="true" remarks="{&quot;what&quot;:&quot;Revenue band as text, e.g. '$1M-$10M'.&quot;,&quot;why&quot;:&quot;Provides financial scale without exact figures; without it, revenue-based filtering fails.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.827334063+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="location" nullable="true" remarks="{&quot;what&quot;:&quot;Geographic location, e.g. city, state, or country.&quot;,&quot;why&quot;:&quot;Enables regional targeting and compliance; without it, location-based decisions are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.838640901+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form internal notes about the profile.&quot;,&quot;why&quot;:&quot;Captures unstructured context not covered by other fields; without it, important details are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.849777136+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="9" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the profile row was created, in UTC.&quot;,&quot;why&quot;:&quot;Tracks record age and audit trail; without it, data freshness cannot be determined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.921947200+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="10" name="updated_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp of last update to any column in this row, in UTC.&quot;,&quot;why&quot;:&quot;Shows when profile was last modified; without it, stale data goes unnoticed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.939448089+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="timezone" nullable="true" remarks="{&quot;what&quot;:&quot;IANA timezone name, e.g. 'America/New_York'.&quot;,&quot;why&quot;:&quot;Used to localize times for communication; without it, scheduling across regions is ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:20.954351679+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="profiles_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_profiles_domain" unique="false">
            <column ascending="true" name="domain"/>
         </index>
      </table>
      <table name="sales_templates" remarks="{&quot;what&quot;:&quot;Templates for sales messages, each with a text pattern and classification metadata.&quot;,&quot;why&quot;:&quot;Without it, no central store of reusable sales message patterns, forcing ad-hoc creation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.210653100+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('sales_templates_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Auto-incrementing integer that uniquely identifies a template row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced by foreign keys or updates.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.265578447+00:00&quot;}" size="19" type="bigserial" typeCode="-5">
            <child column="record_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="field_changes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="section" nullable="false" remarks="{&quot;what&quot;:&quot;Grouping label for the part of a sales conversation this template targets.&quot;,&quot;why&quot;:&quot;Without it, templates cannot be filtered by sales stage, making selection hard.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.361097418+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="text_pattern" nullable="false" remarks="{&quot;what&quot;:&quot;The message text to be sent, with placeholders for dynamic values.&quot;,&quot;why&quot;:&quot;Without it, there is no message content to send, so templates are useless.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.413908612+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="polarity" nullable="false" remarks="{&quot;what&quot;:&quot;Sentiment direction of the message, e.g., positive or negative.&quot;,&quot;why&quot;:&quot;Without it, the emotional tone of templates cannot be filtered, risking mismatched messaging.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.430918853+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'sales'::text" digits="0" id="4" name="register" nullable="false" remarks="{&quot;what&quot;:&quot;Style or formality level of the message, with default 'sales'.&quot;,&quot;why&quot;:&quot;Without it, tone consistency across templates cannot be enforced or selected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.471524090+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="reply_rate_evidence" nullable="true" remarks="{&quot;what&quot;:&quot;Free-text note on measured reply rate or performance evidence for this template.&quot;,&quot;why&quot;:&quot;Without it, there is no record of which templates perform well, hindering optimization.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.550726438+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin or provenance of the template, such as a person or system.&quot;,&quot;why&quot;:&quot;Without it, the trustworthiness and licensing of templates cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.588928149+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'{}'::jsonb" digits="0" id="7" name="context_tags" nullable="false" remarks="{&quot;what&quot;:&quot;JSON object mapping tag names to values for contextual filtering.&quot;,&quot;why&quot;:&quot;Without it, templates cannot be filtered by custom criteria beyond the fixed columns.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.610787946+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="8" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp with time zone of row creation, set to current time by default.&quot;,&quot;why&quot;:&quot;Without it, there is no audit trail for when templates were added, complicating versioning.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:47.653441941+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="sales_templates_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="sales_templates_section_text_pattern_key" unique="true">
            <column ascending="true" name="section"/>
            <column ascending="true" name="text_pattern"/>
         </index>
      </table>
      <table name="signal_types" remarks="" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique short text identifier for the signal type, the primary key.&quot;,&quot;why&quot;:&quot;Without it, there is no unique key to reference signal types, making joins and updates ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:28.675443257+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="signal_type_slug" foreignKey="signals_signal_type_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="signals"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="category" nullable="false" remarks="{&quot;what&quot;:&quot;High-level grouping for the signal type, used to classify signals.&quot;,&quot;why&quot;:&quot;Without it, signal types cannot be grouped or filtered by category, hindering analysis and reporting.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:28.691491489+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Human-readable display name for the signal type, used in user interfaces.&quot;,&quot;why&quot;:&quot;Without it, users would see only the slug, which may be cryptic; the name provides a clear label for display.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:28.709409130+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="description" nullable="false" remarks="{&quot;what&quot;:&quot;Detailed explanation of the signal type's meaning and usage.&quot;,&quot;why&quot;:&quot;Without it, the meaning and intended use of the signal type are ambiguous, risking incorrect usage.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:28.726742139+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="data_source" nullable="true" remarks="{&quot;what&quot;:&quot;Optional origin or source of the signal data, such as a sensor or external system.&quot;,&quot;why&quot;:&quot;Without it, the provenance of signal data is unknown, complicating trust and debugging.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:28.741568380+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="sort_order" nullable="false" remarks="{&quot;what&quot;:&quot;Numeric ordering for display, lower values appear first.&quot;,&quot;why&quot;:&quot;Without it, the display order of signal types is arbitrary, leading to inconsistent user interfaces.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:28.757300500+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <primaryKey column="slug" sequenceNumberInPK="1"/>
         <index name="signal_types_pkey" unique="true">
            <column ascending="true" name="slug"/>
         </index>
      </table>
      <table name="signals" remarks="{&quot;what&quot;:&quot;Signal observations linking a profile and/or contact to a type, with optional intensity and expiry.&quot;,&quot;why&quot;:&quot;Without it, signal history and its attributes are lost, breaking any feature that relies on past signals.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.730103956+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('signals_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Auto-incrementing integer that uniquely identifies a signal.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced uniquely for updates or joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.748677894+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="profile_id" nullable="true" remarks="{&quot;what&quot;:&quot;Integer referencing the profile associated with this signal; null when no profile is linked.&quot;,&quot;why&quot;:&quot;Without it, it is unknown which profile a signal belongs to, breaking profile-scoped queries.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.772862895+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="signals_profile_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="profiles"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="contact_id" nullable="true" remarks="{&quot;what&quot;:&quot;Integer referencing the contact associated with this signal; null when no contact is linked.&quot;,&quot;why&quot;:&quot;Without it, signals cannot be linked to a contact, making contact-specific signal history impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.791676428+00:00&quot;}" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="signals_contact_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="signal_type_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Text slug that classifies the signal into a known type.&quot;,&quot;why&quot;:&quot;Without it, signal types are indistinguishable, so filtering or aggregating by type is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.803644319+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="slug" foreignKey="signals_signal_type_slug_fkey" implied="false" onDeleteCascade="false" schema="public" table="signal_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="raw_text" nullable="false" remarks="{&quot;what&quot;:&quot;Unprocessed text payload of the signal as received.&quot;,&quot;why&quot;:&quot;Without it, the original content is lost, preventing later parsing or re-analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.829651668+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="8" id="5" name="intensity" nullable="true" remarks="{&quot;what&quot;:&quot;Numeric intensity value of the signal, as a real number; null if not measured.&quot;,&quot;why&quot;:&quot;Without it, the strength or magnitude of the signal is unknown, affecting prioritization or scoring.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.872770159+00:00&quot;}" size="8" type="float4" typeCode="7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="source_url" nullable="true" remarks="{&quot;what&quot;:&quot;URL where the signal originated or was observed.&quot;,&quot;why&quot;:&quot;Without it, the origin of the signal cannot be traced for verification or attribution.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.912031794+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="7" name="observed_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp (with time zone) when the signal was observed; defaults to current time.&quot;,&quot;why&quot;:&quot;Without it, the timing of the signal is unknown, breaking time-based analysis and ordering.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.943566623+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="expires_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp (with time zone) after which the signal is considered expired; null if never expires.&quot;,&quot;why&quot;:&quot;Without it, it is unknown when a signal becomes stale, so expiry-based filtering or cleanup is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:16:52.980322425+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="signals_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_signals_observed" unique="false">
            <column ascending="true" name="observed_at"/>
         </index>
         <index name="idx_signals_profile" unique="false">
            <column ascending="true" name="profile_id"/>
         </index>
         <index name="idx_signals_type" unique="false">
            <column ascending="true" name="signal_type_slug"/>
         </index>
         <checkConstraint constraint="((intensity &gt;= (0)::double precision) AND (intensity &lt;= (100)::double precision))" name="signals_intensity_check"/>
      </table>
      <table name="suppression_list" remarks="{&quot;what&quot;:&quot;Email addresses excluded from outbound mail; each row is one suppression event.&quot;,&quot;why&quot;:&quot;Without it, mail could be sent to addresses that previously bounced or complained, harming deliverability.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.143802842+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="email" nullable="false" remarks="{&quot;what&quot;:&quot;Lowercase email address that is suppressed; primary key.&quot;,&quot;why&quot;:&quot;Uniquely identifies the suppressed address; prevents duplicate suppression entries.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.160250588+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="organizer_email" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="calendar_events"/>
            <child column="email" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="contacts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="reason" nullable="true" remarks="{&quot;what&quot;:&quot;Reason for suppression, such as 'bounce' or 'complaint'.&quot;,&quot;why&quot;:&quot;Without it, operators cannot know why an address is suppressed, making it hard to decide if it should be removed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.218099010+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of the suppression, e.g., bounce handler, complaint feedback loop.&quot;,&quot;why&quot;:&quot;Without it, the trustworthiness and expiry policy of the suppression cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.243770160+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="contact_id" nullable="true" remarks="{&quot;what&quot;:&quot;ID of the contact record this suppression is associated with, if any.&quot;,&quot;why&quot;:&quot;Without it, the suppression cannot be linked to a contact profile, so contact-level actions like re-subscribe become ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.263031964+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="message_id" nullable="true" remarks="{&quot;what&quot;:&quot;ID of the email message that triggered the suppression, if applicable.&quot;,&quot;why&quot;:&quot;Without it, the specific campaign or transaction that caused the suppression is unknown, hindering investigation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.287525842+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form notes about the suppression, e.g., context or follow-up actions.&quot;,&quot;why&quot;:&quot;Without it, additional context that may be needed for manual review is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.301119424+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="6" name="created_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp with time zone when the suppression was recorded.&quot;,&quot;why&quot;:&quot;Without it, the age of the suppression is unknown, which is needed for automatic expiry or review.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.321083517+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="7" name="updated_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp with time zone of the last update to this suppression row.&quot;,&quot;why&quot;:&quot;Without it, it is unclear when the suppression was last modified, which is needed for audit and sync.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:09:30.334207815+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="email" sequenceNumberInPK="1"/>
         <index name="suppression_list_pkey" unique="true">
            <column ascending="true" name="email"/>
         </index>
      </table>
      <table name="sync_state" remarks="{&quot;what&quot;:&quot;Key-value store for per-target synchronization progress.&quot;,&quot;why&quot;:&quot;Without it, sync state is lost, forcing full re-syncs or missed updates.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:17:02.987158465+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="key" nullable="false" remarks="{&quot;what&quot;:&quot;Unique text identifier for a sync target or resource.&quot;,&quot;why&quot;:&quot;Without it, multiple sync states cannot be distinguished or updated individually.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:17:03.176822981+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="value" nullable="true" remarks="{&quot;what&quot;:&quot;Serialized state payload, e.g. last sync timestamp or cursor.&quot;,&quot;why&quot;:&quot;Without it, the sync state is unknown, so resuming or validating sync is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:17:03.284995021+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="key" sequenceNumberInPK="1"/>
         <index name="sync_state_pkey" unique="true">
            <column ascending="true" name="key"/>
         </index>
      </table>
   </tables>
   <routines>
      <routine dataAccess="MODIFIES" deterministic="false" name="catalog_extension_drop_event()" returnType="event_trigger" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[DECLARE
    obj RECORD;
    v_is_local BOOLEAN := current_database() = 'postrhythm';
BEGIN
    FOR obj IN SELECT * FROM pg_event_trigger_dropped_objects() LOOP
        IF obj.object_type = 'extension' THEN
            BEGIN
                IF v_is_local THEN
                    INSERT INTO catalog.extension_history
                        (host, database, extname, event, old_version, source)
                    VALUES ('dante', current_database(), obj.object_name, 'removed', NULL, 'event-trigger');
                ELSE
                    INSERT INTO public.postrhythm_extension_history
                        (host, database, extname, event, old_version, source)
                    VALUES ('dante', current_database(), obj.object_name, 'removed', NULL, 'event-trigger');
                END IF;
            EXCEPTION WHEN OTHERS THEN
                RAISE WARNING 'catalog_extension_drop_event: could not record % on %: %',
                    obj.object_name, current_database(), SQLERRM;
            END;
        END IF;
    END LOOP;
END;]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="catalog_extension_event()" returnType="event_trigger" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[DECLARE
    obj RECORD;
    v_extname TEXT;
    v_is_local BOOLEAN := current_database() = 'postrhythm';
BEGIN
    FOR obj IN SELECT * FROM pg_event_trigger_ddl_commands() LOOP
        IF obj.object_type = 'extension' THEN
            v_extname := split_part(obj.object_identity, ' ', 1);

            BEGIN
                IF v_is_local THEN
                    INSERT INTO catalog.extension_history
                        (host, database, extname, event, new_version, source)
                    SELECT 'dante', current_database(), e.extname, 'installed',
                           e.extversion, 'event-trigger'
                      FROM pg_extension e WHERE e.extname = v_extname;
                ELSE
                    INSERT INTO public.postrhythm_extension_history
                        (host, database, extname, event, new_version, source)
                    SELECT 'dante', current_database(), e.extname, 'installed',
                           e.extversion, 'event-trigger'
                      FROM pg_extension e WHERE e.extname = v_extname;
                END IF;
            EXCEPTION WHEN OTHERS THEN
                RAISE WARNING 'catalog_extension_event: could not record % on %: %',
                    v_extname, current_database(), SQLERRM;
            END;
        END IF;
    END LOOP;
END;]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_btree_consistent(internal, smallint, anyelement, integer, internal, internal)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_btree_consistent]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="anyelement"/>
            <parameter mode="IN" type="integer"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_anyenum(anyenum, anyenum, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_anyenum]]></definition>
         <parameters>
            <parameter mode="IN" type="anyenum"/>
            <parameter mode="IN" type="anyenum"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_bit(bit, bit, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_bit]]></definition>
         <parameters>
            <parameter mode="IN" type="bit"/>
            <parameter mode="IN" type="bit"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_bool(boolean, boolean, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_bool]]></definition>
         <parameters>
            <parameter mode="IN" type="boolean"/>
            <parameter mode="IN" type="boolean"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_bpchar(character, character, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_bpchar]]></definition>
         <parameters>
            <parameter mode="IN" type="character"/>
            <parameter mode="IN" type="character"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_bytea(bytea, bytea, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_bytea]]></definition>
         <parameters>
            <parameter mode="IN" type="bytea"/>
            <parameter mode="IN" type="bytea"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_char(&quot;char&quot;, &quot;char&quot;, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_char]]></definition>
         <parameters>
            <parameter mode="IN" type="&quot;char&quot;"/>
            <parameter mode="IN" type="&quot;char&quot;"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_cidr(cidr, cidr, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_cidr]]></definition>
         <parameters>
            <parameter mode="IN" type="cidr"/>
            <parameter mode="IN" type="cidr"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_date(date, date, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_date]]></definition>
         <parameters>
            <parameter mode="IN" type="date"/>
            <parameter mode="IN" type="date"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_float4(real, real, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_float4]]></definition>
         <parameters>
            <parameter mode="IN" type="real"/>
            <parameter mode="IN" type="real"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_float8(double precision, double precision, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_float8]]></definition>
         <parameters>
            <parameter mode="IN" type="double precision"/>
            <parameter mode="IN" type="double precision"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_inet(inet, inet, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_inet]]></definition>
         <parameters>
            <parameter mode="IN" type="inet"/>
            <parameter mode="IN" type="inet"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_int2(smallint, smallint, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_int2]]></definition>
         <parameters>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_int4(integer, integer, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_int4]]></definition>
         <parameters>
            <parameter mode="IN" type="integer"/>
            <parameter mode="IN" type="integer"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_int8(bigint, bigint, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_int8]]></definition>
         <parameters>
            <parameter mode="IN" type="bigint"/>
            <parameter mode="IN" type="bigint"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_interval(interval, interval, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_interval]]></definition>
         <parameters>
            <parameter mode="IN" type="interval"/>
            <parameter mode="IN" type="interval"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_macaddr(macaddr, macaddr, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_macaddr]]></definition>
         <parameters>
            <parameter mode="IN" type="macaddr"/>
            <parameter mode="IN" type="macaddr"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_macaddr8(macaddr8, macaddr8, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_macaddr8]]></definition>
         <parameters>
            <parameter mode="IN" type="macaddr8"/>
            <parameter mode="IN" type="macaddr8"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_money(money, money, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_money]]></definition>
         <parameters>
            <parameter mode="IN" type="money"/>
            <parameter mode="IN" type="money"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_name(name, name, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_name]]></definition>
         <parameters>
            <parameter mode="IN" type="name"/>
            <parameter mode="IN" type="name"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_numeric(numeric, numeric, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_numeric]]></definition>
         <parameters>
            <parameter mode="IN" type="numeric"/>
            <parameter mode="IN" type="numeric"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_oid(oid, oid, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_oid]]></definition>
         <parameters>
            <parameter mode="IN" type="oid"/>
            <parameter mode="IN" type="oid"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_text(text, text, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_text]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_time(time without time zone, time without time zone, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_time]]></definition>
         <parameters>
            <parameter mode="IN" type="time without time zone"/>
            <parameter mode="IN" type="time without time zone"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_timestamp(timestamp without time zone, timestamp without time zone, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_timestamp]]></definition>
         <parameters>
            <parameter mode="IN" type="timestamp without time zone"/>
            <parameter mode="IN" type="timestamp without time zone"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_timestamptz(timestamp with time zone, timestamp with time zone, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_timestamptz]]></definition>
         <parameters>
            <parameter mode="IN" type="timestamp with time zone"/>
            <parameter mode="IN" type="timestamp with time zone"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_timetz(time with time zone, time with time zone, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_timetz]]></definition>
         <parameters>
            <parameter mode="IN" type="time with time zone"/>
            <parameter mode="IN" type="time with time zone"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_uuid(uuid, uuid, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_uuid]]></definition>
         <parameters>
            <parameter mode="IN" type="uuid"/>
            <parameter mode="IN" type="uuid"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_compare_prefix_varbit(bit varying, bit varying, smallint, internal)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_compare_prefix_varbit]]></definition>
         <parameters>
            <parameter mode="IN" type="bit varying"/>
            <parameter mode="IN" type="bit varying"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_enum_cmp(anyenum, anyenum)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_enum_cmp]]></definition>
         <parameters>
            <parameter mode="IN" type="anyenum"/>
            <parameter mode="IN" type="anyenum"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_anyenum(anyenum, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_anyenum]]></definition>
         <parameters>
            <parameter mode="IN" type="anyenum"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_bit(bit, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_bit]]></definition>
         <parameters>
            <parameter mode="IN" type="bit"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_bool(boolean, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_bool]]></definition>
         <parameters>
            <parameter mode="IN" type="boolean"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_bpchar(character, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_bpchar]]></definition>
         <parameters>
            <parameter mode="IN" type="character"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_bytea(bytea, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_bytea]]></definition>
         <parameters>
            <parameter mode="IN" type="bytea"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_char(&quot;char&quot;, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_char]]></definition>
         <parameters>
            <parameter mode="IN" type="&quot;char&quot;"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_cidr(cidr, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_cidr]]></definition>
         <parameters>
            <parameter mode="IN" type="cidr"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_date(date, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_date]]></definition>
         <parameters>
            <parameter mode="IN" type="date"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_float4(real, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_float4]]></definition>
         <parameters>
            <parameter mode="IN" type="real"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_float8(double precision, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_float8]]></definition>
         <parameters>
            <parameter mode="IN" type="double precision"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_inet(inet, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_inet]]></definition>
         <parameters>
            <parameter mode="IN" type="inet"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_int2(smallint, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_int2]]></definition>
         <parameters>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_int4(integer, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_int4]]></definition>
         <parameters>
            <parameter mode="IN" type="integer"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_int8(bigint, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_int8]]></definition>
         <parameters>
            <parameter mode="IN" type="bigint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_interval(interval, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_interval]]></definition>
         <parameters>
            <parameter mode="IN" type="interval"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_macaddr(macaddr, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_macaddr]]></definition>
         <parameters>
            <parameter mode="IN" type="macaddr"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_macaddr8(macaddr8, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_macaddr8]]></definition>
         <parameters>
            <parameter mode="IN" type="macaddr8"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_money(money, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_money]]></definition>
         <parameters>
            <parameter mode="IN" type="money"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_name(name, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_name]]></definition>
         <parameters>
            <parameter mode="IN" type="name"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_numeric(numeric, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_numeric]]></definition>
         <parameters>
            <parameter mode="IN" type="numeric"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_oid(oid, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_oid]]></definition>
         <parameters>
            <parameter mode="IN" type="oid"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_text(text, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_text]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_time(time without time zone, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_time]]></definition>
         <parameters>
            <parameter mode="IN" type="time without time zone"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_timestamp(timestamp without time zone, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_timestamp]]></definition>
         <parameters>
            <parameter mode="IN" type="timestamp without time zone"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_timestamptz(timestamp with time zone, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_timestamptz]]></definition>
         <parameters>
            <parameter mode="IN" type="timestamp with time zone"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_timetz(time with time zone, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_timetz]]></definition>
         <parameters>
            <parameter mode="IN" type="time with time zone"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_trgm(text, internal, smallint, internal, internal, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_trgm]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_uuid(uuid, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_uuid]]></definition>
         <parameters>
            <parameter mode="IN" type="uuid"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_query_varbit(bit varying, internal, smallint, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_query_varbit]]></definition>
         <parameters>
            <parameter mode="IN" type="bit varying"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_anyenum(anyenum, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_anyenum]]></definition>
         <parameters>
            <parameter mode="IN" type="anyenum"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_bit(bit, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_bit]]></definition>
         <parameters>
            <parameter mode="IN" type="bit"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_bool(boolean, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_bool]]></definition>
         <parameters>
            <parameter mode="IN" type="boolean"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_bpchar(character, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_bpchar]]></definition>
         <parameters>
            <parameter mode="IN" type="character"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_bytea(bytea, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_bytea]]></definition>
         <parameters>
            <parameter mode="IN" type="bytea"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_char(&quot;char&quot;, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_char]]></definition>
         <parameters>
            <parameter mode="IN" type="&quot;char&quot;"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_cidr(cidr, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_cidr]]></definition>
         <parameters>
            <parameter mode="IN" type="cidr"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_date(date, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_date]]></definition>
         <parameters>
            <parameter mode="IN" type="date"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_float4(real, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_float4]]></definition>
         <parameters>
            <parameter mode="IN" type="real"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_float8(double precision, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_float8]]></definition>
         <parameters>
            <parameter mode="IN" type="double precision"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_inet(inet, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_inet]]></definition>
         <parameters>
            <parameter mode="IN" type="inet"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_int2(smallint, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_int2]]></definition>
         <parameters>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_int4(integer, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_int4]]></definition>
         <parameters>
            <parameter mode="IN" type="integer"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_int8(bigint, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_int8]]></definition>
         <parameters>
            <parameter mode="IN" type="bigint"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_interval(interval, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_interval]]></definition>
         <parameters>
            <parameter mode="IN" type="interval"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_macaddr(macaddr, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_macaddr]]></definition>
         <parameters>
            <parameter mode="IN" type="macaddr"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_macaddr8(macaddr8, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_macaddr8]]></definition>
         <parameters>
            <parameter mode="IN" type="macaddr8"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_money(money, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_money]]></definition>
         <parameters>
            <parameter mode="IN" type="money"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_name(name, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_name]]></definition>
         <parameters>
            <parameter mode="IN" type="name"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_numeric(numeric, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_numeric]]></definition>
         <parameters>
            <parameter mode="IN" type="numeric"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_oid(oid, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_oid]]></definition>
         <parameters>
            <parameter mode="IN" type="oid"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_text(text, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_text]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_time(time without time zone, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_time]]></definition>
         <parameters>
            <parameter mode="IN" type="time without time zone"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_timestamp(timestamp without time zone, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_timestamp]]></definition>
         <parameters>
            <parameter mode="IN" type="timestamp without time zone"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_timestamptz(timestamp with time zone, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_timestamptz]]></definition>
         <parameters>
            <parameter mode="IN" type="timestamp with time zone"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_timetz(time with time zone, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_timetz]]></definition>
         <parameters>
            <parameter mode="IN" type="time with time zone"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_trgm(text, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_trgm]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_uuid(uuid, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_uuid]]></definition>
         <parameters>
            <parameter mode="IN" type="uuid"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_extract_value_varbit(bit varying, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_extract_value_varbit]]></definition>
         <parameters>
            <parameter mode="IN" type="bit varying"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_numeric_cmp(numeric, numeric)" returnType="integer" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_numeric_cmp]]></definition>
         <parameters>
            <parameter mode="IN" type="numeric"/>
            <parameter mode="IN" type="numeric"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_trgm_consistent(internal, smallint, text, integer, internal, internal, internal, internal)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_trgm_consistent]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="integer"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gin_trgm_triconsistent(internal, smallint, text, integer, internal, internal, internal)" returnType="&quot;char&quot;" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gin_trgm_triconsistent]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="integer"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_compress(internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_compress]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_consistent(internal, text, smallint, oid, internal)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_consistent]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="oid"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_decompress(internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_decompress]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_distance(internal, text, smallint, oid, internal)" returnType="double precision" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_distance]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="smallint"/>
            <parameter mode="IN" type="oid"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_in(cstring)" returnType="gtrgm" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_in]]></definition>
         <parameters>
            <parameter mode="IN" type="cstring"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_options(internal)" returnType="void" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_options]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_out(gtrgm)" returnType="cstring" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_out]]></definition>
         <parameters>
            <parameter mode="IN" type="gtrgm"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_penalty(internal, internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_penalty]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_picksplit(internal, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_picksplit]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_same(gtrgm, gtrgm, internal)" returnType="internal" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_same]]></definition>
         <parameters>
            <parameter mode="IN" type="gtrgm"/>
            <parameter mode="IN" type="gtrgm"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="gtrgm_union(internal, internal)" returnType="gtrgm" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[gtrgm_union]]></definition>
         <parameters>
            <parameter mode="IN" type="internal"/>
            <parameter mode="IN" type="internal"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="postgres_fdw_disconnect(text)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[postgres_fdw_disconnect]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="postgres_fdw_disconnect_all()" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[postgres_fdw_disconnect_all]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="postgres_fdw_get_connections(check_conn boolean DEFAULT false, OUT server_name text, OUT user_name text, OUT valid boolean, OUT used_in_xact boolean, OUT closed boolean, OUT remote_backend_pid integer)" returnType="SETOF record" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[postgres_fdw_get_connections_1_2]]></definition>
         <parameters>
            <parameter mode="IN" name="check_conn" type="boolean"/>
            <parameter mode="OUT" name="server_name" type="text"/>
            <parameter mode="OUT" name="user_name" type="text"/>
            <parameter mode="OUT" name="valid" type="boolean"/>
            <parameter mode="OUT" name="used_in_xact" type="boolean"/>
            <parameter mode="OUT" name="closed" type="boolean"/>
            <parameter mode="OUT" name="remote_backend_pid" type="integer"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="postgres_fdw_handler()" returnType="fdw_handler" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[postgres_fdw_handler]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="postgres_fdw_validator(text[], oid)" returnType="void" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[postgres_fdw_validator]]></definition>
         <parameters>
            <parameter mode="IN" type="text[]"/>
            <parameter mode="IN" type="oid"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="set_limit(real)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[set_limit]]></definition>
         <parameters>
            <parameter mode="IN" type="real"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="show_limit()" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[show_limit]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="show_trgm(text)" returnType="text[]" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[show_trgm]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="similarity(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[similarity]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="similarity_dist(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[similarity_dist]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="similarity_op(text, text)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[similarity_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="strict_word_similarity(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[strict_word_similarity]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="strict_word_similarity_commutator_op(text, text)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[strict_word_similarity_commutator_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="strict_word_similarity_dist_commutator_op(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[strict_word_similarity_dist_commutator_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="strict_word_similarity_dist_op(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[strict_word_similarity_dist_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="strict_word_similarity_op(text, text)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[strict_word_similarity_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="word_similarity(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[word_similarity]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="word_similarity_commutator_op(text, text)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[word_similarity_commutator_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="word_similarity_dist_commutator_op(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[word_similarity_dist_commutator_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="true" name="word_similarity_dist_op(text, text)" returnType="real" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[word_similarity_dist_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
      <routine dataAccess="MODIFIES" deterministic="false" name="word_similarity_op(text, text)" returnType="boolean" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="c"><![CDATA[word_similarity_op]]></definition>
         <parameters>
            <parameter mode="IN" type="text"/>
            <parameter mode="IN" type="text"/>
         </parameters>
      </routine>
   </routines>
</database>
