@agentica/chat 0.34.1 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/assets/VendorConfigurationMovie-A3EDRuuv.js +3445 -0
  2. package/dist/assets/bbs/index-DJ2TSI_V.js +41 -0
  3. package/dist/assets/shopping/index.html-DwrDQLUl.js +3 -0
  4. package/dist/assets/uploader/index.html-qTzoYxoF.js +17 -0
  5. package/dist/bbs/index.html +2 -2
  6. package/dist/shopping/index.html +2 -2
  7. package/dist/uploader/index.html +2 -2
  8. package/lib/AgenticaChatApplication.d.ts +3 -4
  9. package/lib/examples/bbs/BbsChatApplication.d.ts +0 -2
  10. package/lib/examples/common/VendorConfigurationMovie.d.ts +0 -2
  11. package/lib/examples/shopping/ShoppingChatApplication.d.ts +1 -2
  12. package/lib/index.mjs +0 -3
  13. package/lib/index.mjs.map +1 -1
  14. package/lib/movies/AgenticaChatMovie.d.ts +3 -4
  15. package/lib/movies/messages/AgenticaChatDescribeMessageMovie.d.ts +3 -4
  16. package/lib/movies/messages/AgenticaChatExecuteMessageMovie.d.ts +3 -4
  17. package/lib/movies/messages/AgenticaChatMessageMovie.d.ts +3 -4
  18. package/lib/movies/messages/AgenticaChatSelectMessageMovie.d.ts +3 -4
  19. package/lib/movies/sides/AgenticaChatFunctionStackSideMovie.d.ts +3 -4
  20. package/lib/movies/sides/AgenticaChatSideMovie.d.ts +4 -6
  21. package/package.json +7 -7
  22. package/src/AgenticaChatApplication.tsx +3 -4
  23. package/src/movies/AgenticaChatMovie.tsx +11 -13
  24. package/src/movies/messages/AgenticaChatDescribeMessageMovie.tsx +4 -7
  25. package/src/movies/messages/AgenticaChatExecuteMessageMovie.tsx +5 -8
  26. package/src/movies/messages/AgenticaChatMessageMovie.tsx +4 -5
  27. package/src/movies/messages/AgenticaChatSelectMessageMovie.tsx +4 -5
  28. package/src/movies/sides/AgenticaChatFunctionStackSideMovie.tsx +5 -6
  29. package/src/movies/sides/AgenticaChatSideMovie.tsx +4 -11
  30. package/dist/assets/VendorConfigurationMovie-tzKQJFG0.js +0 -3472
  31. package/dist/assets/bbs/index-eyIvf1sH.js +0 -257
  32. package/dist/assets/shopping/index.html-g5SfdSPs.js +0 -3
  33. package/dist/assets/uploader/index.html-DguatLLq.js +0 -17
