When options.explanation.enabled is set to true, this field will contain the alternatives for the solution.The key is the job name and the value is the list of assignments. Each assignment contains the resource, the date, and the score. In this way, you can check the impact of the alternative on the score.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Solvice Docs","description":"Solvice API documentation for cloud-native optimization solvers. Build powerful route optimization, workforce scheduling, and resource allocation solutions with our VRP, shift planning, and clustering APIs.","colors":{"primary":"#0f62fe","light":"#0f62fe","dark":"#0f62fe"},"logo":{"light":"https://mintcdn.com/solvice-68592f22/1KJ_2AIotizI1Bng/logo/light.svg?fit=max\u0026auto=format\u0026n=1KJ_2AIotizI1Bng\u0026q=85\u0026s=e93560fee320491613107060a1afc094","dark":"https://mintcdn.com/solvice-68592f22/1KJ_2AIotizI1Bng/logo/dark.svg?fit=max\u0026auto=format\u0026n=1KJ_2AIotizI1Bng\u0026q=85\u0026s=1baeb15bf7826f571444a1d6a36fb31a"},"favicon":"https://mintcdn.com/solvice-68592f22/noMIHjSWP2Tg_tTz/favicon.png?fit=max\u0026auto=format\u0026n=noMIHjSWP2Tg_tTz\u0026q=85\u0026s=beff99df9d507e0794596b5437be687f","api":{"mdx":{"auth":{"method":"key","name":"Authorization"}}},"navbar":{"links":[{"href":"mailto:support@solvice.io","label":"Support"},{"href":"https://www.solvice.io","label":"Solvice website"}],"primary":{"type":"button","label":"Dashboard","href":"https://platform.solvice.io"}},"footer":{"socials":{"website":"https://www.solvice.io","x":"https://x.com/solvice_io","github":"https://github.com/solvice","linkedin":"https://linkedin.com/company/solvice"}},"seo":{"metatags":{"og:image":"link to your default meta tag image","charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","description":"Solvice API documentation for cloud-native optimization solvers. Build powerful route optimization, workforce scheduling, and resource allocation solutions with our VRP, shift planning, and clustering APIs.","keywords":"Route Optimization, Route API, Optimization API, Workforce Scheduling, Solvice","author":"Christophe Van Huele","robots":"index, follow","googlebot":"index, follow","google":"notranslate","google-site-verification":"verification_token"},"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-2L8R78J6J9"}},"banner":{"content":"Solvice VRP API v3 is in beta. General availability (GA) is planned for January 2027.","dismissible":false},"contextual":{"options":["claude","copy"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://platform.solvice.io"},{"anchor":"Website","icon":"planet-ringed","href":"https://www.solvice.io"},{"anchor":"Blog","icon":"newspaper","href":"https://www.solvice.io/blog/news"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"solvice-68592f22","hasAudioNarration":false,"actualSubdomain":"solvice-68592f22","customDomains":["docs.solvice.io"],"gitSource":{"type":"gitlab","owner":"solvice","repo":"solver2","projectId":44919668,"deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeae726b6209aca2c9cc036","collectionId":"be40f82a-d354-4982-b2e9-1902ea989ac3","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeae726b6209aca2c9cc036"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"REMOVE_BRANDING":{"status":"DISABLED"}},"buildId":"6aeae726b6209aca2c9cc036","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Guides","count":85},{"language":"default","tag":"VRP API","count":53},{"language":"default","tag":"Features","count":36},{"language":"default","tag":"Routing API","count":28},{"language":"default","tag":"API Reference","count":26},{"language":"default","tag":"Fill API","count":20},{"language":"default","tag":"Platform","count":10},{"language":"default","tag":"Examples","count":9},{"language":"default","tag":"Concepts","count":9},{"language":"default","tag":"Info","count":6}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@solvice.io","showHelpButton":true}},"basePath":"","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"workos-sso-scim","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},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/vrp/explanation","slug":"/api-reference/vrp/explanation","pageMetadata":{"title":"Explanation","openapi":"vrp GET /v2/vrp/jobs/{id}/explanation","description":"Contains the explanation, once solved.","href":"/api-reference/vrp/explanation"},"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: \"Contains the explanation, once solved.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Explanation","openapi":"vrp GET /v2/vrp/jobs/{id}/explanation","description":"Contains the explanation, once solved.","href":"/api-reference/vrp/explanation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Explanation","description":"Contains the explanation, once solved.","operationId":"getVRPExplanation","tags":["Info"],"parameters":["81b99447-83cf-4bcf-9f15-3a2d012a5b1f"],"responses":{"200":"9f74b25b-2faa-47ed-8f7c-d19739b08a61","400":"657012d9-60cf-47e6-afcc-a00ad11b9af7","427":"b41d7f56-9502-48cc-a15a-6e8d2fed329d","500":"d81083af-d39a-4851-879c-4c058e4b1fdb"},"method":"get","type":"path","servers":["bbc6f479-d5e0-468e-a0ab-3ea24b8d3fa7"],"security":["81236472-b46b-4441-82ee-f3c08d3b6e92"],"path":"/v2/vrp/jobs/{id}/explanation","baseUrlOptions":["https://api.solvice.io"],"title":"Explanation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"81b99447-83cf-4bcf-9f15-3a2d012a5b1f":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"9f74b25b-2faa-47ed-8f7c-d19739b08a61":{"description":"Status","content":{"application/json":{"schema":{"type":"object","required":["score"],"examples":[{"score":{"hardScore":-2000,"mediumScore":0,"softScore":-15000,"feasible":false},"conflicts":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"},{"constraint":"TAG_HARD","score":"-1000","job":"Job-2","resource":"vehicle-1","tag":"electrical"}],"unresolved":[{"constraint":"TRAVEL_TIME","score":"-15000"}],"alternatives":{"Job-1":[{"job":"Job-1","resource":"vehicle-2","suggestedArrival":"2023-01-13T09:30:00Z","latestArrival":"2023-01-13T10:00:00Z","executedAfter":"Job-0","score":{"hardScore":0,"mediumScore":0,"softScore":-1500,"feasible":true}}]}}],"description":"Explains the conflicts of a certain routing solution and the unresolved constraints.","properties":{"score":{"type":"object","description":"Score of the solution.","properties":{"hardScore":{"oneOf":[{"type":"integer","format":"int64","description":"The score of the constraints that are hard. This should be 0 in order to be feasible.","uniqueKey":"score.hardScore.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The score of the constraints that are hard. This should be 0 in order to be feasible.","uniqueKey":"score.hardScore.oneOf.1","typeLabel":"null"}],"uniqueKey":"score.hardScore","typeLabel":"integer\u003cint64> | null"},"mediumScore":{"oneOf":[{"type":"integer","format":"int64","description":"The score of the constraints that are medium.","uniqueKey":"score.mediumScore.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The score of the constraints that are medium.","uniqueKey":"score.mediumScore.oneOf.1","typeLabel":"null"}],"uniqueKey":"score.mediumScore","typeLabel":"integer\u003cint64> | null"},"softScore":{"oneOf":[{"type":"integer","format":"int64","description":"The score of the constraints that are soft.","uniqueKey":"score.softScore.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"The score of the constraints that are soft.","uniqueKey":"score.softScore.oneOf.1","typeLabel":"null"}],"uniqueKey":"score.softScore","typeLabel":"integer\u003cint64> | null"},"feasible":{"oneOf":[{"type":"boolean","uniqueKey":"score.feasible.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"score.feasible.oneOf.1","typeLabel":"null"}],"uniqueKey":"score.feasible","typeLabel":"boolean | null"}},"isRequired":true,"uniqueKey":"score","typeLabel":"object"},"conflicts":{"oneOf":[{"type":"array","required":["constraint","score"],"examples":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"}],"items":{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"}],"description":"Conflicts in the solution","properties":{"constraint":{"type":"string","description":"Constraint type.","isRequired":true,"uniqueKey":"conflicts.oneOf.0.items.[INDEX].constraint","typeLabel":"string"},"score":{"type":"string","description":"Score impact of this conflict.","isRequired":true,"uniqueKey":"conflicts.oneOf.0.items.[INDEX].score","typeLabel":"string"},"job":{"oneOf":[{"type":"string","description":"Job id.","uniqueKey":"conflicts.oneOf.0.items.[INDEX].job.oneOf.0","typeLabel":"string"},{"type":"null","description":"Job id.","uniqueKey":"conflicts.oneOf.0.items.[INDEX].job.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.0.items.[INDEX].job","typeLabel":"string | null"},"resource":{"oneOf":[{"type":"string","description":"Resource id.","uniqueKey":"conflicts.oneOf.0.items.[INDEX].resource.oneOf.0","typeLabel":"string"},{"type":"null","description":"Resource id.","uniqueKey":"conflicts.oneOf.0.items.[INDEX].resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.0.items.[INDEX].resource","typeLabel":"string | null"},"tag":{"oneOf":[{"type":"string","description":"Tag id.","uniqueKey":"conflicts.oneOf.0.items.[INDEX].tag.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tag id.","uniqueKey":"conflicts.oneOf.0.items.[INDEX].tag.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.0.items.[INDEX].tag","typeLabel":"string | null"},"relation":{"oneOf":[{"type":"string","uniqueKey":"conflicts.oneOf.0.items.[INDEX].relation.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conflicts.oneOf.0.items.[INDEX].relation.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.0.items.[INDEX].relation","typeLabel":"string | null"}},"uniqueKey":"conflicts.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Conflicts in the solution","properties":{"constraint":{"type":"string","description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."},"job":{"oneOf":[{"type":"string","description":"Job id."},{"type":"null","description":"Job id."}]},"resource":{"oneOf":[{"type":"string","description":"Resource id."},{"type":"null","description":"Resource id."}]},"tag":{"oneOf":[{"type":"string","description":"Tag id."},{"type":"null","description":"Tag id."}]},"relation":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"conflicts.oneOf.0","typeLabel":"object[]"},{"type":"null","required":["constraint","score"],"examples":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"}],"items":{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"}],"description":"Conflicts in the solution","properties":{"constraint":{"type":"string","description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."},"job":{"oneOf":[{"type":"string","description":"Job id."},{"type":"null","description":"Job id."}]},"resource":{"oneOf":[{"type":"string","description":"Resource id."},{"type":"null","description":"Resource id."}]},"tag":{"oneOf":[{"type":"string","description":"Tag id."},{"type":"null","description":"Tag id."}]},"relation":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"description":"Conflicts in the solution","properties":{"constraint":{"type":"string","description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."},"job":{"oneOf":[{"type":"string","description":"Job id."},{"type":"null","description":"Job id."}]},"resource":{"oneOf":[{"type":"string","description":"Resource id."},{"type":"null","description":"Resource id."}]},"tag":{"oneOf":[{"type":"string","description":"Tag id."},{"type":"null","description":"Tag id."}]},"relation":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"conflicts.oneOf.1","typeLabel":"null"},{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"}],"items":{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"}],"description":"Conflicts in the solution","properties":{"constraint":{"type":"string","description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."},"job":{"oneOf":[{"type":"string","description":"Job id."},{"type":"null","description":"Job id."}]},"resource":{"oneOf":[{"type":"string","description":"Resource id."},{"type":"null","description":"Resource id."}]},"tag":{"oneOf":[{"type":"string","description":"Tag id."},{"type":"null","description":"Tag id."}]},"relation":{"oneOf":[{"type":"string"},{"type":"null"}]}}},"description":"Conflicts in the solution","properties":{"constraint":{"type":"string","description":"Constraint type.","isRequired":true,"uniqueKey":"conflicts.oneOf.2.constraint","typeLabel":"string"},"score":{"type":"string","description":"Score impact of this conflict.","isRequired":true,"uniqueKey":"conflicts.oneOf.2.score","typeLabel":"string"},"job":{"oneOf":[{"type":"string","description":"Job id.","uniqueKey":"conflicts.oneOf.2.job.oneOf.0","typeLabel":"string"},{"type":"null","description":"Job id.","uniqueKey":"conflicts.oneOf.2.job.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.2.job","typeLabel":"string | null"},"resource":{"oneOf":[{"type":"string","description":"Resource id.","uniqueKey":"conflicts.oneOf.2.resource.oneOf.0","typeLabel":"string"},{"type":"null","description":"Resource id.","uniqueKey":"conflicts.oneOf.2.resource.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.2.resource","typeLabel":"string | null"},"tag":{"oneOf":[{"type":"string","description":"Tag id.","uniqueKey":"conflicts.oneOf.2.tag.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tag id.","uniqueKey":"conflicts.oneOf.2.tag.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.2.tag","typeLabel":"string | null"},"relation":{"oneOf":[{"type":"string","uniqueKey":"conflicts.oneOf.2.relation.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conflicts.oneOf.2.relation.oneOf.1","typeLabel":"null"}],"uniqueKey":"conflicts.oneOf.2.relation","typeLabel":"string | null"}},"uniqueKey":"conflicts.oneOf.2","typeLabel":"object"}],"uniqueKey":"conflicts","typeLabel":"object[] | null | object"},"unresolved":{"oneOf":[{"type":"array","required":["constraint","score"],"examples":[{"constraint":"TRAVEL_TIME","score":"-1500"}],"items":{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TRAVEL_TIME","score":"-1500"}],"description":"Unresolved constraints in the solution","properties":{"constraint":{"type":"string","enum":["TRIP_CAPACITY","RESOURCE_CAPACITY","RESOURCE_CAPACITY2","TRAVEL_TIME","TYPE_REQUIREMENT","TAG_SOFT","TAG_HARD","TYPE_REQUIREMENT_SOFT","END_LOCATION_TRAVEL_TIME","TIME_WINDOW_CONFLICT","SHIFT_END_CONFLICT","OVERTIME_END_CONFLICT","RESOURCE_USAGE","URGENCY","PREFERRED_RESOURCE_CONFLICT","ALLOWED_RESOURCES","DISALLOWED_RESOURCES","REGION_TIME","FAIR_WORK","UNSERVED_JOBS","RESOURCE_ACTIVATION","OPEN_DAYS","JOB_PRECEDENCE","JOB_DAY_INDEX","DATE_TIME_WINDOW_CONFLICT","DATE_TIME_WINDOW_CONFLICT_SOFT","LINKED_JOB_CONFLICT","PLANNED_RESOURCE","PLANNED_ARRIVAL","PLANNED_DATE","WORKING_TIME","HARD_JOBS","MAX_DRIVE_TIME","MAX_DRIVE_DISTANCE","MAX_DRIVE_TIME_JOB","FAIR_TOTAL_WORK","RESOURCE_PERIOD_MAX_SERVICE_TIME","RESOURCE_PERIOD_MAX_DRIVE_TIME","RESOURCE_PERIOD_MAX_WORK_TIME","RESOURCE_PERIOD_MIN_SERVICE_TIME","RESOURCE_PERIOD_MIN_DRIVE_TIME","RESOURCE_PERIOD_MIN_WORK_TIME","MINIMISE_TRIP_USAGE","DELIVERY_NOT_ON_SAME_VEHICLE","DELIVERY_BEFORE_PICKUP","SAME_TRIP","SEQUENCE","SAME_TIME","NEIGHBOR","DIRECT_SEQUENCE","SAME_RESOURCE","SAME_DAY","WAIT_TIME","DRIVE_TIME","HOURLY_COST","RANKING_SOFT","FAIR_COMPLEXITY_PER_TRIP","FAIR_COMPLEXITY_PER_RESOURCE","RESOURCE_PERIOD_MIN_COMPLEXITY","RESOURCE_PERIOD_MAX_COMPLEXITY","RESOURCE_COMPATIBILITY","LOAD_COMPATIBILITY","JOBTYPE_VIOLATION","GROUP_SEQUENCE","JOB_PROXIMITY","DEPOT_COST","DEPOT_CAPACITY","DEPOT_TIME_WINDOW","END_DEPOT"],"examples":["TRAVEL_TIME"],"description":"Constraint type.","isRequired":true,"uniqueKey":"unresolved.oneOf.0.items.[INDEX].constraint","typeLabel":"enum\u003cstring>"},"score":{"type":"string","description":"Score impact of this conflict.","isRequired":true,"uniqueKey":"unresolved.oneOf.0.items.[INDEX].score","typeLabel":"string"}},"uniqueKey":"unresolved.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Unresolved constraints in the solution","properties":{"constraint":{"type":"string","enum":["TRIP_CAPACITY","RESOURCE_CAPACITY","RESOURCE_CAPACITY2","TRAVEL_TIME","TYPE_REQUIREMENT","TAG_SOFT","TAG_HARD","TYPE_REQUIREMENT_SOFT","END_LOCATION_TRAVEL_TIME","TIME_WINDOW_CONFLICT","SHIFT_END_CONFLICT","OVERTIME_END_CONFLICT","RESOURCE_USAGE","URGENCY","PREFERRED_RESOURCE_CONFLICT","ALLOWED_RESOURCES","DISALLOWED_RESOURCES","REGION_TIME","FAIR_WORK","UNSERVED_JOBS","RESOURCE_ACTIVATION","OPEN_DAYS","JOB_PRECEDENCE","JOB_DAY_INDEX","DATE_TIME_WINDOW_CONFLICT","DATE_TIME_WINDOW_CONFLICT_SOFT","LINKED_JOB_CONFLICT","PLANNED_RESOURCE","PLANNED_ARRIVAL","PLANNED_DATE","WORKING_TIME","HARD_JOBS","MAX_DRIVE_TIME","MAX_DRIVE_DISTANCE","MAX_DRIVE_TIME_JOB","FAIR_TOTAL_WORK","RESOURCE_PERIOD_MAX_SERVICE_TIME","RESOURCE_PERIOD_MAX_DRIVE_TIME","RESOURCE_PERIOD_MAX_WORK_TIME","RESOURCE_PERIOD_MIN_SERVICE_TIME","RESOURCE_PERIOD_MIN_DRIVE_TIME","RESOURCE_PERIOD_MIN_WORK_TIME","MINIMISE_TRIP_USAGE","DELIVERY_NOT_ON_SAME_VEHICLE","DELIVERY_BEFORE_PICKUP","SAME_TRIP","SEQUENCE","SAME_TIME","NEIGHBOR","DIRECT_SEQUENCE","SAME_RESOURCE","SAME_DAY","WAIT_TIME","DRIVE_TIME","HOURLY_COST","RANKING_SOFT","FAIR_COMPLEXITY_PER_TRIP","FAIR_COMPLEXITY_PER_RESOURCE","RESOURCE_PERIOD_MIN_COMPLEXITY","RESOURCE_PERIOD_MAX_COMPLEXITY","RESOURCE_COMPATIBILITY","LOAD_COMPATIBILITY","JOBTYPE_VIOLATION","GROUP_SEQUENCE","JOB_PROXIMITY","DEPOT_COST","DEPOT_CAPACITY","DEPOT_TIME_WINDOW","END_DEPOT"],"examples":["TRAVEL_TIME"],"description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."}},"uniqueKey":"unresolved.oneOf.0","typeLabel":"object[]"},{"type":"null","required":["constraint","score"],"examples":[{"constraint":"TRAVEL_TIME","score":"-1500"}],"items":{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TRAVEL_TIME","score":"-1500"}],"description":"Unresolved constraints in the solution","properties":{"constraint":{"type":"string","enum":["TRIP_CAPACITY","RESOURCE_CAPACITY","RESOURCE_CAPACITY2","TRAVEL_TIME","TYPE_REQUIREMENT","TAG_SOFT","TAG_HARD","TYPE_REQUIREMENT_SOFT","END_LOCATION_TRAVEL_TIME","TIME_WINDOW_CONFLICT","SHIFT_END_CONFLICT","OVERTIME_END_CONFLICT","RESOURCE_USAGE","URGENCY","PREFERRED_RESOURCE_CONFLICT","ALLOWED_RESOURCES","DISALLOWED_RESOURCES","REGION_TIME","FAIR_WORK","UNSERVED_JOBS","RESOURCE_ACTIVATION","OPEN_DAYS","JOB_PRECEDENCE","JOB_DAY_INDEX","DATE_TIME_WINDOW_CONFLICT","DATE_TIME_WINDOW_CONFLICT_SOFT","LINKED_JOB_CONFLICT","PLANNED_RESOURCE","PLANNED_ARRIVAL","PLANNED_DATE","WORKING_TIME","HARD_JOBS","MAX_DRIVE_TIME","MAX_DRIVE_DISTANCE","MAX_DRIVE_TIME_JOB","FAIR_TOTAL_WORK","RESOURCE_PERIOD_MAX_SERVICE_TIME","RESOURCE_PERIOD_MAX_DRIVE_TIME","RESOURCE_PERIOD_MAX_WORK_TIME","RESOURCE_PERIOD_MIN_SERVICE_TIME","RESOURCE_PERIOD_MIN_DRIVE_TIME","RESOURCE_PERIOD_MIN_WORK_TIME","MINIMISE_TRIP_USAGE","DELIVERY_NOT_ON_SAME_VEHICLE","DELIVERY_BEFORE_PICKUP","SAME_TRIP","SEQUENCE","SAME_TIME","NEIGHBOR","DIRECT_SEQUENCE","SAME_RESOURCE","SAME_DAY","WAIT_TIME","DRIVE_TIME","HOURLY_COST","RANKING_SOFT","FAIR_COMPLEXITY_PER_TRIP","FAIR_COMPLEXITY_PER_RESOURCE","RESOURCE_PERIOD_MIN_COMPLEXITY","RESOURCE_PERIOD_MAX_COMPLEXITY","RESOURCE_COMPATIBILITY","LOAD_COMPATIBILITY","JOBTYPE_VIOLATION","GROUP_SEQUENCE","JOB_PROXIMITY","DEPOT_COST","DEPOT_CAPACITY","DEPOT_TIME_WINDOW","END_DEPOT"],"examples":["TRAVEL_TIME"],"description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."}}},"description":"Unresolved constraints in the solution","properties":{"constraint":{"type":"string","enum":["TRIP_CAPACITY","RESOURCE_CAPACITY","RESOURCE_CAPACITY2","TRAVEL_TIME","TYPE_REQUIREMENT","TAG_SOFT","TAG_HARD","TYPE_REQUIREMENT_SOFT","END_LOCATION_TRAVEL_TIME","TIME_WINDOW_CONFLICT","SHIFT_END_CONFLICT","OVERTIME_END_CONFLICT","RESOURCE_USAGE","URGENCY","PREFERRED_RESOURCE_CONFLICT","ALLOWED_RESOURCES","DISALLOWED_RESOURCES","REGION_TIME","FAIR_WORK","UNSERVED_JOBS","RESOURCE_ACTIVATION","OPEN_DAYS","JOB_PRECEDENCE","JOB_DAY_INDEX","DATE_TIME_WINDOW_CONFLICT","DATE_TIME_WINDOW_CONFLICT_SOFT","LINKED_JOB_CONFLICT","PLANNED_RESOURCE","PLANNED_ARRIVAL","PLANNED_DATE","WORKING_TIME","HARD_JOBS","MAX_DRIVE_TIME","MAX_DRIVE_DISTANCE","MAX_DRIVE_TIME_JOB","FAIR_TOTAL_WORK","RESOURCE_PERIOD_MAX_SERVICE_TIME","RESOURCE_PERIOD_MAX_DRIVE_TIME","RESOURCE_PERIOD_MAX_WORK_TIME","RESOURCE_PERIOD_MIN_SERVICE_TIME","RESOURCE_PERIOD_MIN_DRIVE_TIME","RESOURCE_PERIOD_MIN_WORK_TIME","MINIMISE_TRIP_USAGE","DELIVERY_NOT_ON_SAME_VEHICLE","DELIVERY_BEFORE_PICKUP","SAME_TRIP","SEQUENCE","SAME_TIME","NEIGHBOR","DIRECT_SEQUENCE","SAME_RESOURCE","SAME_DAY","WAIT_TIME","DRIVE_TIME","HOURLY_COST","RANKING_SOFT","FAIR_COMPLEXITY_PER_TRIP","FAIR_COMPLEXITY_PER_RESOURCE","RESOURCE_PERIOD_MIN_COMPLEXITY","RESOURCE_PERIOD_MAX_COMPLEXITY","RESOURCE_COMPATIBILITY","LOAD_COMPATIBILITY","JOBTYPE_VIOLATION","GROUP_SEQUENCE","JOB_PROXIMITY","DEPOT_COST","DEPOT_CAPACITY","DEPOT_TIME_WINDOW","END_DEPOT"],"examples":["TRAVEL_TIME"],"description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."}},"uniqueKey":"unresolved.oneOf.1","typeLabel":"null"},{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TRAVEL_TIME","score":"-1500"}],"items":{"type":"object","required":["constraint","score"],"examples":[{"constraint":"TRAVEL_TIME","score":"-1500"}],"description":"Unresolved constraints in the solution","properties":{"constraint":{"type":"string","enum":["TRIP_CAPACITY","RESOURCE_CAPACITY","RESOURCE_CAPACITY2","TRAVEL_TIME","TYPE_REQUIREMENT","TAG_SOFT","TAG_HARD","TYPE_REQUIREMENT_SOFT","END_LOCATION_TRAVEL_TIME","TIME_WINDOW_CONFLICT","SHIFT_END_CONFLICT","OVERTIME_END_CONFLICT","RESOURCE_USAGE","URGENCY","PREFERRED_RESOURCE_CONFLICT","ALLOWED_RESOURCES","DISALLOWED_RESOURCES","REGION_TIME","FAIR_WORK","UNSERVED_JOBS","RESOURCE_ACTIVATION","OPEN_DAYS","JOB_PRECEDENCE","JOB_DAY_INDEX","DATE_TIME_WINDOW_CONFLICT","DATE_TIME_WINDOW_CONFLICT_SOFT","LINKED_JOB_CONFLICT","PLANNED_RESOURCE","PLANNED_ARRIVAL","PLANNED_DATE","WORKING_TIME","HARD_JOBS","MAX_DRIVE_TIME","MAX_DRIVE_DISTANCE","MAX_DRIVE_TIME_JOB","FAIR_TOTAL_WORK","RESOURCE_PERIOD_MAX_SERVICE_TIME","RESOURCE_PERIOD_MAX_DRIVE_TIME","RESOURCE_PERIOD_MAX_WORK_TIME","RESOURCE_PERIOD_MIN_SERVICE_TIME","RESOURCE_PERIOD_MIN_DRIVE_TIME","RESOURCE_PERIOD_MIN_WORK_TIME","MINIMISE_TRIP_USAGE","DELIVERY_NOT_ON_SAME_VEHICLE","DELIVERY_BEFORE_PICKUP","SAME_TRIP","SEQUENCE","SAME_TIME","NEIGHBOR","DIRECT_SEQUENCE","SAME_RESOURCE","SAME_DAY","WAIT_TIME","DRIVE_TIME","HOURLY_COST","RANKING_SOFT","FAIR_COMPLEXITY_PER_TRIP","FAIR_COMPLEXITY_PER_RESOURCE","RESOURCE_PERIOD_MIN_COMPLEXITY","RESOURCE_PERIOD_MAX_COMPLEXITY","RESOURCE_COMPATIBILITY","LOAD_COMPATIBILITY","JOBTYPE_VIOLATION","GROUP_SEQUENCE","JOB_PROXIMITY","DEPOT_COST","DEPOT_CAPACITY","DEPOT_TIME_WINDOW","END_DEPOT"],"examples":["TRAVEL_TIME"],"description":"Constraint type."},"score":{"type":"string","description":"Score impact of this conflict."}}},"description":"Unresolved constraints in the solution","properties":{"constraint":{"type":"string","enum":["TRIP_CAPACITY","RESOURCE_CAPACITY","RESOURCE_CAPACITY2","TRAVEL_TIME","TYPE_REQUIREMENT","TAG_SOFT","TAG_HARD","TYPE_REQUIREMENT_SOFT","END_LOCATION_TRAVEL_TIME","TIME_WINDOW_CONFLICT","SHIFT_END_CONFLICT","OVERTIME_END_CONFLICT","RESOURCE_USAGE","URGENCY","PREFERRED_RESOURCE_CONFLICT","ALLOWED_RESOURCES","DISALLOWED_RESOURCES","REGION_TIME","FAIR_WORK","UNSERVED_JOBS","RESOURCE_ACTIVATION","OPEN_DAYS","JOB_PRECEDENCE","JOB_DAY_INDEX","DATE_TIME_WINDOW_CONFLICT","DATE_TIME_WINDOW_CONFLICT_SOFT","LINKED_JOB_CONFLICT","PLANNED_RESOURCE","PLANNED_ARRIVAL","PLANNED_DATE","WORKING_TIME","HARD_JOBS","MAX_DRIVE_TIME","MAX_DRIVE_DISTANCE","MAX_DRIVE_TIME_JOB","FAIR_TOTAL_WORK","RESOURCE_PERIOD_MAX_SERVICE_TIME","RESOURCE_PERIOD_MAX_DRIVE_TIME","RESOURCE_PERIOD_MAX_WORK_TIME","RESOURCE_PERIOD_MIN_SERVICE_TIME","RESOURCE_PERIOD_MIN_DRIVE_TIME","RESOURCE_PERIOD_MIN_WORK_TIME","MINIMISE_TRIP_USAGE","DELIVERY_NOT_ON_SAME_VEHICLE","DELIVERY_BEFORE_PICKUP","SAME_TRIP","SEQUENCE","SAME_TIME","NEIGHBOR","DIRECT_SEQUENCE","SAME_RESOURCE","SAME_DAY","WAIT_TIME","DRIVE_TIME","HOURLY_COST","RANKING_SOFT","FAIR_COMPLEXITY_PER_TRIP","FAIR_COMPLEXITY_PER_RESOURCE","RESOURCE_PERIOD_MIN_COMPLEXITY","RESOURCE_PERIOD_MAX_COMPLEXITY","RESOURCE_COMPATIBILITY","LOAD_COMPATIBILITY","JOBTYPE_VIOLATION","GROUP_SEQUENCE","JOB_PROXIMITY","DEPOT_COST","DEPOT_CAPACITY","DEPOT_TIME_WINDOW","END_DEPOT"],"examples":["TRAVEL_TIME"],"description":"Constraint type.","isRequired":true,"uniqueKey":"unresolved.oneOf.2.constraint","typeLabel":"enum\u003cstring>"},"score":{"type":"string","description":"Score impact of this conflict.","isRequired":true,"uniqueKey":"unresolved.oneOf.2.score","typeLabel":"string"}},"uniqueKey":"unresolved.oneOf.2","typeLabel":"object"}],"uniqueKey":"unresolved","typeLabel":"object[] | null | object"},"alternatives":{"oneOf":[{"type":"object","examples":[{"Job-1":[{"job":"Job-1","resource":"vehicle-2","suggestedArrival":"2023-01-13T09:30:00Z","latestArrival":"2023-01-13T10:00:00Z","executedAfter":"Job-0","score":{"hardScore":0,"mediumScore":0,"softScore":-1500,"feasible":true}}]}],"additionalProperties":{"type":"object","uniqueKey":"alternatives.oneOf.0.additionalProperties","typeLabel":"object"},"description":"When `options.explanation.enabled` is set to `true`, this field will contain the alternatives for the solution.The key is the job name and the value is the list of assignments. Each assignment contains the resource, the date, and the score. In this way, you can check the impact of the alternative on the score.","uniqueKey":"alternatives.oneOf.0","typeLabel":"object"},{"type":"null","examples":[{"Job-1":[{"job":"Job-1","resource":"vehicle-2","suggestedArrival":"2023-01-13T09:30:00Z","latestArrival":"2023-01-13T10:00:00Z","executedAfter":"Job-0","score":{"hardScore":0,"mediumScore":0,"softScore":-1500,"feasible":true}}]}],"additionalProperties":{"type":"object","uniqueKey":"alternatives.oneOf.1.additionalProperties","typeLabel":"object"},"description":"When `options.explanation.enabled` is set to `true`, this field will contain the alternatives for the solution.The key is the job name and the value is the list of assignments. Each assignment contains the resource, the date, and the score. In this way, you can check the impact of the alternative on the score.","uniqueKey":"alternatives.oneOf.1","typeLabel":"null"}],"uniqueKey":"alternatives","typeLabel":"object | null"},"truncation":{"oneOf":[{"type":"object","description":"Only present when alternative generation was cut short by one of the `options.explanation` limits. When absent, the alternatives map is exhaustive.","required":["reason","message","analysedJobs","totalJobs"],"example":{"reason":"TIME_LIMIT_EXCEEDED","message":"Explanation stopped after 30000 ms. Analysed 412 of 8186 jobs.","analysedJobs":412,"totalJobs":8186,"cappedJobs":0,"limitMillis":30000},"properties":{"reason":{"type":"string","description":"Which limit was hit.","enum":["TIME_LIMIT_EXCEEDED","JOB_LIMIT_EXCEEDED","ALTERNATIVES_CAPPED"],"isRequired":true,"uniqueKey":"truncation.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human readable summary of what was skipped.","isRequired":true,"uniqueKey":"truncation.oneOf.0.message","typeLabel":"string"},"analysedJobs":{"type":"integer","description":"Number of jobs that were examined. A job with no viable insertion position is counted here but produces no entry in `alternatives`.","format":"int32","isRequired":true,"uniqueKey":"truncation.oneOf.0.analysedJobs","typeLabel":"integer\u003cint32>"},"totalJobs":{"type":"integer","description":"Number of jobs that were eligible for an explanation.","format":"int32","isRequired":true,"uniqueKey":"truncation.oneOf.0.totalJobs","typeLabel":"integer\u003cint32>"},"cappedJobs":{"type":"integer","description":"Number of analysed jobs whose alternative list was trimmed to `maxAlternativesPerJob`.","format":"int32","uniqueKey":"truncation.oneOf.0.cappedJobs","typeLabel":"integer\u003cint32>"},"limitMillis":{"oneOf":[{"type":"integer","description":"The wall-clock budget that applied, in milliseconds.","format":"int64","uniqueKey":"truncation.oneOf.0.limitMillis.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","description":"The wall-clock budget that applied, in milliseconds.","format":"int64","uniqueKey":"truncation.oneOf.0.limitMillis.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncation.oneOf.0.limitMillis","typeLabel":"integer\u003cint64> | null"},"maxAlternativesPerJob":{"oneOf":[{"type":"integer","description":"The per-job alternative cap that applied.","format":"int32","uniqueKey":"truncation.oneOf.0.maxAlternativesPerJob.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"The per-job alternative cap that applied.","format":"int32","uniqueKey":"truncation.oneOf.0.maxAlternativesPerJob.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncation.oneOf.0.maxAlternativesPerJob","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"truncation.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncation","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"score":{"hardScore":-2000,"mediumScore":0,"softScore":-15000,"feasible":false},"conflicts":[{"constraint":"TIME_WINDOW_CONFLICT","score":"-1000","job":"Job-1","resource":"vehicle-1"},{"constraint":"TAG_HARD","score":"-1000","job":"Job-2","resource":"vehicle-1","tag":"electrical"}],"unresolved":[{"constraint":"TRAVEL_TIME","score":"-15000"}],"alternatives":{"Job-1":[{"job":"Job-1","resource":"vehicle-2","suggestedArrival":"2023-01-13T09:30:00Z","latestArrival":"2023-01-13T10:00:00Z","executedAfter":"Job-0","score":{"hardScore":0,"mediumScore":0,"softScore":-1500,"feasible":true}}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"657012d9-60cf-47e6-afcc-a00ad11b9af7":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","required":["message","status"],"properties":{"message":{"type":"string","description":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"type":"string","enum":["OK","CREATED","ACCEPTED","NO_CONTENT","RESET_CONTENT","PARTIAL_CONTENT","MULTIPLE_CHOICES","MOVED_PERMANENTLY","FOUND","SEE_OTHER","NOT_MODIFIED","USE_PROXY","TEMPORARY_REDIRECT","PERMANENT_REDIRECT","BAD_REQUEST","UNAUTHORIZED","PAYMENT_REQUIRED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","NOT_ACCEPTABLE","PROXY_AUTHENTICATION_REQUIRED","REQUEST_TIMEOUT","CONFLICT","GONE","LENGTH_REQUIRED","PRECONDITION_FAILED","REQUEST_ENTITY_TOO_LARGE","REQUEST_URI_TOO_LONG","UNSUPPORTED_MEDIA_TYPE","REQUESTED_RANGE_NOT_SATISFIABLE","EXPECTATION_FAILED","PRECONDITION_REQUIRED","TOO_MANY_REQUESTS","REQUEST_HEADER_FIELDS_TOO_LARGE","UNAVAILABLE_FOR_LEGAL_REASONS","INTERNAL_SERVER_ERROR","NOT_IMPLEMENTED","BAD_GATEWAY","SERVICE_UNAVAILABLE","GATEWAY_TIMEOUT","HTTP_VERSION_NOT_SUPPORTED","NETWORK_AUTHENTICATION_REQUIRED"],"description":"HTTP status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","status":"OK"}}},"exampleType":"generated"}},"exampleType":"generated"},"b41d7f56-9502-48cc-a15a-6e8d2fed329d":{"description":"Too many requests.","content":{"application/json":{"schema":{"type":"object","required":["message","status"],"properties":{"message":{"type":"string","description":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"type":"string","enum":["OK","CREATED","ACCEPTED","NO_CONTENT","RESET_CONTENT","PARTIAL_CONTENT","MULTIPLE_CHOICES","MOVED_PERMANENTLY","FOUND","SEE_OTHER","NOT_MODIFIED","USE_PROXY","TEMPORARY_REDIRECT","PERMANENT_REDIRECT","BAD_REQUEST","UNAUTHORIZED","PAYMENT_REQUIRED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","NOT_ACCEPTABLE","PROXY_AUTHENTICATION_REQUIRED","REQUEST_TIMEOUT","CONFLICT","GONE","LENGTH_REQUIRED","PRECONDITION_FAILED","REQUEST_ENTITY_TOO_LARGE","REQUEST_URI_TOO_LONG","UNSUPPORTED_MEDIA_TYPE","REQUESTED_RANGE_NOT_SATISFIABLE","EXPECTATION_FAILED","PRECONDITION_REQUIRED","TOO_MANY_REQUESTS","REQUEST_HEADER_FIELDS_TOO_LARGE","UNAVAILABLE_FOR_LEGAL_REASONS","INTERNAL_SERVER_ERROR","NOT_IMPLEMENTED","BAD_GATEWAY","SERVICE_UNAVAILABLE","GATEWAY_TIMEOUT","HTTP_VERSION_NOT_SUPPORTED","NETWORK_AUTHENTICATION_REQUIRED"],"description":"HTTP status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","status":"OK"}}},"exampleType":"generated"}},"exampleType":"generated"},"d81083af-d39a-4851-879c-4c058e4b1fdb":{"description":"Internal error","content":{"application/json":{"schema":{"type":"object","required":["message","status"],"properties":{"message":{"type":"string","description":"Message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"type":"string","enum":["OK","CREATED","ACCEPTED","NO_CONTENT","RESET_CONTENT","PARTIAL_CONTENT","MULTIPLE_CHOICES","MOVED_PERMANENTLY","FOUND","SEE_OTHER","NOT_MODIFIED","USE_PROXY","TEMPORARY_REDIRECT","PERMANENT_REDIRECT","BAD_REQUEST","UNAUTHORIZED","PAYMENT_REQUIRED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","NOT_ACCEPTABLE","PROXY_AUTHENTICATION_REQUIRED","REQUEST_TIMEOUT","CONFLICT","GONE","LENGTH_REQUIRED","PRECONDITION_FAILED","REQUEST_ENTITY_TOO_LARGE","REQUEST_URI_TOO_LONG","UNSUPPORTED_MEDIA_TYPE","REQUESTED_RANGE_NOT_SATISFIABLE","EXPECTATION_FAILED","PRECONDITION_REQUIRED","TOO_MANY_REQUESTS","REQUEST_HEADER_FIELDS_TOO_LARGE","UNAVAILABLE_FOR_LEGAL_REASONS","INTERNAL_SERVER_ERROR","NOT_IMPLEMENTED","BAD_GATEWAY","SERVICE_UNAVAILABLE","GATEWAY_TIMEOUT","HTTP_VERSION_NOT_SUPPORTED","NETWORK_AUTHENTICATION_REQUIRED"],"description":"HTTP status","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","status":"OK"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"81236472-b46b-4441-82ee-f3c08d3b6e92":{"apikey":{"type":"apiKey","description":"Api Key based authentication (apikey)","name":"Authorization","in":"header","scopes":[],"schemeName":"apikey"}}},"servers":{"bbc6f479-d5e0-468e-a0ab-3ea24b8d3fa7":{"url":"https://api.solvice.io","description":"Production API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"Api Key based authentication (apikey)","name":"Authorization","in":"header","scopes":[],"schemeName":"apikey"},"schema":{"title":"Authorization","type":"string","description":"Api Key based authentication (apikey)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apikey","name":"Authorization"}],"title":"apikey"}]},"originalFileLocation":"api-reference/vrp.yaml"},"subdomain":"solvice-68592f22","siteName":"Solvice Docs","title":"Explanation - Solvice Docs","navMaps":{"firstHrefInVersion":{"v3":{"href":"/guides/platform/platform","matchLevel":4},"v2":{"href":"/api-reference/vrp/explanation","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-01-22T17:08:37.086Z","originalFileLocation":"api-reference/vrp/explanation.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=\"Contains the explanation, once solved.\">\u003cmeta data-mint-head name=\"keywords\" content=\"Route Optimization, Route API, Optimization API, Workforce Scheduling, Solvice\">\u003cmeta data-mint-head name=\"application-name\" content=\"Solvice Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/solvice-68592f22/wZOj_k-mDHXJa5jh/_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/solvice-68592f22/wZOj_k-mDHXJa5jh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/solvice-68592f22/wZOj_k-mDHXJa5jh/_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/solvice-68592f22/wZOj_k-mDHXJa5jh/_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/solvice-68592f22/wZOj_k-mDHXJa5jh/_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/solvice-68592f22/wZOj_k-mDHXJa5jh/_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/solvice-68592f22/wZOj_k-mDHXJa5jh/_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/solvice-68592f22/wZOj_k-mDHXJa5jh/_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/solvice-68592f22/wZOj_k-mDHXJa5jh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Explanation - Solvice Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Contains the explanation, once solved.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Solvice Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.solvice.io/api-reference/vrp/explanation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://solvice-68592f22.mintlify.site/link to your default meta tag image\">\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=\"Explanation - Solvice Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Contains the explanation, once solved.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://solvice-68592f22.mintlify.site/link to your default meta tag image\">\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/solvice-68592f22/wZOj_k-mDHXJa5jh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Solvice Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f62fe\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"author\" content=\"Christophe Van Huele\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"google\" content=\"notranslate\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"verification_token\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.solvice.io/api-reference/vrp/explanation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/vrp/explanation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.solvice.io/#organization\",\"name\":\"Solvice Docs\",\"url\":\"https://docs.solvice.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/solvice-68592f22/1KJ_2AIotizI1Bng/logo/light.svg?fit=max\u0026auto=format\u0026n=1KJ_2AIotizI1Bng\u0026q=85\u0026s=e93560fee320491613107060a1afc094\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.solvice.io#website\",\"name\":\"Solvice Docs\",\"url\":\"https://docs.solvice.io\",\"publisher\":{\"@id\":\"https://docs.solvice.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.solvice.io/api-reference/vrp/explanation#webpage\",\"url\":\"https://docs.solvice.io/api-reference/vrp/explanation\",\"name\":\"Explanation\",\"description\":\"Contains the explanation, once solved.\",\"dateModified\":\"2026-01-22T17:08:37.086Z\",\"isPartOf\":{\"@id\":\"https://docs.solvice.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.solvice.io/api-reference/vrp/explanation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.solvice.io/api-reference/vrp/explanation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"VRP API\",\"item\":\"https://docs.solvice.io/api-reference/vrp/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Info\",\"item\":\"https://docs.solvice.io/api-reference/vrp/status\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Explanation\",\"item\":\"https://docs.solvice.io/api-reference/vrp/explanation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.solvice.io/api-reference/vrp/explanation#apireference\",\"headline\":\"Explanation\",\"name\":\"Explanation\",\"description\":\"Contains the explanation, once solved.\",\"url\":\"https://docs.solvice.io/api-reference/vrp/explanation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.solvice.io/api-reference/vrp/explanation#webpage\"},\"image\":\"https://docs.solvice.io/link%20to%20your%20default%20meta%20tag%20image\",\"dateModified\":\"2026-01-22T17:08:37.086Z\",\"publisher\":{\"@id\":\"https://docs.solvice.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.solvice.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Solvice Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Solvice Docs","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://platform.solvice.io"},{"anchor":"Website","icon":"planet-ringed","href":"https://www.solvice.io"},{"anchor":"Blog","icon":"newspaper","href":"https://www.solvice.io/blog/news"}]},"versions":[{"version":"v3","pages":[{"title":"v3","href":"/guides/platform/platform"}]},{"version":"v2","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/platform/platform"}]},{"tab":"API Reference","groups":[{"group":"VRP API","pages":[{"title":"VRP API Reference","href":"/api-reference/vrp/introduction"},{"group":"Info","pages":[{"title":"Status","openapi":"vrp GET /v2/vrp/jobs/{id}/status","href":"/api-reference/vrp/status"},{"title":"Solution","openapi":"vrp GET /v2/vrp/jobs/{id}/solution","description":"Contains the actual solution, once solved.","href":"/api-reference/vrp/solution"},{"title":"Explanation","openapi":"vrp GET /v2/vrp/jobs/{id}/explanation","href":"/api-reference/vrp/explanation"}]},{"group":"Actions","pages":[{"title":"Solve VRP","openapi":"vrp POST /v2/vrp/solve","description":"Will trigger the solver run asynchronously.","href":"/api-reference/vrp/solve"},{"title":"Evaluate VRP","openapi":"vrp POST /v2/vrp/evaluate","href":"/api-reference/vrp/evaluate"},{"title":"Suggest VRP","openapi":"vrp POST /v2/vrp/suggest","href":"/api-reference/vrp/suggest"},{"title":"Sync Solve VRP","openapi":"vrp POST /v2/vrp/sync/solve","href":"/api-reference/vrp/sync-solve"},{"title":"Sync Suggest VRP","openapi":"vrp POST /v2/vrp/sync/suggest","href":"/api-reference/vrp/sync-suggest"}]}]},{"group":"Fill API","pages":[{"title":"Fill API Reference","href":"/api-reference/fill/introduction"},{"group":"Info","pages":[{"title":"Fill Job Status","openapi":"fill GET /v2/fill/jobs/{id}/status","href":"/api-reference/fill/status"},{"title":"Fill Solution","openapi":"fill GET /v2/fill/jobs/{id}/solution","href":"/api-reference/fill/solution"},{"title":"Fill Explanation","openapi":"fill GET /v2/fill/jobs/{id}/explanation","href":"/api-reference/fill/explanation"}]},{"group":"Actions","pages":[{"title":"Solve Fill","openapi":"fill POST /v2/fill/solve","href":"/api-reference/fill/solve"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/vrp"}]}]}]},"basePath":"","title":"Explanation - Solvice Docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BUDYNlhG.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}