3:I[5613,[],""] 4:I[1778,[],""] 5:I[4840,["250","static/chunks/250-be60d4fb2ff03a8a.js","699","static/chunks/699-887279039e16d761.js","185","static/chunks/app/layout-c3213eefb1e63851.js"],"Providers"] 6:I[7495,["250","static/chunks/250-be60d4fb2ff03a8a.js","699","static/chunks/699-887279039e16d761.js","185","static/chunks/app/layout-c3213eefb1e63851.js"],"Layout"] 7:I[5250,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","181","static/chunks/app/docs/projects/schemas/page-430fbd5b4e9d42b7.js"],""] 0:["Q81e8mFBx_fzIjHu7wdJj",[[["",{"children":["docs",{"children":["projects",{"children":["schemas",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["docs",{"children":["projects",{"children":["schemas",{"children":["__PAGE__",{},["$L1","$L2",null]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","projects","children","schemas","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","projects","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","html",null,{"lang":"en","className":"h-full antialiased __variable_aaf875 __variable_b436a8","suppressHydrationWarning":true,"children":["$","body",null,{"className":"flex min-h-full bg-white dark:bg-slate-900","children":["$","$L5",null,{"children":["$","$L6",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","div",null,{"className":"min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pl-8 lg:pr-0 xl:px-16","children":["$","div",null,{"className":"flex h-full flex-col items-center justify-center text-center","children":[["$","p",null,{"className":"font-display text-sm font-medium text-slate-900 dark:text-white","children":"404"}],["$","h1",null,{"className":"mt-3 font-display text-3xl tracking-tight text-slate-900 dark:text-white","children":"Page not found"}],["$","p",null,{"className":"mt-2 text-sm text-slate-500 dark:text-slate-400","children":"Sorry, we couldn’t find the page you’re looking for."}],["$","$L7",null,{"href":"/","className":"mt-8 text-sm font-medium text-slate-900 dark:text-white","children":"Go back home"}]]}]}],"notFoundStyles":[],"styles":null}]}]}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7d2966c6703556cd.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 9:I[4693,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","181","static/chunks/app/docs/projects/schemas/page-430fbd5b4e9d42b7.js"],"DocsHeader"] a:I[4069,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","181","static/chunks/app/docs/projects/schemas/page-430fbd5b4e9d42b7.js"],"PrevNextLinks"] b:I[5638,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","181","static/chunks/app/docs/projects/schemas/page-430fbd5b4e9d42b7.js"],"TableOfContents"] 2:[["$","div",null,{"className":"min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pl-8 lg:pr-0 xl:px-16","children":[["$","article",null,{"children":[["$","$L9",null,{"title":"Schemas"}],["$","div",null,{"className":"prose prose-slate max-w-none dark:prose-invert dark:text-slate-400 prose-headings:scroll-mt-28 prose-headings:font-display prose-headings:font-normal lg:prose-headings:scroll-mt-[8.5rem] prose-lead:text-slate-500 dark:prose-lead:text-slate-400 prose-a:font-semibold dark:prose-a:text-blue-400 prose-a:no-underline prose-a:shadow-[inset_0_-2px_0_0_var(--tw-prose-background,#fff),inset_0_calc(-1*(var(--tw-prose-underline-size,4px)+2px))_0_0_var(--tw-prose-underline,theme(colors.sky.300))] hover:prose-a:[--tw-prose-underline-size:6px] dark:[--tw-prose-background:theme(colors.slate.900)] dark:prose-a:shadow-[inset_0_calc(-1*var(--tw-prose-underline-size,2px))_0_0_var(--tw-prose-underline,theme(colors.sky.800))] dark:hover:prose-a:[--tw-prose-underline-size:6px] prose-pre:rounded-xl prose-pre:bg-slate-900 prose-pre:shadow-lg dark:prose-pre:bg-slate-800/60 dark:prose-pre:shadow-none dark:prose-pre:ring-1 dark:prose-pre:ring-slate-300/10 dark:prose-hr:border-slate-800","children":[["$","p",null,{"children":"Schemas are fundamental in ensuring data integrity and consistency across your API. With clearly defined schemas, you can set expectations for what your data should look like, making data validation much more manageable. This can be particularly useful when you have multiple endpoints that share the same data structure."}],["$","p",null,{"children":"Instead of defining unique requests and responses for each endpoint, you can define a schema once and reuse it across multiple endpoints. This can help you avoid inconsistencies and reduce the amount of code you need to write and maintain."}],["$","p",null,{"children":"The schema design tool resembles the OpenAPI Specification (OAS) schema editor, which allows you to define your data structure using a user-friendly interface. You can define objects, arrays, strings, numbers, booleans, and more, and you can nest them to create complex data structures."}],["$","p",null,{"children":["$","img",null,{"src":"/images/projects/schemas/schema-form.png","alt":"The schema designer"}]}]]}]]}],["$","$La",null,{}]]}],["$","$Lb",null,{"tableOfContents":[]}]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Schemas - Docs"}],["$","meta","3",{"name":"description","content":"Learn how to create and manage schemas in DocDriven."}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"32x32"}],["$","meta","5",{"name":"next-size-adjust"}]] 1:null