@agentica/chat 0.16.4 → 0.16.7-fix-for-wrtn

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.
@@ -1,17 +0,0 @@
1
- import{q as zi,v as qi,w as Fi,r as C,x as Yi,y as va,j as O,e as mr,a as fr,g as Rr,c as ie,u as Vs,n as Pe,s as ce,z as tr,f as br,m as Ia,A as Xo,C as _o,D as ms,E as Gi,F as Zi,G as Hi,H as Nr,I as Js,b as Wi,R as w,T as re,o as ea}from"../client-B3aq8qpT.js";import{I as ga,P as xs,u as Qe,g as Qi,a as lr,_ as Ki,H as Xi,O as _i,B as Ss,F as ec,T as fs,b as ys,R as ra,c as vs,d as Is,e as rc,A as sc,f as oc}from"../AgenticaChatApplication-B8ENbee0.js";import{_ as v}from"../_accessExpressionAsString-J5NhZ9FO.js";var Aa={exports:{}},ac="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",dc=ac,nc=dc;function pa(){}function ha(){}ha.resetWarningCache=pa;var lc=function(){function d(i,c,f,m,y,I){if(I!==nc){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:ha,resetWarningCache:pa};return t.PropTypes=t,t};Aa.exports=lc();var tc=Aa.exports;const j=zi(tc);function ic(d={}){const{themeId:l,defaultTheme:t,defaultClassName:i="MuiBox-root",generateClassName:c}=d,f=qi("div",{shouldForwardProp:y=>y!=="theme"&&y!=="sx"&&y!=="as"})(Fi);return C.forwardRef(function(I,g){const p=Yi(t),{className:A,component:V="div",...h}=va(I);return O.jsx(f,{as:V,ref:g,className:mr(A,c?c(i):i),theme:l&&p[l]||p,...h})})}function cc(d){return Rr("MuiAlert",d)}const sa=fr("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),mc=ie(O.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"),fc=ie(O.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),yc=ie(O.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"),vc=ie(O.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"),Ic=ie(O.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"),gc=d=>{const{variant:l,color:t,severity:i,classes:c}=d,f={root:["root",`color${tr(t||i)}`,`${l}${tr(t||i)}`,`${l}`],icon:["icon"],message:["message"],action:["action"]};return br(f,cc,c)},Ac=ce(xs,{name:"MuiAlert",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d;return[l.root,l[t.variant],l[`${t.variant}${tr(t.color||t.severity)}`]]}})(Ia(({theme:d})=>{const l=d.palette.mode==="light"?Xo:_o,t=d.palette.mode==="light"?_o:Xo;return{...d.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(d.palette).filter(ms(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"standard"},style:{color:d.vars?d.vars.palette.Alert[`${i}Color`]:l(d.palette[i].light,.6),backgroundColor:d.vars?d.vars.palette.Alert[`${i}StandardBg`]:t(d.palette[i].light,.9),[`& .${sa.icon}`]:d.vars?{color:d.vars.palette.Alert[`${i}IconColor`]}:{color:d.palette[i].main}}})),...Object.entries(d.palette).filter(ms(["light"])).map(([i])=>({props:{colorSeverity:i,variant:"outlined"},style:{color:d.vars?d.vars.palette.Alert[`${i}Color`]:l(d.palette[i].light,.6),border:`1px solid ${(d.vars||d).palette[i].light}`,[`& .${sa.icon}`]:d.vars?{color:d.vars.palette.Alert[`${i}IconColor`]}:{color:d.palette[i].main}}})),...Object.entries(d.palette).filter(ms(["dark"])).map(([i])=>({props:{colorSeverity:i,variant:"filled"},style:{fontWeight:d.typography.fontWeightMedium,...d.vars?{color:d.vars.palette.Alert[`${i}FilledColor`],backgroundColor:d.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:d.palette.mode==="dark"?d.palette[i].dark:d.palette[i].main,color:d.palette.getContrastText(d.palette[i].main)}}}))]}})),pc=ce("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(d,l)=>l.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),hc=ce("div",{name:"MuiAlert",slot:"Message",overridesResolver:(d,l)=>l.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Oc=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}),oa={success:O.jsx(mc,{fontSize:"inherit"}),warning:O.jsx(fc,{fontSize:"inherit"}),error:O.jsx(yc,{fontSize:"inherit"}),info:O.jsx(vc,{fontSize:"inherit"})},xc=C.forwardRef(function(l,t){const i=Vs({props:l,name:"MuiAlert"}),{action:c,children:f,className:m,closeText:y="Close",color:I,components:g={},componentsProps:p={},icon:A,iconMapping:V=oa,onClose:h,role:R="alert",severity:b="success",slotProps:M={},slots:N={},variant:x="standard",...P}=i,z={...i,color:I,severity:b,variant:x,colorSeverity:I||b},F=gc(z),k={slots:{closeButton:g.CloseButton,closeIcon:g.CloseIcon,...N},slotProps:{...p,...M}},[W,de]=Pe("root",{ref:t,shouldForwardComponentProp:!0,className:mr(F.root,m),elementType:Ac,externalForwardedProps:{...k,...P},ownerState:z,additionalProps:{role:R,elevation:0}}),[Q,_]=Pe("icon",{className:F.icon,elementType:pc,externalForwardedProps:k,ownerState:z}),[be,Ne]=Pe("message",{className:F.message,elementType:hc,externalForwardedProps:k,ownerState:z}),[ne,Ae]=Pe("action",{className:F.action,elementType:Oc,externalForwardedProps:k,ownerState:z}),[Ke,ke]=Pe("closeButton",{elementType:ga,externalForwardedProps:k,ownerState:z}),[K,Xe]=Pe("closeIcon",{elementType:Ic,externalForwardedProps:k,ownerState:z});return O.jsxs(W,{...de,children:[A!==!1?O.jsx(Q,{..._,children:A||V[b]||oa[b]}):null,O.jsx(be,{...Ne,children:f}),c!=null?O.jsx(ne,{...Ae,children:c}):null,c==null&&h?O.jsx(ne,{...Ae,children:O.jsx(Ke,{size:"small","aria-label":y,title:y,color:"inherit",onClick:h,...ke,children:O.jsx(K,{fontSize:"small",...Xe})})}):null]})}),Sc=ie(O.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 uc(d){return Rr("MuiAvatar",d)}fr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Vc=d=>{const{classes:l,variant:t,colorDefault:i}=d;return br({root:["root",t,i&&"colorDefault"],img:["img"],fallback:["fallback"]},uc,l)},Jc=ce("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d;return[l.root,l[t.variant],t.colorDefault&&l.colorDefault]}})(Ia(({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]})}}}]}))),jc=ce("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(d,l)=>l.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),wc=ce(Sc,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(d,l)=>l.fallback})({width:"75%",height:"75%"});function Mc({crossOrigin:d,referrerPolicy:l,src:t,srcSet:i}){const[c,f]=C.useState(!1);return C.useEffect(()=>{if(!t&&!i)return;f(!1);let m=!0;const y=new Image;return y.onload=()=>{m&&f("loaded")},y.onerror=()=>{m&&f("error")},y.crossOrigin=d,y.referrerPolicy=l,y.src=t,i&&(y.srcset=i),()=>{m=!1}},[d,l,t,i]),c}const Rc=C.forwardRef(function(l,t){const i=Vs({props:l,name:"MuiAvatar"}),{alt:c,children:f,className:m,component:y="div",slots:I={},slotProps:g={},imgProps:p,sizes:A,src:V,srcSet:h,variant:R="circular",...b}=i;let M=null;const N={...i,component:y,variant:R},x=Mc({...p,...typeof g.img=="function"?g.img(N):g.img,src:V,srcSet:h}),P=V||h,z=P&&x!=="error";N.colorDefault=!z,delete N.ownerState;const F=Vc(N),[k,W]=Pe("img",{className:F.img,elementType:jc,externalForwardedProps:{slots:I,slotProps:{img:{...p,...g.img}}},additionalProps:{alt:c,src:V,srcSet:h,sizes:A},ownerState:N});return z?M=O.jsx(k,{...W}):f||f===0?M=f:P&&c?M=c[0]:M=O.jsx(wc,{ownerState:N,className:F.fallback}),O.jsx(Jc,{as:y,className:mr(F.root,m),ref:t,...b,ownerState:N,children:M})}),bc=fr("MuiBox",["root"]),Nc=Hi(),Jr=ic({themeId:Zi,defaultTheme:Nc,defaultClassName:bc.root,generateClassName:Gi.generate}),aa=C.createContext();function Lc(d){return Rr("MuiGrid",d)}const Cc=[0,1,2,3,4,5,6,7,8,9,10],Tc=["column-reverse","column","row-reverse","row"],Pc=["nowrap","wrap-reverse","wrap"],nr=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],ir=fr("MuiGrid",["root","container","item","zeroMinWidth",...Cc.map(d=>`spacing-xs-${d}`),...Tc.map(d=>`direction-xs-${d}`),...Pc.map(d=>`wrap-xs-${d}`),...nr.map(d=>`grid-xs-${d}`),...nr.map(d=>`grid-sm-${d}`),...nr.map(d=>`grid-md-${d}`),...nr.map(d=>`grid-lg-${d}`),...nr.map(d=>`grid-xl-${d}`)]);function Dc({theme:d,ownerState:l}){let t;return d.breakpoints.keys.reduce((i,c)=>{let f={};if(l[c]&&(t=l[c]),!t)return i;if(t===!0)f={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(t==="auto")f={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const m=Nr({values:l.columns,breakpoints:d.breakpoints.values}),y=typeof m=="object"?m[c]:m;if(y==null)return i;const I=`${Math.round(t/y*1e8)/1e6}%`;let g={};if(l.container&&l.item&&l.columnSpacing!==0){const p=d.spacing(l.columnSpacing);if(p!=="0px"){const A=`calc(${I} + ${p})`;g={flexBasis:A,maxWidth:A}}}f={flexBasis:I,flexGrow:0,maxWidth:I,...g}}return d.breakpoints.values[c]===0?Object.assign(i,f):i[d.breakpoints.up(c)]=f,i},{})}function kc({theme:d,ownerState:l}){const t=Nr({values:l.direction,breakpoints:d.breakpoints.values});return Js({theme:d},t,i=>{const c={flexDirection:i};return i.startsWith("column")&&(c[`& > .${ir.item}`]={maxWidth:"none"}),c})}function Oa({breakpoints:d,values:l}){let t="";Object.keys(l).forEach(c=>{t===""&&l[c]!==0&&(t=c)});const i=Object.keys(d).sort((c,f)=>d[c]-d[f]);return i.slice(0,i.indexOf(t))}function Ec({theme:d,ownerState:l}){const{container:t,rowSpacing:i}=l;let c={};if(t&&i!==0){const f=Nr({values:i,breakpoints:d.breakpoints.values});let m;typeof f=="object"&&(m=Oa({breakpoints:d.breakpoints.values,values:f})),c=Js({theme:d},f,(y,I)=>{const g=d.spacing(y);return g!=="0px"?{marginTop:`calc(-1 * ${g})`,[`& > .${ir.item}`]:{paddingTop:g}}:m!=null&&m.includes(I)?{}:{marginTop:0,[`& > .${ir.item}`]:{paddingTop:0}}})}return c}function Uc({theme:d,ownerState:l}){const{container:t,columnSpacing:i}=l;let c={};if(t&&i!==0){const f=Nr({values:i,breakpoints:d.breakpoints.values});let m;typeof f=="object"&&(m=Oa({breakpoints:d.breakpoints.values,values:f})),c=Js({theme:d},f,(y,I)=>{const g=d.spacing(y);if(g!=="0px"){const p=`calc(-1 * ${g})`;return{width:`calc(100% + ${g})`,marginLeft:p,[`& > .${ir.item}`]:{paddingLeft:g}}}return m!=null&&m.includes(I)?{}:{width:"100%",marginLeft:0,[`& > .${ir.item}`]:{paddingLeft:0}}})}return c}function Bc(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 i=[];return l.forEach(c=>{const f=d[c];Number(f)>0&&i.push(t[`spacing-${c}-${String(f)}`])}),i}const $c=ce("div",{name:"MuiGrid",slot:"Root",overridesResolver:(d,l)=>{const{ownerState:t}=d,{container:i,direction:c,item:f,spacing:m,wrap:y,zeroMinWidth:I,breakpoints:g}=t;let p=[];i&&(p=Bc(m,g,l));const A=[];return g.forEach(V=>{const h=t[V];h&&A.push(l[`grid-${V}-${String(h)}`])}),[l.root,i&&l.container,f&&l.item,I&&l.zeroMinWidth,...p,c!=="row"&&l[`direction-xs-${String(c)}`],y!=="wrap"&&l[`wrap-xs-${String(y)}`],...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}}),kc,Ec,Uc,Dc);function zc(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(i=>{const c=d[i];if(Number(c)>0){const f=`spacing-${i}-${String(c)}`;t.push(f)}}),t}const qc=d=>{const{classes:l,container:t,direction:i,item:c,spacing:f,wrap:m,zeroMinWidth:y,breakpoints:I}=d;let g=[];t&&(g=zc(f,I));const p=[];I.forEach(V=>{const h=d[V];h&&p.push(`grid-${V}-${String(h)}`)});const A={root:["root",t&&"container",c&&"item",y&&"zeroMinWidth",...g,i!=="row"&&`direction-xs-${String(i)}`,m!=="wrap"&&`wrap-xs-${String(m)}`,...p]};return br(A,Lc,l)},gs=C.forwardRef(function(l,t){const i=Vs({props:l,name:"MuiGrid"}),{breakpoints:c}=Qe(),f=va(i),{className:m,columns:y,columnSpacing:I,component:g="div",container:p=!1,direction:A="row",item:V=!1,rowSpacing:h,spacing:R=0,wrap:b="wrap",zeroMinWidth:M=!1,...N}=f,x=h||R,P=I||R,z=C.useContext(aa),F=p?y||12:z,k={},W={...N};c.keys.forEach(_=>{N[_]!=null&&(k[_]=N[_],delete W[_])});const de={...f,columns:F,container:p,direction:A,item:V,rowSpacing:x,columnSpacing:P,wrap:b,zeroMinWidth:M,spacing:R,...k,breakpoints:c.keys},Q=qc(de);return O.jsx(aa.Provider,{value:F,children:O.jsx($c,{ownerState:de,className:mr(Q.root,m),as:g,ref:t,...W})})}),we=["xs","sm","md","lg","xl"],Fc=(d,l,t=!0)=>t?we.indexOf(d)<=we.indexOf(l):we.indexOf(d)<we.indexOf(l),Yc=(d,l,t=!1)=>t?we.indexOf(l)<=we.indexOf(d):we.indexOf(l)<we.indexOf(d),Gc=(d={})=>l=>{const{withTheme:t=!1,noSSR:i=!1,initialWidth:c}=d;function f(m){const y=Qe(),I=m.theme||y,{initialWidth:g,width:p,...A}=Qi({theme:I,name:"MuiWithWidth",props:m}),[V,h]=C.useState(!1);Wi(()=>{h(!0)},[]);const b=I.breakpoints.keys.slice().reverse().reduce((N,x)=>{const P=lr(I.breakpoints.up(x));return!N&&P?x:N},null),M={width:p||(V||i?b:void 0)||g||c,...t?{theme:I}:{},...A};return M.width===void 0?null:O.jsx(l,{...M})}return f};function xa(d){const{children:l,only:t,width:i}=d,c=Qe();let f=!0;if(t)if(Array.isArray(t))for(let m=0;m<t.length;m+=1){const y=t[m];if(i===y){f=!1;break}}else t&&i===t&&(f=!1);if(f)for(let m=0;m<c.breakpoints.keys.length;m+=1){const y=c.breakpoints.keys[m],I=d[`${y}Up`],g=d[`${y}Down`];if(I&&Fc(y,i)||g&&Yc(y,i)){f=!1;break}}return f?l:null}xa.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 Zc=Gc()(xa);function Hc(d){return Rr("PrivateHiddenCss",d)}fr("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const Wc=d=>{const{classes:l,breakpoints:t}=d,i={root:["root",...t.map(({breakpoint:c,dir:f})=>f==="only"?`${f}${tr(c)}`:`${c}${tr(f)}`)]};return br(i,Hc,l)},Qc=ce("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:d,ownerState:l})=>{const t={display:"none"};return{...l.breakpoints.map(({breakpoint:i,dir:c})=>c==="only"?{[d.breakpoints.only(i)]:t}:c==="up"?{[d.breakpoints.up(i)]:t}:{[d.breakpoints.down(i)]:t}).reduce((i,c)=>(Object.keys(c).forEach(f=>{i[f]=c[f]}),i),{})}});function Kc(d){const{children:l,className:t,only:i,...c}=d,f=Qe(),m=[];for(let g=0;g<f.breakpoints.keys.length;g+=1){const p=f.breakpoints.keys[g],A=c[`${p}Up`],V=c[`${p}Down`];A&&m.push({breakpoint:p,dir:"up"}),V&&m.push({breakpoint:p,dir:"down"})}i&&(Array.isArray(i)?i:[i]).forEach(p=>{m.push({breakpoint:p,dir:"only"})});const y={...d,breakpoints:m},I=Wc(y);return O.jsx(Qc,{className:mr(I.root,t),ownerState:y,children:l})}function da(d){const{implementation:l="js",lgDown:t=!1,lgUp:i=!1,mdDown:c=!1,mdUp:f=!1,smDown:m=!1,smUp:y=!1,xlDown:I=!1,xlUp:g=!1,xsDown:p=!1,xsUp:A=!1,...V}=d;return l==="js"?O.jsx(Zc,{lgDown:t,lgUp:i,mdDown:c,mdUp:f,smDown:m,smUp:y,xlDown:I,xlUp:g,xsDown:p,xsUp:A,...V}):O.jsx(Kc,{lgDown:t,lgUp:i,mdDown:c,mdUp:f,smDown:m,smUp:y,xlDown:I,xlUp:g,xsDown:p,xsUp:A,...V})}function Xc(d){const l=(()=>{const t=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&&i(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&&m(e.definitions))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&x(e.parameters))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ke(e.responses))&&(e.securityDefinitions===void 0||typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1&&K(e.securityDefinitions))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&se(r)))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&gr(e.paths))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&Ue(r))),i=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&&c(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&f(e.license))&&typeof e.version=="string",c=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"),f=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),m=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&oe(s)}),y=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),I=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),g=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),p=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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),A=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&oe(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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),V=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&m(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&&oe(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["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),h=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,R=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(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,b=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(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,M=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,N=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,x=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&xn(s)}),P=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["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",z=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["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",F=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["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",k=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["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",W=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&oe(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["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",de=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&m(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&&oe(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["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",Q=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&&typeof e.name=="string"&&typeof e.in=="string",_=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(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&&typeof e.name=="string"&&typeof e.in=="string",be=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&oe(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&&typeof e.name=="string"&&typeof e.in=="string",Ne=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&&typeof e.name=="string"&&typeof e.in=="string",ne=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&&typeof e.name=="string"&&typeof e.in=="string",Ae=e=>typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&oe(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"),Ke=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&ke(s)}),ke=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&&m(e.headers))&&(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&oe(e.schema))&&!0,K=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Sn(s)}),Xe=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"),Cr=e=>e.type==="basic"&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Ee=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&&$(e.scopes))&&(e.description===void 0||typeof e.description=="string"),$=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="string"}),yr=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&&$(e.scopes))&&(e.description===void 0||typeof e.description=="string"),vr=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&&$(e.scopes))&&(e.description===void 0||typeof e.description=="string"),Ir=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&&$(e.scopes))&&(e.description===void 0||typeof e.description=="string"),se=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:Array.isArray(s)&&s.every(a=>typeof a=="string")}),gr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&me(s)}),me=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&pn(r)))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&q(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&q(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&q(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&q(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&q(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&q(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&q(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&q(e.trace)),_e=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,q=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&&hn(r)))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ar(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&&se(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),er=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,Ar=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&un(s)}),Tr=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,Ue=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),pr=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&&T(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&le(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&Pr(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Za(e.paths))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&se(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&_a(r))),T=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&&Be(e.variables)),Be=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&hr(s)}),hr=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"),le=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&&rr(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&fe(e.license))&&typeof e.version=="string",rr=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"),fe=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),Pr=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&$e(e.schemas))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&ar(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&Ta(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&Pa(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Da(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Ya(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Ga(e.examples)),$e=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&ve(s)}),pe=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),u=e=>Object.keys(e).every(r=>(e[r]===void 0,!0)),sr=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),Dr=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),kr=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),Er=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&ve(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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),Ur=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&&$e(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&&ve(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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),Or=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&&u(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,Br=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ve(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(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,L=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ve(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(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,D=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&ve(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&ye(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&&u(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,ye=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&$(e.mapping)),$r=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),or=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),ar=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&ee(s)}),ee=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&dr(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&zr(e.headers))&&(e.description===void 0||typeof e.description=="string"),dr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Le(s)}),Le=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&ve(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&ze(e.examples)),ze=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Vn(s)}),xr=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"),Sr=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&&u(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,zr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Jn(s)}),bs=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&ze(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&&ve(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),Ns=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&&u(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,Ta=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ls(s)}),Ls=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&&ve(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&&ze(e.examples)),Pa=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Cs(s)}),Cs=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&&dr(e.content)),Da=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&jn(s)}),ka=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"),Ea=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Ua=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Ba=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&$a(e.flows)&&(e.description===void 0||typeof e.description=="string"),$a=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&za(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&qa(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Ts(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Ts(e.clientCredentials)),za=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&&$(e.scopes)),qa=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&&$(e.scopes)),Ts=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&&$(e.scopes)),Fa=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Ya=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&bs(s)}),Ga=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&xr(s)}),Za=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ha(s)}),Ha=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&co(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&T(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&&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)),Wa=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&&u(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,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&&co(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&wn(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ka(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&T(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&&se(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),Qa=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&&u(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,Ka=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Mn(s)}),Xa=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&&u(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,_a=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),ed=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&&qr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&od(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&nd(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&Ds(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&qd(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&se(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&Yd(r))),qr=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&&rd(e.variables)),rd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&sd(s)}),sd=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"),od=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&&ad(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&dd(e.license))&&typeof e.version=="string",ad=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"),nd=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Fr(e.schemas))&&(e.pathItems===void 0||typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1&&Ds(e.pathItems))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Rd(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&bd(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&Nd(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Ld(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&$d(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&zd(e.examples)),Fr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&E(s)}),ld=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&&u(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.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&&Fr(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&&Ps(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",td=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&&u(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,id=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),cd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),md=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),fd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),yd=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),vd=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&&Fr(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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),Id=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&&u(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,gd=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&&u(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,Ad=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&&u(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,pd=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&&u(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,hd=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&&Ps(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&&u(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,Ps=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&$(e.mapping)),Od=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&u(e.examples)),Ds=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&ks(s)}),ks=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&mo(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&qr(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&&Oe(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&Oe(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&Oe(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&Oe(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&Oe(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&Oe(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&Oe(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&Oe(e.trace)),Es=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&&Yr(e.examples)),Yr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Rn(s)}),Us=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"),Sd=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&&u(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,Bs=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&&u(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,ud=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&&u(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,Oe=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&&mo(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&bn(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&jd(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&qr(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&&se(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),$s=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&&zs(e.content)),zs=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Vd(s)}),Vd=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&&Yr(e.examples)),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&&u(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,jd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Nn(s)}),qs=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&zs(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&wd(e.headers))&&(e.description===void 0||typeof e.description=="string"),wd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ln(s)}),Fs=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Yr(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"),Md=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&&u(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,Rd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&qs(s)}),bd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Es(s)}),Nd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&$s(s)}),Ld=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Cn(s)}),Cd=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"),Td=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Pd=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Dd=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&kd(e.flows)&&(e.description===void 0||typeof e.description=="string"),kd=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&Ed(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Ud(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Ys(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Ys(e.clientCredentials)),Ed=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&&$(e.scopes)),Ud=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&&$(e.scopes)),Ys=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&&$(e.scopes)),Bd=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),$d=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Fs(s)}),zd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Us(s)}),qd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Tn(s)}),Fd=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&&u(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,Yd=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Gd=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&&Gr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&Wd(e.info))&&typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&Xd(e.components)&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&no(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&no(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&se(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&An(r)))&&e["x-samchon-emended-v4"]===!0,Gr=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&&Zd(e.variables)),Zd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Hd(s)}),Hd=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"),Wd=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&&Qd(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Kd(e.license))&&typeof e.version=="string",Qd=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)),Kd=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),Xd=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Gs(e.schemas))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&rn(e.securitySchemes)),Gs=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ce(s)}),Zs=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&&u(e.examples)),Hs=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&&u(e.examples)),Ws=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&&u(e.examples)),Qs=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&&u(e.examples)),Ks=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&&u(e.examples)),Xs=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&&u(e.examples)),_s=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&&u(e.examples)),eo=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Gs(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&&u(e.examples)),ro=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&&u(e.examples)),_d=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&On(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&en(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&&u(e.examples)),so=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&&u(e.examples)),oo=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&&u(e.examples)),en=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&$(e.mapping)),rn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Pn(s)}),sn=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"),on=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),an=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),dn=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&nn(e.flows)&&(e.description===void 0||typeof e.description=="string"),nn=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&ln(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&tn(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&ao(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&ao(e.clientCredentials)),ln=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&&$(e.scopes)),tn=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&&$(e.scopes)),ao=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&&$(e.scopes)),cn=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),no=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&mn(s)}),mn=e=>(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Gr(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)),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&&lo(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&yn(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&vn(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Gr(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&&se(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"),lo=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.title===void 0||typeof e.title=="string")&&(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&&to(e.examples)),to=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&fn(s)}),fn=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"),yn=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&io(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"),io=e=>(e["text/plain"]===void 0||typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1&&qe(e["text/plain"]))&&(e["application/json"]===void 0||typeof e["application/json"]=="object"&&e["application/json"]!==null&&Array.isArray(e["application/json"])===!1&&qe(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&&qe(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&&qe(e["multipart/form-data"]))&&(e["*/*"]===void 0||typeof e["*/*"]=="object"&&e["*/*"]!==null&&Array.isArray(e["*/*"])===!1&&qe(e["*/*"]))&&Object.keys(e).every(r=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(a=>r===a))return!0;const s=e[r];return s===void 0?!0:s===void 0||typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&qe(s)}),qe=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&&to(e.examples)),vn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&In(s)}),In=e=>(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&gn(e.headers))&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&io(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),gn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&lo(s)}),An=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),oe=e=>e.type==="boolean"?y(e):e.type==="number"?g(e):e.type==="integer"?I(e):e.type==="string"?p(e):e.type==="array"?A(e):e.type==="object"?V(e):e.$ref!==void 0?h(e):e["x-anyOf"]!==void 0?R(e):e["x-oneOf"]!==void 0?b(e):e.type==="null"?M(e):N(e),pn=e=>e.type==="boolean"?P(e):e.type==="number"?F(e):e.type==="integer"?z(e):e.type==="string"?k(e):e.type==="array"?W(e):e.type==="object"?de(e):e["x-anyOf"]!==void 0?_(e):e["x-oneOf"]!==void 0?be(e):e.type==="null"?Ne(e):e.schema!==void 0?Ae(e):Q(e)?Q(e):ne(e)?ne(e):_e(e)?_e(e):!1,hn=e=>e.type==="boolean"?P(e):e.type==="number"?F(e):e.type==="integer"?z(e):e.type==="string"?k(e):e.type==="array"?W(e):e.type==="object"?de(e):e["x-anyOf"]!==void 0?_(e):e["x-oneOf"]!==void 0?be(e):e.type==="null"?Ne(e):e.schema!==void 0?Ae(e):Q(e)?Q(e):ne(e)?ne(e):er(e)?er(e):!1,ve=e=>e.type==="boolean"?pe(e):e.type==="number"?Dr(e):e.type==="integer"?sr(e):e.type==="string"?kr(e):e.type==="array"?Er(e):e.type==="object"?Ur(e):e.$ref!==void 0?Or(e):e.allOf!==void 0?Br(e):e.anyOf!==void 0?L(e):e.oneOf!==void 0?D(e):e.type==="null"?$r(e):or(e),co=e=>e.in!==void 0?Ls(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Wa(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Ns(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")?ld(e):e.type==="boolean"?id(e):e.type==="number"?md(e):e.type==="integer"?cd(e):e.type==="string"?fd(e):e.type==="array"?yd(e):e.type==="object"?vd(e):e.$recursiveRef!==void 0?gd(e):e.type==="null"?Od(e):e.const!==void 0?td(e):e.$ref!==void 0?Id(e):e.allOf!==void 0?Ad(e):e.anyOf!==void 0?pd(e):e.oneOf!==void 0?hd(e):xd(e),mo=e=>e.in!==void 0?Es(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?ud(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Bs(e):!1,Ce=e=>e.const!==void 0?Zs(e):e.type==="boolean"?Hs(e):e.type==="number"?Qs(e):e.type==="integer"?Ws(e):e.type==="string"?Ks(e):e.items!==void 0?Xs(e):e.prefixItems!==void 0?_s(e):e.type==="object"?eo(e):e.$ref!==void 0?ro(e):e.oneOf!==void 0?_d(e):e.type==="null"?so(e):oo(e),On=e=>e.const!==void 0?Zs(e):e.type==="boolean"?Hs(e):e.type==="number"?Qs(e):e.type==="integer"?Ws(e):e.type==="string"?Ks(e):e.items!==void 0?Xs(e):e.prefixItems!==void 0?_s(e):e.type==="object"?eo(e):e.$ref!==void 0?ro(e):e.type==="null"?so(e):oo(e),xn=e=>e.type==="boolean"?P(e):e.type==="number"?F(e):e.type==="integer"?z(e):e.type==="string"?k(e):e.type==="array"?W(e):e.type==="object"?de(e):e.$ref!==void 0?Q(e):e["x-anyOf"]!==void 0?_(e):e["x-oneOf"]!==void 0?be(e):e.type==="null"?Ne(e):e.schema!==void 0?Ae(e):ne(e),Sn=e=>e.type==="apiKey"?Xe(e):e.type==="basic"?Cr(e):e.flow==="implicit"?Ee(e):e.flow==="accessCode"?yr(e):e.flow==="application"?Ir(e):e.flow==="password"?vr(e):!1,un=e=>e.$ref!==void 0?Tr(e):ke(e),Vn=e=>e.$ref!==void 0?Sr(e):xr(e),Jn=e=>e.schema!==void 0?bs(e):e.$ref!==void 0?Ns(e):!1,jn=e=>e.type==="apiKey"?ka(e):e.scheme==="basic"?Ea(e):e.scheme==="bearer"?Ua(e):e.type==="oauth2"?Ba(e):e.type==="openIdConnect"?Fa(e):!1,wn=e=>e.$ref!==void 0?Qa(e):Cs(e),Mn=e=>e.$ref!==void 0?Xa(e):ee(e),Rn=e=>e.$ref!==void 0?Sd(e):Us(e),bn=e=>e.$ref!==void 0?Jd(e):$s(e),Nn=e=>e.$ref!==void 0?Md(e):qs(e),Ln=e=>e.$ref!==void 0?Bs(e):e.schema!==void 0?Fs(e):!1,Cn=e=>e.type==="apiKey"?Cd(e):e.scheme==="basic"?Td(e):e.scheme==="bearer"?Pd(e):e.type==="oauth2"?Dd(e):e.type==="openIdConnect"?Bd(e):!1,Tn=e=>e.$ref!==void 0?Fd(e):ks(e),Pn=e=>e.type==="apiKey"?sn(e):e.scheme==="basic"?on(e):e.scheme==="bearer"?an(e):e.type==="oauth2"?dn(e):e.type==="openIdConnect"?cn(e):!1,Dn=e=>e.swagger!==void 0?t(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))?pr(e):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?ed(e):e["x-samchon-emended-v4"]!==void 0?Gd(e):!1,kn=(e,r,s=!0)=>[(e.swagger!==null||o(s,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger!==void 0||o(s,{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)||o(s,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger})),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}))&&En(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}),e.host===void 0||typeof e.host=="string"||o(s,{path:r+".host",expected:"(string | undefined)",value:e.host}),e.basePath===void 0||typeof e.basePath=="string"||o(s,{path:r+".basePath",expected:"(string | undefined)",value:e.basePath}),e.consumes===void 0||(Array.isArray(e.consumes)||o(s,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}))&&e.consumes.map((a,n)=>typeof a=="string"||o(s,{path:r+".consumes["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}),e.produces===void 0||(Array.isArray(e.produces)||o(s,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}))&&e.produces.map((a,n)=>typeof a=="string"||o(s,{path:r+".produces["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}))&&ur(e.definitions,r+".definitions",s)||o(s,{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||o(s,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}))&&Xn(e.parameters,r+".parameters",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}))&&_n(e.responses,r+".responses",s)||o(s,{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||o(s,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}))&&el(e.securityDefinitions,r+".securityDefinitions",s)||o(s,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}))&&ll(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"SwaggerV2.IDocument.ITag",value:a}))&&yl(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"SwaggerV2.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),En=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}))&&Un(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}))&&Bn(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),Un=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),Bn=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),ur=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),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}))&&ae(n,r+v(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),$n=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),zn=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{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||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{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||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),qn=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),Fn=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{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||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{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||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),Yn=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{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}))&&ae(e.items,r+".items",s)||o(s,{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"||o(s,{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||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{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||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),Gn=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&ur(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&ae(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),Zn=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Hn=(e,r,s=!0)=>[(Array.isArray(e["x-anyOf"])||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&ae(a,r+'["x-anyOf"]['+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Wn=(e,r,s=!0)=>[(Array.isArray(e["x-oneOf"])||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&ae(a,r+'["x-oneOf"]['+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Qn=(e,r,s=!0)=>[e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Kn=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Xn=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),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}))&&Vi(n,r+v(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),Zr=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),Hr=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{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||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{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||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),Wr=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),Qr=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{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||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{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||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),Kr=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{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}))&&ae(e.items,r+".items",s)||o(s,{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"||o(s,{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||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{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||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),Xr=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&ur(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&ae(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),_r=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),es=(e,r,s=!0)=>[(Array.isArray(e["x-anyOf"])||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&ae(a,r+'["x-anyOf"]['+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),rs=(e,r,s=!0)=>[(Array.isArray(e["x-oneOf"])||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&ae(a,r+'["x-oneOf"]['+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ss=(e,r,s=!0)=>[e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),os=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),as=(e,r,s=!0)=>[(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&ae(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),_n=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"SwaggerV2.IOperation.IResponse",value:n}))&&fo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"SwaggerV2.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),fo=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}))&&ur(e.headers,r+".headers",s)||o(s,{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||o(s,{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}))&&ae(e.schema,r+".schema",s)||o(s,{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(a=>a),el=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:n}))&&Ji(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:n})}).every(a=>a)].every(a=>a),rl=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),sl=(e,r,s=!0)=>[e.type==="basic"||o(s,{path:r+".type",expected:'"basic"',value:e.type}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ol=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="implicit"||o(s,{path:r+".flow",expected:'"implicit"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Y=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:typeof n=="string"||o(s,{path:r+v(a),expected:"string",value:n})}).every(a=>a)].every(a=>a),al=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="accessCode"||o(s,{path:r+".flow",expected:'"accessCode"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),dl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="password"||o(s,{path:r+".flow",expected:'"password"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),nl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="application"||o(s,{path:r+".flow",expected:'"application"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Se=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(Array.isArray(n)||o(s,{path:r+v(a),expected:"Array<string>",value:n}))&&n.map((Ye,$i)=>typeof Ye=="string"||o(s,{path:r+v(a)+"["+$i+"]",expected:"string",value:Ye})).every(Ye=>Ye)||o(s,{path:r+v(a),expected:"Array<string>",value:n})}).every(a=>a)].every(a=>a),ll=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"SwaggerV2.IPath",value:n}))&&tl(n,r+v(a),s)||o(s,{path:r+v(a),expected:"SwaggerV2.IPath",value:n})}).every(a=>a)].every(a=>a),tl=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{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:a}))&&xi(a,r+".parameters["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{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||o(s,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}))&&ue(e.get,r+".get",s)||o(s,{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||o(s,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}))&&ue(e.post,r+".post",s)||o(s,{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||o(s,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}))&&ue(e.put,r+".put",s)||o(s,{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||o(s,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}))&&ue(e.delete,r+'["delete"]',s)||o(s,{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||o(s,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}))&&ue(e.options,r+".options",s)||o(s,{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||o(s,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}))&&ue(e.head,r+".head",s)||o(s,{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||o(s,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}))&&ue(e.patch,r+".patch",s)||o(s,{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||o(s,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace}))&&ue(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace})].every(a=>a),il=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ue=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{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:a}))&&Si(a,r+".parameters["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}))&&ml(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),cl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/definitions/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ml=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:n}))&&ji(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:n})}).every(a=>a)].every(a=>a),fl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/definitions/responses/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),yl=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),vl=(e,r,s=!0)=>[(e.openapi!==null||o(s,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi!==void 0||o(s,{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)||o(s,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi})),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a}))&&ds(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}))&&Al(e.info,r+".info",s)||o(s,{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||o(s,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}))&&Ol(e.components,r+".components",s)||o(s,{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||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}))&&Kl(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3.IDocument.ITag",value:a}))&&ot(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),ds=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables}))&&Il(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),Il=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3.IServer.IVariable",value:n}))&&gl(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IServer.IVariable",value:n})}).every(a=>a)].every(a=>a),gl=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Al=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}))&&pl(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}))&&hl(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),pl=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),hl=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),Ol=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}))&&yo(e.schemas,r+".schemas",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}))&&Tl(e.responses,r+".responses",s)||o(s,{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||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}))&&El(e.parameters,r+".parameters",s)||o(s,{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||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&Ul(e.requestBodies,r+".requestBodies",s)||o(s,{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||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&Bl(e.securitySchemes,r+".securitySchemes",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&Wl(e.headers,r+".headers",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples}))&&Ql(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples})].every(a=>a),yo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),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}))&&Ie(n,r+v(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),xl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),J=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>(e[a]===void 0,!0)).every(a=>a)].every(a=>a),Sl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{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||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{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||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{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||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),ul=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Vl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{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||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{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||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Jl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{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}))&&Ie(e.items,r+".items",s)||o(s,{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"||o(s,{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||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{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||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),jl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{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||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}))&&yo(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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}))&&Ie(e.additionalProperties,r+".additionalProperties",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),wl=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ml=(e,r,s=!0)=>[(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&Ie(a,r+".allOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Rl=(e,r,s=!0)=>[(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&Ie(a,r+".anyOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),bl=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&Ie(a,r+".oneOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Nl(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Nl=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&Y(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),Ll=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Cl=(e,r,s=!0)=>[!0,(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Tl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IResponse",value:n}))&&vo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),vo=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&Io(e.content,r+".content",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}))&&kl(e.headers,r+".headers",s)||o(s,{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"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Io=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IMediaType",value:n}))&&Pl(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IMediaType",value:n})}).every(a=>a)].every(a=>a),Pl=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&Ie(e.schema,r+".schema",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&ns(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(a=>a),ns=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n}))&&wi(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n})}).every(a=>a)].every(a=>a),go=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),Dl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),kl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n}))&&Mi(n,r+v(a),s)||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n})}).every(a=>a)].every(a=>a),Ao=(e,r,s=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&ns(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&Ie(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),po=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),El=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IParameter",value:n}))&&ho(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IParameter",value:n})}).every(a=>a)].every(a=>a),ho=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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}))&&Ie(e.schema,r+".schema",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&ns(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(a=>a),Ul=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IRequestBody",value:n}))&&Oo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IOperation.IRequestBody",value:n})}).every(a=>a)].every(a=>a),Oo=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{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||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&Io(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content})].every(a=>a),Bl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:n}))&&Ri(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:n})}).every(a=>a)].every(a=>a),$l=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),zl=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ql=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Fl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&Yl(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Yl=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&Gl(e.authorizationCode,r+".authorizationCode",s)||o(s,{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||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&Zl(e.implicit,r+".implicit",s)||o(s,{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||o(s,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&xo(e.password,r+".password",s)||o(s,{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||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&xo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),Gl=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Zl=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),xo=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Hl=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Wl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:n}))&&Ao(n,r+v(a),s)||o(s,{path:r+v(a),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:n})}).every(a=>a)].every(a=>a),Ql=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IExample",value:n}))&&go(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IExample",value:n})}).every(a=>a)].every(a=>a),Kl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3.IPath",value:n}))&&Xl(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3.IPath",value:n})}).every(a=>a)].every(a=>a),Xl=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a}))&&Qo(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a}))&&ds(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}))&&Ve(e.get,r+".get",s)||o(s,{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||o(s,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}))&&Ve(e.post,r+".post",s)||o(s,{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||o(s,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}))&&Ve(e.put,r+".put",s)||o(s,{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||o(s,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}))&&Ve(e.delete,r+'["delete"]',s)||o(s,{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||o(s,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}))&&Ve(e.options,r+".options",s)||o(s,{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||o(s,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}))&&Ve(e.head,r+".head",s)||o(s,{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||o(s,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}))&&Ve(e.patch,r+".patch",s)||o(s,{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||o(s,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace}))&&Ve(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace})].every(a=>a),_l=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ve=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a}))&&Qo(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&bi(e.requestBody,r+".requestBody",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}))&&rt(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a}))&&ds(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),et=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),rt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:n}))&&Ni(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:n})}).every(a=>a)].every(a=>a),st=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ot=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),at=(e,r,s=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||o(s,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a}))&&ls(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}))&&lt(e.info,r+".info",s)||o(s,{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||o(s,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}))&&ct(e.components,r+".components",s)||o(s,{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||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}))&&uo(e.paths,r+".paths",s)||o(s,{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||o(s,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}))&&Zt(e.webhooks,r+".webhooks",s)||o(s,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3_1.IDocument.ITag",value:a}))&&Wt(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"OpenApiV3_1.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),ls=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables}))&&dt(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),dt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3_1.IServer.IVariable",value:n}))&&nt(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IServer.IVariable",value:n})}).every(a=>a)].every(a=>a),nt=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}))&&(1<=e.enum.length||o(s,{path:r+'["enum"]',expected:"Array<> & MinItems<1>",value:e.enum}))&&e.enum.map((a,n)=>typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),lt=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}))&&tt(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}))&&it(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),tt=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),it=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||o(s,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),ct=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}))&&ts(e.schemas,r+".schemas",s)||o(s,{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||o(s,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}))&&uo(e.pathItems,r+".pathItems",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}))&&Ct(e.responses,r+".responses",s)||o(s,{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||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}))&&Tt(e.parameters,r+".parameters",s)||o(s,{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||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&Pt(e.requestBodies,r+".requestBodies",s)||o(s,{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||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&Dt(e.securitySchemes,r+".securitySchemes",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&Yt(e.headers,r+".headers",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples}))&&Gt(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples})].every(a=>a),ts=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),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(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),mt=(e,r,s=!0)=>[(Array.isArray(e.type)||o(s,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}))&&e.type.map((a,n)=>a==="string"||a==="number"||a==="boolean"||a==="object"||a==="integer"||a==="array"||a==="null"||o(s,{path:r+".type["+n+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:a})).every(a=>a)||o(s,{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)||o(s,{path:r+'["default"]',expected:"(Array<any> | null | undefined)",value:e.default}),e.enum===void 0||Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<any> | undefined)",value:e.enum}),typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{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||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{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||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),(e.items!==null||o(s,{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((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".items["+n+"]",s)||o(s,{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:a})).every(a=>a)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&U(e.items,r+".items",s)||o(s,{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})||o(s,{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)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".prefixItems["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||o(s,{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||o(s,{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",s)||o(s,{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||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{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||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&ts(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||o(s,{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||o(s,{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",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".oneOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&So(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".anyOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".allOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref})].every(a=>a),ft=(e,r,s=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),yt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+n+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),vt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{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||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{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||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{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||o(s,{path:r+".exclusiveMinimum",expected:'number & Type<"int64">',value:e.exclusiveMinimum}))||typeof e.exclusiveMinimum=="boolean"||o(s,{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||o(s,{path:r+".exclusiveMaximum",expected:'number & Type<"int64">',value:e.exclusiveMaximum}))||typeof e.exclusiveMaximum=="boolean"||o(s,{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||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),It=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),gt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{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||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{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||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),At=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.items!==null||o(s,{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((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".items["+n+"]",s)||o(s,{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:a})).every(a=>a)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&U(e.items,r+".items",s)||o(s,{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})||o(s,{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)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".prefixItems["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||o(s,{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||o(s,{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",s)||o(s,{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||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{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||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),pt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{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||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&ts(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{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||o(s,{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",s)||o(s,{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"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),ht=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ot=(e,r,s=!0)=>[typeof e.$recursiveRef=="string"||o(s,{path:r+".$recursiveRef",expected:"string",value:e.$recursiveRef}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),xt=(e,r,s=!0)=>[(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".allOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),St=(e,r,s=!0)=>[(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".anyOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),ut=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&U(a,r+".oneOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&So(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),So=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&Y(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),Vt=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Jt=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),!0,e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),uo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IPath",value:n}))&&Vo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IPath",value:n})}).every(a=>a)].every(a=>a),Vo=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a}))&&Ko(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a}))&&ls(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}))&&Je(e.get,r+".get",s)||o(s,{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||o(s,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}))&&Je(e.post,r+".post",s)||o(s,{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||o(s,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}))&&Je(e.put,r+".put",s)||o(s,{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||o(s,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}))&&Je(e.delete,r+'["delete"]',s)||o(s,{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||o(s,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}))&&Je(e.options,r+".options",s)||o(s,{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||o(s,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}))&&Je(e.head,r+".head",s)||o(s,{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||o(s,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}))&&Je(e.patch,r+".patch",s)||o(s,{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||o(s,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace}))&&Je(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace})].every(a=>a),Jo=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&is(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(a=>a),is=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n}))&&Li(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:n})}).every(a=>a)].every(a=>a),jo=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),jt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),wo=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),wt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Je=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a}))&&Ko(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&Ci(e.requestBody,r+".requestBody",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}))&&bt(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a}))&&ls(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),Mo=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{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||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Ro(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content})].every(a=>a),Ro=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IMediaType",value:n}))&&Mt(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IMediaType",value:n})}).every(a=>a)].every(a=>a),Mt=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&is(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(a=>a),Rt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),bt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:n}))&&Ti(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:n})}).every(a=>a)].every(a=>a),bo=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Ro(e.content,r+".content",s)||o(s,{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||o(s,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}))&&Nt(e.headers,r+".headers",s)||o(s,{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"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Nt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n}))&&Pi(n,r+v(a),s)||o(s,{path:r+v(a),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:n})}).every(a=>a)].every(a=>a),No=(e,r,s=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&is(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),Lt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ct=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IResponse",value:n}))&&bo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),Tt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IParameter",value:n}))&&Jo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IParameter",value:n})}).every(a=>a)].every(a=>a),Pt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IRequestBody",value:n}))&&Mo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IOperation.IRequestBody",value:n})}).every(a=>a)].every(a=>a),Dt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:n}))&&Di(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:n})}).every(a=>a)].every(a=>a),kt=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Et=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Ut=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Bt=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&$t(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),$t=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&zt(e.authorizationCode,r+".authorizationCode",s)||o(s,{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||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&qt(e.implicit,r+".implicit",s)||o(s,{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||o(s,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Lo(e.password,r+".password",s)||o(s,{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||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Lo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),zt=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),qt=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Lo=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Ft=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Yt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:n}))&&No(n,r+v(a),s)||o(s,{path:r+v(a),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:n})}).every(a=>a)].every(a=>a),Gt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApiV3_1.IExample",value:n}))&&jo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApiV3_1.IExample",value:n})}).every(a=>a)].every(a=>a),Zt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:n}))&&ki(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:n})}).every(a=>a)].every(a=>a),Ht=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/pathItems/${string}`",value:e.$ref}),(e.examples!==null||o(s,{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&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Wt=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Qt=(e,r,s=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||o(s,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a}))&&cs(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}))&&_t(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}),(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||o(s,{path:r+".components",expected:"OpenApi.IComponents",value:e.components}))&&si(e.components,r+".components",s)||o(s,{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||o(s,{path:r+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.paths}))&&Go(e.paths,r+".paths",s)||o(s,{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||o(s,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}))&&Go(e.webhooks,r+".webhooks",s)||o(s,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+n+"]",expected:"OpenApi.IDocument.ITag",value:a}))&&Oi(a,r+".tags["+n+"]",s)||o(s,{path:r+".tags["+n+"]",expected:"OpenApi.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}),e["x-samchon-emended-v4"]===!0||o(s,{path:r+'["x-samchon-emended-v4"]',expected:"true",value:e["x-samchon-emended-v4"]})].every(a=>a),cs=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables}))&&Kt(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),Kt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApi.IServer.IVariable",value:n}))&&Xt(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IServer.IVariable",value:n})}).every(a=>a)].every(a=>a),Xt=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((a,n)=>typeof a=="string"||o(s,{path:r+'["enum"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),_t=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{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||o(s,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}))&&ei(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}))&&ri(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),ei=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{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)||o(s,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||o(s,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(a=>a),ri=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||o(s,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),si=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.schemas}))&&Co(e.schemas,r+".schemas",s)||o(s,{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||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&di(e.securitySchemes,r+".securitySchemes",s)||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes})].every(a=>a),Co=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),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(a),s)||o(s,{path:r+v(a),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(a=>a)].every(a=>a),To=(e,r,s=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Po=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | undefined)",value:e.default}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Do=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{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||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{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||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||o(s,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||o(s,{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||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),ko=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(number | undefined)",value:e.default}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||o(s,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||o(s,{path:r+".exclusiveMaximum",expected:"(number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Eo=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(string | undefined)",value:e.default}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{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||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{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||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Uo=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{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",s)||o(s,{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"||o(s,{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||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{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||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Bo=(e,r,s=!0)=>[e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),(Array.isArray(e.prefixItems)||o(s,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}))&&e.prefixItems.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&Te(a,r+".prefixItems["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}),(e.additionalItems!==null||o(s,{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||o(s,{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",s)||o(s,{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"||o(s,{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||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{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||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),$o=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}))&&Co(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||o(s,{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||o(s,{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",s)||o(s,{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)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,n)=>typeof a=="string"||o(s,{path:r+".required["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),zo=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),oi=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:e.oneOf}))&&e.oneOf.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{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:a}))&&ui(a,r+".oneOf["+n+"]",s)||o(s,{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:a})).every(a=>a)||o(s,{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||o(s,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&ai(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),qo=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Fo=(e,r,s=!0)=>[!0,(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&J(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),ai=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&Y(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),di=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:n}))&&Ei(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:n})}).every(a=>a)].every(a=>a),ni=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),li=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ti=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ii=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&ci(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ci=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&mi(e.authorizationCode,r+".authorizationCode",s)||o(s,{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||o(s,{path:r+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&fi(e.implicit,r+".implicit",s)||o(s,{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||o(s,{path:r+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Yo(e.password,r+".password",s)||o(s,{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||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Yo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),mi=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),fi=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Yo=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{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||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&Y(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),yi=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Go=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApi.IPath",value:n}))&&vi(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IPath",value:n})}).every(a=>a)].every(a=>a),vi=(e,r,s=!0)=>[e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a}))&&cs(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".get",expected:"(OpenApi.IOperation | undefined)",value:e.get}))&&je(e.get,r+".get",s)||o(s,{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||o(s,{path:r+".post",expected:"(OpenApi.IOperation | undefined)",value:e.post}))&&je(e.post,r+".post",s)||o(s,{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||o(s,{path:r+".put",expected:"(OpenApi.IOperation | undefined)",value:e.put}))&&je(e.put,r+".put",s)||o(s,{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||o(s,{path:r+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:e.delete}))&&je(e.delete,r+'["delete"]',s)||o(s,{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||o(s,{path:r+".options",expected:"(OpenApi.IOperation | undefined)",value:e.options}))&&je(e.options,r+".options",s)||o(s,{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||o(s,{path:r+".head",expected:"(OpenApi.IOperation | undefined)",value:e.head}))&&je(e.head,r+".head",s)||o(s,{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||o(s,{path:r+".patch",expected:"(OpenApi.IOperation | undefined)",value:e.patch}))&&je(e.patch,r+".patch",s)||o(s,{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||o(s,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace}))&&je(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace})].every(a=>a),je=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:e.parameters}))&&e.parameters.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+n+"]",expected:"OpenApi.IOperation.IParameter",value:a}))&&Zo(a,r+".parameters["+n+"]",s)||o(s,{path:r+".parameters["+n+"]",expected:"OpenApi.IOperation.IParameter",value:a})).every(a=>a)||o(s,{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||o(s,{path:r+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&gi(e.requestBody,r+".requestBody",s)||o(s,{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||o(s,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}))&&Ai(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,n)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a}))&&cs(a,r+".servers["+n+"]",s)||o(s,{path:r+".servers["+n+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,n)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a}))&&Se(a,r+".security["+n+"]",s)||o(s,{path:r+".security["+n+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,n)=>typeof a=="string"||o(s,{path:r+".tags["+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),e["x-samchon-human"]===void 0||typeof e["x-samchon-human"]=="boolean"||o(s,{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"])||o(s,{path:r+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:e["x-samchon-accessor"]}))&&e["x-samchon-accessor"].map((a,n)=>typeof a=="string"||o(s,{path:r+'["x-samchon-accessor"]['+n+"]",expected:"string",value:a})).every(a=>a)||o(s,{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"||o(s,{path:r+'["x-samchon-controller"]',expected:"(string | undefined)",value:e["x-samchon-controller"]})].every(a=>a),Zo=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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",s)||o(s,{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"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&Ho(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(a=>a),Ho=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApi.IExample",value:n}))&&Ii(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IExample",value:n})}).every(a=>a)].every(a=>a),Ii=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),gi=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&Wo(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||o(s,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(a=>a),Wo=(e,r,s=!0)=>[e["text/plain"]===void 0||(typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1||o(s,{path:r+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["text/plain"]}))&&Fe(e["text/plain"],r+'["text/plain"]',s)||o(s,{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||o(s,{path:r+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/json"]}))&&Fe(e["application/json"],r+'["application/json"]',s)||o(s,{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||o(s,{path:r+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/x-www-form-url-encoded"]}))&&Fe(e["application/x-www-form-url-encoded"],r+'["application/x-www-form-url-encoded"]',s)||o(s,{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||o(s,{path:r+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["multipart/form-data"]}))&&Fe(e["multipart/form-data"],r+'["multipart/form-data"]',s)||o(s,{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||o(s,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}))&&Fe(e["*/*"],r+'["*/*"]',s)||o(s,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}),s===!1||Object.keys(e).map(a=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(Ye=>a===Ye))return!0;const n=e[a];return n===void 0?!0:n===void 0||(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:n}))&&Fe(n,r+v(a),s)||o(s,{path:r+v(a),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:n})}).every(a=>a)].every(a=>a),Fe=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{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",s)||o(s,{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||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&Ho(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(a=>a),Ai=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null&&Array.isArray(n)===!1||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IResponse",value:n}))&&pi(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IResponse",value:n})}).every(a=>a)].every(a=>a),pi=(e,r,s=!0)=>[e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:e.headers}))&&hi(e.headers,r+".headers",s)||o(s,{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||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&Wo(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||o(s,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(a=>a),hi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const n=e[a];return n===void 0?!0:(typeof n=="object"&&n!==null||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IParameter",value:n}))&&Zo(n,r+v(a),s)||o(s,{path:r+v(a),expected:"OpenApi.IOperation.IParameter",value:n})}).every(a=>a)].every(a=>a),Oi=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ae=(e,r,s=!0)=>e.type==="boolean"?$n(e,r,s):e.type==="number"?qn(e,r,s):e.type==="integer"?zn(e,r,s):e.type==="string"?Fn(e,r,s):e.type==="array"?Yn(e,r,s):e.type==="object"?Gn(e,r,s):e.$ref!==void 0?Zn(e,r,s):e["x-anyOf"]!==void 0?Hn(e,r,s):e["x-oneOf"]!==void 0?Wn(e,r,s):e.type==="null"?Qn(e,r,s):Kn(e,r,s),xi=(e,r,s=!0)=>e.type==="boolean"?Zr(e,r,s):e.type==="number"?Wr(e,r,s):e.type==="integer"?Hr(e,r,s):e.type==="string"?Qr(e,r,s):e.type==="array"?Kr(e,r,s):e.type==="object"?Xr(e,r,s):e["x-anyOf"]!==void 0?es(e,r,s):e["x-oneOf"]!==void 0?rs(e,r,s):e.type==="null"?ss(e,r,s):e.schema!==void 0?as(e,r,s):_r(e,r,!1)||os(e,r,!1)||il(e,r,!1),Si=(e,r,s=!0)=>e.type==="boolean"?Zr(e,r,s):e.type==="number"?Wr(e,r,s):e.type==="integer"?Hr(e,r,s):e.type==="string"?Qr(e,r,s):e.type==="array"?Kr(e,r,s):e.type==="object"?Xr(e,r,s):e["x-anyOf"]!==void 0?es(e,r,s):e["x-oneOf"]!==void 0?rs(e,r,s):e.type==="null"?ss(e,r,s):e.schema!==void 0?as(e,r,s):_r(e,r,!1)||os(e,r,!1)||cl(e,r,!1),Ie=(e,r,s=!0)=>e.type==="boolean"?xl(e,r,s):e.type==="number"?ul(e,r,s):e.type==="integer"?Sl(e,r,s):e.type==="string"?Vl(e,r,s):e.type==="array"?Jl(e,r,s):e.type==="object"?jl(e,r,s):e.$ref!==void 0?wl(e,r,s):e.allOf!==void 0?Ml(e,r,s):e.anyOf!==void 0?Rl(e,r,s):e.oneOf!==void 0?bl(e,r,s):e.type==="null"?Ll(e,r,s):Cl(e,r,s),Qo=(e,r,s=!0)=>e.in!==void 0?ho(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?_l(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?po(e,r,s):o(s,{path:r,expected:"(OpenApiV3.IOperation.IParameter | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),U=(e,r,s=!0)=>Array.isArray(e.type)&&e.type.map((a,n)=>a==="string"||a==="number"||a==="boolean"||a==="object"||a==="integer"||a==="array"||a==="null").every(a=>a)?mt(e,r,s):e.type==="boolean"?yt(e,r,s):e.type==="number"?It(e,r,s):e.type==="integer"?vt(e,r,s):e.type==="string"?gt(e,r,s):e.type==="array"?At(e,r,s):e.type==="object"?pt(e,r,s):e.$recursiveRef!==void 0?Ot(e,r,s):e.type==="null"?Vt(e,r,s):e.const!==void 0?ft(e,r,s):e.$ref!==void 0?ht(e,r,s):e.allOf!==void 0?xt(e,r,s):e.anyOf!==void 0?St(e,r,s):e.oneOf!==void 0?ut(e,r,s):Jt(e,r,s),Ko=(e,r,s=!0)=>e.in!==void 0?Jo(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?wt(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?wo(e,r,s):o(s,{path:r,expected:"(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),Te=(e,r,s=!0)=>e.const!==void 0?To(e,r,s):e.type==="boolean"?Po(e,r,s):e.type==="number"?ko(e,r,s):e.type==="integer"?Do(e,r,s):e.type==="string"?Eo(e,r,s):e.items!==void 0?Uo(e,r,s):e.prefixItems!==void 0?Bo(e,r,s):e.type==="object"?$o(e,r,s):e.$ref!==void 0?zo(e,r,s):e.oneOf!==void 0?oi(e,r,s):e.type==="null"?qo(e,r,s):Fo(e,r,s),ui=(e,r,s=!0)=>e.const!==void 0?To(e,r,s):e.type==="boolean"?Po(e,r,s):e.type==="number"?ko(e,r,s):e.type==="integer"?Do(e,r,s):e.type==="string"?Eo(e,r,s):e.items!==void 0?Uo(e,r,s):e.prefixItems!==void 0?Bo(e,r,s):e.type==="object"?$o(e,r,s):e.$ref!==void 0?zo(e,r,s):e.type==="null"?qo(e,r,s):Fo(e,r,s),Vi=(e,r,s=!0)=>e.type==="boolean"?Zr(e,r,s):e.type==="number"?Wr(e,r,s):e.type==="integer"?Hr(e,r,s):e.type==="string"?Qr(e,r,s):e.type==="array"?Kr(e,r,s):e.type==="object"?Xr(e,r,s):e.$ref!==void 0?_r(e,r,s):e["x-anyOf"]!==void 0?es(e,r,s):e["x-oneOf"]!==void 0?rs(e,r,s):e.type==="null"?ss(e,r,s):e.schema!==void 0?as(e,r,s):os(e,r,s),Ji=(e,r,s=!0)=>e.type==="apiKey"?rl(e,r,s):e.type==="basic"?sl(e,r,s):e.flow==="implicit"?ol(e,r,s):e.flow==="accessCode"?al(e,r,s):e.flow==="application"?nl(e,r,s):e.flow==="password"?dl(e,r,s):o(s,{path:r,expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:e}),ji=(e,r,s=!0)=>e.$ref!==void 0?fl(e,r,s):fo(e,r,s),wi=(e,r,s=!0)=>e.$ref!==void 0?Dl(e,r,s):go(e,r,s),Mi=(e,r,s=!0)=>e.schema!==void 0?Ao(e,r,s):e.$ref!==void 0?po(e,r,s):o(s,{path:r,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:e}),Ri=(e,r,s=!0)=>e.type==="apiKey"?$l(e,r,s):e.scheme==="basic"?zl(e,r,s):e.scheme==="bearer"?ql(e,r,s):e.type==="oauth2"?Fl(e,r,s):e.type==="openIdConnect"?Hl(e,r,s):o(s,{path:r,expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:e}),bi=(e,r,s=!0)=>e.$ref!==void 0?et(e,r,s):Oo(e,r,s),Ni=(e,r,s=!0)=>e.$ref!==void 0?st(e,r,s):vo(e,r,s),Li=(e,r,s=!0)=>e.$ref!==void 0?jt(e,r,s):jo(e,r,s),Ci=(e,r,s=!0)=>e.$ref!==void 0?Rt(e,r,s):Mo(e,r,s),Ti=(e,r,s=!0)=>e.$ref!==void 0?Lt(e,r,s):bo(e,r,s),Pi=(e,r,s=!0)=>e.$ref!==void 0?wo(e,r,s):e.schema!==void 0?No(e,r,s):o(s,{path:r,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:e}),Di=(e,r,s=!0)=>e.type==="apiKey"?kt(e,r,s):e.scheme==="basic"?Et(e,r,s):e.scheme==="bearer"?Ut(e,r,s):e.type==="oauth2"?Bt(e,r,s):e.type==="openIdConnect"?Ft(e,r,s):o(s,{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}),ki=(e,r,s=!0)=>e.$ref!==void 0?Ht(e,r,s):Vo(e,r,s),Ei=(e,r,s=!0)=>e.type==="apiKey"?ni(e,r,s):e.scheme==="basic"?li(e,r,s):e.scheme==="bearer"?ti(e,r,s):e.type==="oauth2"?ii(e,r,s):e.type==="openIdConnect"?yi(e,r,s):o(s,{path:r,expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:e}),Ui=(e,r,s=!0)=>e.swagger!==void 0?kn(e,r,s):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))?vl(e,r,s):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?at(e,r,s):e["x-samchon-emended-v4"]!==void 0?Qt(e,r,s):o(s,{path:r,expected:"(SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument)",value:e}),Bi=e=>typeof e=="object"&&e!==null&&Dn(e);let Vr,o;return e=>{if(Bi(e)===!1){Vr=[],o=Ki(Vr),((s,a,n=!0)=>(typeof s=="object"&&s!==null||o(!0,{path:a+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:s}))&&Ui(s,a+"",!0)||o(!0,{path:a+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:s}))(e,"$input",!0);const r=Vr.length===0;return r?{success:r,data:e}:{success:r,errors:Vr,data:e}}return{success:!0,data:e}}})()(d.document);return l.success===!1?l:{success:!0,data:Xi.application({model:d.model,document:_i.convert(l.data),options:d.options})}}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Sa(d){return typeof d>"u"||d===null}function _c(d){return typeof d=="object"&&d!==null}function em(d){return Array.isArray(d)?d:Sa(d)?[]:[d]}function rm(d,l){var t,i,c,f;if(l)for(f=Object.keys(l),t=0,i=f.length;t<i;t+=1)c=f[t],d[c]=l[c];return d}function sm(d,l){var t="",i;for(i=0;i<l;i+=1)t+=d;return t}function om(d){return d===0&&Number.NEGATIVE_INFINITY===1/d}var am=Sa,dm=_c,nm=em,lm=sm,tm=om,im=rm,Z={isNothing:am,isObject:dm,toArray:nm,repeat:lm,isNegativeZero:tm,extend:im};function ua(d,l){var t="",i=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),i+" "+t):i}function cr(d,l){Error.call(this),this.name="YAMLException",this.reason=d,this.mark=l,this.message=ua(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}cr.prototype=Object.create(Error.prototype);cr.prototype.constructor=cr;cr.prototype.toString=function(l){return this.name+": "+ua(this,l)};var ge=cr;function As(d,l,t,i,c){var f="",m="",y=Math.floor(c/2)-1;return i-l>y&&(f=" ... ",l=i-y+f.length),t-i>y&&(m=" ...",t=i+y-m.length),{str:f+d.slice(l,t).replace(/\t/g,"→")+m,pos:i-l+f.length}}function ps(d,l){return Z.repeat(" ",l-d.length)+d}function cm(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,i=[0],c=[],f,m=-1;f=t.exec(d.buffer);)c.push(f.index),i.push(f.index+f[0].length),d.position<=f.index&&m<0&&(m=i.length-2);m<0&&(m=i.length-1);var y="",I,g,p=Math.min(d.line+l.linesAfter,c.length).toString().length,A=l.maxLength-(l.indent+p+3);for(I=1;I<=l.linesBefore&&!(m-I<0);I++)g=As(d.buffer,i[m-I],c[m-I],d.position-(i[m]-i[m-I]),A),y=Z.repeat(" ",l.indent)+ps((d.line-I+1).toString(),p)+" | "+g.str+`
4
- `+y;for(g=As(d.buffer,i[m],c[m],d.position,A),y+=Z.repeat(" ",l.indent)+ps((d.line+1).toString(),p)+" | "+g.str+`
5
- `,y+=Z.repeat("-",l.indent+p+3+g.pos)+`^
6
- `,I=1;I<=l.linesAfter&&!(m+I>=c.length);I++)g=As(d.buffer,i[m+I],c[m+I],d.position-(i[m]-i[m+I]),A),y+=Z.repeat(" ",l.indent)+ps((d.line+I+1).toString(),p)+" | "+g.str+`
7
- `;return y.replace(/\n$/,"")}var mm=cm,fm=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],ym=["scalar","sequence","mapping"];function vm(d){var l={};return d!==null&&Object.keys(d).forEach(function(t){d[t].forEach(function(i){l[String(i)]=t})}),l}function Im(d,l){if(l=l||{},Object.keys(l).forEach(function(t){if(fm.indexOf(t)===-1)throw new ge('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=vm(l.styleAliases||null),ym.indexOf(this.kind)===-1)throw new ge('Unknown kind "'+this.kind+'" is specified for "'+d+'" YAML type.')}var G=Im;function na(d,l){var t=[];return d[l].forEach(function(i){var c=t.length;t.forEach(function(f,m){f.tag===i.tag&&f.kind===i.kind&&f.multi===i.multi&&(c=m)}),t[c]=i}),t}function gm(){var d={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},l,t;function i(c){c.multi?(d.multi[c.kind].push(c),d.multi.fallback.push(c)):d[c.kind][c.tag]=d.fallback[c.tag]=c}for(l=0,t=arguments.length;l<t;l+=1)arguments[l].forEach(i);return d}function us(d){return this.extend(d)}us.prototype.extend=function(l){var t=[],i=[];if(l instanceof G)i.push(l);else if(Array.isArray(l))i=i.concat(l);else if(l&&(Array.isArray(l.implicit)||Array.isArray(l.explicit)))l.implicit&&(t=t.concat(l.implicit)),l.explicit&&(i=i.concat(l.explicit));else throw new ge("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(f){if(!(f instanceof G))throw new ge("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(f.loadKind&&f.loadKind!=="scalar")throw new ge("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(f.multi)throw new ge("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(f){if(!(f instanceof G))throw new ge("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var c=Object.create(us.prototype);return c.implicit=(this.implicit||[]).concat(t),c.explicit=(this.explicit||[]).concat(i),c.compiledImplicit=na(c,"implicit"),c.compiledExplicit=na(c,"explicit"),c.compiledTypeMap=gm(c.compiledImplicit,c.compiledExplicit),c};var Am=us,pm=new G("tag:yaml.org,2002:str",{kind:"scalar",construct:function(d){return d!==null?d:""}}),hm=new G("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(d){return d!==null?d:[]}}),Om=new G("tag:yaml.org,2002:map",{kind:"mapping",construct:function(d){return d!==null?d:{}}}),xm=new Am({explicit:[pm,hm,Om]});function Sm(d){if(d===null)return!0;var l=d.length;return l===1&&d==="~"||l===4&&(d==="null"||d==="Null"||d==="NULL")}function um(){return null}function Vm(d){return d===null}var Jm=new G("tag:yaml.org,2002:null",{kind:"scalar",resolve:Sm,construct:um,predicate:Vm,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function jm(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 wm(d){return d==="true"||d==="True"||d==="TRUE"}function Mm(d){return Object.prototype.toString.call(d)==="[object Boolean]"}var Rm=new G("tag:yaml.org,2002:bool",{kind:"scalar",resolve:jm,construct:wm,predicate:Mm,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 bm(d){return 48<=d&&d<=57||65<=d&&d<=70||97<=d&&d<=102}function Nm(d){return 48<=d&&d<=55}function Lm(d){return 48<=d&&d<=57}function Cm(d){if(d===null)return!1;var l=d.length,t=0,i=!1,c;if(!l)return!1;if(c=d[t],(c==="-"||c==="+")&&(c=d[++t]),c==="0"){if(t+1===l)return!0;if(c=d[++t],c==="b"){for(t++;t<l;t++)if(c=d[t],c!=="_"){if(c!=="0"&&c!=="1")return!1;i=!0}return i&&c!=="_"}if(c==="x"){for(t++;t<l;t++)if(c=d[t],c!=="_"){if(!bm(d.charCodeAt(t)))return!1;i=!0}return i&&c!=="_"}if(c==="o"){for(t++;t<l;t++)if(c=d[t],c!=="_"){if(!Nm(d.charCodeAt(t)))return!1;i=!0}return i&&c!=="_"}}if(c==="_")return!1;for(;t<l;t++)if(c=d[t],c!=="_"){if(!Lm(d.charCodeAt(t)))return!1;i=!0}return!(!i||c==="_")}function Tm(d){var l=d,t=1,i;if(l.indexOf("_")!==-1&&(l=l.replace(/_/g,"")),i=l[0],(i==="-"||i==="+")&&(i==="-"&&(t=-1),l=l.slice(1),i=l[0]),l==="0")return 0;if(i==="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 Pm(d){return Object.prototype.toString.call(d)==="[object Number]"&&d%1===0&&!Z.isNegativeZero(d)}var Dm=new G("tag:yaml.org,2002:int",{kind:"scalar",resolve:Cm,construct:Tm,predicate:Pm,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"]}}),km=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Em(d){return!(d===null||!km.test(d)||d[d.length-1]==="_")}function Um(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 Bm=/^[-+]?[0-9]+e/;function $m(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(Z.isNegativeZero(d))return"-0.0";return t=d.toString(10),Bm.test(t)?t.replace("e",".e"):t}function zm(d){return Object.prototype.toString.call(d)==="[object Number]"&&(d%1!==0||Z.isNegativeZero(d))}var qm=new G("tag:yaml.org,2002:float",{kind:"scalar",resolve:Em,construct:Um,predicate:zm,represent:$m,defaultStyle:"lowercase"}),Fm=xm.extend({implicit:[Jm,Rm,Dm,qm]}),Ym=Fm,Va=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Ja=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 Gm(d){return d===null?!1:Va.exec(d)!==null||Ja.exec(d)!==null}function Zm(d){var l,t,i,c,f,m,y,I=0,g=null,p,A,V;if(l=Va.exec(d),l===null&&(l=Ja.exec(d)),l===null)throw new Error("Date resolve error");if(t=+l[1],i=+l[2]-1,c=+l[3],!l[4])return new Date(Date.UTC(t,i,c));if(f=+l[4],m=+l[5],y=+l[6],l[7]){for(I=l[7].slice(0,3);I.length<3;)I+="0";I=+I}return l[9]&&(p=+l[10],A=+(l[11]||0),g=(p*60+A)*6e4,l[9]==="-"&&(g=-g)),V=new Date(Date.UTC(t,i,c,f,m,y,I)),g&&V.setTime(V.getTime()-g),V}function Hm(d){return d.toISOString()}var Wm=new G("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Gm,construct:Zm,instanceOf:Date,represent:Hm});function Qm(d){return d==="<<"||d===null}var Km=new G("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Qm}),js=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
- \r`;function Xm(d){if(d===null)return!1;var l,t,i=0,c=d.length,f=js;for(t=0;t<c;t++)if(l=f.indexOf(d.charAt(t)),!(l>64)){if(l<0)return!1;i+=6}return i%8===0}function _m(d){var l,t,i=d.replace(/[\r\n=]/g,""),c=i.length,f=js,m=0,y=[];for(l=0;l<c;l++)l%4===0&&l&&(y.push(m>>16&255),y.push(m>>8&255),y.push(m&255)),m=m<<6|f.indexOf(i.charAt(l));return t=c%4*6,t===0?(y.push(m>>16&255),y.push(m>>8&255),y.push(m&255)):t===18?(y.push(m>>10&255),y.push(m>>2&255)):t===12&&y.push(m>>4&255),new Uint8Array(y)}function ef(d){var l="",t=0,i,c,f=d.length,m=js;for(i=0;i<f;i++)i%3===0&&i&&(l+=m[t>>18&63],l+=m[t>>12&63],l+=m[t>>6&63],l+=m[t&63]),t=(t<<8)+d[i];return c=f%3,c===0?(l+=m[t>>18&63],l+=m[t>>12&63],l+=m[t>>6&63],l+=m[t&63]):c===2?(l+=m[t>>10&63],l+=m[t>>4&63],l+=m[t<<2&63],l+=m[64]):c===1&&(l+=m[t>>2&63],l+=m[t<<4&63],l+=m[64],l+=m[64]),l}function rf(d){return Object.prototype.toString.call(d)==="[object Uint8Array]"}var sf=new G("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Xm,construct:_m,predicate:rf,represent:ef}),of=Object.prototype.hasOwnProperty,af=Object.prototype.toString;function df(d){if(d===null)return!0;var l=[],t,i,c,f,m,y=d;for(t=0,i=y.length;t<i;t+=1){if(c=y[t],m=!1,af.call(c)!=="[object Object]")return!1;for(f in c)if(of.call(c,f))if(!m)m=!0;else return!1;if(!m)return!1;if(l.indexOf(f)===-1)l.push(f);else return!1}return!0}function nf(d){return d!==null?d:[]}var lf=new G("tag:yaml.org,2002:omap",{kind:"sequence",resolve:df,construct:nf}),tf=Object.prototype.toString;function cf(d){if(d===null)return!0;var l,t,i,c,f,m=d;for(f=new Array(m.length),l=0,t=m.length;l<t;l+=1){if(i=m[l],tf.call(i)!=="[object Object]"||(c=Object.keys(i),c.length!==1))return!1;f[l]=[c[0],i[c[0]]]}return!0}function mf(d){if(d===null)return[];var l,t,i,c,f,m=d;for(f=new Array(m.length),l=0,t=m.length;l<t;l+=1)i=m[l],c=Object.keys(i),f[l]=[c[0],i[c[0]]];return f}var ff=new G("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:cf,construct:mf}),yf=Object.prototype.hasOwnProperty;function vf(d){if(d===null)return!0;var l,t=d;for(l in t)if(yf.call(t,l)&&t[l]!==null)return!1;return!0}function If(d){return d!==null?d:{}}var gf=new G("tag:yaml.org,2002:set",{kind:"mapping",resolve:vf,construct:If}),Af=Ym.extend({implicit:[Wm,Km],explicit:[sf,lf,ff,gf]}),Re=Object.prototype.hasOwnProperty,jr=1,ja=2,wa=3,wr=4,hs=1,pf=2,la=3,hf=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Of=/[\x85\u2028\u2029]/,xf=/[,\[\]\{\}]/,Ma=/^(?:!|!!|![a-z\-]+!)$/i,Ra=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ta(d){return Object.prototype.toString.call(d)}function te(d){return d===10||d===13}function De(d){return d===9||d===32}function H(d){return d===9||d===32||d===10||d===13}function Ze(d){return d===44||d===91||d===93||d===123||d===125}function Sf(d){var l;return 48<=d&&d<=57?d-48:(l=d|32,97<=l&&l<=102?l-97+10:-1)}function uf(d){return d===120?2:d===117?4:d===85?8:0}function Vf(d){return 48<=d&&d<=57?d-48:-1}function ia(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 Jf(d){return d<=65535?String.fromCharCode(d):String.fromCharCode((d-65536>>10)+55296,(d-65536&1023)+56320)}var ba=new Array(256),Na=new Array(256);for(var Ge=0;Ge<256;Ge++)ba[Ge]=ia(Ge)?1:0,Na[Ge]=ia(Ge);function jf(d,l){this.input=d,this.filename=l.filename||null,this.schema=l.schema||Af,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 La(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=mm(t),new ge(l,t)}function S(d,l){throw La(d,l)}function Mr(d,l){d.onWarning&&d.onWarning.call(null,La(d,l))}var ca={YAML:function(l,t,i){var c,f,m;l.version!==null&&S(l,"duplication of %YAML directive"),i.length!==1&&S(l,"YAML directive accepts exactly one argument"),c=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),c===null&&S(l,"ill-formed argument of the YAML directive"),f=parseInt(c[1],10),m=parseInt(c[2],10),f!==1&&S(l,"unacceptable YAML version of the document"),l.version=i[0],l.checkLineBreaks=m<2,m!==1&&m!==2&&Mr(l,"unsupported YAML version of the document")},TAG:function(l,t,i){var c,f;i.length!==2&&S(l,"TAG directive accepts exactly two arguments"),c=i[0],f=i[1],Ma.test(c)||S(l,"ill-formed tag handle (first argument) of the TAG directive"),Re.call(l.tagMap,c)&&S(l,'there is a previously declared suffix for "'+c+'" tag handle'),Ra.test(f)||S(l,"ill-formed tag prefix (second argument) of the TAG directive");try{f=decodeURIComponent(f)}catch{S(l,"tag prefix is malformed: "+f)}l.tagMap[c]=f}};function Me(d,l,t,i){var c,f,m,y;if(l<t){if(y=d.input.slice(l,t),i)for(c=0,f=y.length;c<f;c+=1)m=y.charCodeAt(c),m===9||32<=m&&m<=1114111||S(d,"expected valid JSON character");else hf.test(y)&&S(d,"the stream contains non-printable characters");d.result+=y}}function ma(d,l,t,i){var c,f,m,y;for(Z.isObject(t)||S(d,"cannot merge mappings; the provided source object is unacceptable"),c=Object.keys(t),m=0,y=c.length;m<y;m+=1)f=c[m],Re.call(l,f)||(l[f]=t[f],i[f]=!0)}function He(d,l,t,i,c,f,m,y,I){var g,p;if(Array.isArray(c))for(c=Array.prototype.slice.call(c),g=0,p=c.length;g<p;g+=1)Array.isArray(c[g])&&S(d,"nested arrays are not supported inside keys"),typeof c=="object"&&ta(c[g])==="[object Object]"&&(c[g]="[object Object]");if(typeof c=="object"&&ta(c)==="[object Object]"&&(c="[object Object]"),c=String(c),l===null&&(l={}),i==="tag:yaml.org,2002:merge")if(Array.isArray(f))for(g=0,p=f.length;g<p;g+=1)ma(d,l,f[g],t);else ma(d,l,f,t);else!d.json&&!Re.call(t,c)&&Re.call(l,c)&&(d.line=m||d.line,d.lineStart=y||d.lineStart,d.position=I||d.position,S(d,"duplicated mapping key")),c==="__proto__"?Object.defineProperty(l,c,{configurable:!0,enumerable:!0,writable:!0,value:f}):l[c]=f,delete t[c];return l}function ws(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 i=0,c=d.input.charCodeAt(d.position);c!==0;){for(;De(c);)c===9&&d.firstTabInLine===-1&&(d.firstTabInLine=d.position),c=d.input.charCodeAt(++d.position);if(l&&c===35)do c=d.input.charCodeAt(++d.position);while(c!==10&&c!==13&&c!==0);if(te(c))for(ws(d),c=d.input.charCodeAt(d.position),i++,d.lineIndent=0;c===32;)d.lineIndent++,c=d.input.charCodeAt(++d.position);else break}return t!==-1&&i!==0&&d.lineIndent<t&&Mr(d,"deficient indentation"),i}function Lr(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||H(t)))}function Ms(d,l){l===1?d.result+=" ":l>1&&(d.result+=Z.repeat(`
10
- `,l-1))}function wf(d,l,t){var i,c,f,m,y,I,g,p,A=d.kind,V=d.result,h;if(h=d.input.charCodeAt(d.position),H(h)||Ze(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)&&(c=d.input.charCodeAt(d.position+1),H(c)||t&&Ze(c)))return!1;for(d.kind="scalar",d.result="",f=m=d.position,y=!1;h!==0;){if(h===58){if(c=d.input.charCodeAt(d.position+1),H(c)||t&&Ze(c))break}else if(h===35){if(i=d.input.charCodeAt(d.position-1),H(i))break}else{if(d.position===d.lineStart&&Lr(d)||t&&Ze(h))break;if(te(h))if(I=d.line,g=d.lineStart,p=d.lineIndent,B(d,!1,-1),d.lineIndent>=l){y=!0,h=d.input.charCodeAt(d.position);continue}else{d.position=m,d.line=I,d.lineStart=g,d.lineIndent=p;break}}y&&(Me(d,f,m,!1),Ms(d,d.line-I),f=m=d.position,y=!1),De(h)||(m=d.position+1),h=d.input.charCodeAt(++d.position)}return Me(d,f,m,!1),d.result?!0:(d.kind=A,d.result=V,!1)}function Mf(d,l){var t,i,c;if(t=d.input.charCodeAt(d.position),t!==39)return!1;for(d.kind="scalar",d.result="",d.position++,i=c=d.position;(t=d.input.charCodeAt(d.position))!==0;)if(t===39)if(Me(d,i,d.position,!0),t=d.input.charCodeAt(++d.position),t===39)i=d.position,d.position++,c=d.position;else return!0;else te(t)?(Me(d,i,c,!0),Ms(d,B(d,!1,l)),i=c=d.position):d.position===d.lineStart&&Lr(d)?S(d,"unexpected end of the document within a single quoted scalar"):(d.position++,c=d.position);S(d,"unexpected end of the stream within a single quoted scalar")}function Rf(d,l){var t,i,c,f,m,y;if(y=d.input.charCodeAt(d.position),y!==34)return!1;for(d.kind="scalar",d.result="",d.position++,t=i=d.position;(y=d.input.charCodeAt(d.position))!==0;){if(y===34)return Me(d,t,d.position,!0),d.position++,!0;if(y===92){if(Me(d,t,d.position,!0),y=d.input.charCodeAt(++d.position),te(y))B(d,!1,l);else if(y<256&&ba[y])d.result+=Na[y],d.position++;else if((m=uf(y))>0){for(c=m,f=0;c>0;c--)y=d.input.charCodeAt(++d.position),(m=Sf(y))>=0?f=(f<<4)+m:S(d,"expected hexadecimal character");d.result+=Jf(f),d.position++}else S(d,"unknown escape sequence");t=i=d.position}else te(y)?(Me(d,t,i,!0),Ms(d,B(d,!1,l)),t=i=d.position):d.position===d.lineStart&&Lr(d)?S(d,"unexpected end of the document within a double quoted scalar"):(d.position++,i=d.position)}S(d,"unexpected end of the stream within a double quoted scalar")}function bf(d,l){var t=!0,i,c,f,m=d.tag,y,I=d.anchor,g,p,A,V,h,R=Object.create(null),b,M,N,x;if(x=d.input.charCodeAt(d.position),x===91)p=93,h=!1,y=[];else if(x===123)p=125,h=!0,y={};else return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=y),x=d.input.charCodeAt(++d.position);x!==0;){if(B(d,!0,l),x=d.input.charCodeAt(d.position),x===p)return d.position++,d.tag=m,d.anchor=I,d.kind=h?"mapping":"sequence",d.result=y,!0;t?x===44&&S(d,"expected the node content, but found ','"):S(d,"missed comma between flow collection entries"),M=b=N=null,A=V=!1,x===63&&(g=d.input.charCodeAt(d.position+1),H(g)&&(A=V=!0,d.position++,B(d,!0,l))),i=d.line,c=d.lineStart,f=d.position,We(d,l,jr,!1,!0),M=d.tag,b=d.result,B(d,!0,l),x=d.input.charCodeAt(d.position),(V||d.line===i)&&x===58&&(A=!0,x=d.input.charCodeAt(++d.position),B(d,!0,l),We(d,l,jr,!1,!0),N=d.result),h?He(d,y,R,M,b,N,i,c,f):A?y.push(He(d,null,R,M,b,N,i,c,f)):y.push(b),B(d,!0,l),x=d.input.charCodeAt(d.position),x===44?(t=!0,x=d.input.charCodeAt(++d.position)):t=!1}S(d,"unexpected end of the stream within a flow collection")}function Nf(d,l){var t,i,c=hs,f=!1,m=!1,y=l,I=0,g=!1,p,A;if(A=d.input.charCodeAt(d.position),A===124)i=!1;else if(A===62)i=!0;else return!1;for(d.kind="scalar",d.result="";A!==0;)if(A=d.input.charCodeAt(++d.position),A===43||A===45)hs===c?c=A===43?la:pf:S(d,"repeat of a chomping mode identifier");else if((p=Vf(A))>=0)p===0?S(d,"bad explicit indentation width of a block scalar; it cannot be less than one"):m?S(d,"repeat of an indentation width identifier"):(y=l+p-1,m=!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(!te(A)&&A!==0)}for(;A!==0;){for(ws(d),d.lineIndent=0,A=d.input.charCodeAt(d.position);(!m||d.lineIndent<y)&&A===32;)d.lineIndent++,A=d.input.charCodeAt(++d.position);if(!m&&d.lineIndent>y&&(y=d.lineIndent),te(A)){I++;continue}if(d.lineIndent<y){c===la?d.result+=Z.repeat(`
11
- `,f?1+I:I):c===hs&&f&&(d.result+=`
12
- `);break}for(i?De(A)?(g=!0,d.result+=Z.repeat(`
13
- `,f?1+I:I)):g?(g=!1,d.result+=Z.repeat(`
14
- `,I+1)):I===0?f&&(d.result+=" "):d.result+=Z.repeat(`
15
- `,I):d.result+=Z.repeat(`
16
- `,f?1+I:I),f=!0,m=!0,I=0,t=d.position;!te(A)&&A!==0;)A=d.input.charCodeAt(++d.position);Me(d,t,d.position,!1)}return!0}function fa(d,l){var t,i=d.tag,c=d.anchor,f=[],m,y=!1,I;if(d.firstTabInLine!==-1)return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=f),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||(m=d.input.charCodeAt(d.position+1),!H(m))));){if(y=!0,d.position++,B(d,!0,-1)&&d.lineIndent<=l){f.push(null),I=d.input.charCodeAt(d.position);continue}if(t=d.line,We(d,l,wa,!1,!0),f.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 y?(d.tag=i,d.anchor=c,d.kind="sequence",d.result=f,!0):!1}function Lf(d,l,t){var i,c,f,m,y,I,g=d.tag,p=d.anchor,A={},V=Object.create(null),h=null,R=null,b=null,M=!1,N=!1,x;if(d.firstTabInLine!==-1)return!1;for(d.anchor!==null&&(d.anchorMap[d.anchor]=A),x=d.input.charCodeAt(d.position);x!==0;){if(!M&&d.firstTabInLine!==-1&&(d.position=d.firstTabInLine,S(d,"tab characters must not be used in indentation")),i=d.input.charCodeAt(d.position+1),f=d.line,(x===63||x===58)&&H(i))x===63?(M&&(He(d,A,V,h,R,null,m,y,I),h=R=b=null),N=!0,M=!0,c=!0):M?(M=!1,c=!0):S(d,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),d.position+=1,x=i;else{if(m=d.line,y=d.lineStart,I=d.position,!We(d,t,ja,!1,!0))break;if(d.line===f){for(x=d.input.charCodeAt(d.position);De(x);)x=d.input.charCodeAt(++d.position);if(x===58)x=d.input.charCodeAt(++d.position),H(x)||S(d,"a whitespace character is expected after the key-value separator within a block mapping"),M&&(He(d,A,V,h,R,null,m,y,I),h=R=b=null),N=!0,M=!1,c=!1,h=d.tag,R=d.result;else if(N)S(d,"can not read an implicit mapping pair; a colon is missed");else return d.tag=g,d.anchor=p,!0}else if(N)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=p,!0}if((d.line===f||d.lineIndent>l)&&(M&&(m=d.line,y=d.lineStart,I=d.position),We(d,l,wr,!0,c)&&(M?R=d.result:b=d.result),M||(He(d,A,V,h,R,b,m,y,I),h=R=b=null),B(d,!0,-1),x=d.input.charCodeAt(d.position)),(d.line===f||d.lineIndent>l)&&x!==0)S(d,"bad indentation of a mapping entry");else if(d.lineIndent<l)break}return M&&He(d,A,V,h,R,null,m,y,I),N&&(d.tag=g,d.anchor=p,d.kind="mapping",d.result=A),N}function Cf(d){var l,t=!1,i=!1,c,f,m;if(m=d.input.charCodeAt(d.position),m!==33)return!1;if(d.tag!==null&&S(d,"duplication of a tag property"),m=d.input.charCodeAt(++d.position),m===60?(t=!0,m=d.input.charCodeAt(++d.position)):m===33?(i=!0,c="!!",m=d.input.charCodeAt(++d.position)):c="!",l=d.position,t){do m=d.input.charCodeAt(++d.position);while(m!==0&&m!==62);d.position<d.length?(f=d.input.slice(l,d.position),m=d.input.charCodeAt(++d.position)):S(d,"unexpected end of the stream within a verbatim tag")}else{for(;m!==0&&!H(m);)m===33&&(i?S(d,"tag suffix cannot contain exclamation marks"):(c=d.input.slice(l-1,d.position+1),Ma.test(c)||S(d,"named tag handle cannot contain such characters"),i=!0,l=d.position+1)),m=d.input.charCodeAt(++d.position);f=d.input.slice(l,d.position),xf.test(f)&&S(d,"tag suffix cannot contain flow indicator characters")}f&&!Ra.test(f)&&S(d,"tag name cannot contain such characters: "+f);try{f=decodeURIComponent(f)}catch{S(d,"tag name is malformed: "+f)}return t?d.tag=f:Re.call(d.tagMap,c)?d.tag=d.tagMap[c]+f:c==="!"?d.tag="!"+f:c==="!!"?d.tag="tag:yaml.org,2002:"+f:S(d,'undeclared tag handle "'+c+'"'),!0}function Tf(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&&!H(t)&&!Ze(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 Pf(d){var l,t,i;if(i=d.input.charCodeAt(d.position),i!==42)return!1;for(i=d.input.charCodeAt(++d.position),l=d.position;i!==0&&!H(i)&&!Ze(i);)i=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),Re.call(d.anchorMap,t)||S(d,'unidentified alias "'+t+'"'),d.result=d.anchorMap[t],B(d,!0,-1),!0}function We(d,l,t,i,c){var f,m,y,I=1,g=!1,p=!1,A,V,h,R,b,M;if(d.listener!==null&&d.listener("open",d),d.tag=null,d.anchor=null,d.kind=null,d.result=null,f=m=y=wr===t||wa===t,i&&B(d,!0,-1)&&(g=!0,d.lineIndent>l?I=1:d.lineIndent===l?I=0:d.lineIndent<l&&(I=-1)),I===1)for(;Cf(d)||Tf(d);)B(d,!0,-1)?(g=!0,y=f,d.lineIndent>l?I=1:d.lineIndent===l?I=0:d.lineIndent<l&&(I=-1)):y=!1;if(y&&(y=g||c),(I===1||wr===t)&&(jr===t||ja===t?b=l:b=l+1,M=d.position-d.lineStart,I===1?y&&(fa(d,M)||Lf(d,M,b))||bf(d,b)?p=!0:(m&&Nf(d,b)||Mf(d,b)||Rf(d,b)?p=!0:Pf(d)?(p=!0,(d.tag!==null||d.anchor!==null)&&S(d,"alias node should not have any properties")):wf(d,b,jr===t)&&(p=!0,d.tag===null&&(d.tag="?")),d.anchor!==null&&(d.anchorMap[d.anchor]=d.result)):I===0&&(p=y&&fa(d,M))),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,V=d.implicitTypes.length;A<V;A+=1)if(R=d.implicitTypes[A],R.resolve(d.result)){d.result=R.construct(d.result),d.tag=R.tag,d.anchor!==null&&(d.anchorMap[d.anchor]=d.result);break}}else if(d.tag!=="!"){if(Re.call(d.typeMap[d.kind||"fallback"],d.tag))R=d.typeMap[d.kind||"fallback"][d.tag];else for(R=null,h=d.typeMap.multi[d.kind||"fallback"],A=0,V=h.length;A<V;A+=1)if(d.tag.slice(0,h[A].tag.length)===h[A].tag){R=h[A];break}R||S(d,"unknown tag !<"+d.tag+">"),d.result!==null&&R.kind!==d.kind&&S(d,"unacceptable node kind for !<"+d.tag+'> tag; it should be "'+R.kind+'", not "'+d.kind+'"'),R.resolve(d.result,d.tag)?(d.result=R.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||p}function Df(d){var l=d.position,t,i,c,f=!1,m;for(d.version=null,d.checkLineBreaks=d.legacy,d.tagMap=Object.create(null),d.anchorMap=Object.create(null);(m=d.input.charCodeAt(d.position))!==0&&(B(d,!0,-1),m=d.input.charCodeAt(d.position),!(d.lineIndent>0||m!==37));){for(f=!0,m=d.input.charCodeAt(++d.position),t=d.position;m!==0&&!H(m);)m=d.input.charCodeAt(++d.position);for(i=d.input.slice(t,d.position),c=[],i.length<1&&S(d,"directive name must not be less than one character in length");m!==0;){for(;De(m);)m=d.input.charCodeAt(++d.position);if(m===35){do m=d.input.charCodeAt(++d.position);while(m!==0&&!te(m));break}if(te(m))break;for(t=d.position;m!==0&&!H(m);)m=d.input.charCodeAt(++d.position);c.push(d.input.slice(t,d.position))}m!==0&&ws(d),Re.call(ca,i)?ca[i](d,i,c):Mr(d,'unknown document directive "'+i+'"')}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)):f&&S(d,"directives end mark is expected"),We(d,d.lineIndent-1,wr,!1,!0),B(d,!0,-1),d.checkLineBreaks&&Of.test(d.input.slice(l,d.position))&&Mr(d,"non-ASCII line breaks are interpreted as content"),d.documents.push(d.result),d.position===d.lineStart&&Lr(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 kf(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 jf(d,l),i=d.indexOf("\0");for(i!==-1&&(t.position=i,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;)Df(t);return t.documents}function Ef(d,l){var t=kf(d,l);if(t.length!==0){if(t.length===1)return t[0];throw new ge("expected a single document in the stream, but found more")}}var Uf=Ef,Bf={load:Uf},$f=Bf.load;const zf=ie(O.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"),qf=ie(O.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"),Ff=ie(O.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"),Yf=ie(O.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 X=function(){return X=Object.assign||function(l){for(var t,i=1,c=arguments.length;i<c;i++){t=arguments[i];for(var f in t)Object.prototype.hasOwnProperty.call(t,f)&&(l[f]=t[f])}return l},X.apply(this,arguments)};function Os(d,l,t){for(var i=0,c=l.length,f;i<c;i++)(f||!(i in l))&&(f||(f=Array.prototype.slice.call(l,0,i)),f[i]=l[i]);return d.concat(f||Array.prototype.slice.call(l))}var Gf="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 Ca(d){var l=d.size,t=d.file,i=d.index,c=d.disabled,f=d.handleRemoveFile,m=Qe(),y=C.useRef(null),I=w.createElement(Yf,{color:"primary",fontSize:"large"});return/\.(g?zip|tar|gz|rar)$/i.test(t.name)&&(I=w.createElement(qf,{color:"primary",fontSize:"large"})),/\.(mp.|midi|mkv|avi)$/i.test(t.name)&&(I=w.createElement(Ff,{color:"primary",fontSize:"large"})),w.createElement(w.Fragment,null,w.createElement(Jr,{sx:{mb:0,display:"flex",alignItems:"center","&:nth-of-type(even)":{backgroundColor:m.palette.action.hover}}},w.createElement(Jr,{sx:{display:"flex",flexGrow:1,alignItems:"center"}},w.createElement(Rc,{alt:"",src:t.path,ref:y,variant:"rounded",sx:{m:.5,width:32,height:32,display:"flex",background:"transparent"}},I),w.createElement(re,{component:"div",sx:{display:"inline-grid",alignItems:"center"}},w.createElement(re,{variant:"body2",noWrap:!0},t.name),w.createElement(re,{variant:"caption",noWrap:!0},w.createElement(w.Fragment,null,w.createElement("b",null,l)," | ",w.createElement("b",null,t!=null&&t.extension?t.extension.toLowerCase():""))))),w.createElement(re,{component:"div",sx:{mr:-.5,textAlign:"right"}},w.createElement(ga,{disabled:c,onClick:function(g){return f(g,i)}},w.createElement(zf,null)))))}Ca.propTypes={size:j.string,file:j.object,disabled:j.bool,index:j.number.isRequired,handleRemoveFile:j.func.isRequired};var Zf=ce(re)(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)"}}}),ya=1024*1024;function Rs(d){var l=d.title,t=d.header,i=d.onError,c=d.disabled,f=d.imageSrc,m=d.getBase64,y=d.imageSrcAlt,I=d.multiFile,g=d.leftLabel,p=d.rightLabel,A=d.buttonLabel,V=d.maxFileSize,h=d.bannerProps,R=d.BannerProps,b=d.acceptedType,M=d.defaultFiles,N=d.onFilesChange,x=d.maxUploadFiles,P=x===void 0?0:x,z=d.containerProps,F=d.ContainerProps,k=d.onContextReady,W=d.showPlaceholderImage,de=d.errorSizeMessage,Q=d.allowedExtensions,_=d.buttonRemoveLabel,be=d.LabelsGridProps,Ne=d.PlaceholderGridProps,ne=d.filesContainerHeight,Ae=d.maxFilesContainerHeight,Ke=d.placeholderImageDimension,ke=d.PlaceholderImageDimension,K=Qe(),Xe=X(X({},h),R),Cr=X(X({},z),F),Ee=X(X({},Ke),ke),$=Ee.lg,yr=Ee.md,vr=Ee.sm,Ir=Ee.xs,se=C.useState(),gr=se[0],me=se[1],_e=C.useState(),q=_e[0],er=_e[1],Ar=C.useState(),Tr=Ar[0],Ue=Ar[1],pr=C.useState([]),T=pr[0],Be=pr[1],hr=C.useState([]),le=hr[0],rr=hr[1],fe=C.useRef(null),Pr=C.useRef(null),$e=C.useRef(null),pe={width:128,height:128};lr(K.breakpoints.up("xs"))&&Ir&&(pe=Ir),lr(K.breakpoints.up("sm"))&&vr&&(pe=vr),lr(K.breakpoints.up("md"))&&yr&&(pe=yr),lr(K.breakpoints.up("lg"))&&$&&(pe=$);var u=function(L,D){if(Ue(!1),me(null),!D&&L.target.files&&(D=L.target.files),(!D||D.length===0)&&i)return i("Empty file input"),!1;if(P&&P-T.length<=0&&i){var ye="You cannot attach more than ".concat(P," files");return me(ye),i(ye),!1}if(window.File&&window.FileReader&&window.FileList&&window.Blob)try{for(var $r=function(ar){var ee=D[ar],dr=new FileReader,Le=ee.type.split("/")[1];if(V&&V>0&&ee.size>1048576*V){var ze=de||"The size of files cannot exceed ".concat(V,"Mb");return me(ze),i&&i(ze),"continue"}if(Q&&Q.length>0){var xr=Q.findIndex(function(zr){return zr.toLowerCase()===Le.toLowerCase()})!==-1;if(!xr){var Sr="Extension .".concat(Le," has been excluded");return me(Sr),i&&i(Sr),"continue"}}m||(le.push(ee),rr(le)),dr.addEventListener("load",function(){T.push({name:ee.name,size:ee.size,path:this.result,type:ee.type,contentType:ee.type,lastModified:ee.lastModified,extension:Le==null?void 0:Le.toLowerCase()}),Be(Os([],T,!0))},!1),dr.readAsDataURL(ee)},or=0;or<(D==null?void 0:D.length);or++)$r(or);return L.target.value="",!0}catch(ar){return me(ar.toString()),!1}return!1},sr=function(L,D){if(me(null),fe.current&&(fe.current.value=""),typeof D!="number"){Be([]),rr([]);return}if(D<0||D>T.length-1)return console.error("item's index not found...");var ye=X({},T[D]);return T==null||T.splice(D,1),le==null||le.splice(D,1),Be(Os([],T)),rr(Os([],le)),ye},Dr=C.useCallback(function(L){L.preventDefault(),Ue(!0)},[]),kr=C.useCallback(function(L){L.stopPropagation(),L.preventDefault()},[]),Er=C.useCallback(function(L){var D;L.stopPropagation(),L.preventDefault(),Ue(!1),er({event:L,files:(D=L.dataTransfer)===null||D===void 0?void 0:D.files})},[]),Ur=C.useCallback(function(){Ue(!1)},[]),Or=function(){return{addFile:u,removeFile:sr,input:fe.current,files:m?T:le}};C.useEffect(function(){fe.current&&k&&typeof k=="function"&&k(Or())},[fe.current]),C.useEffect(function(){var L=$e.current;L&&!L.ondrop&&!c&&(L.ondrop=Er,L.ondragend=Ur,L.ondragover=kr,L.ondragenter=Dr)},[$e.current]),C.useEffect(function(){M&&M.length>0&&T.length!==M.length&&Be(M)},[M]),C.useEffect(function(){q!=null&&q.event&&(q!=null&&q.files)&&(u(q.event,q.files),er(null)),N&&(N(m?T:le),k&&k(Or()))},[T,q]);var Br=Tr?K.palette.secondary.light:K.palette.primary.light;return w.createElement(w.Fragment,null,w.createElement(xs,X({sx:{p:1},elevation:0,ref:$e,variant:"outlined"},Cr),w.createElement(re,{gutterBottom:!0,component:"div",color:"textSecondary",sx:{display:"flex"}},w.createElement(Jr,{sx:{flexGrow:1,fontSize:12}},l),(T==null?void 0:T.length)>0&&w.createElement(Jr,{sx:{fontSize:12}},T.length,P>0&&"/".concat(P)," file",(T==null?void 0:T.length)>1&&"s"," joined")),w.createElement(xs,X({elevation:0,sx:{p:1,transition:500,background:Br}},Xe),w.createElement(gs,{container:!0,spacing:2,alignItems:"center",justifyContent:"center"},W&&w.createElement(gs,X({item:!0,xs:12,sm:3,md:4,sx:{textAlign:"center",mt:{xs:-3,sm:2}}},Ne),w.createElement("img",{alt:y,src:f||Gf,width:pe.width,height:pe.height})),w.createElement(gs,X({item:!0,xs:12,sm:!0,md:!0,sx:{color:"#fff",textAlign:"center",mt:{xs:W?-4:0,sm:2}}},be),w.createElement(da,{smDown:!0},w.createElement(re,{variant:"h5"},w.createElement("b",null,t))),w.createElement(da,{smUp:!0},w.createElement(re,{variant:"h6"},w.createElement("b",null,t))),w.createElement(re,{variant:"caption"},g,w.createElement(Ss,{size:"small",color:"secondary",variant:"outlined",disabled:c,onClick:function(){var L;return(L=fe.current)===null||L===void 0?void 0:L.click()},sx:{m:.5,color:K.palette.grey[50],borderColor:K.palette.grey[50],"&:hover":{borderColor:K.palette.grey[50]}}},A),p),w.createElement("input",{type:"file",ref:fe,onChange:function(L){return u(L)},multiple:I,accept:b,style:{display:"none"}})))),gr&&w.createElement(xc,{color:"error",severity:"error",sx:{mt:1},onClose:function(){return me(null)}},gr),(T==null?void 0:T.length)>0&&w.createElement(w.Fragment,null,w.createElement(Zf,{component:"div",sx:{overflowY:"auto",mt:2,mr:-1,pr:1,height:ne,maxHeight:Ae}},T==null?void 0:T.map(function(L,D){var ye=(L.size/1024).toFixed(2)+" Kb";return L.size>ya&&(ye=(L.size/ya).toFixed(2)+" Mb"),w.createElement(Ca,{file:L,size:ye,index:D,disabled:c,key:"upload-file--".concat(D),handleRemoveFile:sr})})),w.createElement(re,{component:"div",align:"right",sx:{mt:1}},w.createElement(Ss,{size:"small",disabled:c,onClick:sr,ref:Pr},_||"Remove all")))))}Rs.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};Rs.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 Hf(d){const[l,t]=w.useState([]),i=async c=>{const f=c.at(-1);if(f===void 0){d.onChange(null,null);return}const m=await f.arrayBuffer(),y=new TextDecoder().decode(m),I=f.name.split(".").pop();try{const g=I==="json"?JSON.parse(y):$f(y),p=Xc({model:"chatgpt",document:g,options:{reference:!0}});p.success===!0?d.onChange(p.data,null):d.onChange(null,JSON.stringify(p.errors,null,2))}catch{d.onChange(null,I==="json"?"Invalid JSON file":"Invalid YAML file");return}c.length>1&&t([f])};return O.jsx(Rs,{defaultFiles:l,onFilesChange:i,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 Wf(d){const[l,t]=C.useState("http://localhost:37001"),[i,c]=C.useState(JSON.stringify({Authorization:"YOUR_SERVER_API_KEY"},null,2)),[f,m]=C.useState("gpt-4o-mini"),[y,I]=C.useState(""),[g,p]=C.useState(null),[A,V]=C.useState(!1),h=Qf(i),R=A===!0||h===null||document===null||g===null||l.length===0||y.length===0,b=x=>{d.onError!=null?d.onError(x):alert(x)},M=(x,P)=>{p(x),P!==null&&b(P)},N=async()=>{if(g!==null){V(!0);try{const x={api:new rc({apiKey:y,dangerouslyAllowBrowser:!0}),model:f},P=new sc({model:"chatgpt",vendor:x,controllers:[{protocol:"http",name:"main",application:g,connection:{host:l,headers:h}}]});d.onSuccess(O.jsx(oc,{agent:P}))}catch(x){b(x instanceof Error?x.message:"unknown error"),V(!1)}}};return O.jsxs("div",{style:d.style,children:[O.jsx(Hf,{onChange:M}),O.jsx("br",{}),O.jsxs(ec,{fullWidth:!0,children:[O.jsx(re,{variant:"h6",children:"HTTP Connection"}),O.jsx("br",{}),O.jsx(fs,{onChange:x=>t(x.target.value),defaultValue:l,label:"Host URL",variant:"outlined",placeholder:"Server URL",error:l.length===0}),O.jsx("br",{}),O.jsx(ys,{children:" Headers "}),O.jsx(fs,{fullWidth:!0,multiline:!0,defaultValue:i,onChange:x=>c(x.target.value),maxRows:10,error:h===null,helperText:h===null?"Invalid JSON format":void 0}),O.jsx("br",{}),O.jsx("br",{}),O.jsx(re,{variant:"h6",children:"LLM Arguments"}),O.jsx("br",{}),O.jsx(ys,{children:" LLM Provider "}),O.jsx(ra,{defaultValue:"chatgpt",style:{paddingLeft:15},children:O.jsx(vs,{value:"chatgpt",control:O.jsx(Is,{}),label:"OpenAI (ChatGPT)"})}),O.jsx(ys,{style:{paddingTop:20},children:" OpenAI Model "}),O.jsxs(ra,{defaultValue:f,onChange:(x,P)=>m(P),style:{paddingLeft:15},children:[O.jsx(vs,{value:"gpt-4o-mini",control:O.jsx(Is,{}),label:"GPT-4o Mini"}),O.jsx(vs,{value:"gpt-4o",control:O.jsx(Is,{}),label:"GPT-4o"})]}),O.jsx("br",{}),O.jsx(fs,{onChange:x=>I(x.target.value),defaultValue:y,label:"OpenAI API Key",variant:"outlined",placeholder:"Your OpenAI API Key",error:y.length===0})]}),O.jsx("br",{}),O.jsx("br",{}),O.jsx(Ss,{component:"a",fullWidth:!0,variant:"contained",color:"info",size:"large",disabled:R,onClick:()=>void N().catch(()=>{}),children:A?"Generating...":"Generate AI Chatbot"})]})}function Qf(d){try{return JSON.parse(d)}catch{return null}}ea(window.document.getElementById("root")).render(O.jsx(Wf,{style:{width:"calc(100% - 30px)",height:"calc(100% - 30px)",overflowY:"auto",padding:15},onSuccess:d=>{ea(window.document.getElementById("root")).render(d)}}));