@@ -0,0 +1,17 @@
1
+ import{q as Hc,v as Wc,w as Qc,r as C,x as Kc,y as ts,j as V,e as vr,a as Ir,g as Tr,c as te,u as Mo,n as Pe,s as ce,z as mr,f as Pr,m as cs,A as Ya,C as Ga,D as ho,E as Xc,F as _c,G as ei,H as Dr,I as bo,b as ri,R as j,T as K,o as Za}from"../client-B3aq8qpT.js";import{I as is,P as wo,u as Xe,g as oi,a as ir,B as Jo,_ as ai,O as si,V as Ha,F as di,T as Wa,b as ni,c as li,A as ti,H as ci,d as ii}from"../VendorConfigurationMovie-A3EDRuuv.js";import{_ as v}from"../_accessExpressionAsString-J5NhZ9FO.js";var ms={exports:{}},mi="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yi=mi,fi=yi;function ys(){}function fs(){}fs.resetWarningCache=ys;var vi=function(){function d(c,i,m,y,f,I){if(I!==fi){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}d.isRequired=d;function l(){return d}var t={array:d,bigint:d,bool:d,func:d,number:d,object:d,string:d,symbol:d,any:d,arrayOf:l,element:d,elementType:d,instanceOf:l,node:d,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:fs,resetWarningCache:ys};return t.PropTypes=t,t};ms.exports=vi();var Ii=ms.exports;const J=Hc(Ii);function gi(d={}){const{themeId:l,defaultTheme:t,defaultClassName:c="MuiBox-root",generateClassName:i}=d,m=Wc("div",{shouldForwardProp:f=>f!=="theme"&&f!=="sx"&&f!=="as"})(Qc);return C.forwardRef(function(I,g){const O=Kc(t),{className:A,component:u="div",...h}=ts(I);return V.jsx(m,{as:u,ref:g,className:vr(A,i?i(c):c),theme:l&&O[l]||O,...h})})}function Ai(d){return Tr("MuiAlert",d)}const Qa=Ir("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Oi=te(V.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),hi=te(V.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),pi=te(V.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),xi=te(V.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Si=te(V.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),ui=d=>{const{variant:l,color:t,severity:c,classes:i}=d,m={root:["root",`color${mr(t||c)}`,`${l}${mr(t||c)}`,`${l}`],icon:["icon"],message:["message"],action:["action"]};return Pr(m,Ai,i)},Vi=ce(wo,{name:"MuiAlert",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d;return[l.root,l[t.variant],l[`${t.variant}${mr(t.color||t.severity)}`]]}})(cs(({theme:d})=>{const l=d.palette.mode==="light"?Ya:Ga,t=d.palette.mode==="light"?Ga:Ya;return{...d.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(d.palette).filter(ho(["light"])).map(([c])=>({props:{colorSeverity:c,variant:"standard"},style:{color:d.vars?d.vars.palette.Alert[`${c}Color`]:l(d.palette[c].light,.6),backgroundColor:d.vars?d.vars.palette.Alert[`${c}StandardBg`]:t(d.palette[c].light,.9),[`& .${Qa.icon}`]:d.vars?{color:d.vars.palette.Alert[`${c}IconColor`]}:{color:d.palette[c].main}}})),...Object.entries(d.palette).filter(ho(["light"])).map(([c])=>({props:{colorSeverity:c,variant:"outlined"},style:{color:d.vars?d.vars.palette.Alert[`${c}Color`]:l(d.palette[c].light,.6),border:`1px solid ${(d.vars||d).palette[c].light}`,[`& .${Qa.icon}`]:d.vars?{color:d.vars.palette.Alert[`${c}IconColor`]}:{color:d.palette[c].main}}})),...Object.entries(d.palette).filter(ho(["dark"])).map(([c])=>({props:{colorSeverity:c,variant:"filled"},style:{fontWeight:d.typography.fontWeightMedium,...d.vars?{color:d.vars.palette.Alert[`${c}FilledColor`],backgroundColor:d.vars.palette.Alert[`${c}FilledBg`]}:{backgroundColor:d.palette.mode==="dark"?d.palette[c].dark:d.palette[c].main,color:d.palette.getContrastText(d.palette[c].main)}}}))]}})),wi=ce("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(d,l)=>l.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Ji=ce("div",{name:"MuiAlert",slot:"Message",overridesResolver:(d,l)=>l.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),ji=ce("div",{name:"MuiAlert",slot:"Action",overridesResolver:(d,l)=>l.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Ka={success:V.jsx(Oi,{fontSize:"inherit"}),warning:V.jsx(hi,{fontSize:"inherit"}),error:V.jsx(pi,{fontSize:"inherit"}),info:V.jsx(xi,{fontSize:"inherit"})},Mi=C.forwardRef(function(l,t){const c=Mo({props:l,name:"MuiAlert"}),{action:i,children:m,className:y,closeText:f="Close",color:I,components:g={},componentsProps:O={},icon:A,iconMapping:u=Ka,onClose:h,role:b="alert",severity:N="success",slotProps:x={},slots:R={},variant:M="standard",...$}=c,z={...c,color:I,severity:N,variant:M,colorSeverity:I||N},p=ui(z),D={slots:{closeButton:g.CloseButton,closeIcon:g.CloseIcon,...R},slotProps:{...O,...x}},[W,ie]=Pe("root",{ref:t,shouldForwardComponentProp:!0,className:vr(p.root,y),elementType:Vi,externalForwardedProps:{...D,...$},ownerState:z,additionalProps:{role:b,elevation:0}}),[ae,X]=Pe("icon",{className:p.icon,elementType:wi,externalForwardedProps:D,ownerState:z}),[ke,Ee]=Pe("message",{className:p.message,elementType:Ji,externalForwardedProps:D,ownerState:z}),[Re,Ue]=Pe("action",{className:p.action,elementType:ji,externalForwardedProps:D,ownerState:z}),[Be,$e]=Pe("closeButton",{elementType:is,externalForwardedProps:D,ownerState:z}),[Z,k]=Pe("closeIcon",{elementType:Si,externalForwardedProps:D,ownerState:z});return V.jsxs(W,{...ie,children:[A!==!1?V.jsx(ae,{...X,children:A||u[N]||Ka[N]}):null,V.jsx(ke,{...Ee,children:m}),i!=null?V.jsx(Re,{...Ue,children:i}):null,i==null&&h?V.jsx(Re,{...Ue,children:V.jsx(Be,{size:"small","aria-label":f,title:f,color:"inherit",onClick:h,...$e,children:V.jsx(Z,{fontSize:"small",...k})})}):null]})}),bi=te(V.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Ri(d){return Tr("MuiAvatar",d)}Ir("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Ni=d=>{const{classes:l,variant:t,colorDefault:c}=d;return Pr({root:["root",t,c&&"colorDefault"],img:["img"],fallback:["fallback"]},Ri,l)},Li=ce("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d;return[l.root,l[t.variant],t.colorDefault&&l.colorDefault]}})(cs(({theme:d})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:d.typography.fontFamily,fontSize:d.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(d.vars||d).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(d.vars||d).palette.background.default,...d.vars?{backgroundColor:d.vars.palette.Avatar.defaultBg}:{backgroundColor:d.palette.grey[400],...d.applyStyles("dark",{backgroundColor:d.palette.grey[600]})}}}]}))),Ci=ce("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(d,l)=>l.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Ti=ce(bi,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(d,l)=>l.fallback})({width:"75%",height:"75%"});function Pi({crossOrigin:d,referrerPolicy:l,src:t,srcSet:c}){const[i,m]=C.useState(!1);return C.useEffect(()=>{if(!t&&!c)return;m(!1);let y=!0;const f=new Image;return f.onload=()=>{y&&m("loaded")},f.onerror=()=>{y&&m("error")},f.crossOrigin=d,f.referrerPolicy=l,f.src=t,c&&(f.srcset=c),()=>{y=!1}},[d,l,t,c]),i}const Di=C.forwardRef(function(l,t){const c=Mo({props:l,name:"MuiAvatar"}),{alt:i,children:m,className:y,component:f="div",slots:I={},slotProps:g={},imgProps:O,sizes:A,src:u,srcSet:h,variant:b="circular",...N}=c;let x=null;const R={...c,component:f,variant:b},M=Pi({...O,...typeof g.img=="function"?g.img(R):g.img,src:u,srcSet:h}),$=u||h,z=$&&M!=="error";R.colorDefault=!z,delete R.ownerState;const p=Ni(R),[D,W]=Pe("img",{className:p.img,elementType:Ci,externalForwardedProps:{slots:I,slotProps:{img:{...O,...g.img}}},additionalProps:{alt:i,src:u,srcSet:h,sizes:A},ownerState:R});return z?x=V.jsx(D,{...W}):m||m===0?x=m:$&&i?x=i[0]:x=V.jsx(Ti,{ownerState:R,className:p.fallback}),V.jsx(Li,{as:f,className:vr(p.root,y),ref:t,...N,ownerState:R,children:x})}),ki=Ir("MuiBox",["root"]),Ei=ei(),Rr=gi({themeId:_c,defaultTheme:Ei,defaultClassName:ki.root,generateClassName:Xc.generate}),Xa=C.createContext();function Ui(d){return Tr("MuiGrid",d)}const Bi=[0,1,2,3,4,5,6,7,8,9,10],$i=["column-reverse","column","row-reverse","row"],zi=["nowrap","wrap-reverse","wrap"],cr=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],yr=Ir("MuiGrid",["root","container","item","zeroMinWidth",...Bi.map(d=>`spacing-xs-${d}`),...$i.map(d=>`direction-xs-${d}`),...zi.map(d=>`wrap-xs-${d}`),...cr.map(d=>`grid-xs-${d}`),...cr.map(d=>`grid-sm-${d}`),...cr.map(d=>`grid-md-${d}`),...cr.map(d=>`grid-lg-${d}`),...cr.map(d=>`grid-xl-${d}`)]);function qi({theme:d,ownerState:l}){let t;return d.breakpoints.keys.reduce((c,i)=>{let m={};if(l[i]&&(t=l[i]),!t)return c;if(t===!0)m={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(t==="auto")m={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const y=Dr({values:l.columns,breakpoints:d.breakpoints.values}),f=typeof y=="object"?y[i]:y;if(f==null)return c;const I=`${Math.round(t/f*1e8)/1e6}%`;let g={};if(l.container&&l.item&&l.columnSpacing!==0){const O=d.spacing(l.columnSpacing);if(O!=="0px"){const A=`calc(${I} + ${O})`;g={flexBasis:A,maxWidth:A}}}m={flexBasis:I,flexGrow:0,maxWidth:I,...g}}return d.breakpoints.values[i]===0?Object.assign(c,m):c[d.breakpoints.up(i)]=m,c},{})}function Fi({theme:d,ownerState:l}){const t=Dr({values:l.direction,breakpoints:d.breakpoints.values});return bo({theme:d},t,c=>{const i={flexDirection:c};return c.startsWith("column")&&(i[`& > .${yr.item}`]={maxWidth:"none"}),i})}function vs({breakpoints:d,values:l}){let t="";Object.keys(l).forEach(i=>{t===""&&l[i]!==0&&(t=i)});const c=Object.keys(d).sort((i,m)=>d[i]-d[m]);return c.slice(0,c.indexOf(t))}function Yi({theme:d,ownerState:l}){const{container:t,rowSpacing:c}=l;let i={};if(t&&c!==0){const m=Dr({values:c,breakpoints:d.breakpoints.values});let y;typeof m=="object"&&(y=vs({breakpoints:d.breakpoints.values,values:m})),i=bo({theme:d},m,(f,I)=>{const g=d.spacing(f);return g!=="0px"?{marginTop:`calc(-1 * ${g})`,[`& > .${yr.item}`]:{paddingTop:g}}:y!=null&&y.includes(I)?{}:{marginTop:0,[`& > .${yr.item}`]:{paddingTop:0}}})}return i}function Gi({theme:d,ownerState:l}){const{container:t,columnSpacing:c}=l;let i={};if(t&&c!==0){const m=Dr({values:c,breakpoints:d.breakpoints.values});let y;typeof m=="object"&&(y=vs({breakpoints:d.breakpoints.values,values:m})),i=bo({theme:d},m,(f,I)=>{const g=d.spacing(f);if(g!=="0px"){const O=`calc(-1 * ${g})`;return{width:`calc(100% + ${g})`,marginLeft:O,[`& > .${yr.item}`]:{paddingLeft:g}}}return y!=null&&y.includes(I)?{}:{width:"100%",marginLeft:0,[`& > .${yr.item}`]:{paddingLeft:0}}})}return i}function Zi(d,l,t={}){if(!d||d<=0)return[];if(typeof d=="string"&&!Number.isNaN(Number(d))||typeof d=="number")return[t[`spacing-xs-${String(d)}`]];const c=[];return l.forEach(i=>{const m=d[i];Number(m)>0&&c.push(t[`spacing-${i}-${String(m)}`])}),c}const Hi=ce("div",{name:"MuiGrid",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d,{container:c,direction:i,item:m,spacing:y,wrap:f,zeroMinWidth:I,breakpoints:g}=t;let O=[];c&&(O=Zi(y,g,l));const A=[];return g.forEach(u=>{const h=t[u];h&&A.push(l[`grid-${u}-${String(h)}`])}),[l.root,c&&l.container,m&&l.item,I&&l.zeroMinWidth,...O,i!=="row"&&l[`direction-xs-${String(i)}`],f!=="wrap"&&l[`wrap-xs-${String(f)}`],...A]}})(({ownerState:d})=>({boxSizing:"border-box",...d.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...d.item&&{margin:0},...d.zeroMinWidth&&{minWidth:0},...d.wrap!=="wrap"&&{flexWrap:d.wrap}}),Fi,Yi,Gi,qi);function Wi(d,l){if(!d||d<=0)return[];if(typeof d=="string"&&!Number.isNaN(Number(d))||typeof d=="number")return[`spacing-xs-${String(d)}`];const t=[];return l.forEach(c=>{const i=d[c];if(Number(i)>0){const m=`spacing-${c}-${String(i)}`;t.push(m)}}),t}const Qi=d=>{const{classes:l,container:t,direction:c,item:i,spacing:m,wrap:y,zeroMinWidth:f,breakpoints:I}=d;let g=[];t&&(g=Wi(m,I));const O=[];I.forEach(u=>{const h=d[u];h&&O.push(`grid-${u}-${String(h)}`)});const A={root:["root",t&&"container",i&&"item",f&&"zeroMinWidth",...g,c!=="row"&&`direction-xs-${String(c)}`,y!=="wrap"&&`wrap-xs-${String(y)}`,...O]};return Pr(A,Ui,l)},po=C.forwardRef(function(l,t){const c=Mo({props:l,name:"MuiGrid"}),{breakpoints:i}=Xe(),m=ts(c),{className:y,columns:f,columnSpacing:I,component:g="div",container:O=!1,direction:A="row",item:u=!1,rowSpacing:h,spacing:b=0,wrap:N="wrap",zeroMinWidth:x=!1,...R}=m,M=h||b,$=I||b,z=C.useContext(Xa),p=O?f||12:z,D={},W={...R};i.keys.forEach(X=>{R[X]!=null&&(D[X]=R[X],delete W[X])});const ie={...m,columns:p,container:O,direction:A,item:u,rowSpacing:M,columnSpacing:$,wrap:N,zeroMinWidth:x,spacing:b,...D,breakpoints:i.keys},ae=Qi(ie);return V.jsx(Xa.Provider,{value:p,children:V.jsx(Hi,{ownerState:ie,className:vr(ae.root,y),as:g,ref:t,...W})})}),je=["xs","sm","md","lg","xl"],Ki=(d,l,t=!0)=>t?je.indexOf(d)<=je.indexOf(l):je.indexOf(d)<je.indexOf(l),Xi=(d,l,t=!1)=>t?je.indexOf(l)<=je.indexOf(d):je.indexOf(l)<je.indexOf(d),_i=(d={})=>l=>{const{withTheme:t=!1,noSSR:c=!1,initialWidth:i}=d;function m(y){const f=Xe(),I=y.theme||f,{initialWidth:g,width:O,...A}=oi({theme:I,name:"MuiWithWidth",props:y}),[u,h]=C.useState(!1);ri(()=>{h(!0)},[]);const N=I.breakpoints.keys.slice().reverse().reduce((R,M)=>{const $=ir(I.breakpoints.up(M));return!R&&$?M:R},null),x={width:O||(u||c?N:void 0)||g||i,...t?{theme:I}:{},...A};return x.width===void 0?null:V.jsx(l,{...x})}return m};function Is(d){const{children:l,only:t,width:c}=d,i=Xe();let m=!0;if(t)if(Array.isArray(t))for(let y=0;y<t.length;y+=1){const f=t[y];if(c===f){m=!1;break}}else t&&c===t&&(m=!1);if(m)for(let y=0;y<i.breakpoints.keys.length;y+=1){const f=i.breakpoints.keys[y],I=d[`${f}Up`],g=d[`${f}Down`];if(I&&Ki(f,c)||g&&Xi(f,c)){m=!1;break}}return m?l:null}Is.propTypes={children:J.node,lgDown:J.bool,lgUp:J.bool,mdDown:J.bool,mdUp:J.bool,only:J.oneOfType([J.oneOf(["xs","sm","md","lg","xl"]),J.arrayOf(J.oneOf(["xs","sm","md","lg","xl"]))]),smDown:J.bool,smUp:J.bool,width:J.string.isRequired,xlDown:J.bool,xlUp:J.bool,xsDown:J.bool,xsUp:J.bool};const em=_i()(Is);function rm(d){return Tr("PrivateHiddenCss",d)}Ir("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const om=d=>{const{classes:l,breakpoints:t}=d,c={root:["root",...t.map(({breakpoint:i,dir:m})=>m==="only"?`${m}${mr(i)}`:`${i}${mr(m)}`)]};return Pr(c,rm,l)},am=ce("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:d,ownerState:l})=>{const t={display:"none"};return{...l.breakpoints.map(({breakpoint:c,dir:i})=>i==="only"?{[d.breakpoints.only(c)]:t}:i==="up"?{[d.breakpoints.up(c)]:t}:{[d.breakpoints.down(c)]:t}).reduce((c,i)=>(Object.keys(i).forEach(m=>{c[m]=i[m]}),c),{})}});function sm(d){const{children:l,className:t,only:c,...i}=d,m=Xe(),y=[];for(let g=0;g<m.breakpoints.keys.length;g+=1){const O=m.breakpoints.keys[g],A=i[`${O}Up`],u=i[`${O}Down`];A&&y.push({breakpoint:O,dir:"up"}),u&&y.push({breakpoint:O,dir:"down"})}c&&(Array.isArray(c)?c:[c]).forEach(O=>{y.push({breakpoint:O,dir:"only"})});const f={...d,breakpoints:y},I=om(f);return V.jsx(am,{className:vr(I.root,t),ownerState:f,children:l})}function _a(d){const{implementation:l="js",lgDown:t=!1,lgUp:c=!1,mdDown:i=!1,mdUp:m=!1,smDown:y=!1,smUp:f=!1,xlDown:I=!1,xlUp:g=!1,xsDown:O=!1,xsUp:A=!1,...u}=d;return l==="js"?V.jsx(em,{lgDown:t,lgUp:c,mdDown:i,mdUp:m,smDown:y,smUp:f,xlDown:I,xlUp:g,xsDown:O,xsUp:A,...u}):V.jsx(sm,{lgDown:t,lgUp:c,mdDown:i,mdUp:m,smDown:y,smUp:f,xlDown:I,xlUp:g,xsDown:O,xsUp:A,...u})}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function gs(d){return typeof d>"u"||d===null}function dm(d){return typeof d=="object"&&d!==null}function nm(d){return Array.isArray(d)?d:gs(d)?[]:[d]}function lm(d,l){var t,c,i,m;if(l)for(m=Object.keys(l),t=0,c=m.length;t<c;t+=1)i=m[t],d[i]=l[i];return d}function tm(d,l){var t="",c;for(c=0;c<l;c+=1)t+=d;return t}function cm(d){return d===0&&Number.NEGATIVE_INFINITY===1/d}var im=gs,mm=dm,ym=nm,fm=tm,vm=cm,Im=lm,Y={isNothing:im,isObject:mm,toArray:ym,repeat:fm,isNegativeZero:vm,extend:Im};function As(d,l){var t="",c=d.reason||"(unknown reason)";return d.mark?(d.mark.name&&(t+='in "'+d.mark.name+'" '),t+="("+(d.mark.line+1)+":"+(d.mark.column+1)+")",!l&&d.mark.snippet&&(t+=`
2
+
3
+ `+d.mark.snippet),c+" "+t):c}function fr(d,l){Error.call(this),this.name="YAMLException",this.reason=d,this.mark=l,this.message=As(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}fr.prototype=Object.create(Error.prototype);fr.prototype.constructor=fr;fr.prototype.toString=function(l){return this.name+": "+As(this,l)};var Ae=fr;function xo(d,l,t,c,i){var m="",y="",f=Math.floor(i/2)-1;return c-l>f&&(m=" ... ",l=c-f+m.length),t-c>f&&(y=" ...",t=c+f-y.length),{str:m+d.slice(l,t).replace(/\t/g,"→")+y,pos:c-l+m.length}}function So(d,l){return Y.repeat(" ",l-d.length)+d}function gm(d,l){if(l=Object.create(l||null),!d.buffer)return null;l.maxLength||(l.maxLength=79),typeof l.indent!="number"&&(l.indent=1),typeof l.linesBefore!="number"&&(l.linesBefore=3),typeof l.linesAfter!="number"&&(l.linesAfter=2);for(var t=/\r?\n|\r|\0/g,c=[0],i=[],m,y=-1;m=t.exec(d.buffer);)i.push(m.index),c.push(m.index+m[0].length),d.position<=m.index&&y<0&&(y=c.length-2);y<0&&(y=c.length-1);var f="",I,g,O=Math.min(d.line+l.linesAfter,i.length).toString().length,A=l.maxLength-(l.indent+O+3);for(I=1;I<=l.linesBefore&&!(y-I<0);I++)g=xo(d.buffer,c[y-I],i[y-I],d.position-(c[y]-c[y-I]),A),f=Y.repeat(" ",l.indent)+So((d.line-I+1).toString(),O)+" | "+g.str+`
4
+ `+f;for(g=xo(d.buffer,c[y],i[y],d.position,A),f+=Y.repeat(" ",l.indent)+So((d.line+1).toString(),O)+" | "+g.str+`
5
+ `,f+=Y.repeat("-",l.indent+O+3+g.pos)+`^
6
+ `,I=1;I<=l.linesAfter&&!(y+I>=i.length);I++)g=xo(d.buffer,c[y+I],i[y+I],d.position-(c[y]-c[y+I]),A),f+=Y.repeat(" ",l.indent)+So((d.line+I+1).toString(),O)+" | "+g.str+`
7
+ `;return f.replace(/\n$/,"")}var Am=gm,Om=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],hm=["scalar","sequence","mapping"];function pm(d){var l={};return d!==null&&Object.keys(d).forEach(function(t){d[t].forEach(function(c){l[String(c)]=t})}),l}function xm(d,l){if(l=l||{},Object.keys(l).forEach(function(t){if(Om.indexOf(t)===-1)throw new Ae('Unknown option "'+t+'" is met in definition of "'+d+'" YAML type.')}),this.options=l,this.tag=d,this.kind=l.kind||null,this.resolve=l.resolve||function(){return!0},this.construct=l.construct||function(t){return t},this.instanceOf=l.instanceOf||null,this.predicate=l.predicate||null,this.represent=l.represent||null,this.representName=l.representName||null,this.defaultStyle=l.defaultStyle||null,this.multi=l.multi||!1,this.styleAliases=pm(l.styleAliases||null),hm.indexOf(this.kind)===-1)throw new Ae('Unknown kind "'+this.kind+'" is specified for "'+d+'" YAML type.')}var F=xm;function es(d,l){var t=[];return d[l].forEach(function(c){var i=t.length;t.forEach(function(m,y){m.tag===c.tag&&m.kind===c.kind&&m.multi===c.multi&&(i=y)}),t[i]=c}),t}function Sm(){var d={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},l,t;function c(i){i.multi?(d.multi[i.kind].push(i),d.multi.fallback.push(i)):d[i.kind][i.tag]=d.fallback[i.tag]=i}for(l=0,t=arguments.length;l<t;l+=1)arguments[l].forEach(c);return d}function jo(d){return this.extend(d)}jo.prototype.extend=function(l){var t=[],c=[];if(l instanceof F)c.push(l);else if(Array.isArray(l))c=c.concat(l);else if(l&&(Array.isArray(l.implicit)||Array.isArray(l.explicit)))l.implicit&&(t=t.concat(l.implicit)),l.explicit&&(c=c.concat(l.explicit));else throw new Ae("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(m){if(!(m instanceof F))throw new Ae("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(m.loadKind&&m.loadKind!=="scalar")throw new Ae("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(m.multi)throw new Ae("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(m){if(!(m instanceof F))throw new Ae("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(jo.prototype);return i.implicit=(this.implicit||[]).concat(t),i.explicit=(this.explicit||[]).concat(c),i.compiledImplicit=es(i,"implicit"),i.compiledExplicit=es(i,"explicit"),i.compiledTypeMap=Sm(i.compiledImplicit,i.compiledExplicit),i};var um=jo,Vm=new F("tag:yaml.org,2002:str",{kind:"scalar",construct:function(d){return d!==null?d:""}}),wm=new F("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(d){return d!==null?d:[]}}),Jm=new F("tag:yaml.org,2002:map",{kind:"mapping",construct:function(d){return d!==null?d:{}}}),jm=new um({explicit:[Vm,wm,Jm]});function Mm(d){if(d===null)return!0;var l=d.length;return l===1&&d==="~"||l===4&&(d==="null"||d==="Null"||d==="NULL")}function bm(){return null}function Rm(d){return d===null}var Nm=new F("tag:yaml.org,2002:null",{kind:"scalar",resolve:Mm,construct:bm,predicate:Rm,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Lm(d){if(d===null)return!1;var l=d.length;return l===4&&(d==="true"||d==="True"||d==="TRUE")||l===5&&(d==="false"||d==="False"||d==="FALSE")}function Cm(d){return d==="true"||d==="True"||d==="TRUE"}function Tm(d){return Object.prototype.toString.call(d)==="[object Boolean]"}var Pm=new F("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Lm,construct:Cm,predicate:Tm,represent:{lowercase:function(d){return d?"true":"false"},uppercase:function(d){return d?"TRUE":"FALSE"},camelcase:function(d){return d?"True":"False"}},defaultStyle:"lowercase"});function Dm(d){return 48<=d&&d<=57||65<=d&&d<=70||97<=d&&d<=102}function km(d){return 48<=d&&d<=55}function Em(d){return 48<=d&&d<=57}function Um(d){if(d===null)return!1;var l=d.length,t=0,c=!1,i;if(!l)return!1;if(i=d[t],(i==="-"||i==="+")&&(i=d[++t]),i==="0"){if(t+1===l)return!0;if(i=d[++t],i==="b"){for(t++;t<l;t++)if(i=d[t],i!=="_"){if(i!=="0"&&i!=="1")return!1;c=!0}return c&&i!=="_"}if(i==="x"){for(t++;t<l;t++)if(i=d[t],i!=="_"){if(!Dm(d.charCodeAt(t)))return!1;c=!0}return c&&i!=="_"}if(i==="o"){for(t++;t<l;t++)if(i=d[t],i!=="_"){if(!km(d.charCodeAt(t)))return!1;c=!0}return c&&i!=="_"}}if(i==="_")return!1;for(;t<l;t++)if(i=d[t],i!=="_"){if(!Em(d.charCodeAt(t)))return!1;c=!0}return!(!c||i==="_")}function Bm(d){var l=d,t=1,c;if(l.indexOf("_")!==-1&&(l=l.replace(/_/g,"")),c=l[0],(c==="-"||c==="+")&&(c==="-"&&(t=-1),l=l.slice(1),c=l[0]),l==="0")return 0;if(c==="0"){if(l[1]==="b")return t*parseInt(l.slice(2),2);if(l[1]==="x")return t*parseInt(l.slice(2),16);if(l[1]==="o")return t*parseInt(l.slice(2),8)}return t*parseInt(l,10)}function $m(d){return Object.prototype.toString.call(d)==="[object Number]"&&d%1===0&&!Y.isNegativeZero(d)}var zm=new F("tag:yaml.org,2002:int",{kind:"scalar",resolve:Um,construct:Bm,predicate:$m,represent:{binary:function(d){return d>=0?"0b"+d.toString(2):"-0b"+d.toString(2).slice(1)},octal:function(d){return d>=0?"0o"+d.toString(8):"-0o"+d.toString(8).slice(1)},decimal:function(d){return d.toString(10)},hexadecimal:function(d){return d>=0?"0x"+d.toString(16).toUpperCase():"-0x"+d.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),qm=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Fm(d){return!(d===null||!qm.test(d)||d[d.length-1]==="_")}function Ym(d){var l,t;return l=d.replace(/_/g,"").toLowerCase(),t=l[0]==="-"?-1:1,"+-".indexOf(l[0])>=0&&(l=l.slice(1)),l===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:l===".nan"?NaN:t*parseFloat(l,10)}var Gm=/^[-+]?[0-9]+e/;function Zm(d,l){var t;if(isNaN(d))switch(l){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===d)switch(l){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===d)switch(l){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Y.isNegativeZero(d))return"-0.0";return t=d.toString(10),Gm.test(t)?t.replace("e",".e"):t}function Hm(d){return Object.prototype.toString.call(d)==="[object Number]"&&(d%1!==0||Y.isNegativeZero(d))}var Wm=new F("tag:yaml.org,2002:float",{kind:"scalar",resolve:Fm,construct:Ym,predicate:Hm,represent:Zm,defaultStyle:"lowercase"}),Qm=jm.extend({implicit:[Nm,Pm,zm,Wm]}),Km=Qm,Os=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),hs=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Xm(d){return d===null?!1:Os.exec(d)!==null||hs.exec(d)!==null}function _m(d){var l,t,c,i,m,y,f,I=0,g=null,O,A,u;if(l=Os.exec(d),l===null&&(l=hs.exec(d)),l===null)throw new Error("Date resolve error");if(t=+l[1],c=+l[2]-1,i=+l[3],!l[4])return new Date(Date.UTC(t,c,i));if(m=+l[4],y=+l[5],f=+l[6],l[7]){for(I=l[7].slice(0,3);I.length<3;)I+="0";I=+I}return l[9]&&(O=+l[10],A=+(l[11]||0),g=(O*60+A)*6e4,l[9]==="-"&&(g=-g)),u=new Date(Date.UTC(t,c,i,m,y,f,I)),g&&u.setTime(u.getTime()-g),u}function ey(d){return d.toISOString()}var ry=new F("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Xm,construct:_m,instanceOf:Date,represent:ey});function oy(d){return d==="<<"||d===null}var ay=new F("tag:yaml.org,2002:merge",{kind:"scalar",resolve:oy}),Ro=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
+ \r`;function sy(d){if(d===null)return!1;var l,t,c=0,i=d.length,m=Ro;for(t=0;t<i;t++)if(l=m.indexOf(d.charAt(t)),!(l>64)){if(l<0)return!1;c+=6}return c%8===0}function dy(d){var l,t,c=d.replace(/[\r\n=]/g,""),i=c.length,m=Ro,y=0,f=[];for(l=0;l<i;l++)l%4===0&&l&&(f.push(y>>16&255),f.push(y>>8&255),f.push(y&255)),y=y<<6|m.indexOf(c.charAt(l));return t=i%4*6,t===0?(f.push(y>>16&255),f.push(y>>8&255),f.push(y&255)):t===18?(f.push(y>>10&255),f.push(y>>2&255)):t===12&&f.push(y>>4&255),new Uint8Array(f)}function ny(d){var l="",t=0,c,i,m=d.length,y=Ro;for(c=0;c<m;c++)c%3===0&&c&&(l+=y[t>>18&63],l+=y[t>>12&63],l+=y[t>>6&63],l+=y[t&63]),t=(t<<8)+d[c];return i=m%3,i===0?(l+=y[t>>18&63],l+=y[t>>12&63],l+=y[t>>6&63],l+=y[t&63]):i===2?(l+=y[t>>10&63],l+=y[t>>4&63],l+=y[t<<2&63],l+=y[64]):i===1&&(l+=y[t>>2&63],l+=y[t<<4&63],l+=y[64],l+=y[64]),l}function ly(d){return Object.prototype.toString.call(d)==="[object Uint8Array]"}var ty=new F("tag:yaml.org,2002:binary",{kind:"scalar",resolve:sy,construct:dy,predicate:ly,represent:ny}),cy=Object.prototype.hasOwnProperty,iy=Object.prototype.toString;function my(d){if(d===null)return!0;var l=[],t,c,i,m,y,f=d;for(t=0,c=f.length;t<c;t+=1){if(i=f[t],y=!1,iy.call(i)!=="[object Object]")return!1;for(m in i)if(cy.call(i,m))if(!y)y=!0;else return!1;if(!y)return!1;if(l.indexOf(m)===-1)l.push(m);else return!1}return!0}function yy(d){return d!==null?d:[]}var fy=new F("tag:yaml.org,2002:omap",{kind:"sequence",resolve:my,construct:yy}),vy=Object.prototype.toString;function Iy(d){if(d===null)return!0;var l,t,c,i,m,y=d;for(m=new Array(y.length),l=0,t=y.length;l<t;l+=1){if(c=y[l],vy.call(c)!=="[object Object]"||(i=Object.keys(c),i.length!==1))return!1;m[l]=[i[0],c[i[0]]]}return!0}function gy(d){if(d===null)return[];var l,t,c,i,m,y=d;for(m=new Array(y.length),l=0,t=y.length;l<t;l+=1)c=y[l],i=Object.keys(c),m[l]=[i[0],c[i[0]]];return m}var Ay=new F("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Iy,construct:gy}),Oy=Object.prototype.hasOwnProperty;function hy(d){if(d===null)return!0;var l,t=d;for(l in t)if(Oy.call(t,l)&&t[l]!==null)return!1;return!0}function py(d){return d!==null?d:{}}var xy=new F("tag:yaml.org,2002:set",{kind:"mapping",resolve:hy,construct:py}),Sy=Km.extend({implicit:[ry,ay],explicit:[ty,fy,Ay,xy]}),be=Object.prototype.hasOwnProperty,Nr=1,ps=2,xs=3,Lr=4,uo=1,uy=2,rs=3,Vy=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,wy=/[\x85\u2028\u2029]/,Jy=/[,\[\]\{\}]/,Ss=/^(?:!|!!|![a-z\-]+!)$/i,us=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function os(d){return Object.prototype.toString.call(d)}function le(d){return d===10||d===13}function De(d){return d===9||d===32}function G(d){return d===9||d===32||d===10||d===13}function We(d){return d===44||d===91||d===93||d===123||d===125}function jy(d){var l;return 48<=d&&d<=57?d-48:(l=d|32,97<=l&&l<=102?l-97+10:-1)}function My(d){return d===120?2:d===117?4:d===85?8:0}function by(d){return 48<=d&&d<=57?d-48:-1}function as(d){return d===48?"\0":d===97?"\x07":d===98?"\b":d===116||d===9?" ":d===110?`
9
+ `:d===118?"\v":d===102?"\f":d===114?"\r":d===101?"\x1B":d===32?" ":d===34?'"':d===47?"/":d===92?"\\":d===78?"…":d===95?" ":d===76?"\u2028":d===80?"\u2029":""}function Ry(d){return d<=65535?String.fromCharCode(d):String.fromCharCode((d-65536>>10)+55296,(d-65536&1023)+56320)}var Vs=new Array(256),ws=new Array(256);for(var He=0;He<256;He++)Vs[He]=as(He)?1:0,ws[He]=as(He);function Ny(d,l){this.input=d,this.filename=l.filename||null,this.schema=l.schema||Sy,this.onWarning=l.onWarning||null,this.legacy=l.legacy||!1,this.json=l.json||!1,this.listener=l.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=d.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Js(d,l){var t={name:d.filename,buffer:d.input.slice(0,-1),position:d.position,line:d.line,column:d.position-d.lineStart};return t.snippet=Am(t),new Ae(l,t)}function S(d,l){throw Js(d,l)}function Cr(d,l){d.onWarning&&d.onWarning.call(null,Js(d,l))}var ss={YAML:function(l,t,c){var i,m,y;l.version!==null&&S(l,"duplication of %YAML directive"),c.length!==1&&S(l,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(c[0]),i===null&&S(l,"ill-formed argument of the YAML directive"),m=parseInt(i[1],10),y=parseInt(i[2],10),m!==1&&S(l,"unacceptable YAML version of the document"),l.version=c[0],l.checkLineBreaks=y<2,y!==1&&y!==2&&Cr(l,"unsupported YAML version of the document")},TAG:function(l,t,c){var i,m;c.length!==2&&S(l,"TAG directive accepts exactly two arguments"),i=c[0],m=c[1],Ss.test(i)||S(l,"ill-formed tag handle (first argument) of the TAG directive"),be.call(l.tagMap,i)&&S(l,'there is a previously declared suffix for "'+i+'" tag handle'),us.test(m)||S(l,"ill-formed tag prefix (second argument) of the TAG directive");try{m=decodeURIComponent(m)}catch{S(l,"tag prefix is malformed: "+m)}l.tagMap[i]=m}};function Me(d,l,t,c){var i,m,y,f;if(l<t){if(f=d.input.slice(l,t),c)for(i=0,m=f.length;i<m;i+=1)y=f.charCodeAt(i),y===9||32<=y&&y<=1114111||S(d,"expected valid JSON character");else Vy.test(f)&&S(d,"the stream contains non-printable characters");d.result+=f}}function ds(d,l,t,c){var i,m,y,f;for(Y.isObject(t)||S(d,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(t),y=0,f=i.length;y<f;y+=1)m=i[y],be.call(l,m)||(l[m]=t[m],c[m]=!0)}function Qe(d,l,t,c,i,m,y,f,I){var g,O;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),g=0,O=i.length;g<O;g+=1)Array.isArray(i[g])&&S(d,"nested arrays are not supported inside keys"),typeof i=="object"&&os(i[g])==="[object Object]"&&(i[g]="[object Object]");if(typeof i=="object"&&os(i)==="[object Object]"&&(i="[object Object]"),i=String(i),l===null&&(l={}),c==="tag:yaml.org,2002:merge")if(Array.isArray(m))for(g=0,O=m.length;g<O;g+=1)ds(d,l,m[g],t);else ds(d,l,m,t);else!d.json&&!be.call(t,i)&&be.call(l,i)&&(d.line=y||d.line,d.lineStart=f||d.lineStart,d.position=I||d.position,S(d,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(l,i,{configurable:!0,enumerable:!0,writable:!0,value:m}):l[i]=m,delete t[i];return l}function No(d){var l;l=d.input.charCodeAt(d.position),l===10?d.position++:l===13?(d.position++,d.input.charCodeAt(d.position)===10&&d.position++):S(d,"a line break is expected"),d.line+=1,d.lineStart=d.position,d.firstTabInLine=-1}function B(d,l,t){for(var c=0,i=d.input.charCodeAt(d.position);i!==0;){for(;De(i);)i===9&&d.firstTabInLine===-1&&(d.firstTabInLine=d.position),i=d.input.charCodeAt(++d.position);if(l&&i===35)do i=d.input.charCodeAt(++d.position);while(i!==10&&i!==13&&i!==0);if(le(i))for(No(d),i=d.input.charCodeAt(d.position),c++,d.lineIndent=0;i===32;)d.lineIndent++,i=d.input.charCodeAt(++d.position);else break}return t!==-1&&c!==0&&d.lineIndent<t&&Cr(d,"deficient indentation"),c}function kr(d){var l=d.position,t;return t=d.input.charCodeAt(l),!!((t===45||t===46)&&t===d.input.charCodeAt(l+1)&&t===d.input.charCodeAt(l+2)&&(l+=3,t=d.input.charCodeAt(l),t===0||G(t)))}function Lo(d,l){l===1?d.result+=" ":l>1&&(d.result+=Y.repeat(`
10
+ `,l-1))}function Ly(d,l,t){var c,i,m,y,f,I,g,O,A=d.kind,u=d.result,h;if(h=d.input.charCodeAt(d.position),G(h)||We(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(i=d.input.charCodeAt(d.position+1),G(i)||t&&We(i)))return!1;for(d.kind="scalar",d.result="",m=y=d.position,f=!1;h!==0;){if(h===58){if(i=d.input.charCodeAt(d.position+1),G(i)||t&&We(i))break}else if(h===35){if(c=d.input.charCodeAt(d.position-1),G(c))break}else{if(d.position===d.lineStart&&kr(d)||t&&We(h))break;if(le(h))if(I=d.line,g=d.lineStart,O=d.lineIndent,B(d,!1,-1),d.lineIndent>=l){f=!0,h=d.input.charCodeAt(d.position);continue}else{d.position=y,d.line=I,d.lineStart=g,d.lineIndent=O;break}}f&&(Me(d,m,y,!1),Lo(d,d.line-I),m=y=d.position,f=!1),De(h)||(y=d.position+1),h=d.input.charCodeAt(++d.position)}return Me(d,m,y,!1),d.result?!0:(d.kind=A,d.result=u,!1)}function Cy(d,l){var t,c,i;if(t=d.input.charCodeAt(d.position),t!==39)return!1;for(d.kind="scalar",d.result="",d.position++,c=i=d.position;(t=d.input.charCodeAt(d.position))!==0;)if(t===39)if(Me(d,c,d.position,!0),t=d.input.charCodeAt(++d.position),t===39)c=d.position,d.position++,i=d.position;else return!0;else le(t)?(Me(d,c,i,!0),Lo(d,B(d,!1,l)),c=i=d.position):d.position===d.lineStart&&kr(d)?S(d,"unexpected end of the document within a single quoted scalar"):(d.position++,i=d.position);S(d,"unexpected end of the stream within a single quoted scalar")}function Ty(d,l){var t,c,i,m,y,f;if(f=d.input.charCodeAt(d.position),f!==34)return!1;for(d.kind="scalar",d.result="",d.position++,t=c=d.position;(f=d.input.charCodeAt(d.position))!==0;){if(f===34)return Me(d,t,d.position,!0),d.position++,!0;if(f===92){if(Me(d,t,d.position,!0),f=d.input.charCodeAt(++d.position),le(f))B(d,!1,l);else if(f<256&&Vs[f])d.result+=ws[f],d.position++;else if((y=My(f))>0){for(i=y,m=0;i>0;i--)f=d.input.charCodeAt(++d.position),(y=jy(f))>=0?m=(m<<4)+y:S(d,"expected hexadecimal character");d.result+=Ry(m),d.position++}else S(d,"unknown escape sequence");t=c=d.position}else le(f)?(Me(d,t,c,!0),Lo(d,B(d,!1,l)),t=c=d.position):d.position===d.lineStart&&kr(d)?S(d,"unexpected end of the document within a double quoted scalar"):(d.position++,c=d.position)}S(d,"unexpected end of the stream within a double quoted scalar")}function Py(d,l){var t=!0,c,i,m,y=d.tag,f,I=d.anchor,g,O,A,u,h,b=Object.create(null),N,x,R,M;if(M=d.input.charCodeAt(d.position),M===91)O=93,h=!1,f=[];else if(M===123)O=125,h=!0,f={};else return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=f),M=d.input.charCodeAt(++d.position);M!==0;){if(B(d,!0,l),M=d.input.charCodeAt(d.position),M===O)return d.position++,d.tag=y,d.anchor=I,d.kind=h?"mapping":"sequence",d.result=f,!0;t?M===44&&S(d,"expected the node content, but found ','"):S(d,"missed comma between flow collection entries"),x=N=R=null,A=u=!1,M===63&&(g=d.input.charCodeAt(d.position+1),G(g)&&(A=u=!0,d.position++,B(d,!0,l))),c=d.line,i=d.lineStart,m=d.position,Ke(d,l,Nr,!1,!0),x=d.tag,N=d.result,B(d,!0,l),M=d.input.charCodeAt(d.position),(u||d.line===c)&&M===58&&(A=!0,M=d.input.charCodeAt(++d.position),B(d,!0,l),Ke(d,l,Nr,!1,!0),R=d.result),h?Qe(d,f,b,x,N,R,c,i,m):A?f.push(Qe(d,null,b,x,N,R,c,i,m)):f.push(N),B(d,!0,l),M=d.input.charCodeAt(d.position),M===44?(t=!0,M=d.input.charCodeAt(++d.position)):t=!1}S(d,"unexpected end of the stream within a flow collection")}function Dy(d,l){var t,c,i=uo,m=!1,y=!1,f=l,I=0,g=!1,O,A;if(A=d.input.charCodeAt(d.position),A===124)c=!1;else if(A===62)c=!0;else return!1;for(d.kind="scalar",d.result="";A!==0;)if(A=d.input.charCodeAt(++d.position),A===43||A===45)uo===i?i=A===43?rs:uy:S(d,"repeat of a chomping mode identifier");else if((O=by(A))>=0)O===0?S(d,"bad explicit indentation width of a block scalar; it cannot be less than one"):y?S(d,"repeat of an indentation width identifier"):(f=l+O-1,y=!0);else break;if(De(A)){do A=d.input.charCodeAt(++d.position);while(De(A));if(A===35)do A=d.input.charCodeAt(++d.position);while(!le(A)&&A!==0)}for(;A!==0;){for(No(d),d.lineIndent=0,A=d.input.charCodeAt(d.position);(!y||d.lineIndent<f)&&A===32;)d.lineIndent++,A=d.input.charCodeAt(++d.position);if(!y&&d.lineIndent>f&&(f=d.lineIndent),le(A)){I++;continue}if(d.lineIndent<f){i===rs?d.result+=Y.repeat(`
11
+ `,m?1+I:I):i===uo&&m&&(d.result+=`
12
+ `);break}for(c?De(A)?(g=!0,d.result+=Y.repeat(`
13
+ `,m?1+I:I)):g?(g=!1,d.result+=Y.repeat(`
14
+ `,I+1)):I===0?m&&(d.result+=" "):d.result+=Y.repeat(`
15
+ `,I):d.result+=Y.repeat(`
16
+ `,m?1+I:I),m=!0,y=!0,I=0,t=d.position;!le(A)&&A!==0;)A=d.input.charCodeAt(++d.position);Me(d,t,d.position,!1)}return!0}function ns(d,l){var t,c=d.tag,i=d.anchor,m=[],y,f=!1,I;if(d.firstTabInLine!==-1)return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=m),I=d.input.charCodeAt(d.position);I!==0&&(d.firstTabInLine!==-1&&(d.position=d.firstTabInLine,S(d,"tab characters must not be used in indentation")),!(I!==45||(y=d.input.charCodeAt(d.position+1),!G(y))));){if(f=!0,d.position++,B(d,!0,-1)&&d.lineIndent<=l){m.push(null),I=d.input.charCodeAt(d.position);continue}if(t=d.line,Ke(d,l,xs,!1,!0),m.push(d.result),B(d,!0,-1),I=d.input.charCodeAt(d.position),(d.line===t||d.lineIndent>l)&&I!==0)S(d,"bad indentation of a sequence entry");else if(d.lineIndent<l)break}return f?(d.tag=c,d.anchor=i,d.kind="sequence",d.result=m,!0):!1}function ky(d,l,t){var c,i,m,y,f,I,g=d.tag,O=d.anchor,A={},u=Object.create(null),h=null,b=null,N=null,x=!1,R=!1,M;if(d.firstTabInLine!==-1)return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=A),M=d.input.charCodeAt(d.position);M!==0;){if(!x&&d.firstTabInLine!==-1&&(d.position=d.firstTabInLine,S(d,"tab characters must not be used in indentation")),c=d.input.charCodeAt(d.position+1),m=d.line,(M===63||M===58)&&G(c))M===63?(x&&(Qe(d,A,u,h,b,null,y,f,I),h=b=N=null),R=!0,x=!0,i=!0):x?(x=!1,i=!0):S(d,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),d.position+=1,M=c;else{if(y=d.line,f=d.lineStart,I=d.position,!Ke(d,t,ps,!1,!0))break;if(d.line===m){for(M=d.input.charCodeAt(d.position);De(M);)M=d.input.charCodeAt(++d.position);if(M===58)M=d.input.charCodeAt(++d.position),G(M)||S(d,"a whitespace character is expected after the key-value separator within a block mapping"),x&&(Qe(d,A,u,h,b,null,y,f,I),h=b=N=null),R=!0,x=!1,i=!1,h=d.tag,b=d.result;else if(R)S(d,"can not read an implicit mapping pair; a colon is missed");else return d.tag=g,d.anchor=O,!0}else if(R)S(d,"can not read a block mapping entry; a multiline key may not be an implicit key");else return d.tag=g,d.anchor=O,!0}if((d.line===m||d.lineIndent>l)&&(x&&(y=d.line,f=d.lineStart,I=d.position),Ke(d,l,Lr,!0,i)&&(x?b=d.result:N=d.result),x||(Qe(d,A,u,h,b,N,y,f,I),h=b=N=null),B(d,!0,-1),M=d.input.charCodeAt(d.position)),(d.line===m||d.lineIndent>l)&&M!==0)S(d,"bad indentation of a mapping entry");else if(d.lineIndent<l)break}return x&&Qe(d,A,u,h,b,null,y,f,I),R&&(d.tag=g,d.anchor=O,d.kind="mapping",d.result=A),R}function Ey(d){var l,t=!1,c=!1,i,m,y;if(y=d.input.charCodeAt(d.position),y!==33)return!1;if(d.tag!==null&&S(d,"duplication of a tag property"),y=d.input.charCodeAt(++d.position),y===60?(t=!0,y=d.input.charCodeAt(++d.position)):y===33?(c=!0,i="!!",y=d.input.charCodeAt(++d.position)):i="!",l=d.position,t){do y=d.input.charCodeAt(++d.position);while(y!==0&&y!==62);d.position<d.length?(m=d.input.slice(l,d.position),y=d.input.charCodeAt(++d.position)):S(d,"unexpected end of the stream within a verbatim tag")}else{for(;y!==0&&!G(y);)y===33&&(c?S(d,"tag suffix cannot contain exclamation marks"):(i=d.input.slice(l-1,d.position+1),Ss.test(i)||S(d,"named tag handle cannot contain such characters"),c=!0,l=d.position+1)),y=d.input.charCodeAt(++d.position);m=d.input.slice(l,d.position),Jy.test(m)&&S(d,"tag suffix cannot contain flow indicator characters")}m&&!us.test(m)&&S(d,"tag name cannot contain such characters: "+m);try{m=decodeURIComponent(m)}catch{S(d,"tag name is malformed: "+m)}return t?d.tag=m:be.call(d.tagMap,i)?d.tag=d.tagMap[i]+m:i==="!"?d.tag="!"+m:i==="!!"?d.tag="tag:yaml.org,2002:"+m:S(d,'undeclared tag handle "'+i+'"'),!0}function Uy(d){var l,t;if(t=d.input.charCodeAt(d.position),t!==38)return!1;for(d.anchor!==null&&S(d,"duplication of an anchor property"),t=d.input.charCodeAt(++d.position),l=d.position;t!==0&&!G(t)&&!We(t);)t=d.input.charCodeAt(++d.position);return d.position===l&&S(d,"name of an anchor node must contain at least one character"),d.anchor=d.input.slice(l,d.position),!0}function By(d){var l,t,c;if(c=d.input.charCodeAt(d.position),c!==42)return!1;for(c=d.input.charCodeAt(++d.position),l=d.position;c!==0&&!G(c)&&!We(c);)c=d.input.charCodeAt(++d.position);return d.position===l&&S(d,"name of an alias node must contain at least one character"),t=d.input.slice(l,d.position),be.call(d.anchorMap,t)||S(d,'unidentified alias "'+t+'"'),d.result=d.anchorMap[t],B(d,!0,-1),!0}function Ke(d,l,t,c,i){var m,y,f,I=1,g=!1,O=!1,A,u,h,b,N,x;if(d.listener!==null&&d.listener("open",d),d.tag=null,d.anchor=null,d.kind=null,d.result=null,m=y=f=Lr===t||xs===t,c&&B(d,!0,-1)&&(g=!0,d.lineIndent>l?I=1:d.lineIndent===l?I=0:d.lineIndent<l&&(I=-1)),I===1)for(;Ey(d)||Uy(d);)B(d,!0,-1)?(g=!0,f=m,d.lineIndent>l?I=1:d.lineIndent===l?I=0:d.lineIndent<l&&(I=-1)):f=!1;if(f&&(f=g||i),(I===1||Lr===t)&&(Nr===t||ps===t?N=l:N=l+1,x=d.position-d.lineStart,I===1?f&&(ns(d,x)||ky(d,x,N))||Py(d,N)?O=!0:(y&&Dy(d,N)||Cy(d,N)||Ty(d,N)?O=!0:By(d)?(O=!0,(d.tag!==null||d.anchor!==null)&&S(d,"alias node should not have any properties")):Ly(d,N,Nr===t)&&(O=!0,d.tag===null&&(d.tag="?")),d.anchor!==null&&(d.anchorMap[d.anchor]=d.result)):I===0&&(O=f&&ns(d,x))),d.tag===null)d.anchor!==null&&(d.anchorMap[d.anchor]=d.result);else if(d.tag==="?"){for(d.result!==null&&d.kind!=="scalar"&&S(d,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+d.kind+'"'),A=0,u=d.implicitTypes.length;A<u;A+=1)if(b=d.implicitTypes[A],b.resolve(d.result)){d.result=b.construct(d.result),d.tag=b.tag,d.anchor!==null&&(d.anchorMap[d.anchor]=d.result);break}}else if(d.tag!=="!"){if(be.call(d.typeMap[d.kind||"fallback"],d.tag))b=d.typeMap[d.kind||"fallback"][d.tag];else for(b=null,h=d.typeMap.multi[d.kind||"fallback"],A=0,u=h.length;A<u;A+=1)if(d.tag.slice(0,h[A].tag.length)===h[A].tag){b=h[A];break}b||S(d,"unknown tag !<"+d.tag+">"),d.result!==null&&b.kind!==d.kind&&S(d,"unacceptable node kind for !<"+d.tag+'> tag; it should be "'+b.kind+'", not "'+d.kind+'"'),b.resolve(d.result,d.tag)?(d.result=b.construct(d.result,d.tag),d.anchor!==null&&(d.anchorMap[d.anchor]=d.result)):S(d,"cannot resolve a node with !<"+d.tag+"> explicit tag")}return d.listener!==null&&d.listener("close",d),d.tag!==null||d.anchor!==null||O}function $y(d){var l=d.position,t,c,i,m=!1,y;for(d.version=null,d.checkLineBreaks=d.legacy,d.tagMap=Object.create(null),d.anchorMap=Object.create(null);(y=d.input.charCodeAt(d.position))!==0&&(B(d,!0,-1),y=d.input.charCodeAt(d.position),!(d.lineIndent>0||y!==37));){for(m=!0,y=d.input.charCodeAt(++d.position),t=d.position;y!==0&&!G(y);)y=d.input.charCodeAt(++d.position);for(c=d.input.slice(t,d.position),i=[],c.length<1&&S(d,"directive name must not be less than one character in length");y!==0;){for(;De(y);)y=d.input.charCodeAt(++d.position);if(y===35){do y=d.input.charCodeAt(++d.position);while(y!==0&&!le(y));break}if(le(y))break;for(t=d.position;y!==0&&!G(y);)y=d.input.charCodeAt(++d.position);i.push(d.input.slice(t,d.position))}y!==0&&No(d),be.call(ss,c)?ss[c](d,c,i):Cr(d,'unknown document directive "'+c+'"')}if(B(d,!0,-1),d.lineIndent===0&&d.input.charCodeAt(d.position)===45&&d.input.charCodeAt(d.position+1)===45&&d.input.charCodeAt(d.position+2)===45?(d.position+=3,B(d,!0,-1)):m&&S(d,"directives end mark is expected"),Ke(d,d.lineIndent-1,Lr,!1,!0),B(d,!0,-1),d.checkLineBreaks&&wy.test(d.input.slice(l,d.position))&&Cr(d,"non-ASCII line breaks are interpreted as content"),d.documents.push(d.result),d.position===d.lineStart&&kr(d)){d.input.charCodeAt(d.position)===46&&(d.position+=3,B(d,!0,-1));return}if(d.position<d.length-1)S(d,"end of the stream or a document separator is expected");else return}function zy(d,l){d=String(d),l=l||{},d.length!==0&&(d.charCodeAt(d.length-1)!==10&&d.charCodeAt(d.length-1)!==13&&(d+=`
17
+ `),d.charCodeAt(0)===65279&&(d=d.slice(1)));var t=new Ny(d,l),c=d.indexOf("\0");for(c!==-1&&(t.position=c,S(t,"null byte is not allowed in input")),t.input+="\0";t.input.charCodeAt(t.position)===32;)t.lineIndent+=1,t.position+=1;for(;t.position<t.length-1;)$y(t);return t.documents}function qy(d,l){var t=zy(d,l);if(t.length!==0){if(t.length===1)return t[0];throw new Ae("expected a single document in the stream, but found more")}}var Fy=qy,Yy={load:Fy},Gy=Yy.load;const Zy=te(V.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Hy=te(V.jsx("path",{d:"m20.54 5.23-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27M6.24 5h11.52l.81.97H5.44zM5 19V8h14v11zm8.45-9h-2.9v3H8l4 4 4-4h-2.55z"}),"ArchiveOutlined"),Wy=te(V.jsx("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline"),Qy=te(V.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"}),"InsertDriveFileOutlined");var H=function(){return H=Object.assign||function(l){for(var t,c=1,i=arguments.length;c<i;c++){t=arguments[c];for(var m in t)Object.prototype.hasOwnProperty.call(t,m)&&(l[m]=t[m])}return l},H.apply(this,arguments)};function Vo(d,l,t){for(var c=0,i=l.length,m;c<i;c++)(m||!(c in l))&&(m||(m=Array.prototype.slice.call(l,0,c)),m[c]=l[c]);return d.concat(m||Array.prototype.slice.call(l))}var Ky="data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgMzAwIiB3aWR0aD0iNDA2IiBoZWlnaHQ9IjMwNiIgY2xhc3M9ImlsbHVzdHJhdGlvbiBzdHlsZXNfaWxsdXN0cmF0aW9uVGFibGV0X18xRFdPYSI+PHRpdGxlPiMxNiBmaWxlcyBhbmQgZm9sZGVyczwvdGl0bGU+PHBhdGggZD0iTTE0Ny43MSwxNDcuN0gxNDAuOHYtMi43Nmg2LjkxYTMuNDQsMy40NCwwLDEsMCwwLTYuODhIMTQwLjhWMTM1LjNoNi45MWE2LjIsNi4yLDAsMSwxLDAsMTIuNFoiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMTQ3LjcxLDE0Ny43SDE0MC44di0yLjc2aDYuOTFhMy40NCwzLjQ0LDAsMSwwLDAtNi44OEgxNDAuOFYxMzUuM2g2LjkxYTYuMiw2LjIsMCwxLDEsMCwxMi40WiIgZmlsbD0iI2ZmZiIgb3BhY2l0eT0iMC42MSI+PC9wYXRoPjxlbGxpcHNlIGN4PSIxOTguNTYiIGN5PSIyNTYuOTkiIHJ4PSIxNDUuMDciIHJ5PSIyMC4xOCIgZmlsbD0iI2U2ZTZlNiIgb3BhY2l0eT0iMC40NSI+PC9lbGxpcHNlPjxwYXRoIGQ9Ik0yODguNzUsOTUuNjJjLTEuMzYsMjEuMDctMTEuNDIsNzMuNjEtNzkuNDMsNDQuMDZsMi4zNC02Ljk0czMzLjYxLDUuOTMsNDIuNS02LjU0YzcuNTItMTAuNTYsNy40LTQ1LjE5LDI0LTQzLjU0QTEyLjA5LDEyLjA5LDAsMCwxLDI4OC43NSw5NS42MloiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjg4Ljc1LDk1LjYyYy0xLjM2LDIxLjA3LTExLjQyLDczLjYxLTc5LjQzLDQ0LjA2bDIuMzQtNi45NHMzMy42MSw1LjkzLDQyLjUtNi41NGM3LjUyLTEwLjU2LDcuNC00NS4xOSwyNC00My41NEExMi4wOSwxMi4wOSwwLDAsMSwyODguNzUsOTUuNjJaIiBvcGFjaXR5PSIwLjA4Ij48L3BhdGg+PHBhdGggZD0iTTIyNi4xNSw1Ni4zNnMxLjM4LDcuNTksNCwxMi4xOGEzLjg3LDMuODcsMCwwLDAsNS4zLDEuNDVjMi4zLTEuMzQsNS0zLjgxLDQuNzYtOGwuNDUtNy4xMWE2LjkxLDYuOTEsMCwwLDAtNC44OS02LjMzQzIzMC43Miw0Ni43MSwyMjUuMDgsNTEuNzgsMjI2LjE1LDU2LjM2WiIgZmlsbD0iI2Y0YTI4YyI+PC9wYXRoPjxwb2x5Z29uIHBvaW50cz0iMjQwLjcyIDU3LjIyIDI1NS42OSA3Mi4zMyAyNDYuNzUgODIuMDQgMjM3LjM2IDYzLjk4IDI0MC43MiA1Ny4yMiIgZmlsbD0iI2Y0YTI4YyI+PC9wb2x5Z29uPjxwYXRoIGQ9Ik0yMzUuOCw2MC41OHMtLjczLTIuODgsMS40OC0zLjI1LDMuMjksMy43OS40Nyw1WiIgZmlsbD0iI2Y0YTI4YyI+PC9wYXRoPjxwYXRoIGQ9Ik0yMjcuMjcsNjEuMSwyMjYsNjQuNTNhMS4yNCwxLjI0LDAsMCwwLDEuMjUsMS42N2wzLS4yNFoiIGZpbGw9IiNmNGEyOGMiPjwvcGF0aD48cGF0aCBkPSJNMjY1LjIxLDI0OC43OXMtMiwzLjY1LTUuNTMsMy40MS01LDMtMiw0LjQxLDExLjc0LTEuNDIsMTEuNzQtMS40MmwuNTUtNS4wOFoiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMzA3LjM1LDI0NC4xNHMyLjI1LDMuNTEuMzIsNi40OS4yNiw1LjgzLDIuOTEsMy44Niw0LjQzLTExLDQuNDMtMTFsLTQuMTktMi45M1oiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjM4Ljg3LDY2Ljg4QTE1LjU0LDE1LjU0LDAsMCwwLDI0MC4xOCw2MlMyNDYsNjcuMzgsMjQyLjEsNzMuMVoiIGZpbGw9IiNjZTgxNzIiIG9wYWNpdHk9IjAuMzEiPjwvcGF0aD48cG9seWdvbiBwb2ludHM9IjI2My40NiAxNzAuMzUgMjYzLjAzIDI1MC40NCAyNzMuMzkgMjUwLjQ0IDI4Ni42NSAxNjkuMzIgMjYzLjQ2IDE3MC4zNSIgZmlsbD0iIzI0Mjg1YiI+PC9wb2x5Z29uPjxwYXRoIGQ9Ik0yNDguNDEsNzYuNDZhMzAuNjYsMzAuNjYsMCwwLDEsMTguMzEtNi43MWMxMC44LS4xMSw0MC45MiwxLjc0LDM4Ljg2LDM4LjU4LTEuNTMsMjcuMy0yLjMxLDU3LjUtMi4zMSw1Ny41bC0zOS42Niw2LjYxUzIxNi4yNCwxMDUuNDEsMjQ4LjQxLDc2LjQ2WiIgZmlsbD0iI2ZmZmZmZiI+PC9wYXRoPjxwYXRoIGQ9Ik0yNzQuNjIsODUuNzJzLTguMzEsMTAtMy4xNywyOC4yOCwxMi4zNiw0MC4zMy0xMi40LDUxLjQxbDQuNTYsNywzOS42Ni02LjYxLjUyLTE2Ljg4LDYuMzctMzEuMjZaIiBvcGFjaXR5PSIwLjA4Ij48L3BhdGg+PHJlY3QgeD0iMTA5LjI1IiB5PSIxNTAuMzEiIHdpZHRoPSI2Ni45NyIgaGVpZ2h0PSIxMDYuNjgiIGZpbGw9IiNhNWE1YTUiIG9wYWNpdHk9IjAuNzkiPjwvcmVjdD48cmVjdCB4PSIxMzguNDgiIHk9IjE1MC4zMSIgd2lkdGg9IjU3LjkzIiBoZWlnaHQ9IjEwNi42OCIgZmlsbD0iI2U2ZTZlNiI+PC9yZWN0Pjxwb2x5Z29uIHBvaW50cz0iMTc5LjggMTU2LjU1IDE3OC43NCAxNjIuNjYgMTUwLjMgMTYyLjY2IDE1MC4zIDE4OC40NCAxOTcuNiAxODguNDQgMTk3LjYgMTY3LjQ0IDE5Ny42IDE2Mi42NiAxOTcuNiAxNTYuNTUgMTc5LjggMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIxNzkuOCAxNTYuNTUgMTc4Ljc0IDE2Mi42NiAxNTAuMyAxNjIuNjYgMTUwLjMgMTg4LjQ0IDE5Ny42IDE4OC40NCAxOTcuNiAxNjcuNDQgMTk3LjYgMTYyLjY2IDE5Ny42IDE1Ni41NSAxNzkuOCAxNTYuNTUiIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cG9seWdvbiBwb2ludHM9IjE4Ni43MSAxNTYuNTUgMTg1LjY1IDE2Mi42NiAxNTcuMjEgMTYyLjY2IDE1Ny4yMSAxODguNDQgMjA0LjUxIDE4OC40NCAyMDQuNTEgMTY3LjQ0IDIwNC41MSAxNjIuNjYgMjA0LjUxIDE1Ni41NSAxODYuNzEgMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIyNjIuOTggMTIxLjA3IDI2NC45MiAxMjguMjggMjM4Ljc4IDEzOS40OSAyNTEuMDcgMTY4LjE0IDI5NC41NSAxNDkuNDkgMjg0LjU0IDEyNi4xNiAyODIuMjYgMTIwLjg0IDI3OS4zNCAxMTQuMDUgMjYyLjk4IDEyMS4wNyIgZmlsbD0iI2ZmZDIwMCI+PC9wb2x5Z29uPjxwb2x5Z29uIHBvaW50cz0iMjYyLjk4IDEyMS4wNyAyNjQuOTIgMTI4LjI4IDIzOC43OCAxMzkuNDkgMjUxLjA3IDE2OC4xNCAyOTQuNTUgMTQ5LjQ5IDI4NC41NCAxMjYuMTYgMjgyLjI2IDEyMC44NCAyNzkuMzQgMTE0LjA1IDI2Mi45OCAxMjEuMDciIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cG9seWdvbiBwb2ludHM9IjI2OS4zMyAxMTguMzQgMjcxLjI3IDEyNS41NiAyNDUuMTMgMTM2Ljc2IDI1Ny40MiAxNjUuNDEgMzAwLjg5IDE0Ni43NyAyOTAuODkgMTIzLjQzIDI4OC42MSAxMTguMTIgMjg1LjY5IDExMS4zMyAyNjkuMzMgMTE4LjM0IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIxOTIuNDIgMTU2LjU1IDE5MS4zNiAxNjIuNjYgMTYyLjkzIDE2Mi42NiAxNjIuOTMgMTg4LjQ0IDIxMC4yMyAxODguNDQgMjEwLjIzIDE2Ny40NCAyMTAuMjMgMTYyLjY2IDIxMC4yMyAxNTYuNTUgMTkyLjQyIDE1Ni41NSIgZmlsbD0iI2ZmZDIwMCI+PC9wb2x5Z29uPjxwb2x5Z29uIHBvaW50cz0iMTkyLjQyIDE1Ni41NSAxOTEuMzYgMTYyLjY2IDE2Mi45MyAxNjIuNjYgMTYyLjkzIDE4OC40NCAyMTAuMjMgMTg4LjQ0IDIxMC4yMyAxNjcuNDQgMjEwLjIzIDE2Mi42NiAyMTAuMjMgMTU2LjU1IDE5Mi40MiAxNTYuNTUiIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cmVjdCB4PSIxNjQuMTIiIHk9IjE1MS41NiIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjIuMDkgMjguNjIpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiMyNDI4NWIiPjwvcmVjdD48cmVjdCB4PSIxNjQuMTIiIHk9IjE1MS41NiIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjIuMDkgMjguNjIpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiNmZmYiIG9wYWNpdHk9IjAuMTIiPjwvcmVjdD48cmVjdCB4PSIxNjYuNDUiIHk9IjE0Ny4yMyIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjEuNDQgMjguOTEpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiMyNDI4NWIiPjwvcmVjdD48cG9seWdvbiBwb2ludHM9IjE5OS4zMyAxNTYuNTUgMTk4LjI3IDE2Mi42NiAxNjkuODQgMTYyLjY2IDE2OS44NCAxODguNDQgMjE3LjE0IDE4OC40NCAyMTcuMTQgMTY3LjQ0IDIxNy4xNCAxNjIuNjYgMjE3LjE0IDE1Ni41NSAxOTkuMzMgMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHJlY3QgeD0iMTQ3LjY1IiB5PSIxNzAuMzciIHdpZHRoPSI3NC41NCIgaGVpZ2h0PSIyOS4xIiBmaWxsPSIjYTVhNWE1Ij48L3JlY3Q+PHBhdGggZD0iTTI5MS4xMywxMjRhMjEyLjI0LDIxMi4yNCwwLDAsMS0xNCwxNi4yNyw2My43OCw2My43OCwwLDAsMS0xMi42Nyw5LjkyYy0yLjY5LDEuNjUtNS41Miw0LjU5LTMuNjIsOS4xOWgxNC44MUwyOTUsMTMzLjEzWiIgb3BhY2l0eT0iMC4wOCI+PC9wYXRoPjxyZWN0IHg9IjE3MS4xNiIgeT0iMTcwLjM3IiB3aWR0aD0iNTEuMDIiIGhlaWdodD0iMjkuMSIgZmlsbD0iI2YyZjJmMiI+PC9yZWN0PjxyZWN0IHg9IjE0Ny42NSIgeT0iMjEyLjkyIiB3aWR0aD0iNTkuMDIiIGhlaWdodD0iMjkuMSIgZmlsbD0iI2YyZjJmMiI+PC9yZWN0PjxyZWN0IHg9IjEyOC4zOCIgeT0iMTMyLjMiIHdpZHRoPSIxNi44OSIgaGVpZ2h0PSIxOC40IiBmaWxsPSIjZmZmZmZmIj48L3JlY3Q+PGNpcmNsZSBjeD0iMTk3LjU3IiBjeT0iMTgzLjc1IiByPSI0LjA5IiBmaWxsPSIjYTVhNWE1Ij48L2NpcmNsZT48Y2lyY2xlIGN4PSIxNzguMDQiIGN5PSIyMjYuMzEiIHI9IjQuMDkiIGZpbGw9IiNhNWE1YTUiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0yMTEuMjMsMTM0YTIyLjE2LDIyLjE2LDAsMCwwLTguMjYsMS4yNWMtNC40MywxLjU2LTguNTMsNS41MS01LjM3LDEwLjEzLDIuNDQsMy41Niw1LjksMS43Miw3LjE5LTEuMTNzMi4wNy01LjYxLDQuNTMtNC41N1oiIGZpbGw9IiNmNGEyOGMiPjwvcGF0aD48cGF0aCBkPSJNMjg4LjQ4LDc0LjUzYTUxLjc0LDUxLjc0LDAsMCwxLDI5LDI3LjA4LDM2LjQsMzYuNCwwLDAsMS0xLjA5LDMzLjIxYy01Ljg3LDEwLjI2LTE3LjksMjEuNzctNDIuNTcsMjYuNzVsLTIuODctNy4yMSwyMy41Ni0yMC42OWExMi4xOCwxMi4xOCwwLDAsMCwuNTgtMTcuNzljLTctNy0xNS45LTE3LjMtMTkuOTEtMjguMTdBMTAuMywxMC4zLDAsMCwxLDI4OC40OCw3NC41M1oiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjg4LjQ4LDc0LjUzYTUxLjc0LDUxLjc0LDAsMCwxLDI5LDI3LjA4LDM2LjQsMzYuNCwwLDAsMS0xLjA5LDMzLjIxYy01Ljg3LDEwLjI2LTE3LjksMjEuNzctNDIuNTcsMjYuNzVsLTIuODctNy4yMSwyMy41Ni0yMC42OWExMi4xOCwxMi4xOCwwLDAsMCwuNTgtMTcuNzljLTctNy0xNS45LTE3LjMtMTkuOTEtMjguMTdBMTAuMywxMC4zLDAsMCwxLDI4OC40OCw3NC41M1oiIGZpbGw9IiNmZmYiIG9wYWNpdHk9IjAuMiI+PC9wYXRoPjxwYXRoIGQ9Ik0yNzEuNDUsMTU1LjdzLTExLTEuMi0xMiwzLTEuNjgsNi43NC0xLjY4LDYuNzRhMzAuMSwzMC4xLDAsMCwwLDE1LjY2LTQuODJaIiBmaWxsPSIjZjRhMjhjIj48L3BhdGg+PHBhdGggZD0iTTMwMy4yNywxNjUuODNhMTA0Ljc4LDEwNC43OCwwLDAsMSwuMTgsMTUuMzhjLS4yNyw2LjMxLTEuOTEsMTYuODItMy4xNSwyNC4wOUEyMy4yMiwyMy4yMiwwLDAsMCwzMDMsMjIwLjZsMTAsMTcuNzktNy4yNiw3LjI0LTExLjkxLTE1LjQ4YTY0Ljg4LDY0Ljg4LDAsMCwxLTEyLjE2LTI3bC0zLjc5LTE5LjM0LTkuNTUtMTIuMTRaIiBmaWxsPSIjMjQyODViIj48L3BhdGg+PHBhdGggZD0iTTIyMS43NSw0Ny4zM3MtMy4wOSw3LjE0LDQuMjksNy40OSw3LjI5LTEuMTUsNy4yOS0xLjE1LjQ2LDkuNTQsNi44NSw4LjM1bDIuNjUtMi42OHMzLTEyLjE3LTIuMi0xNC44NEMyNDAuNjMsNDQuNSwyMzAuMjUsMzMuODMsMjIxLjc1LDQ3LjMzWiIgZmlsbD0iIzI0Mjg1YiI+PC9wYXRoPjxwYXRoIGQ9Ik0yMzUuNjgsNjEuNzNzLjM5LTYuMjIsMy44OS00LjY3UzI0MC43Niw2NS4zOSwyMzUuNjgsNjEuNzNaIiBmaWxsPSIjZjRhMjhjIj48L3BhdGg+PHBhdGggZD0iTTE0MC44LDEzMi4zczExLjg5LTcuNjMsMC0xOC4zLTE2LjU1LDE0LTI1LjIyLTIuNjcsMTMuMzMtMzQuNjYtMTEtMzZTOTUuNDcsNTguNjIsNzQuNTIsNTYuODEsNDcuOTEsOTIuMTEsNjMuOTEsOTQuNTZzMzEuMzQsMy40NCwyNywxOC43NywxMiwxOS41LDE5LjY3LDE1Ljc1LDE3LjgsMy4yMiwxNy44LDMuMjJaIiBmaWxsPSIjZTZlNmU2IiBvcGFjaXR5PSIwLjQ1Ij48L3BhdGg+PHBhdGggZD0iTTk4LDI0MnMtMTEuODUtMy4xOC0xNC40Ny0xNC4xOGMwLDAsMTguMzItMy43OCwxOC45MiwxNS4xNFoiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuNTgiPjwvcGF0aD48cGF0aCBkPSJNOTkuNDYsMjQwLjc4cy04LjMyLTEzLTEuMS0yNS4yOGMwLDAsMTQsOC43OSw3Ljg2LDI1LjI4WiIgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC43MyI+PC9wYXRoPjxwYXRoIGQ9Ik0xMDEuNTksMjQwLjc4czQuMzEtMTMuODIsMTcuNS0xNi40OWMwLDAsMi41Miw5LTguNDgsMTYuNDlaIiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PHBvbHlnb24gcG9pbnRzPSI5My4wMSAyNDAuNTEgOTUuNDggMjU2LjkxIDExMC41OCAyNTYuOTEgMTEyLjc0IDI0MC41MSA5My4wMSAyNDAuNTEiIGZpbGw9IiMyNDI4NWIiPjwvcG9seWdvbj48L3N2Zz4=";function js(d){var l=d.size,t=d.file,c=d.index,i=d.disabled,m=d.handleRemoveFile,y=Xe(),f=C.useRef(null),I=j.createElement(Qy,{color:"primary",fontSize:"large"});return/\.(g?zip|tar|gz|rar)$/i.test(t.name)&&(I=j.createElement(Hy,{color:"primary",fontSize:"large"})),/\.(mp.|midi|mkv|avi)$/i.test(t.name)&&(I=j.createElement(Wy,{color:"primary",fontSize:"large"})),j.createElement(j.Fragment,null,j.createElement(Rr,{sx:{mb:0,display:"flex",alignItems:"center","&:nth-of-type(even)":{backgroundColor:y.palette.action.hover}}},j.createElement(Rr,{sx:{display:"flex",flexGrow:1,alignItems:"center"}},j.createElement(Di,{alt:"",src:t.path,ref:f,variant:"rounded",sx:{m:.5,width:32,height:32,display:"flex",background:"transparent"}},I),j.createElement(K,{component:"div",sx:{display:"inline-grid",alignItems:"center"}},j.createElement(K,{variant:"body2",noWrap:!0},t.name),j.createElement(K,{variant:"caption",noWrap:!0},j.createElement(j.Fragment,null,j.createElement("b",null,l)," | ",j.createElement("b",null,t!=null&&t.extension?t.extension.toLowerCase():""))))),j.createElement(K,{component:"div",sx:{mr:-.5,textAlign:"right"}},j.createElement(is,{disabled:i,onClick:function(g){return m(g,c)}},j.createElement(Zy,null)))))}js.propTypes={size:J.string,file:J.object,disabled:J.bool,index:J.number.isRequired,handleRemoveFile:J.func.isRequired};var Xy=ce(K)(function(){return{"&::-webkit-scrollbar":{width:7,height:6},"&::-webkit-scrollbar-track":{WebkitBoxShadow:"inset 0 0 6px rgb(125, 161, 196, 0.5)"},"&::-webkit-scrollbar-thumb":{WebkitBorderRadius:4,borderRadius:4,background:"rgba(0, 172, 193, .5)",WebkitBoxShadow:"inset 0 0 6px rgba(25, 118, 210, .5)"},"&::-webkit-scrollbar-thumb:window-inactive":{background:"rgba(125, 161, 196, 0.5)"}}}),ls=1024*1024;function Co(d){var l=d.title,t=d.header,c=d.onError,i=d.disabled,m=d.imageSrc,y=d.getBase64,f=d.imageSrcAlt,I=d.multiFile,g=d.leftLabel,O=d.rightLabel,A=d.buttonLabel,u=d.maxFileSize,h=d.bannerProps,b=d.BannerProps,N=d.acceptedType,x=d.defaultFiles,R=d.onFilesChange,M=d.maxUploadFiles,$=M===void 0?0:M,z=d.containerProps,p=d.ContainerProps,D=d.onContextReady,W=d.showPlaceholderImage,ie=d.errorSizeMessage,ae=d.allowedExtensions,X=d.buttonRemoveLabel,ke=d.LabelsGridProps,Ee=d.PlaceholderGridProps,Re=d.filesContainerHeight,Ue=d.maxFilesContainerHeight,Be=d.placeholderImageDimension,$e=d.PlaceholderImageDimension,Z=Xe(),k=H(H({},h),b),Er=H(H({},z),p),ze=H(H({},Be),$e),gr=ze.lg,Ar=ze.md,Or=ze.sm,hr=ze.xs,pr=C.useState(),xr=pr[0],se=pr[1],Sr=C.useState(),Q=Sr[0],ur=Sr[1],_=C.useState(),Vr=_[0],Ne=_[1],wr=C.useState([]),T=wr[0],Le=wr[1],me=C.useState([]),de=me[0],_e=me[1],ye=C.useRef(null),ne=C.useRef(null),er=C.useRef(null),Oe={width:128,height:128};ir(Z.breakpoints.up("xs"))&&hr&&(Oe=hr),ir(Z.breakpoints.up("sm"))&&Or&&(Oe=Or),ir(Z.breakpoints.up("md"))&&Ar&&(Oe=Ar),ir(Z.breakpoints.up("lg"))&&gr&&(Oe=gr);var rr=function(L,P){if(Ne(!1),se(null),!P&&L.target.files&&(P=L.target.files),(!P||P.length===0)&&c)return c("Empty file input"),!1;if($&&$-T.length<=0&&c){var fe="You cannot attach more than ".concat($," files");return se(fe),c(fe),!1}if(window.File&&window.FileReader&&window.FileList&&window.Blob)try{for(var qr=function(sr){var ee=P[sr],jr=new FileReader,ve=ee.type.split("/")[1];if(u&&u>0&&ee.size>1048576*u){var Fe=ie||"The size of files cannot exceed ".concat(u,"Mb");return se(Fe),c&&c(Fe),"continue"}if(ae&&ae.length>0){var dr=ae.findIndex(function(nr){return nr.toLowerCase()===ve.toLowerCase()})!==-1;if(!dr){var Ye="Extension .".concat(ve," has been excluded");return se(Ye),c&&c(Ye),"continue"}}y||(de.push(ee),_e(de)),jr.addEventListener("load",function(){T.push({name:ee.name,size:ee.size,path:this.result,type:ee.type,contentType:ee.type,lastModified:ee.lastModified,extension:ve==null?void 0:ve.toLowerCase()}),Le(Vo([],T,!0))},!1),jr.readAsDataURL(ee)},ar=0;ar<(P==null?void 0:P.length);ar++)qr(ar);return L.target.value="",!0}catch(sr){return se(sr.toString()),!1}return!1},or=function(L,P){if(se(null),ye.current&&(ye.current.value=""),typeof P!="number"){Le([]),_e([]);return}if(P<0||P>T.length-1)return console.error("item's index not found...");var fe=H({},T[P]);return T==null||T.splice(P,1),de==null||de.splice(P,1),Le(Vo([],T)),_e(Vo([],de)),fe},Ur=C.useCallback(function(L){L.preventDefault(),Ne(!0)},[]),qe=C.useCallback(function(L){L.stopPropagation(),L.preventDefault()},[]),Br=C.useCallback(function(L){var P;L.stopPropagation(),L.preventDefault(),Ne(!1),ur({event:L,files:(P=L.dataTransfer)===null||P===void 0?void 0:P.files})},[]),$r=C.useCallback(function(){Ne(!1)},[]),Jr=function(){return{addFile:rr,removeFile:or,input:ye.current,files:y?T:de}};C.useEffect(function(){ye.current&&D&&typeof D=="function"&&D(Jr())},[ye.current]),C.useEffect(function(){var L=er.current;L&&!L.ondrop&&!i&&(L.ondrop=Br,L.ondragend=$r,L.ondragover=qe,L.ondragenter=Ur)},[er.current]),C.useEffect(function(){x&&x.length>0&&T.length!==x.length&&Le(x)},[x]),C.useEffect(function(){Q!=null&&Q.event&&(Q!=null&&Q.files)&&(rr(Q.event,Q.files),ur(null)),R&&(R(y?T:de),D&&D(Jr()))},[T,Q]);var zr=Vr?Z.palette.secondary.light:Z.palette.primary.light;return j.createElement(j.Fragment,null,j.createElement(wo,H({sx:{p:1},elevation:0,ref:er,variant:"outlined"},Er),j.createElement(K,{gutterBottom:!0,component:"div",color:"textSecondary",sx:{display:"flex"}},j.createElement(Rr,{sx:{flexGrow:1,fontSize:12}},l),(T==null?void 0:T.length)>0&&j.createElement(Rr,{sx:{fontSize:12}},T.length,$>0&&"/".concat($)," file",(T==null?void 0:T.length)>1&&"s"," joined")),j.createElement(wo,H({elevation:0,sx:{p:1,transition:500,background:zr}},k),j.createElement(po,{container:!0,spacing:2,alignItems:"center",justifyContent:"center"},W&&j.createElement(po,H({item:!0,xs:12,sm:3,md:4,sx:{textAlign:"center",mt:{xs:-3,sm:2}}},Ee),j.createElement("img",{alt:f,src:m||Ky,width:Oe.width,height:Oe.height})),j.createElement(po,H({item:!0,xs:12,sm:!0,md:!0,sx:{color:"#fff",textAlign:"center",mt:{xs:W?-4:0,sm:2}}},ke),j.createElement(_a,{smDown:!0},j.createElement(K,{variant:"h5"},j.createElement("b",null,t))),j.createElement(_a,{smUp:!0},j.createElement(K,{variant:"h6"},j.createElement("b",null,t))),j.createElement(K,{variant:"caption"},g,j.createElement(Jo,{size:"small",color:"secondary",variant:"outlined",disabled:i,onClick:function(){var L;return(L=ye.current)===null||L===void 0?void 0:L.click()},sx:{m:.5,color:Z.palette.grey[50],borderColor:Z.palette.grey[50],"&:hover":{borderColor:Z.palette.grey[50]}}},A),O),j.createElement("input",{type:"file",ref:ye,onChange:function(L){return rr(L)},multiple:I,accept:N,style:{display:"none"}})))),xr&&j.createElement(Mi,{color:"error",severity:"error",sx:{mt:1},onClose:function(){return se(null)}},xr),(T==null?void 0:T.length)>0&&j.createElement(j.Fragment,null,j.createElement(Xy,{component:"div",sx:{overflowY:"auto",mt:2,mr:-1,pr:1,height:Re,maxHeight:Ue}},T==null?void 0:T.map(function(L,P){var fe=(L.size/1024).toFixed(2)+" Kb";return L.size>ls&&(fe=(L.size/ls).toFixed(2)+" Mb"),j.createElement(js,{file:L,size:fe,index:P,disabled:i,key:"upload-file--".concat(P),handleRemoveFile:or})})),j.createElement(K,{component:"div",align:"right",sx:{mt:1}},j.createElement(Jo,{size:"small",disabled:i,onClick:or,ref:ne},X||"Remove all")))))}Co.propTypes={getBase64:J.bool,maxUploadFiles:J.number,title:J.string,header:J.string,leftLabel:J.string,rightLabel:J.string,buttonLabel:J.string,multiFile:J.bool,disabled:J.bool,defaultFiles:J.array,maxFileSize:J.number,maxFilesContainerHeight:J.number,errorSizeMessage:J.string,imageSrc:J.string,imageSrcAlt:J.string,acceptedType:J.string,bannerProps:J.object,BannerProps:J.object,containerProps:J.object,ContainerProps:J.object,allowedExtensions:J.array,onError:J.func,onContextReady:J.func,onFilesChange:J.func,showPlaceholderImage:J.bool,LabelsGridProps:J.object,PlaceholderGridProps:J.object,placeholderImageDimension:J.object,PlaceholderImageDimension:J.object};Co.defaultProps={getBase64:!1,multiFile:!0,maxFileSize:0,maxUploadFiles:0,acceptedType:"*/*",defaultFiles:[],allowedExtensions:[],title:"My awesome file uploader",header:">[Drag to drop]<",leftLabel:"or",rightLabel:"to select files",buttonLabel:"click here",imageSrcAlt:"Placeholder image",maxFilesContainerHeight:300,showPlaceholderImage:!0,placeholderImageDimension:{},PlaceholderImageDimension:{},bannerProps:{},BannerProps:{},containerProps:{},ContainerProps:{},LabelsGridProps:{},PlaceholderGridProps:{}};function _y(d){const[l,t]=j.useState([]),c=async i=>{const m=i.at(-1);if(m===void 0){d.onChange(null,null);return}const y=await m.arrayBuffer(),f=new TextDecoder().decode(y),I=m.name.split(".").pop();try{const g=I==="json"?JSON.parse(f):Gy(f),O=(()=>{const A=e=>typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&u(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&N(e.info))&&typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&M(e.components)&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Q(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&Q(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&er(r)))&&e["x-samchon-emended-v4"]===!0,u=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&h(e.variables)),h=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&b(o)}),b=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),N=e=>typeof e.title=="string"&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&x(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&R(e.license))&&typeof e.version=="string",x=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"&&/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e.email)),R=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),M=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&$(e.schemas))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Er(e.securitySchemes)),$=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Ce(o)}),z=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),p=e=>Object.keys(e).every(r=>(e[r]===void 0,!0)),D=e=>(e.default===void 0||typeof e.default=="boolean")&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),W=e=>(e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),ie=e=>(e.default===void 0||typeof e.default=="number")&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),ae=e=>(e.default===void 0||typeof e.default=="string")&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),X=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Ce(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),ke=e=>e.type==="array"&&Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ce(r))&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&Ce(e.additionalItems))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Ee=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&$(e.properties))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&Ce(e.additionalProperties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Re=e=>typeof e.$ref=="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Ue=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Vn(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Z(e.discriminator))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Be=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),$e=e=>e.type!==null&&e.type===void 0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Z=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&k(e.mapping)),k=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="string"}),Er=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&jn(o)}),ze=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),gr=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Ar=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Or=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&hr(e.flows)&&(e.description===void 0||typeof e.description=="string"),hr=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&pr(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&xr(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&se(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&se(e.clientCredentials)),pr=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),xr=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),se=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),Sr=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Q=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ur(o)}),ur=e=>(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&u(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&_(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&_(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&_(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&_(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&_(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&_(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&_(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&_(e.trace)),_=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Vr(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&T(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&de(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&u(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&(e["x-samchon-human"]===void 0||typeof e["x-samchon-human"]=="boolean")&&(e["x-samchon-accessor"]===void 0||Array.isArray(e["x-samchon-accessor"])&&e["x-samchon-accessor"].every(r=>typeof r=="string"))&&(e["x-samchon-controller"]===void 0||typeof e["x-samchon-controller"]=="string"),Vr=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ce(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Ne(e.examples)),Ne=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&wr(o)}),wr=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),T=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Le(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),Le=e=>(e["text/plain"]===void 0||typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1&&me(e["text/plain"]))&&(e["application/json"]===void 0||typeof e["application/json"]=="object"&&e["application/json"]!==null&&Array.isArray(e["application/json"])===!1&&me(e["application/json"]))&&(e["application/x-www-form-url-encoded"]===void 0||typeof e["application/x-www-form-url-encoded"]=="object"&&e["application/x-www-form-url-encoded"]!==null&&Array.isArray(e["application/x-www-form-url-encoded"])===!1&&me(e["application/x-www-form-url-encoded"]))&&(e["multipart/form-data"]===void 0||typeof e["multipart/form-data"]=="object"&&e["multipart/form-data"]!==null&&Array.isArray(e["multipart/form-data"])===!1&&me(e["multipart/form-data"]))&&(e["*/*"]===void 0||typeof e["*/*"]=="object"&&e["*/*"]!==null&&Array.isArray(e["*/*"])===!1&&me(e["*/*"]))&&Object.keys(e).every(r=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(s=>r===s))return!0;const o=e[r];return o===void 0?!0:o===void 0||typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&me(o)}),me=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ce(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Ne(e.examples)),de=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&_e(o)}),_e=e=>(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&ye(e.headers))&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Le(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),ye=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Vr(o)}),ne=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:Array.isArray(o)&&o.every(s=>typeof s=="string")}),er=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Oe=e=>e.swagger!==null&&e.swagger!==void 0&&(e.swagger==="2.0"||typeof e.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.swagger))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&rr(e.info))&&(e.host===void 0||typeof e.host=="string")&&(e.basePath===void 0||typeof e.basePath=="string")&&(e.consumes===void 0||Array.isArray(e.consumes)&&e.consumes.every(r=>typeof r=="string"))&&(e.produces===void 0||Array.isArray(e.produces)&&e.produces.every(r=>typeof r=="string"))&&(e.definitions===void 0||typeof e.definitions=="object"&&e.definitions!==null&&Array.isArray(e.definitions)===!1&&qe(e.definitions))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&jr(e.parameters))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ms(e.responses))&&(e.securityDefinitions===void 0||typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1&&bs(e.securityDefinitions))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Ds(e.paths))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&Bs(r))),rr=e=>typeof e.title=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&or(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Ur(e.license))&&typeof e.version=="string",or=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"),Ur=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),qe=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&re(o)}),Br=e=>(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),$r=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),Jr=e=>(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),zr=e=>(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),L=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&re(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),P=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&qe(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&re(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),fe=e=>typeof e.$ref=="string"&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),qr=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),ar=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),sr=e=>e.type==="null"&&(e.default===null||e.default===void 0)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),ee=e=>e.type!==null&&e.type===void 0&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),jr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Mn(o)}),ve=e=>(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",Fe=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",dr=e=>(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",Ye=e=>(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",nr=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&re(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",Fr=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&qe(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&re(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",lr=e=>typeof e.$ref=="string"&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",Yr=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",Gr=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",Zr=e=>e.type==="null"&&(e.default===null||e.default===void 0)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",tr=e=>e.type!==null&&e.type===void 0&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&typeof e.name=="string"&&typeof e.in=="string",Hr=e=>typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&re(e.schema)&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean"),Ms=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&To(o)}),To=e=>(e.description===void 0||typeof e.description=="string")&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&qe(e.headers))&&(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&re(e.schema))&&!0,bs=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&bn(o)}),Rs=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Ns=e=>e.type==="basic"&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Ls=e=>e.type==="oauth2"&&e.flow==="implicit"&&(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Cs=e=>e.type==="oauth2"&&e.flow==="accessCode"&&(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Ts=e=>e.type==="oauth2"&&e.flow==="password"&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Ps=e=>e.type==="oauth2"&&e.flow==="application"&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Ds=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ks(o)}),ks=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&wn(r)))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&he(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&he(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&he(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&he(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&he(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&he(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&he(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&he(e.trace)),Po=e=>typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),he=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Jn(r)))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Es(e.responses))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),Do=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),Es=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Rn(o)}),Us=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean"),Bs=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),$s=e=>e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&Fs(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&Zs(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Vd(e.paths))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&Rd(r))),Wr=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&zs(e.variables)),zs=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&qs(o)}),qs=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),Fs=e=>typeof e.title=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&Ys(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Gs(e.license))&&typeof e.version=="string",Ys=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"),Gs=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),Zs=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&ko(e.schemas))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&ld(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&md(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&yd(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&fd(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Sd(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&ud(e.examples)),ko=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Ie(o)}),Hs=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Ws=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Qs=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Ks=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Xs=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Ie(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),_s=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&ko(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&Ie(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),ed=e=>typeof e.$ref=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),rd=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ie(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),od=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ie(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),ad=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ie(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&sd(e.discriminator))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),sd=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&k(e.mapping)),dd=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),nd=e=>e.type!==null&&e.type===void 0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),ld=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Eo(o)}),Eo=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Uo(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&id(e.headers))&&(e.description===void 0||typeof e.description=="string"),Uo=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&td(o)}),td=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ie(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Qr(e.examples)),Qr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Nn(o)}),Bo=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),cd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),id=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Ln(o)}),$o=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Qr(e.examples))&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.name===void 0||typeof e.name=="string")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ie(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),zo=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),md=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&qo(o)}),qo=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ie(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Qr(e.examples)),yd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Fo(o)}),Fo=e=>(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Uo(e.content)),fd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Cn(o)}),vd=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Id=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),gd=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Ad=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Od(e.flows)&&(e.description===void 0||typeof e.description=="string"),Od=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&hd(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&pd(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Yo(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Yo(e.clientCredentials)),hd=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),pd=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),Yo=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),xd=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Sd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&$o(o)}),ud=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Bo(o)}),Vd=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&wd(o)}),wd=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&aa(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&pe(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&pe(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&pe(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&pe(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&pe(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&pe(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&pe(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&pe(e.trace)),Jd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),pe=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&aa(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&Tn(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Md(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),jd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Md=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Pn(o)}),bd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Rd=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Nd=e=>typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&Td(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&kd(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Zo(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&xn(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&un(r))),Kr=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&Ld(e.variables)),Ld=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Cd(o)}),Cd=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&1<=e.enum.length&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),Td=e=>typeof e.title=="string"&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&Pd(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Dd(e.license))&&typeof e.version=="string",Pd=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"),Dd=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),kd=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Xr(e.schemas))&&(e.pathItems===void 0||typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1&&Zo(e.pathItems))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&nn(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&ln(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&tn(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&cn(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&hn(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&pn(e.examples)),Xr=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&E(o)}),Ed=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")&&(e.default===null||e.default===void 0||Array.isArray(e.default))&&(e.enum===void 0||Array.isArray(e.enum))&&(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&E(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&E(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Xr(e.properties))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&E(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Go(e.discriminator))&&Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&typeof e.$ref=="string",Ud=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Bd=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),$d=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&Math.floor(e.exclusiveMinimum)===e.exclusiveMinimum&&-9223372036854776e3<=e.exclusiveMinimum&&e.exclusiveMinimum<=9223372036854776e3||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&Math.floor(e.exclusiveMaximum)===e.exclusiveMaximum&&-9223372036854776e3<=e.exclusiveMaximum&&e.exclusiveMaximum<=9223372036854776e3||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),zd=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),qd=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Fd=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&E(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&E(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Yd=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Xr(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&E(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Gd=e=>typeof e.$ref=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Zd=e=>typeof e.$recursiveRef=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Hd=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Wd=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Qd=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&E(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Go(e.discriminator))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Go=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&k(e.mapping)),Kd=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Xd=e=>e.type!==null&&e.type===void 0&&!0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples)),Zo=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Ho(o)}),Ho=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&sa(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&xe(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&xe(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&xe(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&xe(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&xe(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&xe(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&xe(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&xe(e.trace)),Wo=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&E(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&_r(e.examples)),_r=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Dn(o)}),Qo=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),_d=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),Ko=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),en=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),xe=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&sa(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&kn(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&an(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ne(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),Xo=e=>(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&_o(e.content)),_o=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&rn(o)}),rn=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&E(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&_r(e.examples)),on=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),an=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&En(o)}),ea=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&_o(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&sn(e.headers))&&(e.description===void 0||typeof e.description=="string"),sn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Un(o)}),ra=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&_r(e.examples))&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.name===void 0||typeof e.name=="string")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&E(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),dn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),nn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&ea(o)}),ln=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Wo(o)}),tn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Xo(o)}),cn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Bn(o)}),mn=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),yn=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),fn=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),vn=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&In(e.flows)&&(e.description===void 0||typeof e.description=="string"),In=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&gn(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&An(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&oa(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&oa(e.clientCredentials)),gn=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),An=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),oa=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&k(e.scopes)),On=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),hn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&ra(o)}),pn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&Qo(o)}),xn=e=>Object.keys(e).every(r=>{const o=e[r];return o===void 0?!0:typeof o=="object"&&o!==null&&Array.isArray(o)===!1&&$n(o)}),Sn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&p(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.readOnly===void 0||typeof e.readOnly=="boolean")&&(e.writeOnly===void 0||typeof e.writeOnly=="boolean"),un=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Ce=e=>e.const!==void 0?z(e):e.type==="boolean"?D(e):e.type==="number"?ie(e):e.type==="integer"?W(e):e.type==="string"?ae(e):e.items!==void 0?X(e):e.prefixItems!==void 0?ke(e):e.type==="object"?Ee(e):e.$ref!==void 0?Re(e):e.oneOf!==void 0?Ue(e):e.type==="null"?Be(e):$e(e),Vn=e=>e.const!==void 0?z(e):e.type==="boolean"?D(e):e.type==="number"?ie(e):e.type==="integer"?W(e):e.type==="string"?ae(e):e.items!==void 0?X(e):e.prefixItems!==void 0?ke(e):e.type==="object"?Ee(e):e.$ref!==void 0?Re(e):e.type==="null"?Be(e):$e(e),re=e=>e.type==="boolean"?Br(e):e.type==="number"?Jr(e):e.type==="integer"?$r(e):e.type==="string"?zr(e):e.type==="array"?L(e):e.type==="object"?P(e):e.$ref!==void 0?fe(e):e["x-anyOf"]!==void 0?qr(e):e["x-oneOf"]!==void 0?ar(e):e.type==="null"?sr(e):ee(e),wn=e=>e.type==="boolean"?ve(e):e.type==="number"?dr(e):e.type==="integer"?Fe(e):e.type==="string"?Ye(e):e.type==="array"?nr(e):e.type==="object"?Fr(e):e["x-anyOf"]!==void 0?Yr(e):e["x-oneOf"]!==void 0?Gr(e):e.type==="null"?Zr(e):e.schema!==void 0?Hr(e):lr(e)?lr(e):tr(e)?tr(e):Po(e)?Po(e):!1,Jn=e=>e.type==="boolean"?ve(e):e.type==="number"?dr(e):e.type==="integer"?Fe(e):e.type==="string"?Ye(e):e.type==="array"?nr(e):e.type==="object"?Fr(e):e["x-anyOf"]!==void 0?Yr(e):e["x-oneOf"]!==void 0?Gr(e):e.type==="null"?Zr(e):e.schema!==void 0?Hr(e):lr(e)?lr(e):tr(e)?tr(e):Do(e)?Do(e):!1,Ie=e=>e.type==="boolean"?Hs(e):e.type==="number"?Qs(e):e.type==="integer"?Ws(e):e.type==="string"?Ks(e):e.type==="array"?Xs(e):e.type==="object"?_s(e):e.$ref!==void 0?ed(e):e.allOf!==void 0?rd(e):e.anyOf!==void 0?od(e):e.oneOf!==void 0?ad(e):e.type==="null"?dd(e):nd(e),aa=e=>e.in!==void 0?qo(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Jd(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?zo(e):!1,E=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")?Ed(e):e.type==="boolean"?Bd(e):e.type==="number"?zd(e):e.type==="integer"?$d(e):e.type==="string"?qd(e):e.type==="array"?Fd(e):e.type==="object"?Yd(e):e.$recursiveRef!==void 0?Zd(e):e.type==="null"?Kd(e):e.const!==void 0?Ud(e):e.$ref!==void 0?Gd(e):e.allOf!==void 0?Hd(e):e.anyOf!==void 0?Wd(e):e.oneOf!==void 0?Qd(e):Xd(e),sa=e=>e.in!==void 0?Wo(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?en(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Ko(e):!1,jn=e=>e.type==="apiKey"?ze(e):e.scheme==="basic"?gr(e):e.scheme==="bearer"?Ar(e):e.type==="oauth2"?Or(e):e.type==="openIdConnect"?Sr(e):!1,Mn=e=>e.type==="boolean"?ve(e):e.type==="number"?dr(e):e.type==="integer"?Fe(e):e.type==="string"?Ye(e):e.type==="array"?nr(e):e.type==="object"?Fr(e):e.$ref!==void 0?lr(e):e["x-anyOf"]!==void 0?Yr(e):e["x-oneOf"]!==void 0?Gr(e):e.type==="null"?Zr(e):e.schema!==void 0?Hr(e):tr(e),bn=e=>e.type==="apiKey"?Rs(e):e.type==="basic"?Ns(e):e.flow==="implicit"?Ls(e):e.flow==="accessCode"?Cs(e):e.flow==="application"?Ps(e):e.flow==="password"?Ts(e):!1,Rn=e=>e.$ref!==void 0?Us(e):To(e),Nn=e=>e.$ref!==void 0?cd(e):Bo(e),Ln=e=>e.schema!==void 0?$o(e):e.$ref!==void 0?zo(e):!1,Cn=e=>e.type==="apiKey"?vd(e):e.scheme==="basic"?Id(e):e.scheme==="bearer"?gd(e):e.type==="oauth2"?Ad(e):e.type==="openIdConnect"?xd(e):!1,Tn=e=>e.$ref!==void 0?jd(e):Fo(e),Pn=e=>e.$ref!==void 0?bd(e):Eo(e),Dn=e=>e.$ref!==void 0?_d(e):Qo(e),kn=e=>e.$ref!==void 0?on(e):Xo(e),En=e=>e.$ref!==void 0?dn(e):ea(e),Un=e=>e.$ref!==void 0?Ko(e):e.schema!==void 0?ra(e):!1,Bn=e=>e.type==="apiKey"?mn(e):e.scheme==="basic"?yn(e):e.scheme==="bearer"?fn(e):e.type==="oauth2"?vn(e):e.type==="openIdConnect"?On(e):!1,$n=e=>e.$ref!==void 0?Sn(e):Ho(e),zn=e=>e["x-samchon-emended-v4"]!==void 0?A(e):e.swagger!==void 0?Oe(e):e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))?$s(e):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Nd(e):!1,qn=(e,r,o=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||a(o,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:s}))&&eo(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||a(o,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}))&&Gn(e.info,r+".info",o)||a(o,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}),(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||a(o,{path:r+".components",expected:"OpenApi.IComponents",value:e.components}))&&Wn(e.components,r+".components",o)||a(o,{path:r+".components",expected:"OpenApi.IComponents",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||a(o,{path:r+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.paths}))&&Oa(e.paths,r+".paths",o)||a(o,{path:r+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.paths}),e.webhooks===void 0||(typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1||a(o,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}))&&Oa(e.webhooks,r+".webhooks",o)||a(o,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".tags["+n+"]",expected:"OpenApi.IDocument.ITag",value:s}))&&fl(s,r+".tags["+n+"]",o)||a(o,{path:r+".tags["+n+"]",expected:"OpenApi.IDocument.ITag",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}),e["x-samchon-emended-v4"]===!0||a(o,{path:r+'["x-samchon-emended-v4"]',expected:"true",value:e["x-samchon-emended-v4"]})].every(s=>s),eo=(e,r,o=!0)=>[typeof e.url=="string"||a(o,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||a(o,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables}))&&Fn(e.variables,r+".variables",o)||a(o,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables})].every(s=>s),Fn=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"OpenApi.IServer.IVariable",value:n}))&&Yn(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApi.IServer.IVariable",value:n})}).every(s=>s)].every(s=>s),Yn=(e,r,o=!0)=>[typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>typeof s=="string"||a(o,{path:r+'["enum"]['+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Gn=(e,r,o=!0)=>[typeof e.title=="string"||a(o,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||a(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||a(o,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}))&&Zn(e.contact,r+".contact",o)||a(o,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||a(o,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}))&&Hn(e.license,r+".license",o)||a(o,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||a(o,{path:r+".version",expected:"string",value:e.version})].every(s=>s),Zn=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"&&(/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e.email)||a(o,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||a(o,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(s=>s),Hn=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||a(o,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(s=>s),Wn=(e,r,o=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||a(o,{path:r+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.schemas}))&&da(e.schemas,r+".schemas",o)||a(o,{path:r+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.schemas}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||a(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&Xn(e.securitySchemes,r+".securitySchemes",o)||a(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes})].every(s=>s),da=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:n}))&&Te(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:n})}).every(s=>s)].every(s=>s),na=(e,r,o=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||a(o,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),w=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>(e[s]===void 0,!0)).every(s=>s)].every(s=>s),la=(e,r,o=!0)=>[e.default===void 0||typeof e.default=="boolean"||a(o,{path:r+'["default"]',expected:"(boolean | undefined)",value:e.default}),e.type==="boolean"||a(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ta=(e,r,o=!0)=>[e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||a(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||a(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | undefined)',value:e.default}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||a(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||a(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||a(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||a(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||a(o,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||a(o,{path:r+".exclusiveMaximum",expected:"(number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||a(o,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||a(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ca=(e,r,o=!0)=>[e.default===void 0||typeof e.default=="number"||a(o,{path:r+'["default"]',expected:"(number | undefined)",value:e.default}),e.minimum===void 0||typeof e.minimum=="number"||a(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||a(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||a(o,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||a(o,{path:r+".exclusiveMaximum",expected:"(number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||a(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ia=(e,r,o=!0)=>[e.default===void 0||typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"(string | undefined)",value:e.default}),e.format===void 0||typeof e.format=="string"||a(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||a(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||a(o,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||a(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||a(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||a(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||a(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||a(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ma=(e,r,o=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||a(o,{path:r+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.items}))&&Te(e.items,r+".items",o)||a(o,{path:r+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||a(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||a(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||a(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||a(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||a(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||a(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ya=(e,r,o=!0)=>[e.type==="array"||a(o,{path:r+".type",expected:'"array"',value:e.type}),(Array.isArray(e.prefixItems)||a(o,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}))&&e.prefixItems.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".prefixItems["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:s}))&&Te(s,r+".prefixItems["+n+"]",o)||a(o,{path:r+".prefixItems["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}),(e.additionalItems!==null||a(o,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||a(o,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&Te(e.additionalItems,r+".additionalItems",o)||a(o,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||a(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||a(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||a(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||a(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||a(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),fa=(e,r,o=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||a(o,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}))&&da(e.properties,r+".properties",o)||a(o,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||a(o,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||a(o,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&Te(e.additionalProperties,r+".additionalProperties",o)||a(o,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.required===void 0||(Array.isArray(e.required)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((s,n)=>typeof s=="string"||a(o,{path:r+".required["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.type==="object"||a(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),va=(e,r,o=!0)=>[typeof e.$ref=="string"||a(o,{path:r+".$ref",expected:"string",value:e.$ref}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Qn=(e,r,o=!0)=>[(Array.isArray(e.oneOf)||a(o,{path:r+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:e.oneOf}))&&e.oneOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:s}))&&jc(s,r+".oneOf["+n+"]",o)||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||a(o,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Kn(e.discriminator,r+".discriminator",o)||a(o,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Ia=(e,r,o=!0)=>[e.default===null||e.default===void 0||a(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||a(o,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ga=(e,r,o=!0)=>[!0,(e.type!==null||a(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||a(o,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Kn=(e,r,o=!0)=>[typeof e.propertyName=="string"||a(o,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||a(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",o)||a(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(s=>s),q=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:typeof n=="string"||a(o,{path:r+v(s),expected:"string",value:n})}).every(s=>s)].every(s=>s),Xn=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:n}))&&Rc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:n})}).every(s=>s)].every(s=>s),_n=(e,r,o=!0)=>[e.type==="apiKey"||a(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||a(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),el=(e,r,o=!0)=>[e.type==="http"||a(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||a(o,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),rl=(e,r,o=!0)=>[e.type==="http"||a(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||a(o,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||a(o,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),ol=(e,r,o=!0)=>[e.type==="oauth2"||a(o,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||a(o,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&al(e.flows,r+".flows",o)||a(o,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),al=(e,r,o=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||a(o,{path:r+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&sl(e.authorizationCode,r+".authorizationCode",o)||a(o,{path:r+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||a(o,{path:r+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&dl(e.implicit,r+".implicit",o)||a(o,{path:r+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||a(o,{path:r+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Aa(e.password,r+".password",o)||a(o,{path:r+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||a(o,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Aa(e.clientCredentials,r+".clientCredentials",o)||a(o,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(s=>s),sl=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),dl=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),Aa=(e,r,o=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),nl=(e,r,o=!0)=>[e.type==="openIdConnect"||a(o,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||a(o,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Oa=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApi.IPath",value:n}))&&ll(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApi.IPath",value:n})}).every(s=>s)].every(s=>s),ll=(e,r,o=!0)=>[e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:s}))&&eo(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||a(o,{path:r+".get",expected:"(OpenApi.IOperation | undefined)",value:e.get}))&&Se(e.get,r+".get",o)||a(o,{path:r+".get",expected:"(OpenApi.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||a(o,{path:r+".post",expected:"(OpenApi.IOperation | undefined)",value:e.post}))&&Se(e.post,r+".post",o)||a(o,{path:r+".post",expected:"(OpenApi.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||a(o,{path:r+".put",expected:"(OpenApi.IOperation | undefined)",value:e.put}))&&Se(e.put,r+".put",o)||a(o,{path:r+".put",expected:"(OpenApi.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||a(o,{path:r+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:e.delete}))&&Se(e.delete,r+'["delete"]',o)||a(o,{path:r+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||a(o,{path:r+".options",expected:"(OpenApi.IOperation | undefined)",value:e.options}))&&Se(e.options,r+".options",o)||a(o,{path:r+".options",expected:"(OpenApi.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||a(o,{path:r+".head",expected:"(OpenApi.IOperation | undefined)",value:e.head}))&&Se(e.head,r+".head",o)||a(o,{path:r+".head",expected:"(OpenApi.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||a(o,{path:r+".patch",expected:"(OpenApi.IOperation | undefined)",value:e.patch}))&&Se(e.patch,r+".patch",o)||a(o,{path:r+".patch",expected:"(OpenApi.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||a(o,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace}))&&Se(e.trace,r+".trace",o)||a(o,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace})].every(s=>s),Se=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||a(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||a(o,{path:r+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:e.parameters}))&&e.parameters.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".parameters["+n+"]",expected:"OpenApi.IOperation.IParameter",value:s}))&&ha(s,r+".parameters["+n+"]",o)||a(o,{path:r+".parameters["+n+"]",expected:"OpenApi.IOperation.IParameter",value:s})).every(s=>s)||a(o,{path:r+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||a(o,{path:r+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&cl(e.requestBody,r+".requestBody",o)||a(o,{path:r+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||a(o,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}))&&il(e.responses,r+".responses",o)||a(o,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:s}))&&eo(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>typeof s=="string"||a(o,{path:r+".tags["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),e["x-samchon-human"]===void 0||typeof e["x-samchon-human"]=="boolean"||a(o,{path:r+'["x-samchon-human"]',expected:"(boolean | undefined)",value:e["x-samchon-human"]}),e["x-samchon-accessor"]===void 0||(Array.isArray(e["x-samchon-accessor"])||a(o,{path:r+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:e["x-samchon-accessor"]}))&&e["x-samchon-accessor"].map((s,n)=>typeof s=="string"||a(o,{path:r+'["x-samchon-accessor"]['+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:e["x-samchon-accessor"]}),e["x-samchon-controller"]===void 0||typeof e["x-samchon-controller"]=="string"||a(o,{path:r+'["x-samchon-controller"]',expected:"(string | undefined)",value:e["x-samchon-controller"]})].every(s=>s),ha=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||a(o,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.schema}))&&Te(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&pa(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(s=>s),pa=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApi.IExample",value:n}))&&tl(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApi.IExample",value:n})}).every(s=>s)].every(s=>s),tl=(e,r,o=!0)=>[e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||a(o,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(s=>s),cl=(e,r,o=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||a(o,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&xa(e.content,r+".content",o)||a(o,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||a(o,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(s=>s),xa=(e,r,o=!0)=>[e["text/plain"]===void 0||(typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1||a(o,{path:r+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["text/plain"]}))&&Ge(e["text/plain"],r+'["text/plain"]',o)||a(o,{path:r+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["text/plain"]}),e["application/json"]===void 0||(typeof e["application/json"]=="object"&&e["application/json"]!==null&&Array.isArray(e["application/json"])===!1||a(o,{path:r+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/json"]}))&&Ge(e["application/json"],r+'["application/json"]',o)||a(o,{path:r+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/json"]}),e["application/x-www-form-url-encoded"]===void 0||(typeof e["application/x-www-form-url-encoded"]=="object"&&e["application/x-www-form-url-encoded"]!==null&&Array.isArray(e["application/x-www-form-url-encoded"])===!1||a(o,{path:r+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/x-www-form-url-encoded"]}))&&Ge(e["application/x-www-form-url-encoded"],r+'["application/x-www-form-url-encoded"]',o)||a(o,{path:r+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/x-www-form-url-encoded"]}),e["multipart/form-data"]===void 0||(typeof e["multipart/form-data"]=="object"&&e["multipart/form-data"]!==null&&Array.isArray(e["multipart/form-data"])===!1||a(o,{path:r+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["multipart/form-data"]}))&&Ge(e["multipart/form-data"],r+'["multipart/form-data"]',o)||a(o,{path:r+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["multipart/form-data"]}),e["*/*"]===void 0||(typeof e["*/*"]=="object"&&e["*/*"]!==null&&Array.isArray(e["*/*"])===!1||a(o,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}))&&Ge(e["*/*"],r+'["*/*"]',o)||a(o,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}),o===!1||Object.keys(e).map(s=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(Ze=>s===Ze))return!0;const n=e[s];return n===void 0?!0:n===void 0||(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:n}))&&Ge(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:n})}).every(s=>s)].every(s=>s),Ge=(e,r,o=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&Te(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&pa(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(s=>s),il=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApi.IOperation.IResponse",value:n}))&&ml(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApi.IOperation.IResponse",value:n})}).every(s=>s)].every(s=>s),ml=(e,r,o=!0)=>[e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||a(o,{path:r+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:e.headers}))&&yl(e.headers,r+".headers",o)||a(o,{path:r+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:e.headers}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||a(o,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&xa(e.content,r+".content",o)||a(o,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||a(o,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(s=>s),yl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"OpenApi.IOperation.IParameter",value:n}))&&ha(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApi.IOperation.IParameter",value:n})}).every(s=>s)].every(s=>s),ue=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(Array.isArray(n)||a(o,{path:r+v(s),expected:"Array<string>",value:n}))&&n.map((Ze,Zc)=>typeof Ze=="string"||a(o,{path:r+v(s)+"["+Zc+"]",expected:"string",value:Ze})).every(Ze=>Ze)||a(o,{path:r+v(s),expected:"Array<string>",value:n})}).every(s=>s)].every(s=>s),fl=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),vl=(e,r,o=!0)=>[(e.swagger!==null||a(o,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger!==void 0||a(o,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger==="2.0"||typeof e.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.swagger)||a(o,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger})),e.info===void 0||(typeof e.info=="object"&&e.info!==null||a(o,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}))&&Il(e.info,r+".info",o)||a(o,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}),e.host===void 0||typeof e.host=="string"||a(o,{path:r+".host",expected:"(string | undefined)",value:e.host}),e.basePath===void 0||typeof e.basePath=="string"||a(o,{path:r+".basePath",expected:"(string | undefined)",value:e.basePath}),e.consumes===void 0||(Array.isArray(e.consumes)||a(o,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}))&&e.consumes.map((s,n)=>typeof s=="string"||a(o,{path:r+".consumes["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}),e.produces===void 0||(Array.isArray(e.produces)||a(o,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}))&&e.produces.map((s,n)=>typeof s=="string"||a(o,{path:r+".produces["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}),e.definitions===void 0||(typeof e.definitions=="object"&&e.definitions!==null&&Array.isArray(e.definitions)===!1||a(o,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}))&&Mr(e.definitions,r+".definitions",o)||a(o,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||a(o,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}))&&bl(e.parameters,r+".parameters",o)||a(o,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||a(o,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}))&&Rl(e.responses,r+".responses",o)||a(o,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}),e.securityDefinitions===void 0||(typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1||a(o,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}))&&Nl(e.securityDefinitions,r+".securityDefinitions",o)||a(o,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||a(o,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}))&&El(e.paths,r+".paths",o)||a(o,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".tags["+n+"]",expected:"SwaggerV2.IDocument.ITag",value:s}))&&Fl(s,r+".tags["+n+"]",o)||a(o,{path:r+".tags["+n+"]",expected:"SwaggerV2.IDocument.ITag",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags})].every(s=>s),Il=(e,r,o=!0)=>[typeof e.title=="string"||a(o,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||a(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||a(o,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}))&&gl(e.contact,r+".contact",o)||a(o,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||a(o,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}))&&Al(e.license,r+".license",o)||a(o,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||a(o,{path:r+".version",expected:"string",value:e.version})].every(s=>s),gl=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||a(o,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(s=>s),Al=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(s=>s),Mr=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:n}))&&oe(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:n})}).every(s=>s)].every(s=>s),Ol=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||a(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="boolean"||a(o,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||a(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(s=>s),hl=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||a(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||a(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||a(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||a(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||a(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||a(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||a(o,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||a(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(s=>s),pl=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||a(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||a(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||a(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||a(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(s=>s),xl=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="string"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||a(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||a(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||a(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||a(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||a(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||a(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||a(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(s=>s),Sl=(e,r,o=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||a(o,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}))&&oe(e.items,r+".items",o)||a(o,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||a(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||a(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||a(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||a(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||a(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||a(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(s=>s),ul=(e,r,o=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||a(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&Mr(e.properties,r+".properties",o)||a(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((s,n)=>typeof s=="string"||a(o,{path:r+".required["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||a(o,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||a(o,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&oe(e.additionalProperties,r+".additionalProperties",o)||a(o,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||a(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||a(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||a(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(s=>s),Vl=(e,r,o=!0)=>[typeof e.$ref=="string"||a(o,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),wl=(e,r,o=!0)=>[(Array.isArray(e["x-anyOf"])||a(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+'["x-anyOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s}))&&oe(s,r+'["x-anyOf"]['+n+"]",o)||a(o,{path:r+'["x-anyOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),Jl=(e,r,o=!0)=>[(Array.isArray(e["x-oneOf"])||a(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+'["x-oneOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s}))&&oe(s,r+'["x-oneOf"]['+n+"]",o)||a(o,{path:r+'["x-oneOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),jl=(e,r,o=!0)=>[e.type==="null"||a(o,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||a(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),Ml=(e,r,o=!0)=>[(e.type!==null||a(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||a(o,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),bl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:n}))&&Nc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:n})}).every(s=>s)].every(s=>s),ro=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||a(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="boolean"||a(o,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||a(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),oo=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||a(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||a(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||a(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||a(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||a(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||a(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||a(o,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||a(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),ao=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||a(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||a(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||a(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||a(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),so=(e,r,o=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="string"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||a(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||a(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||a(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||a(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||a(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||a(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||a(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),no=(e,r,o=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||a(o,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}))&&oe(e.items,r+".items",o)||a(o,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||a(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||a(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||a(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||a(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||a(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||a(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),lo=(e,r,o=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||a(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&Mr(e.properties,r+".properties",o)||a(o,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((s,n)=>typeof s=="string"||a(o,{path:r+".required["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||a(o,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||a(o,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&oe(e.additionalProperties,r+".additionalProperties",o)||a(o,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||a(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||a(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||a(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||a(o,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),to=(e,r,o=!0)=>[typeof e.$ref=="string"||a(o,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),co=(e,r,o=!0)=>[(Array.isArray(e["x-anyOf"])||a(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+'["x-anyOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s}))&&oe(s,r+'["x-anyOf"]['+n+"]",o)||a(o,{path:r+'["x-anyOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),io=(e,r,o=!0)=>[(Array.isArray(e["x-oneOf"])||a(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+'["x-oneOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s}))&&oe(s,r+'["x-oneOf"]['+n+"]",o)||a(o,{path:r+'["x-oneOf"]['+n+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),mo=(e,r,o=!0)=>[e.type==="null"||a(o,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||a(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),yo=(e,r,o=!0)=>[(e.type!==null||a(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||a(o,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in})].every(s=>s),fo=(e,r,o=!0)=>[(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.schema}))&&oe(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.schema}),typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||a(o,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(s=>s),Rl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"SwaggerV2.IOperation.IResponse",value:n}))&&Sa(n,r+v(s),o)||a(o,{path:r+v(s),expected:"SwaggerV2.IOperation.IResponse",value:n})}).every(s=>s)].every(s=>s),Sa=(e,r,o=!0)=>[e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||a(o,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}))&&Mr(e.headers,r+".headers",o)||a(o,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}),e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&oe(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0].every(s=>s),Nl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:n}))&&Lc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:n})}).every(s=>s)].every(s=>s),Ll=(e,r,o=!0)=>[e.type==="apiKey"||a(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||a(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Cl=(e,r,o=!0)=>[e.type==="basic"||a(o,{path:r+".type",expected:'"basic"',value:e.type}),e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Tl=(e,r,o=!0)=>[e.type==="oauth2"||a(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="implicit"||a(o,{path:r+".flow",expected:'"implicit"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Pl=(e,r,o=!0)=>[e.type==="oauth2"||a(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="accessCode"||a(o,{path:r+".flow",expected:'"accessCode"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Dl=(e,r,o=!0)=>[e.type==="oauth2"||a(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="password"||a(o,{path:r+".flow",expected:'"password"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),kl=(e,r,o=!0)=>[e.type==="oauth2"||a(o,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="application"||a(o,{path:r+".flow",expected:'"application"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),El=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"SwaggerV2.IPath",value:n}))&&Ul(n,r+v(s),o)||a(o,{path:r+v(s),expected:"SwaggerV2.IPath",value:n})}).every(s=>s)].every(s=>s),Ul=(e,r,o=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".parameters["+n+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:s}))&&Mc(s,r+".parameters["+n+"]",o)||a(o,{path:r+".parameters["+n+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:s})).every(s=>s)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||a(o,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}))&&Ve(e.get,r+".get",o)||a(o,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||a(o,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}))&&Ve(e.post,r+".post",o)||a(o,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||a(o,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}))&&Ve(e.put,r+".put",o)||a(o,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||a(o,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}))&&Ve(e.delete,r+'["delete"]',o)||a(o,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||a(o,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}))&&Ve(e.options,r+".options",o)||a(o,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||a(o,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}))&&Ve(e.head,r+".head",o)||a(o,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||a(o,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}))&&Ve(e.patch,r+".patch",o)||a(o,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||a(o,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace}))&&Ve(e.trace,r+".trace",o)||a(o,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace})].every(s=>s),Bl=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),Ve=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||a(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".parameters["+n+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:s}))&&bc(s,r+".parameters["+n+"]",o)||a(o,{path:r+".parameters["+n+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:s})).every(s=>s)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||a(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}))&&zl(e.responses,r+".responses",o)||a(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>typeof s=="string"||a(o,{path:r+".tags["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(s=>s),$l=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/definitions/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),zl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:n}))&&Cc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:n})}).every(s=>s)].every(s=>s),ql=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/definitions/responses/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||a(o,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly})].every(s=>s),Fl=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Yl=(e,r,o=!0)=>[(e.openapi!==null||a(o,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi!==void 0||a(o,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||a(o,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi})),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:s}))&&vo(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||a(o,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}))&&Hl(e.info,r+".info",o)||a(o,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}),e.components===void 0||(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||a(o,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}))&&Kl(e.components,r+".components",o)||a(o,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||a(o,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}))&&Mt(e.paths,r+".paths",o)||a(o,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".tags["+n+"]",expected:"OpenApiV3.IDocument.ITag",value:s}))&&Tt(s,r+".tags["+n+"]",o)||a(o,{path:r+".tags["+n+"]",expected:"OpenApiV3.IDocument.ITag",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags})].every(s=>s),vo=(e,r,o=!0)=>[typeof e.url=="string"||a(o,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||a(o,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables}))&&Gl(e.variables,r+".variables",o)||a(o,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables})].every(s=>s),Gl=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"OpenApiV3.IServer.IVariable",value:n}))&&Zl(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3.IServer.IVariable",value:n})}).every(s=>s)].every(s=>s),Zl=(e,r,o=!0)=>[typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>typeof s=="string"||a(o,{path:r+'["enum"]['+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Hl=(e,r,o=!0)=>[typeof e.title=="string"||a(o,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||a(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||a(o,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}))&&Wl(e.contact,r+".contact",o)||a(o,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||a(o,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}))&&Ql(e.license,r+".license",o)||a(o,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||a(o,{path:r+".version",expected:"string",value:e.version})].every(s=>s),Wl=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||a(o,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(s=>s),Ql=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(s=>s),Kl=(e,r,o=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||a(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}))&&ua(e.schemas,r+".schemas",o)||a(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||a(o,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}))&&mt(e.responses,r+".responses",o)||a(o,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||a(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}))&&It(e.parameters,r+".parameters",o)||a(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBodies===void 0||(typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1||a(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&gt(e.requestBodies,r+".requestBodies",o)||a(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||a(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&At(e.securitySchemes,r+".securitySchemes",o)||a(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||a(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&Jt(e.headers,r+".headers",o)||a(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}),e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples}))&&jt(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples})].every(s=>s),ua=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:n}))&&ge(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:n})}).every(s=>s)].every(s=>s),Xl=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||a(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="boolean"||a(o,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||a(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),_l=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||a(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||a(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||a(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||a(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||a(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||a(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||a(o,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||a(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),et=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||a(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||a(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||a(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||a(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),rt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="string"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||a(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||a(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||a(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||a(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||a(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||a(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||a(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),ot=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||a(o,{path:r+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.items}))&&ge(e.items,r+".items",o)||a(o,{path:r+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||a(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||a(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||a(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||a(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||a(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||a(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),at=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||a(o,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}))&&ua(e.properties,r+".properties",o)||a(o,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((s,n)=>typeof s=="string"||a(o,{path:r+".required["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&ge(e.additionalProperties,r+".additionalProperties",o)||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||a(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||a(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||a(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),st=(e,r,o=!0)=>[typeof e.$ref=="string"||a(o,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),dt=(e,r,o=!0)=>[(Array.isArray(e.allOf)||a(o,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}))&&e.allOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".allOf["+n+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:s}))&&ge(s,r+".allOf["+n+"]",o)||a(o,{path:r+".allOf["+n+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),nt=(e,r,o=!0)=>[(Array.isArray(e.anyOf)||a(o,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".anyOf["+n+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:s}))&&ge(s,r+".anyOf["+n+"]",o)||a(o,{path:r+".anyOf["+n+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),lt=(e,r,o=!0)=>[(Array.isArray(e.oneOf)||a(o,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:s}))&&ge(s,r+".oneOf["+n+"]",o)||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||a(o,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&tt(e.discriminator,r+".discriminator",o)||a(o,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),tt=(e,r,o=!0)=>[typeof e.propertyName=="string"||a(o,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||a(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",o)||a(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(s=>s),ct=(e,r,o=!0)=>[e.default===null||e.default===void 0||a(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||a(o,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),it=(e,r,o=!0)=>[!0,(e.type!==null||a(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||a(o,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),mt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IResponse",value:n}))&&Va(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IResponse",value:n})}).every(s=>s)].every(s=>s),Va=(e,r,o=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&wa(e.content,r+".content",o)||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||a(o,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}))&&vt(e.headers,r+".headers",o)||a(o,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),wa=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IMediaType",value:n}))&&yt(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IMediaType",value:n})}).every(s=>s)].every(s=>s),yt=(e,r,o=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&ge(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&Io(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(s=>s),Io=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n}))&&Tc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n})}).every(s=>s)].every(s=>s),Ja=(e,r,o=!0)=>[e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||a(o,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(s=>s),ft=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),vt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n}))&&Pc(n,r+v(s),o)||a(o,{path:r+v(s),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n})}).every(s=>s)].every(s=>s),ja=(e,r,o=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&Io(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}))&&ge(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(s=>s),Ma=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),It=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IParameter",value:n}))&&ba(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IParameter",value:n})}).every(s=>s)].every(s=>s),ba=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||a(o,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}))&&ge(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&Io(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(s=>s),gt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IRequestBody",value:n}))&&Ra(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3.IOperation.IRequestBody",value:n})}).every(s=>s)].every(s=>s),Ra=(e,r,o=!0)=>[e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&wa(e.content,r+".content",o)||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content})].every(s=>s),At=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:n}))&&Dc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:n})}).every(s=>s)].every(s=>s),Ot=(e,r,o=!0)=>[e.type==="apiKey"||a(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||a(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),ht=(e,r,o=!0)=>[e.type==="http"||a(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||a(o,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),pt=(e,r,o=!0)=>[e.type==="http"||a(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||a(o,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||a(o,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),xt=(e,r,o=!0)=>[e.type==="oauth2"||a(o,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||a(o,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&St(e.flows,r+".flows",o)||a(o,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),St=(e,r,o=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||a(o,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&ut(e.authorizationCode,r+".authorizationCode",o)||a(o,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||a(o,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&Vt(e.implicit,r+".implicit",o)||a(o,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||a(o,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Na(e.password,r+".password",o)||a(o,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||a(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Na(e.clientCredentials,r+".clientCredentials",o)||a(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(s=>s),ut=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),Vt=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),Na=(e,r,o=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),wt=(e,r,o=!0)=>[e.type==="openIdConnect"||a(o,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||a(o,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Jt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:n}))&&ja(n,r+v(s),o)||a(o,{path:r+v(s),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:n})}).every(s=>s)].every(s=>s),jt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3.IExample",value:n}))&&Ja(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3.IExample",value:n})}).every(s=>s)].every(s=>s),Mt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3.IPath",value:n}))&&bt(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3.IPath",value:n})}).every(s=>s)].every(s=>s),bt=(e,r,o=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:s}))&&qa(s,r+".parameters["+n+"]",o)||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:s})).every(s=>s)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:s}))&&vo(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||a(o,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}))&&we(e.get,r+".get",o)||a(o,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||a(o,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}))&&we(e.post,r+".post",o)||a(o,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||a(o,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}))&&we(e.put,r+".put",o)||a(o,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||a(o,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}))&&we(e.delete,r+'["delete"]',o)||a(o,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||a(o,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}))&&we(e.options,r+".options",o)||a(o,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||a(o,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}))&&we(e.head,r+".head",o)||a(o,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||a(o,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}))&&we(e.patch,r+".patch",o)||a(o,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||a(o,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace}))&&we(e.trace,r+".trace",o)||a(o,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace})].every(s=>s),Rt=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),we=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||a(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:s}))&&qa(s,r+".parameters["+n+"]",o)||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:s})).every(s=>s)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||a(o,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&kc(e.requestBody,r+".requestBody",o)||a(o,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||a(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}))&&Lt(e.responses,r+".responses",o)||a(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:s}))&&vo(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>typeof s=="string"||a(o,{path:r+".tags["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(s=>s),Nt=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Lt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:n}))&&Ec(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:n})}).every(s=>s)].every(s=>s),Ct=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Tt=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Pt=(e,r,o=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||a(o,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:s}))&&go(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||a(o,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}))&&Et(e.info,r+".info",o)||a(o,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}),e.components===void 0||(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||a(o,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}))&&$t(e.components,r+".components",o)||a(o,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||a(o,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}))&&Ca(e.paths,r+".paths",o)||a(o,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}),e.webhooks===void 0||(typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1||a(o,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}))&&Vc(e.webhooks,r+".webhooks",o)||a(o,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".tags["+n+"]",expected:"OpenApiV3_1.IDocument.ITag",value:s}))&&Jc(s,r+".tags["+n+"]",o)||a(o,{path:r+".tags["+n+"]",expected:"OpenApiV3_1.IDocument.ITag",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags})].every(s=>s),go=(e,r,o=!0)=>[typeof e.url=="string"||a(o,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||a(o,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables}))&&Dt(e.variables,r+".variables",o)||a(o,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables})].every(s=>s),Dt=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"OpenApiV3_1.IServer.IVariable",value:n}))&&kt(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3_1.IServer.IVariable",value:n})}).every(s=>s)].every(s=>s),kt=(e,r,o=!0)=>[typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}))&&(1<=e.enum.length||a(o,{path:r+'["enum"]',expected:"Array<> & MinItems<1>",value:e.enum}))&&e.enum.map((s,n)=>typeof s=="string"||a(o,{path:r+'["enum"]['+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Et=(e,r,o=!0)=>[typeof e.title=="string"||a(o,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||a(o,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||a(o,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}))&&Ut(e.contact,r+".contact",o)||a(o,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||a(o,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}))&&Bt(e.license,r+".license",o)||a(o,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||a(o,{path:r+".version",expected:"string",value:e.version})].every(s=>s),Ut=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||a(o,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(s=>s),Bt=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||a(o,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||a(o,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(s=>s),$t=(e,r,o=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||a(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}))&&Ao(e.schemas,r+".schemas",o)||a(o,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}),e.pathItems===void 0||(typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1||a(o,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}))&&Ca(e.pathItems,r+".pathItems",o)||a(o,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||a(o,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}))&&ic(e.responses,r+".responses",o)||a(o,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||a(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}))&&mc(e.parameters,r+".parameters",o)||a(o,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBodies===void 0||(typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1||a(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&yc(e.requestBodies,r+".requestBodies",o)||a(o,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||a(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&fc(e.securitySchemes,r+".securitySchemes",o)||a(o,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||a(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&Sc(e.headers,r+".headers",o)||a(o,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}),e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples}))&&uc(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples})].every(s=>s),Ao=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:n}))&&U(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:n})}).every(s=>s)].every(s=>s),zt=(e,r,o=!0)=>[(Array.isArray(e.type)||a(o,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}))&&e.type.map((s,n)=>s==="string"||s==="number"||s==="boolean"||s==="object"||s==="integer"||s==="array"||s==="null"||a(o,{path:r+".type["+n+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:s})).every(s=>s)||a(o,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}),e.default===null||e.default===void 0||Array.isArray(e.default)||a(o,{path:r+'["default"]',expected:"(Array<any> | null | undefined)",value:e.default}),e.enum===void 0||Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<any> | undefined)",value:e.enum}),typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||a(o,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),e.minimum===void 0||typeof e.minimum=="number"||a(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||a(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.format===void 0||typeof e.format=="string"||a(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||a(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||a(o,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||a(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||a(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||a(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||a(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),(e.items!==null||a(o,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".items["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".items["+n+"]",o)||a(o,{path:r+".items["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&U(e.items,r+".items",o)||a(o,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})||a(o,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||a(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".prefixItems["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".prefixItems["+n+"]",o)||a(o,{path:r+".prefixItems["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||a(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||a(o,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||a(o,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&U(e.additionalItems,r+".additionalItems",o)||a(o,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||a(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||a(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||a(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||a(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.required===void 0||(Array.isArray(e.required)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((s,n)=>typeof s=="string"||a(o,{path:r+".required["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||a(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&Ao(e.properties,r+".properties",o)||a(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&U(e.additionalProperties,r+".additionalProperties",o)||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||a(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||a(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),(Array.isArray(e.oneOf)||a(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".oneOf["+n+"]",o)||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||a(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&La(e.discriminator,r+".discriminator",o)||a(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(Array.isArray(e.anyOf)||a(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".anyOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".anyOf["+n+"]",o)||a(o,{path:r+".anyOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(Array.isArray(e.allOf)||a(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".allOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".allOf["+n+"]",o)||a(o,{path:r+".allOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),typeof e.$ref=="string"||a(o,{path:r+".$ref",expected:"string",value:e.$ref})].every(s=>s),qt=(e,r,o=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||a(o,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Ft=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||a(o,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="boolean"||a(o,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||a(o,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),Yt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||a(o,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||a(o,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||a(o,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||a(o,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||a(o,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||a(o,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&(Math.floor(e.exclusiveMinimum)===e.exclusiveMinimum&&-9223372036854776e3<=e.exclusiveMinimum&&e.exclusiveMinimum<=9223372036854776e3||a(o,{path:r+".exclusiveMinimum",expected:'number & Type<"int64">',value:e.exclusiveMinimum}))||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&(Math.floor(e.exclusiveMaximum)===e.exclusiveMaximum&&-9223372036854776e3<=e.exclusiveMaximum&&e.exclusiveMaximum<=9223372036854776e3||a(o,{path:r+".exclusiveMaximum",expected:'number & Type<"int64">',value:e.exclusiveMaximum}))||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||a(o,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||a(o,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),Gt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||a(o,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="number"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||a(o,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||a(o,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||a(o,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||a(o,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||a(o,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||a(o,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||a(o,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),Zt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||a(o,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((s,n)=>s===null||typeof s=="string"||a(o,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:s})).every(s=>s)||a(o,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||a(o,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||a(o,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||a(o,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||a(o,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||a(o,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||a(o,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||a(o,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||a(o,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),Ht=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.items!==null||a(o,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".items["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".items["+n+"]",o)||a(o,{path:r+".items["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&U(e.items,r+".items",o)||a(o,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})||a(o,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||a(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".prefixItems["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".prefixItems["+n+"]",o)||a(o,{path:r+".prefixItems["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||a(o,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||a(o,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||a(o,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&U(e.additionalItems,r+".additionalItems",o)||a(o,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||a(o,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||a(o,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||a(o,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||a(o,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||a(o,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),Wt=(e,r,o=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||a(o,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||a(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&Ao(e.properties,r+".properties",o)||a(o,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((s,n)=>typeof s=="string"||a(o,{path:r+".required["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&U(e.additionalProperties,r+".additionalProperties",o)||a(o,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||a(o,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||a(o,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||a(o,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),Qt=(e,r,o=!0)=>[typeof e.$ref=="string"||a(o,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Kt=(e,r,o=!0)=>[typeof e.$recursiveRef=="string"||a(o,{path:r+".$recursiveRef",expected:"string",value:e.$recursiveRef}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Xt=(e,r,o=!0)=>[(Array.isArray(e.allOf)||a(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".allOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".allOf["+n+"]",o)||a(o,{path:r+".allOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),_t=(e,r,o=!0)=>[(Array.isArray(e.anyOf)||a(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".anyOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".anyOf["+n+"]",o)||a(o,{path:r+".anyOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ec=(e,r,o=!0)=>[(Array.isArray(e.oneOf)||a(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s}))&&U(s,r+".oneOf["+n+"]",o)||a(o,{path:r+".oneOf["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:s})).every(s=>s)||a(o,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||a(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&La(e.discriminator,r+".discriminator",o)||a(o,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),La=(e,r,o=!0)=>[typeof e.propertyName=="string"||a(o,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||a(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&q(e.mapping,r+".mapping",o)||a(o,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(s=>s),rc=(e,r,o=!0)=>[e.default===null||e.default===void 0||a(o,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||a(o,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),oc=(e,r,o=!0)=>[(e.type!==null||a(o,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||a(o,{path:r+".type",expected:"undefined",value:e.type})),!0,e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(s=>s),Ca=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3_1.IPath",value:n}))&&Ta(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3_1.IPath",value:n})}).every(s=>s)].every(s=>s),Ta=(e,r,o=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:s}))&&Fa(s,r+".parameters["+n+"]",o)||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:s})).every(s=>s)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:s}))&&go(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||a(o,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}))&&Je(e.get,r+".get",o)||a(o,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||a(o,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}))&&Je(e.post,r+".post",o)||a(o,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||a(o,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}))&&Je(e.put,r+".put",o)||a(o,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||a(o,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}))&&Je(e.delete,r+'["delete"]',o)||a(o,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||a(o,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}))&&Je(e.options,r+".options",o)||a(o,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||a(o,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}))&&Je(e.head,r+".head",o)||a(o,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||a(o,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}))&&Je(e.patch,r+".patch",o)||a(o,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||a(o,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace}))&&Je(e.trace,r+".trace",o)||a(o,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace})].every(s=>s),Pa=(e,r,o=!0)=>[e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||a(o,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}))&&U(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&Oo(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(s=>s),Oo=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n}))&&Uc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n})}).every(s=>s)].every(s=>s),Da=(e,r,o=!0)=>[e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||a(o,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(s=>s),ac=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ka=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),sc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Je=(e,r,o=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||a(o,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:s}))&&Fa(s,r+".parameters["+n+"]",o)||a(o,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:s})).every(s=>s)||a(o,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||a(o,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&Bc(e.requestBody,r+".requestBody",o)||a(o,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||a(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}))&&lc(e.responses,r+".responses",o)||a(o,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((s,n)=>(typeof s=="object"&&s!==null||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:s}))&&go(s,r+".servers["+n+"]",o)||a(o,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:s})).every(s=>s)||a(o,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||a(o,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((s,n)=>(typeof s=="object"&&s!==null&&Array.isArray(s)===!1||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s}))&&ue(s,r+".security["+n+"]",o)||a(o,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:s})).every(s=>s)||a(o,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((s,n)=>typeof s=="string"||a(o,{path:r+".tags["+n+"]",expected:"string",value:s})).every(s=>s)||a(o,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(s=>s),Ea=(e,r,o=!0)=>[e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Ua(e.content,r+".content",o)||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content})].every(s=>s),Ua=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IMediaType",value:n}))&&dc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IMediaType",value:n})}).every(s=>s)].every(s=>s),dc=(e,r,o=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&U(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&Oo(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(s=>s),nc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),lc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:n}))&&$c(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:n})}).every(s=>s)].every(s=>s),Ba=(e,r,o=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Ua(e.content,r+".content",o)||a(o,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||a(o,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}))&&tc(e.headers,r+".headers",o)||a(o,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),tc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n}))&&zc(n,r+v(s),o)||a(o,{path:r+v(s),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n})}).every(s=>s)].every(s=>s),$a=(e,r,o=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&Oo(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||a(o,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}))&&U(e.schema,r+".schema",o)||a(o,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||a(o,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(s=>s),cc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),ic=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IResponse",value:n}))&&Ba(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IResponse",value:n})}).every(s=>s)].every(s=>s),mc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IParameter",value:n}))&&Pa(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IParameter",value:n})}).every(s=>s)].every(s=>s),yc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IRequestBody",value:n}))&&Ea(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3_1.IOperation.IRequestBody",value:n})}).every(s=>s)].every(s=>s),fc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:n}))&&qc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:n})}).every(s=>s)].every(s=>s),vc=(e,r,o=!0)=>[e.type==="apiKey"||a(o,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||a(o,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||a(o,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Ic=(e,r,o=!0)=>[e.type==="http"||a(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||a(o,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),gc=(e,r,o=!0)=>[e.type==="http"||a(o,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||a(o,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||a(o,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Ac=(e,r,o=!0)=>[e.type==="oauth2"||a(o,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||a(o,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&Oc(e.flows,r+".flows",o)||a(o,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Oc=(e,r,o=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||a(o,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&hc(e.authorizationCode,r+".authorizationCode",o)||a(o,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||a(o,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&pc(e.implicit,r+".implicit",o)||a(o,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||a(o,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&za(e.password,r+".password",o)||a(o,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||a(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&za(e.clientCredentials,r+".clientCredentials",o)||a(o,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(s=>s),hc=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),pc=(e,r,o=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||a(o,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),za=(e,r,o=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||a(o,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||a(o,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&q(e.scopes,r+".scopes",o)||a(o,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(s=>s),xc=(e,r,o=!0)=>[e.type==="openIdConnect"||a(o,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||a(o,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Sc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null||a(o,{path:r+v(s),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:n}))&&$a(n,r+v(s),o)||a(o,{path:r+v(s),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:n})}).every(s=>s)].every(s=>s),uc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"OpenApiV3_1.IExample",value:n}))&&Da(n,r+v(s),o)||a(o,{path:r+v(s),expected:"OpenApiV3_1.IExample",value:n})}).every(s=>s)].every(s=>s),Vc=(e,r,o=!0)=>[o===!1||Object.keys(e).map(s=>{const n=e[s];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:n}))&&Fc(n,r+v(s),o)||a(o,{path:r+v(s),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:n})}).every(s=>s)].every(s=>s),wc=(e,r,o=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)||a(o,{path:r+".$ref",expected:"`#/components/pathItems/${string}`",value:e.$ref}),(e.examples!==null||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&w(e.examples,r+".examples",o)||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||a(o,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||a(o,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||a(o,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.readOnly===void 0||typeof e.readOnly=="boolean"||a(o,{path:r+".readOnly",expected:"(boolean | undefined)",value:e.readOnly}),e.writeOnly===void 0||typeof e.writeOnly=="boolean"||a(o,{path:r+".writeOnly",expected:"(boolean | undefined)",value:e.writeOnly})].every(s=>s),Jc=(e,r,o=!0)=>[typeof e.name=="string"||a(o,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||a(o,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(s=>s),Te=(e,r,o=!0)=>e.const!==void 0?na(e,r,o):e.type==="boolean"?la(e,r,o):e.type==="number"?ca(e,r,o):e.type==="integer"?ta(e,r,o):e.type==="string"?ia(e,r,o):e.items!==void 0?ma(e,r,o):e.prefixItems!==void 0?ya(e,r,o):e.type==="object"?fa(e,r,o):e.$ref!==void 0?va(e,r,o):e.oneOf!==void 0?Qn(e,r,o):e.type==="null"?Ia(e,r,o):ga(e,r,o),jc=(e,r,o=!0)=>e.const!==void 0?na(e,r,o):e.type==="boolean"?la(e,r,o):e.type==="number"?ca(e,r,o):e.type==="integer"?ta(e,r,o):e.type==="string"?ia(e,r,o):e.items!==void 0?ma(e,r,o):e.prefixItems!==void 0?ya(e,r,o):e.type==="object"?fa(e,r,o):e.$ref!==void 0?va(e,r,o):e.type==="null"?Ia(e,r,o):ga(e,r,o),oe=(e,r,o=!0)=>e.type==="boolean"?Ol(e,r,o):e.type==="number"?pl(e,r,o):e.type==="integer"?hl(e,r,o):e.type==="string"?xl(e,r,o):e.type==="array"?Sl(e,r,o):e.type==="object"?ul(e,r,o):e.$ref!==void 0?Vl(e,r,o):e["x-anyOf"]!==void 0?wl(e,r,o):e["x-oneOf"]!==void 0?Jl(e,r,o):e.type==="null"?jl(e,r,o):Ml(e,r,o),Mc=(e,r,o=!0)=>e.type==="boolean"?ro(e,r,o):e.type==="number"?ao(e,r,o):e.type==="integer"?oo(e,r,o):e.type==="string"?so(e,r,o):e.type==="array"?no(e,r,o):e.type==="object"?lo(e,r,o):e["x-anyOf"]!==void 0?co(e,r,o):e["x-oneOf"]!==void 0?io(e,r,o):e.type==="null"?mo(e,r,o):e.schema!==void 0?fo(e,r,o):to(e,r,!1)||yo(e,r,!1)||Bl(e,r,!1),bc=(e,r,o=!0)=>e.type==="boolean"?ro(e,r,o):e.type==="number"?ao(e,r,o):e.type==="integer"?oo(e,r,o):e.type==="string"?so(e,r,o):e.type==="array"?no(e,r,o):e.type==="object"?lo(e,r,o):e["x-anyOf"]!==void 0?co(e,r,o):e["x-oneOf"]!==void 0?io(e,r,o):e.type==="null"?mo(e,r,o):e.schema!==void 0?fo(e,r,o):to(e,r,!1)||yo(e,r,!1)||$l(e,r,!1),ge=(e,r,o=!0)=>e.type==="boolean"?Xl(e,r,o):e.type==="number"?et(e,r,o):e.type==="integer"?_l(e,r,o):e.type==="string"?rt(e,r,o):e.type==="array"?ot(e,r,o):e.type==="object"?at(e,r,o):e.$ref!==void 0?st(e,r,o):e.allOf!==void 0?dt(e,r,o):e.anyOf!==void 0?nt(e,r,o):e.oneOf!==void 0?lt(e,r,o):e.type==="null"?ct(e,r,o):it(e,r,o),qa=(e,r,o=!0)=>e.in!==void 0?ba(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Rt(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Ma(e,r,o):a(o,{path:r,expected:"(OpenApiV3.IOperation.IParameter | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),U=(e,r,o=!0)=>Array.isArray(e.type)&&e.type.map((s,n)=>s==="string"||s==="number"||s==="boolean"||s==="object"||s==="integer"||s==="array"||s==="null").every(s=>s)?zt(e,r,o):e.type==="boolean"?Ft(e,r,o):e.type==="number"?Gt(e,r,o):e.type==="integer"?Yt(e,r,o):e.type==="string"?Zt(e,r,o):e.type==="array"?Ht(e,r,o):e.type==="object"?Wt(e,r,o):e.$recursiveRef!==void 0?Kt(e,r,o):e.type==="null"?rc(e,r,o):e.const!==void 0?qt(e,r,o):e.$ref!==void 0?Qt(e,r,o):e.allOf!==void 0?Xt(e,r,o):e.anyOf!==void 0?_t(e,r,o):e.oneOf!==void 0?ec(e,r,o):oc(e,r,o),Fa=(e,r,o=!0)=>e.in!==void 0?Pa(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?sc(e,r,o):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?ka(e,r,o):a(o,{path:r,expected:"(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),Rc=(e,r,o=!0)=>e.type==="apiKey"?_n(e,r,o):e.scheme==="basic"?el(e,r,o):e.scheme==="bearer"?rl(e,r,o):e.type==="oauth2"?ol(e,r,o):e.type==="openIdConnect"?nl(e,r,o):a(o,{path:r,expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:e}),Nc=(e,r,o=!0)=>e.type==="boolean"?ro(e,r,o):e.type==="number"?ao(e,r,o):e.type==="integer"?oo(e,r,o):e.type==="string"?so(e,r,o):e.type==="array"?no(e,r,o):e.type==="object"?lo(e,r,o):e.$ref!==void 0?to(e,r,o):e["x-anyOf"]!==void 0?co(e,r,o):e["x-oneOf"]!==void 0?io(e,r,o):e.type==="null"?mo(e,r,o):e.schema!==void 0?fo(e,r,o):yo(e,r,o),Lc=(e,r,o=!0)=>e.type==="apiKey"?Ll(e,r,o):e.type==="basic"?Cl(e,r,o):e.flow==="implicit"?Tl(e,r,o):e.flow==="accessCode"?Pl(e,r,o):e.flow==="application"?kl(e,r,o):e.flow==="password"?Dl(e,r,o):a(o,{path:r,expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:e}),Cc=(e,r,o=!0)=>e.$ref!==void 0?ql(e,r,o):Sa(e,r,o),Tc=(e,r,o=!0)=>e.$ref!==void 0?ft(e,r,o):Ja(e,r,o),Pc=(e,r,o=!0)=>e.schema!==void 0?ja(e,r,o):e.$ref!==void 0?Ma(e,r,o):a(o,{path:r,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:e}),Dc=(e,r,o=!0)=>e.type==="apiKey"?Ot(e,r,o):e.scheme==="basic"?ht(e,r,o):e.scheme==="bearer"?pt(e,r,o):e.type==="oauth2"?xt(e,r,o):e.type==="openIdConnect"?wt(e,r,o):a(o,{path:r,expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:e}),kc=(e,r,o=!0)=>e.$ref!==void 0?Nt(e,r,o):Ra(e,r,o),Ec=(e,r,o=!0)=>e.$ref!==void 0?Ct(e,r,o):Va(e,r,o),Uc=(e,r,o=!0)=>e.$ref!==void 0?ac(e,r,o):Da(e,r,o),Bc=(e,r,o=!0)=>e.$ref!==void 0?nc(e,r,o):Ea(e,r,o),$c=(e,r,o=!0)=>e.$ref!==void 0?cc(e,r,o):Ba(e,r,o),zc=(e,r,o=!0)=>e.$ref!==void 0?ka(e,r,o):e.schema!==void 0?$a(e,r,o):a(o,{path:r,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:e}),qc=(e,r,o=!0)=>e.type==="apiKey"?vc(e,r,o):e.scheme==="basic"?Ic(e,r,o):e.scheme==="bearer"?gc(e,r,o):e.type==="oauth2"?Ac(e,r,o):e.type==="openIdConnect"?xc(e,r,o):a(o,{path:r,expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:e}),Fc=(e,r,o=!0)=>e.$ref!==void 0?wc(e,r,o):Ta(e,r,o),Yc=(e,r,o=!0)=>e["x-samchon-emended-v4"]!==void 0?qn(e,r,o):e.swagger!==void 0?vl(e,r,o):e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))?Yl(e,r,o):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Pt(e,r,o):a(o,{path:r,expected:"(OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument)",value:e}),Gc=e=>typeof e=="object"&&e!==null&&zn(e);let br,a;return e=>{if(Gc(e)===!1){br=[],a=ai(br),((o,s,n=!0)=>(typeof o=="object"&&o!==null||a(!0,{path:s+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:o}))&&Yc(o,s+"",!0)||a(!0,{path:s+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:o}))(e,"$input",!0);const r=br.length===0;return r?{success:r,data:e}:{success:r,errors:br,data:e}}return{success:!0,data:e}}})()(g);if(O.success===!1){d.onChange(null,JSON.stringify(O.errors,null,2));return}else d.onChange(si.convert(O.data),null)}catch{d.onChange(null,I==="json"?"Invalid JSON file":"Invalid YAML file");return}i.length>1&&t([m])};return V.jsx(Co,{defaultFiles:l,onFilesChange:c,acceptedType:".json, .yaml",getBase64:!1,multiFile:!1,maxUploadFiles:1,title:"Swagger file uploader",header:"Drag and drop a Swagger file here",buttonLabel:"Click Here",rightLabel:"to select swagger.json/yaml file",buttonRemoveLabel:"Clear"})}function ef(d){const[l,t]=C.useState("http://localhost:37001"),[c,i]=C.useState(JSON.stringify({Authorization:"YOUR_SERVER_API_KEY"},null,2)),[m,y]=C.useState(Ha.defaultConfig()),[f,I]=C.useState(null),[g,O]=C.useState(!1),A=rf(c),u=g===!0||A===null||f===null||l.length===0||m.apiKey.length===0||m.vendorModel.length===0,h=x=>{d.onError!=null?d.onError(x):alert(x)},b=(x,R)=>{I(x),R!==null&&h(R)},N=async()=>{if(f!==null){O(!0);try{const x={api:new li({apiKey:m.apiKey,baseURL:m.baseURL,dangerouslyAllowBrowser:!0}),model:m.vendorModel},R=new ti({vendor:x,controllers:[{protocol:"http",name:"main",application:ci.application({document:f}),connection:{host:l,headers:A}}]});d.onSuccess(V.jsx(ii,{agent:R}))}catch(x){h(x instanceof Error?x.message:"unknown error"),O(!1)}}};return V.jsxs("div",{style:d.style,children:[V.jsx(_y,{onChange:b}),V.jsx("br",{}),V.jsxs(di,{fullWidth:!0,children:[V.jsx(K,{variant:"h6",children:"HTTP Connection"}),V.jsx("br",{}),V.jsx(Wa,{onChange:x=>t(x.target.value),defaultValue:l,label:"Host URL",variant:"outlined",placeholder:"Server URL",error:l.length===0}),V.jsx("br",{}),V.jsx(ni,{children:" Headers "}),V.jsx(Wa,{fullWidth:!0,multiline:!0,defaultValue:c,onChange:x=>i(x.target.value),maxRows:10,error:A===null,helperText:A===null?"Invalid JSON format":void 0}),V.jsx("br",{}),V.jsx("br",{}),V.jsx(K,{variant:"h6",children:"OpenAI Configuration"}),V.jsx("br",{}),V.jsx(Ha,{config:m,onChange:y}),V.jsx("br",{})]}),V.jsx("br",{}),V.jsx("br",{}),V.jsx(Jo,{component:"a",fullWidth:!0,variant:"contained",color:"info",size:"large",disabled:u,onClick:()=>void N().catch(()=>{}),children:g?"Generating...":"Generate AI Chatbot"})]})}function rf(d){try{return JSON.parse(d)}catch{return null}}Za(window.document.getElementById("root")).render(V.jsx(ef,{style:{width:"calc(100% - 30px)",height:"calc(100% - 30px)",overflowY:"auto",padding:15},onSuccess:d=>{Za(window.document.getElementById("root")).render(d)}}));