Closing works like a dismount: re-send the same external_system_id with in_service_at
filled in and a newer last_updated. Do not send a separate row.
Re-sending a closed period with in_service_atempty and a newer last_updatedre-opens it, setting the return-to-service time back to nothing. Once a period is
closed, your exporter must keep carrying that value.
in_service_at must be strictly later than out_of_service_at — identical timestamps are
rejected, so a period that opened and closed at the same recorded instant needs its
timestamps separated before delivery.
The first row is a closed period, the second still open:
external_system_id,vehicle_number,out_of_service_at,in_service_at,reason,depot,notes,last_updatedOOS-001,X61001,2026-01-15T06:00:00Z,2026-01-18T14:00:00Z,PLANNED_MAINTENANCE,Raus,Scheduled A-service overhaul,2026-03-14T09:00:00ZOOS-002,X61001,2026-03-10T07:00:00Z,,UNPLANNED_REPAIR,Hässleholm,Brake system fault detected during operation,2026-03-14T09:00:00Z
Required fields, the enum and the ordering rule are reported together:
Row 3: missing or empty external_system_idRow 4: missing or empty vehicle_numberRow 5: missing or empty out_of_service_atRow 6: missing or empty reasonRow 8: invalid reason 'MAINTENANCE' (must be one of: PLANNED_MAINTENANCE, UNPLANNED_REPAIR, ACCIDENT, MODIFICATION, OTHER)Row 10: in_service_at must be after out_of_service_at
Vehicle resolution is checked afterwards, so these appear on a later attempt:
Row 12: vehicle_number 'X61099' not found in project
{"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/files/vehicle-out-of-service","slug":"/data/files/vehicle-out-of-service","pageMetadata":{"title":"vehicle_out_of_service","description":"Periods where a vehicle was unavailable.","href":"/data/files/vehicle-out-of-service"},"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: \"Periods where a vehicle was unavailable.\"\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`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Periods where a vehicle was unavailable. Delivered daily.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Update key:`}),` `,_jsx(_components.code,{children:`external_system_id`}),` — one identifier per period, reused to close it`]}),`\n`,_jsx(Heading,{level:`2`,id:`columns`,children:`Columns`}),`\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:`Required`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_system_id`})}),_jsx(_components.td,{children:`text(100)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`●`}),_jsx(_components.td,{children:`One identifier per period, reused to close it`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vehicle_number`})}),_jsx(_components.td,{children:`text(100)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`●`}),_jsx(_components.td,{children:`Must exist in project`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`out_of_service_at`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`},children:`●`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`in_service_at`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`},children:`○`}),_jsxs(_components.td,{children:[`Empty means still out of service. Must be `,_jsx(_components.strong,{children:`strictly after`}),` `,_jsx(_components.code,{children:`out_of_service_at`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.td,{children:`enum`}),_jsx(_components.td,{style:{textAlign:`center`},children:`●`}),_jsx(_components.td,{children:`See values below`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`depot`})}),_jsx(_components.td,{children:`text(100)`}),_jsx(_components.td,{style:{textAlign:`center`},children:`○`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`notes`})}),_jsx(_components.td,{children:`text`}),_jsx(_components.td,{style:{textAlign:`center`},children:`○`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`last_updated`})}),_jsx(_components.td,{children:`timestamptz`}),_jsx(_components.td,{style:{textAlign:`center`},children:`●`}),_jsx(_components.td,{children:`Staleness key`})]})]})]}),`\n`,_jsxs(Heading,{level:`3`,id:`reason-values`,children:[_jsx(_components.code,{children:`reason`}),` values`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PLANNED_MAINTENANCE`}),` · `,_jsx(_components.code,{children:`UNPLANNED_REPAIR`}),` · `,_jsx(_components.code,{children:`ACCIDENT`}),` · `,_jsx(_components.code,{children:`MODIFICATION`}),` · `,_jsx(_components.code,{children:`OTHER`})]}),`\n`,_jsx(Heading,{level:`2`,id:`closing-a-period`,children:`Closing a period`}),`\n`,_jsxs(_components.p,{children:[`Closing works like a dismount: re-send the same `,_jsx(_components.code,{children:`external_system_id`}),` with `,_jsx(_components.code,{children:`in_service_at`}),`\nfilled in and a newer `,_jsx(_components.code,{children:`last_updated`}),`. Do not send a separate row.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Re-sending a closed period with `,_jsx(_components.code,{children:`in_service_at`}),` `,_jsx(_components.strong,{children:`empty`}),` and a newer `,_jsx(_components.code,{children:`last_updated`}),`\n`,_jsx(_components.strong,{children:`re-opens it`}),`, setting the return-to-service time back to nothing. Once a period is\nclosed, your exporter must keep carrying that value.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`in_service_at`}),` must be strictly later than `,_jsx(_components.code,{children:`out_of_service_at`}),` — identical timestamps are\nrejected, so a period that opened and closed at the same recorded instant needs its\ntimestamps separated before delivery.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(_components.p,{children:`The first row is a closed period, the second still open:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`csv`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csv`,children:_jsxs(_components.code,{language:`csv`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`external_system_id,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`vehicle_number,`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`out_of_service_at,`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`in_service_at,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`reason,`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`depot,`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`notes,`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`last_updated`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OOS-001,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`X61001,`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`2026-01-15T06:00:00Z,`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`2026-01-18T14:00:00Z,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`PLANNED_MAINTENANCE,`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`Raus,`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`Scheduled A-service overhaul,`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`2026-03-14T09:00:00Z`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OOS-002,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`X61001,`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`2026-03-10T07:00:00Z,`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`UNPLANNED_REPAIR,`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`Hässleholm,`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`Brake system fault detected during operation,`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`2026-03-14T09:00:00Z`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`why-a-file-gets-rejected`,children:`Why a file gets rejected`}),`\n`,_jsx(_components.p,{children:`Required fields, the enum and the ordering rule are reported together:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Row 3: missing or empty external_system_id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Row 4: missing or empty vehicle_number`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Row 5: missing or empty out_of_service_at`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Row 6: missing or empty reason`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Row 8: invalid reason 'MAINTENANCE' (must be one of: PLANNED_MAINTENANCE, UNPLANNED_REPAIR, ACCIDENT, MODIFICATION, OTHER)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Row 10: in_service_at must be after out_of_service_at`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Vehicle resolution is checked afterwards, so these appear on a later attempt:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Row 12: vehicle_number 'X61099' not found in project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}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":"vehicle_out_of_service","description":"Periods where a vehicle was unavailable.","href":"/data/files/vehicle-out-of-service"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Columns","slug":"columns","depth":2,"children":[{"title":"reason values","slug":"reason-values","depth":3,"children":[]}]},{"title":"Closing a period","slug":"closing-a-period","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Why a file gets rejected","slug":"why-a-file-gets-rejected","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"a7tech","siteName":"A7 manager","title":"vehicle_out_of_service - A7 manager","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-09T07:52:44.905Z","originalFileLocation":"data/files/vehicle-out-of-service.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=\"Periods where a vehicle was unavailable.\">\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=\"vehicle_out_of_service - A7 manager\">\u003cmeta data-mint-head property=\"og:description\" content=\"Periods where a vehicle was unavailable.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"A7 manager\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.a7manager.se/data/files/vehicle-out-of-service\">\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=File+formats\u0026amp;title=vehicle_out_of_service\u0026amp;description=Periods+where+a+vehicle+was+unavailable.\u0026amp;theme=a9098c755b87d1ea4134c8a5\u0026amp;signature=e0cc4f96abe0c223be47bd897dd2c2065a51520e01f6a6de73824fba5c593e1e\">\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=\"vehicle_out_of_service - A7 manager\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Periods where a vehicle was unavailable.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://a7tech.mintlify.app/_mintlify/api/og/v2?division=File+formats\u0026amp;title=vehicle_out_of_service\u0026amp;description=Periods+where+a+vehicle+was+unavailable.\u0026amp;theme=a9098c755b87d1ea4134c8a5\u0026amp;signature=e0cc4f96abe0c223be47bd897dd2c2065a51520e01f6a6de73824fba5c593e1e\">\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/files/vehicle-out-of-service\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/data/files/vehicle-out-of-service.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/files/vehicle-out-of-service#webpage\",\"url\":\"https://docs.a7manager.se/data/files/vehicle-out-of-service\",\"name\":\"vehicle_out_of_service\",\"description\":\"Periods where a vehicle was unavailable.\",\"dateModified\":\"2026-08-09T07:52:44.905Z\",\"isPartOf\":{\"@id\":\"https://docs.a7manager.se#website\"},\"breadcrumb\":{\"@id\":\"https://docs.a7manager.se/data/files/vehicle-out-of-service#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.a7manager.se/data/files/vehicle-out-of-service#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"File formats\",\"item\":\"https://docs.a7manager.se/data/files/vehicle-configurations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"vehicle_out_of_service\",\"item\":\"https://docs.a7manager.se/data/files/vehicle-out-of-service\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.a7manager.se/data/files/vehicle-out-of-service#article\",\"headline\":\"vehicle_out_of_service\",\"name\":\"vehicle_out_of_service\",\"description\":\"Periods where a vehicle was unavailable.\",\"url\":\"https://docs.a7manager.se/data/files/vehicle-out-of-service\",\"mainEntityOfPage\":{\"@id\":\"https://docs.a7manager.se/data/files/vehicle-out-of-service#webpage\"},\"dateModified\":\"2026-08-09T07:52:44.905Z\",\"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","description":"Condition measurements. The most strictly validated file.","href":"/data/files/measurements"},{"title":"vehicle_out_of_service","href":"/data/files/vehicle-out-of-service"},{"title":"cleaning_records","description":"Cleaning and toilet emptying events.","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","href":"/data/tables/service-book"},{"title":"Defects tables","href":"/data/tables/defects"},{"title":"Warranty tables","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":"vehicle_out_of_service - A7 manager","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}