Faults recorded against a vehicle or component.A ✓ in the Null column means the field is optional. Constraint definitions are
reproduced verbatim from PostgreSQL, so they are the exact rule being enforced.
Descriptions come from the models; a blank one means the field carries no
description yet, not that it has no meaning.
Location on vehicle/component. Optional free text — the loose topology aspect alongside the slot FK.
action_code
varchar(50)
✓
Maintenance action code
action_description
varchar(255)
✓
Description of action taken
cause_code
varchar(50)
✓
Root cause code
cause_description
varchar(255)
✓
Description of root cause
fault_indication_code
varchar(50)
✓
Fault indication/symptom code
warranty_flag
bool
Whether flagged for warranty claim processing
project_id
uuid
Parent project for multi-tenancy
external_updated_at
timestamptz
Last modification timestamp from the master system. NOT NULL.
category
varchar(100)
✓
Defect category from source system (e.g., Mechanical, Electrical)
closed_date
timestamptz
✓
When the defect was closed/resolved. Null means still open.
component_id
uuid
✓
Component this defect was reported against. Resolved from component_serial_number string by the validate SP.
consequence_code
varchar(50)
✓
Consequence/impact code from source system
consequence_description
varchar(255)
✓
Description of consequence/impact
delay_minutes
int
✓
Operational delay caused by the defect, in minutes
product_group_id
int8
Product group this defect is classified on. Resolved from product_group_code by the validate SP.
severity
varchar(50)
✓
Severity classification from source system (e.g., Critical, Major)
vehicle_id
uuid
✓
Vehicle this defect was reported against. Resolved from vehicle_number string by the validate SP.
slot_id
uuid
✓
Vehicle type slot the defect resolves to (topology aspect). Nullable — resolved from the vehicle configuration history at defect_datetime, and not resolvable for every defect.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"A7 manager","description":"Railway fleet management platform — internal documentation","colors":{"primary":"#3d4700","light":"#859900","dark":"#2a3200"},"favicon":"https://mintcdn.com/a7tech/hppoGf5bH4-HkvDU/favicon.svg?fit=max\u0026auto=format\u0026n=hppoGf5bH4-HkvDU\u0026q=85\u0026s=c13ec973f62604e6266c04ef2d078b42","footer":{"links":[{"header":"Project","items":[{"label":"Repository","href":"https://github.com/Railway-John/Warrantinator"}]}]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"a7tech","hasAudioNarration":false,"actualSubdomain":"a7tech","customDomains":["docs.a7manager.se"],"gitSource":{"type":"github","owner":"railway-john","repo":"warrantinator","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ada63064ca920a4c8408cea","collectionId":"d410dcfe-019a-4194-b121-b5185f986a5b","liveDeploymentHistoryId":"6ada63064ca920a4c8408cea","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ada63064ca920a4c8408cea","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Pages","count":24},{"language":"default","tag":"Data","count":20},{"language":"default","tag":"Tables","count":10},{"language":"default","tag":"File formats","count":8},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"Platform","count":6},{"language":"default","tag":"Service Book","count":5},{"language":"default","tag":"Project Config","count":5},{"language":"default","tag":"Assets","count":2},{"language":"default","tag":"Inspections","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@media (min-width:1400px){[class*=max-w-8xl]{max-width:120rem!important}}"}],"page":{"pagePath":"data/tables/defects","slug":"/data/tables/defects","pageMetadata":{"title":"Defects tables","description":"Faults recorded against a vehicle or component.","href":"/data/tables/defects"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Faults recorded against a vehicle or component.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,Heading,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Faults recorded against a vehicle or component.`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`✓`}),` in the Null column means the field is optional. Constraint definitions are\nreproduced verbatim from PostgreSQL, so they are the exact rule being enforced.\nDescriptions come from the models; a blank one means the field carries no\ndescription yet, not that it has no meaning.`]}),`\n`,_jsx(Heading,{level:`3`,id:`defect`,children:_jsx(_components.code,{children:`defect`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Column`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{style:{textAlign:`center`},children:`Null`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`id`})}),_jsx(_components.td,{children:`uuid`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`created_at`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`updated_at`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_system_id`})}),_jsx(_components.td,{children:`varchar(100)`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Unique identifier from source maintenance system`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`defect_datetime`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`When the defect occurred`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`defect_title`})}),_jsx(_components.td,{children:`varchar(60)`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Short summary of the defect`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`defect_description`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Detailed description of the defect`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`location`})}),_jsx(_components.td,{children:`varchar(100)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Location on vehicle/component. Optional free text — the loose topology aspect alongside the slot FK.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action_code`})}),_jsx(_components.td,{children:`varchar(50)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Maintenance action code`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`action_description`})}),_jsx(_components.td,{children:`varchar(255)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Description of action taken`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cause_code`})}),_jsx(_components.td,{children:`varchar(50)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Root cause code`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cause_description`})}),_jsx(_components.td,{children:`varchar(255)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Description of root cause`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fault_indication_code`})}),_jsx(_components.td,{children:`varchar(50)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Fault indication/symptom code`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`warranty_flag`})}),_jsx(_components.td,{children:`bool`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Whether flagged for warranty claim processing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`project_id`})}),_jsx(_components.td,{children:`uuid`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Parent project for multi-tenancy`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_updated_at`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Last modification timestamp from the master system. NOT NULL.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`category`})}),_jsx(_components.td,{children:`varchar(100)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Defect category from source system (e.g., Mechanical, Electrical)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`closed_date`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`When the defect was closed/resolved. Null means still open.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`component_id`})}),_jsx(_components.td,{children:`uuid`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Component this defect was reported against. Resolved from component_serial_number string by the validate SP.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`consequence_code`})}),_jsx(_components.td,{children:`varchar(50)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Consequence/impact code from source system`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`consequence_description`})}),_jsx(_components.td,{children:`varchar(255)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Description of consequence/impact`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delay_minutes`})}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Operational delay caused by the defect, in minutes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`product_group_id`})}),_jsx(_components.td,{children:`int8`}),_jsx(_components.td,{style:{textAlign:`center`}}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Product group this defect is classified on. Resolved from product_group_code by the validate SP.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`severity`})}),_jsx(_components.td,{children:`varchar(50)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Severity classification from source system (e.g., Critical, Major)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vehicle_id`})}),_jsx(_components.td,{children:`uuid`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Vehicle this defect was reported against. Resolved from vehicle_number string by the validate SP.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`slot_id`})}),_jsx(_components.td,{children:`uuid`}),_jsx(_components.td,{style:{textAlign:`center`},children:`✓`}),_jsx(_components.td,{}),_jsx(_components.td,{children:`Vehicle type slot the defect resolves to (topology aspect). Nullable — resolved from the vehicle configuration history at defect_datetime, and not resolvable for every defect.`})]})]})]}),`\n`,_jsx(Accordion,{title:`Constraints — 1 check, 1 unique, 5 foreign keys, 1 primary key`,id:`constraints-1-check-1-unique-5-foreign-keys-1-primary-key`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Kind`}),_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Definition`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Check`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`defect_must_have_vehicle_or_component`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(((vehicle_id IS NOT NULL) OR (component_id IS NOT NULL)))`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Foreign key`}),_jsx(_components.td,{}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(component_id) REFERENCES assets_component(id)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Foreign key`}),_jsx(_components.td,{}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(product_group_id) REFERENCES assets_productgroup(id)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Foreign key`}),_jsx(_components.td,{}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(project_id) REFERENCES project(id)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Foreign key`}),_jsx(_components.td,{}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(slot_id) REFERENCES assets_vehicletypeslot(id)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Foreign key`}),_jsx(_components.td,{}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(vehicle_id) REFERENCES assets_vehicle(id)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Primary key`}),_jsx(_components.td,{}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(id)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Unique`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`unique_external_system_id_per_project`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(external_system_id, project_id)`})})]})]})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Defects tables","description":"Faults recorded against a vehicle or component.","href":"/data/tables/defects"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"defect","slug":"defect","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"a7tech","siteName":"A7 manager","title":"Defects tables - A7 manager","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-05T18:00:47.389Z","originalFileLocation":"data/tables/defects.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Faults recorded against a vehicle or component.\">\u003cmeta data-mint-head name=\"application-name\" content=\"A7 manager\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Defects tables - A7 manager\">\u003cmeta data-mint-head property=\"og:description\" content=\"Faults recorded against a vehicle or component.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"A7 manager\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.a7manager.se/data/tables/defects\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://a7tech.mintlify.app/_mintlify/api/og/v2?division=Tables\u0026amp;title=Defects+tables\u0026amp;description=Faults+recorded+against+a+vehicle+or+component.\u0026amp;theme=a9098c755b87d1ea4134c8a5\u0026amp;signature=b172525a1bb0f4a57af08a56e4da94c9852927bc47f4363a92cdab8c9bb1e75e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Defects tables - A7 manager\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Faults recorded against a vehicle or component.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://a7tech.mintlify.app/_mintlify/api/og/v2?division=Tables\u0026amp;title=Defects+tables\u0026amp;description=Faults+recorded+against+a+vehicle+or+component.\u0026amp;theme=a9098c755b87d1ea4134c8a5\u0026amp;signature=b172525a1bb0f4a57af08a56e4da94c9852927bc47f4363a92cdab8c9bb1e75e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/a7tech/KMXth563saw9sJGT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"A7 manager\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3d4700\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.a7manager.se/data/tables/defects\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/data/tables/defects.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.a7manager.se/#organization\",\"name\":\"A7 manager\",\"url\":\"https://docs.a7manager.se\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.a7manager.se#website\",\"name\":\"A7 manager\",\"url\":\"https://docs.a7manager.se\",\"publisher\":{\"@id\":\"https://docs.a7manager.se/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.a7manager.se/data/tables/defects#webpage\",\"url\":\"https://docs.a7manager.se/data/tables/defects\",\"name\":\"Defects tables\",\"description\":\"Faults recorded against a vehicle or component.\",\"dateModified\":\"2026-09-05T18:00:47.389Z\",\"isPartOf\":{\"@id\":\"https://docs.a7manager.se#website\"},\"breadcrumb\":{\"@id\":\"https://docs.a7manager.se/data/tables/defects#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.a7manager.se/data/tables/defects#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tables\",\"item\":\"https://docs.a7manager.se/data/tables/projects-and-users\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Defects tables\",\"item\":\"https://docs.a7manager.se/data/tables/defects\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.a7manager.se/data/tables/defects#article\",\"headline\":\"Defects tables\",\"name\":\"Defects tables\",\"description\":\"Faults recorded against a vehicle or component.\",\"url\":\"https://docs.a7manager.se/data/tables/defects\",\"mainEntityOfPage\":{\"@id\":\"https://docs.a7manager.se/data/tables/defects#webpage\"},\"dateModified\":\"2026-09-05T18:00:47.389Z\",\"publisher\":{\"@id\":\"https://docs.a7manager.se/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.a7manager.se#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"A7 manager\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"A7 manager","nav":{"global":null,"tabs":[{"tab":"Platform","icon":"train","pages":[{"title":"Platform","href":""}]},{"tab":"Pages","icon":"desktop","pages":[{"title":"Pages","href":"/pages/ask-ai"}]},{"tab":"Data","icon":"database","groups":[{"group":"Overview","pages":[{"title":"Database structure","href":"/data/schema-overview"},{"title":"How ingestion works","href":"/data/ingestion"}]},{"group":"File formats","pages":[{"title":"vehicle_configurations","href":"/data/files/vehicle-configurations"},{"title":"defects","href":"/data/files/defects"},{"title":"vehicle_readings","href":"/data/files/vehicle-readings"},{"title":"maintenance_records","href":"/data/files/maintenance-records"},{"title":"measurements","href":"/data/files/measurements"},{"title":"vehicle_out_of_service","href":"/data/files/vehicle-out-of-service"},{"title":"cleaning_records","href":"/data/files/cleaning-records"},{"title":"maintenance_plans","href":"/data/files/maintenance-plans"}]},{"group":"Tables","pages":[{"title":"Projects and Users tables","href":"/data/tables/projects-and-users"},{"title":"Assets tables","href":"/data/tables/assets"},{"title":"Service Book tables","description":"Mounting history, maintenance plans and tasks, performed work, out-of-service periods and cleaning.","href":"/data/tables/service-book"},{"title":"Defects tables","href":"/data/tables/defects"},{"title":"Warranty tables","description":"Claims, groups, their association handshake, the shared activity timeline, and dismissed recurrence pairs.","href":"/data/tables/warranty"},{"title":"High-Value Components tables","href":"/data/tables/high-value-components"},{"title":"Inspections tables","href":"/data/tables/inspections"},{"title":"Reporting tables","href":"/data/tables/reporting"},{"title":"Measurements tables","href":"/data/tables/measurements"},{"title":"Planner tables","href":"/data/tables/planner"}]}]}]},"title":"Defects tables - A7 manager","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}