@redocly/config 0.49.1 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib-esm/index.js CHANGED
@@ -1 +1 @@
1
- var he={hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},E={type:"object",properties:he,additionalProperties:!1},Ue={type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},c={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:{...he,like:E,dislike:E,satisfied:E,neutral:E,dissatisfied:E},additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:Ue},additionalProperties:!1}},additionalProperties:!1};var Fe={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",examples:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},additionalProperties:!1},R={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},S={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:c,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:R,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:Fe,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"},showSchemaCatalogLinks:{type:"boolean"}},additionalProperties:!1};var C={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},ze={type:"object",properties:{name:{type:"string"},items:C,queries:C,mutations:C,subscriptions:C,types:C,directives:C},required:["name"],additionalProperties:!1},Ge={type:"object",properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:ze},otherItemsGroupName:{type:"string"}},required:["requireExactGroups","groups","otherItemsGroupName"],additionalProperties:!1},Ke={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},additionalProperties:!1},Ye={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},identifier:{type:"string"}},additionalProperties:!1},He={type:"object",properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:Ke,license:Ye},additionalProperties:!1},P={type:"object",properties:{menu:{type:"object",properties:{...Ge.properties},additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:R,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:c,layout:{type:"string",enum:["stacked","three-panel"]},showBuiltInScalars:{type:"boolean"},showBuiltInDirectives:{type:"boolean"},info:He},additionalProperties:!1};var Se={type:"object",properties:{downloadUrls:R,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:c,layout:{type:"string",enum:["stacked","three-panel"]}},additionalProperties:!1};var We={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},Ve={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},Ce={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},$e={type:"object",properties:{beforeInfo:{type:"array",items:Ce},end:{type:"array",items:Ce}}},u={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},A={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},Je={type:"object",properties:N(u.properties,["light","dark"])},Xe={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},Qe={type:"object",properties:{error:A,info:A,redirect:A,success:A}},Ze={type:"object",properties:j(u.properties,["dark"])},et={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},tt={type:"object",properties:{accent:u,border:Je,error:u,http:Xe,primary:u,responses:Qe,secondary:Ze,success:u,text:et,tonalOffset:{type:"number"},warning:u}},L={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},rt={type:"object",properties:{small:L,medium:L,large:L,xlarge:L}},l={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},ot={type:"object",properties:{...j(l.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:rt}},Pe={type:"object",properties:N(l.properties,["fontSize","lineHeight"])},it={type:"object",properties:{medium:Pe,small:Pe}},st={type:"object",properties:{...j(l.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},color:{type:"string"},sizes:it}},at={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},nt={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},je={type:"object",properties:{fullWidth:{type:"boolean"}}},pt={type:"object",properties:{buttons:ot,httpBadges:st,layoutControls:at,panels:nt,tryItButton:je,tryItSendButton:je}},D={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},ct={type:"object",properties:{maxWidth:D}},lt={type:"object",properties:{maxWidth:D,middlePanelMaxWidth:D}},yt={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:ct,"three-panel":lt}},xe={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},dt={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:xe,defaultDetailsWidth:{type:"string"},examples:xe,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},Te={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},gt={type:"object",properties:N(Te.properties,["textTransform"])},mt={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},ut={type:"object",properties:{...j(l.properties,["fontWeight","lineHeight"]),activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:Te,level1items:gt,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:mt,textColor:{type:"string"},width:{type:"string"}}},O={type:"object",properties:{...l.properties,color:{type:"string"},transform:{type:"string"}}},bt={type:"object",properties:{...l.properties,backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}}},ft={type:"object",properties:j(l.properties,["fontSize"])},ht={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},St={type:"object",properties:{code:bt,fieldName:l,...N(l.properties,["fontSize","fontFamily"]),fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:O,heading2:O,heading3:O,headings:ft,lineHeight:{type:"string"},links:ht,optimizeSpeed:{type:"boolean"},rightPanelHeading:O,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}}},Ct={type:"object",properties:{color:{type:"string"},...j(l.properties,["fontWeight"])}},Pt={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:Ct}},jt={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},xt={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},ve={type:"object",properties:{custom:{type:"string"}}},vt={type:"object",properties:{DownloadButton:ve,NextSectionButton:ve}},Tt={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},kt={type:"object",properties:{borderRadius:{type:"string"}}},Et={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},Rt={type:"object",properties:{breakpoints:D,codeBlock:Pt,colors:tt,components:pt,layout:yt,logo:jt,fab:xt,overrides:vt,rightPanel:Tt,schema:dt,shape:kt,sidebar:ut,spacing:Et,typography:St,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},It={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:We}},required:["languages"]},ie={type:"object",properties:{theme:Rt,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:It,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:Ve,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:$e,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}},additionalProperties:!1};function N(d,m){return Object.fromEntries(m.filter(o=>o in d).map(o=>[o,d[o]]))}function j(d,m){return Object.fromEntries(Object.entries(d).filter(([o])=>!m.includes(o)))}var a={nodeTypeName:void 0,type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]},description:"The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/rules#rules"},go=["rules","oas2Rules","oas3_0Rules","oas3_1Rules","oas3_2Rules","async2Rules","async3Rules","arazzo1Rules","arazzo1_1Rules","overlay1Rules","openrpc1Rules"],At={rules:a,oas2Rules:a,oas3_0Rules:a,oas3_1Rules:a,oas3_2Rules:a,async2Rules:a,async3Rules:a,arazzo1Rules:a,arazzo1_1Rules:a,overlay1Rules:a,openrpc1Rules:a},mo=["preprocessors","oas2Preprocessors","oas3_0Preprocessors","oas3_1Preprocessors","oas3_2Preprocessors","async2Preprocessors","async3Preprocessors","arazzo1Preprocessors","arazzo1_1Preprocessors","overlay1Preprocessors","openrpc1Preprocessors"],n={nodeTypeName:void 0,type:"object",additionalProperties:!0},Lt={preprocessors:n,oas2Preprocessors:n,oas3_0Preprocessors:n,oas3_1Preprocessors:n,oas3_2Preprocessors:n,async2Preprocessors:n,async3Preprocessors:n,arazzo1Preprocessors:n,arazzo1_1Preprocessors:n,overlay1Preprocessors:n,openrpc1Preprocessors:n},p={nodeTypeName:void 0,type:"object",additionalProperties:!0},uo=["decorators","oas2Decorators","oas3_0Decorators","oas3_1Decorators","oas3_2Decorators","async2Decorators","async3Decorators","arazzo1Decorators","arazzo1_1Decorators","overlay1Decorators","openrpc1Decorators"],Ot={decorators:p,oas2Decorators:p,oas3_0Decorators:p,oas3_1Decorators:p,oas3_2Decorators:p,async2Decorators:p,async3Decorators:p,arazzo1Decorators:p,arazzo1_1Decorators:p,overlay1Decorators:p,openrpc1Decorators:p},Dt={nodeTypeName:void 0,type:"array",items:{type:"string"},description:"Use extends to inherit rules and their configurations from other rulesets.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/extends"},b={...At,...Ot,...Lt,extends:Dt};var _=d=>d;var i=_({RedirectSource:"RedirectSource",Redirects:"Redirects",ScorecardClassic:"ScorecardClassic",ScorecardClassicLevelList:"ScorecardClassicLevelList",ScorecardClassicLevel:"ScorecardClassicLevel",ScorecardClassicTargetList:"ScorecardClassicTargetList",ScorecardClassicTarget:"ScorecardClassicTarget",ScorecardClassicTargetWhere:"ScorecardClassicTargetWhere",ScorecardClassicTargetWhereMetadata:"ScorecardClassicTargetWhereMetadata",ScorecardClassicTeamMetadataProperty:"ScorecardClassicTeamMetadataProperty"});var r={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},ke={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},se={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}},additionalProps:{type:"object",additionalProperties:!0}}},ae={type:"array",items:{...se,properties:{...se.properties,items:{type:"array",items:se}}}},Nt={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},_t={type:"object",properties:{hide:{type:"boolean",default:!1},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},qt={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}},wt={type:"object",properties:{facets:qt,...r.properties},additionalProperties:!1},Mt={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},q={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},w={type:"object",properties:{items:ae,...r.properties},additionalProperties:!1},M={type:"object",additionalProperties:Nt},B={type:"object",properties:{items:ae,copyrightText:{type:"string"},logo:r,...r.properties},additionalProperties:!1},U={type:"object",properties:{separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"},...r.properties},additionalProperties:!1},F={type:"object",properties:{head:{type:"array",items:ke},body:{type:"array",items:ke}},additionalProperties:!1},z={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}},G={type:"object",properties:{engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},ai:_t,filters:wt,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["\u2318+K,ctrl+K"]},suggestedPages:{type:"array",items:Mt},...r.properties},additionalProperties:!1},K={type:"object",properties:{hide:{type:"boolean"},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"},trigger:{type:"object",properties:{hide:{type:"boolean",default:!1},inputType:{type:"string",enum:["button","icon"],default:"button"},inputIcon:{type:"string",enum:["chat","sparkles","redocly"],default:"sparkles"}},additionalProperties:!1}},additionalProperties:!1},Y={type:"object",properties:{ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]},...r.properties},additionalProperties:!1},x={type:"string",enum:["slate","pink","coral","amber","jade","cyan","ocean","indigo","iris"]},Bt={type:"object",properties:{...r.properties,items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]},default:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]}},additionalProperties:!1},H={type:"object",properties:{nextButton:{type:"object",properties:{text:{type:"string"},...r.properties},additionalProperties:!1,default:{}},previousButton:{type:"object",properties:{text:{type:"string"},...r.properties},additionalProperties:!1,default:{}},actions:Bt},additionalProperties:!1},W={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:{...r.properties},additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:{tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"},...r.properties},additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:{...r.properties},additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:{...r.properties},additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1},V={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["**/_partials/**"]},lastUpdatedBlock:{type:"object",properties:{format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"},...r.properties},additionalProperties:!1,default:{}},toc:{type:"object",properties:{header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1},...r.properties},additionalProperties:!1,default:{}},editPage:{type:"object",properties:{baseUrl:{type:"string"},...r.properties},additionalProperties:!1,default:{}},template:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1,default:{}},v={...S,properties:{...S.properties,...ie.properties}},vo={...S,properties:{...S.properties,...ie.properties}},Ut={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Ft={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},zt={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},Gt={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},Kt={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},Yt={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},Ht={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},ne={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]},Wt={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:ne}},additionalProperties:!1,required:["trackingId"]},$={type:"object",properties:{adobe:Ut,amplitude:Ft,fullstory:zt,heap:Gt,rudderstack:Kt,segment:Yt,gtm:Ht,ga:Wt}},J={type:"object",properties:{items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"},...r.properties},additionalProperties:!1},X={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},Q={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"},icon:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1},Vt={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},$t={type:"object",additionalProperties:!0,required:["slug","items"],properties:{show:{type:"boolean"},slug:{type:"string"},filters:{type:"array",items:Vt},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:ae,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},T={type:"object",patternProperties:{".*":$t}},k={nodeTypeName:i.ScorecardClassic,description:"Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic",type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{nodeTypeName:i.ScorecardClassicTeamMetadataProperty,description:"Provide custom team label and team metadata property.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object",type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{nodeTypeName:i.ScorecardClassicLevelList,description:"List of levels to score against.",type:"array",items:{nodeTypeName:i.ScorecardClassicLevel,documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#level-object",type:"object",required:["name"],properties:{name:{type:"string"},color:{type:"string"},...b},additionalProperties:!1}},targets:{nodeTypeName:i.ScorecardClassicTargetList,description:"Provide custom `minimumLevel` for specific targets.",type:"array",items:{nodeTypeName:i.ScorecardClassicTarget,type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{nodeTypeName:i.ScorecardClassicTargetWhere,description:"Specify which API descriptions to apply the `minimumLevel` to based on the metadata.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#where-object",type:"object",required:["metadata"],properties:{metadata:{nodeTypeName:i.ScorecardClassicTargetWhereMetadata,type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}},fromProjectUrl:{type:"string",format:"uri"}}};var Jt={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},Xt={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},Qt={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},y={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:Xt},excludes:{type:"array",items:Jt},filters:{type:"array",items:Qt},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},Zt={type:"object",properties:{type:{type:"string",enum:["string","number","boolean","array","object"]},description:{type:"string"},example:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array"},{type:"object"}]},enum:{type:"array",items:{type:"string"}},pattern:{type:"string"},format:{type:"string"},minimum:{type:"number"},maximum:{type:"number"},items:{type:"object"}},additionalProperties:!0},er={type:"object",required:["type","properties"],properties:{type:{type:"string",enum:["object"]},description:{type:"string"},properties:{type:"object",additionalProperties:Zt},required:{type:"array",items:{type:"string"}},additionalProperties:{type:"boolean"}},additionalProperties:!0},tr={type:"object",required:["name","description","metadataSchema"],properties:{name:{type:"string",description:"Display name of the entity type"},description:{type:"string",description:"Description of the entity type"},metadataSchema:er,icon:{type:"object",properties:{src:{type:"string"},srcSet:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},rr={type:"object",additionalProperties:tr},Z={type:"object",properties:{show:{type:"boolean",default:!1},entityTypes:rr,catalogs:{type:"object",properties:{all:y,services:y,domains:y,teams:y,users:y,apiDescriptions:y,dataSchemas:y,apiOperations:y},additionalProperties:y}},additionalProperties:!1};var Ee={type:"string",enum:["eq","in","gt","gte","lt","lte","contains","startsWith","endsWith","exists","isEmpty","between","matches","some","every","none"]},ce={type:"string",enum:["and","or"]},pe={type:"object",properties:{field:{type:"string"},operator:Ee,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]},match:{type:"array",items:{type:"object",properties:{field:{type:"string"},operator:Ee,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]}}}}}},or={type:"object",properties:{operator:ce,conditions:{type:"array",items:pe}},required:["operator","conditions"],additionalProperties:!1},Re={type:"array",items:{oneOf:[pe,{type:"object",properties:{operator:ce,conditions:{type:"array",items:{oneOf:[pe,or]}}},required:["operator","conditions"],additionalProperties:!1}]}},Ae={type:"object",properties:{defined:{type:"boolean"},nonEmpty:{type:"boolean"},eq:{},gt:{type:"number"},gte:{type:"number"},lt:{type:"number"},lte:{type:"number"},const:{}},additionalProperties:!1},ir={type:"array",items:{type:"object",properties:{subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},assertions:Ae},required:["subject","assertions"],additionalProperties:!1}},sr={type:"object",properties:{title:{type:"string"},subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},severity:{type:"string",enum:["error","warn","off"]},message:{type:"string"},assertions:Ae,where:ir,weight:{type:"number",default:1}},required:["subject","assertions"],additionalProperties:!1},ar={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object",properties:{severity:{type:"string",enum:["error","warn","off"]},weight:{type:"number",default:1}},additionalProperties:!0},sr]}},nr={type:"object",properties:{name:{type:"string"},extends:b.extends,rules:ar},required:["name"],additionalProperties:!1},Ie={type:"object",properties:{event:{type:"string",enum:["runtime","manual"]}},required:["event"],additionalProperties:!1},pr={oneOf:[Ie,{type:"array",items:Ie}]},cr={type:"object",properties:{name:{type:"string"},key:{type:"string"},description:{type:"string"},entities:{oneOf:[Re,{type:"object",properties:{operator:ce,conditions:Re},required:["operator","conditions"],additionalProperties:!1}]},levels:{type:"array",items:nr,minItems:1},trigger:pr},required:["name","key","entities","levels"],additionalProperties:!1},ee={type:"array",items:cr};var s={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:q,navbar:w,products:M,footer:B,sidebar:U,scripts:F,links:z,feedback:c,search:G,aiAssistant:K,colorMode:Y,palette:x,navigation:H,codeSnippet:W,markdown:V,openapi:v,asyncapi:Se,graphql:P,analytics:$,userMenu:J,versionPicker:X,breadcrumbs:Q,catalog:T,entitiesCatalog:Z,catalogClassic:T,scorecard:k,scorecardClassic:k,scorecards:ee},additionalProperties:!0};var le="https://redocly.com/sso/teams",ye=(o=>(o.OIDC="OIDC",o.SAML2="SAML2",o))(ye||{}),de=(o=>(o.SERVICE_ACCOUNT="SERVICE_ACCOUNT",o.OAUTH2="OAUTH2",o))(de||{}),lr="redocly::teams-rbac",yr="redocly::route-rbac",Le=(o=>(o.STACKED="stacked",o.THREE_PANEL="three-panel",o))(Le||{});function te(d,m,o){return Object.fromEntries(Object.entries(d).map(([f,h])=>{if(!(f===m&&o!=="properties"))return typeof h!="object"||!h?[f,h]:Array.isArray(h)?[f,h.map(oe=>typeof oe=="object"?te(oe,m,f):oe)]:[f,te(h,m,f)]}).filter(Boolean))}var dr={type:"object",additionalProperties:{type:"string"}},gr={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},re={type:"string",enum:["error","warn","off"]},mr={type:"object",additionalProperties:!1,properties:{schemaCheck:re,statusCodeCheck:re,contentTypeCheck:re,successCriteriaCheck:re}},ur={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},br={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},fr={type:"object",properties:{warn:{type:"number"},error:{type:"number"}},additionalProperties:!1},Oe={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean",default:!1},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\/|\\.\\./)"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[ur,br]},inputs:dr,servers:gr,severity:mr,slo:fr},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1};var hr={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0},Sr={type:"object",properties:{type:{type:"string",const:"OIDC"},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:hr,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},introspectEndpoint:{type:"string"},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},Cr={type:"object",properties:{type:{type:"string",const:"SAML2"},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:le},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},Pr={oneOf:[Sr,Cr],discriminator:{propertyName:"type"}},jr={type:"object",additionalProperties:Pr},qe={oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]},we={type:"boolean"},Me={type:"string",pattern:"^https?://.*"},Be={type:"string",pattern:"^https?://.*"},xr={type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1,nodeTypeName:i.RedirectSource,description:"Source is an absolute path that must start with a forward slash.",documentationLink:"https://redocly.com/docs/realm/config/redirects#sources-map"},vr={type:"object",additionalProperties:xr,default:{},nodeTypeName:i.Redirects,description:"Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.",documentationLink:"https://redocly.com/docs/realm/config/redirects"},Tr={type:"string",enum:["info","success","warning","error"],default:"info"},e={type:"object",additionalProperties:{type:"string"}},kr={type:"object",properties:{trackingId:{type:"string"},content:{type:"string"},dismissible:{type:"boolean",default:!1},target:{type:"string"},color:Tr,rbac:e,startAt:{type:"string",format:"date-time"},endAt:{type:"string",format:"date-time"}},required:["content"],additionalProperties:!1},Er={type:"array",items:kr,default:[]},me={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:e,openapi:v,graphql:P,theme:{type:"object",properties:{openapi:v,graphql:P},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},...b},required:["root"]},Rr={type:"object",additionalProperties:!0},Ir={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},De={type:"object",properties:{hide:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"},default:[]},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"},default:[]},excludeFiles:{type:"array",items:{type:"string"},default:[]}},required:["title"],additionalProperties:!1}}},default:{hide:!1,title:void 0,description:void 0,details:void 0,sections:[{title:"Table of contents",includeFiles:["**/*"],excludeFiles:[]}]},additionalProperties:!1},Ne={type:"object",properties:{title:{type:"string"},projectTitle:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:De},default:{llmstxt:De.default},additionalProperties:!1},Ar={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},Lr={type:"object",properties:{catalogs:{type:"object",properties:{all:e,services:e,domains:e,teams:e,users:e,apiDescriptions:e,dataSchemas:e,apiOperations:e},additionalProperties:e},entitiesTypes:{type:"object",properties:{service:e,domain:e,team:e,user:e,apiDescription:e,apiOperation:e,dataSchema:e},additionalProperties:e},entitiesGroups:{type:"array",items:{type:"object",properties:{entities:{type:"array",items:{type:"string"}},config:e},additionalProperties:!1}},entities:{type:"object",properties:{"**":e},additionalProperties:e}},additionalProperties:!1},ue={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:e,cms:e,reunite:e,features:{type:"object",properties:{aiSearch:e},additionalProperties:!1},content:{type:"object",properties:{"**":e},additionalProperties:e},entitiesCatalog:Lr},additionalProperties:e},Or={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},Dr={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},Nr={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[Or,Dr]}},additionalProperties:!1,required:["type","apiBaseUrl"]},_r={type:"object",properties:{type:{type:"string",const:"OAUTH2"},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},qr={type:"object",properties:{type:{type:"string",const:"SERVICE_ACCOUNT"},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},ge={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[_r,qr],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},wr={...ge,properties:{...ge.properties,type:{type:"string",const:"APIGEE_EDGE"}}},Mr={type:"object",oneOf:[ge,wr,Nr],discriminator:{propertyName:"type"}},Br={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:Mr}}},_e={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]},Ur={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},Fr={type:"object",properties:{hide:{type:"boolean",default:!1},docs:{type:"object",properties:{hide:{type:"boolean",default:!1},name:{type:"string",default:"Docs MCP server"},ignore:{type:"array",items:{type:"string"},default:[]}},additionalProperties:!1}},additionalProperties:!1,default:{hide:!1,docs:{hide:!1,name:"MCP server",ignore:[]}}},zr={type:"object",properties:{requiresLogin:we,logoutReturnUrl:Me,residency:Be,sso:qe,rbac:ue},additionalProperties:!1},I={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:vr,seo:Ne,rbac:ue,apiFunctions:Ar,requiresLogin:we,responseHeaders:{type:"object",additionalProperties:{type:"array",items:Ur}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:me},...b,ssoDirect:jr,sso:qe,residency:Be,logoutReturnUrl:Me,access:zr,developerOnboarding:Br,removeAttribution:{type:"boolean"},i18n:_e,l10n:_e,metadata:Rr,metadataGlobs:Ir,ignore:{type:"array",items:{type:"string"}},theme:s,reunite:Oe,logo:q,navbar:w,products:M,footer:B,sidebar:U,scripts:F,links:z,feedback:c,search:G,aiAssistant:K,colorMode:Y,palette:x,navigation:H,codeSnippet:W,markdown:V,openapi:v,graphql:P,analytics:$,userMenu:J,versionPicker:X,breadcrumbs:Q,catalog:T,entitiesCatalog:Z,catalogClassic:T,scorecard:k,scorecardClassic:k,scorecards:ee,mcp:Fr,corsProxy:{type:"object",properties:{allowedTargets:{type:"array",items:{type:"string"}}},additionalProperties:!1},banner:Er},default:{redirects:{},seo:Ne.default},additionalProperties:!0},Gr={...te(I,"default"),additionalProperties:!1},Kr={$id:"root-redocly-config",...I,properties:{plugins:{type:"array",items:{type:"string"}},...I.properties,env:{type:"object",additionalProperties:Gr}},default:{},additionalProperties:!1};var be={type:"object",properties:{logo:s.properties.logo,navbar:s.properties.navbar,footer:s.properties.footer,sidebar:s.properties.sidebar,search:s.properties.search,codeSnippet:s.properties.codeSnippet,breadcrumbs:s.properties.breadcrumbs,openapi:s.properties.openapi,feedback:s.properties.feedback,palette:x,mockServer:I.properties.mockServer,analytics:{type:"object",properties:{ga:ne}}},additionalProperties:!0,default:{}},Yr={$id:"product-config-override",type:"object",properties:{...be.properties,apis:{type:"object",additionalProperties:me},theme:be},additionalProperties:!1};var fe=["partOf","hasParts","creates","createdBy","owns","ownedBy","implements","implementedBy","dependsOn","dependencyOf","uses","usedBy","produces","consumes","linksTo","supersedes","supersededBy","compatibleWith","extends","extendedBy","relatesTo","hasMember","memberOf","triggers","triggeredBy","returns","returnedBy"],t=_({UserEntity:"UserEntity",UserEntityMetadata:"UserEntityMetadata",ApiDescriptionEntity:"ApiDescriptionEntity",ApiDescriptionEntityMetadata:"ApiDescriptionEntityMetadata",ApiOperationEntity:"ApiOperationEntity",ApiOperationEntityMetadata:"ApiOperationEntityMetadata",DataSchemaEntity:"DataSchemaEntity",DataSchemaEntityMetadata:"DataSchemaEntityMetadata",ServiceEntity:"ServiceEntity",DomainEntity:"DomainEntity",TeamEntity:"TeamEntity",Entity:"Entity",EntityMetadata:"EntityMetadata",EntityLinkList:"EntityLinkList",EntityLink:"EntityLink",EntityRelation:"EntityRelation",EntityRelationList:"EntityRelationList",EntityContact:"EntityContact",EntitySlackContact:"EntitySlackContact",EntitySlackChannel:"EntitySlackChannel"});var Hr={type:"object",nodeTypeName:t.UserEntityMetadata,properties:{email:{type:"string",description:"Email of the user"}},required:["email"],additionalProperties:!0},Wr={type:"object",nodeTypeName:t.ApiDescriptionEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Type of the API description"},descriptionFile:{type:"string",description:"Path to the file containing the API description"}},required:["specType","descriptionFile"],additionalProperties:!0},Vr={type:"object",nodeTypeName:t.ApiOperationEntityMetadata,properties:{method:{type:"string",enum:["GET","POST","PUT","DELETE","PATCH","MUTATION","QUERY","SUBSCRIBE","PUBLISH"],description:"HTTP method of the API operation"},path:{type:"string",description:"Path of the API operation"},payload:{type:"array",items:{type:"string",description:"Related dataSchema name"}},responses:{type:"array",items:{type:"string",description:"Related dataSchema name"}}},required:["method","path"],additionalProperties:!0},$r={type:"object",nodeTypeName:t.DataSchemaEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Specification type of the data schema"},schema:{type:"string",description:"Inline schema of the data structure"},sdl:{type:"string",description:"SDL of the data structure"}},required:["specType"],additionalProperties:!0},Jr={type:"object",properties:{},nodeTypeName:t.EntityMetadata,additionalProperties:!0},Xr={type:"object",nodeTypeName:t.EntitySlackChannel,properties:{name:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["name"],additionalProperties:!1},Qr={type:"object",nodeTypeName:t.EntitySlackContact,properties:{channels:{type:"array",items:Xr}},required:["channels"],additionalProperties:!1},Zr={type:"object",nodeTypeName:t.EntityContact,properties:{slack:Qr},additionalProperties:!1},eo={type:"object",nodeTypeName:t.EntityLink,properties:{label:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["label","url"],additionalProperties:!1},to={type:"object",nodeTypeName:t.EntityRelation,properties:{type:{type:"string",enum:fe},key:{type:"string",minLength:2,maxLength:100},version:{type:"string"},revision:{type:"string"}},required:["type","key"],additionalProperties:!1},g={version:{type:"string"},key:{type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$",minLength:2,maxLength:150},type:{type:"string",enum:["user","data-schema","api-operation","api-description","service","domain","team"]},title:{type:"string",minLength:2,maxLength:200},summary:{type:"string",minLength:1,maxLength:500},tags:{type:"array",items:{type:"string",minLength:1,maxLength:50}},git:{type:"array",items:{type:"string"}},contact:Zr,links:{type:"array",nodeTypeName:t.EntityLinkList,items:eo},relations:{type:"array",nodeTypeName:t.EntityRelationList,items:to},metadata:Jr},ci={type:"object",discriminator:{propertyName:"type"},oneOf:[{type:"object",properties:{...g,type:{const:"user"},metadata:Hr},required:["key","title","type","metadata"],additionalProperties:!1,nodeTypeName:t.UserEntity},{type:"object",nodeTypeName:t.ApiOperationEntity,properties:{...g,type:{const:"api-operation"},metadata:Vr},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:t.DataSchemaEntity,properties:{...g,type:{const:"data-schema"},metadata:$r},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:t.ApiDescriptionEntity,properties:{...g,type:{const:"api-description"},metadata:Wr},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:t.ServiceEntity,properties:{...g,type:{const:"service"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:t.DomainEntity,properties:{...g,type:{const:"domain"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:t.TeamEntity,properties:{...g,type:{const:"team"}},required:["key","title","type"],additionalProperties:!1}]},li={type:"object",nodeTypeName:t.Entity,properties:{...g},required:["key","title","type"],additionalProperties:!1};export{de as ApigeeDevOnboardingIntegrationAuthType,ye as AuthProviderType,i as CONFIG_NODE_TYPE_NAMES,le as DEFAULT_TEAM_CLAIM_NAME,t as ENTITY_NODE_TYPE_NAMES,fe as ENTITY_RELATION_TYPES,Le as LayoutVariant,yr as REDOCLY_ROUTE_RBAC,lr as REDOCLY_TEAMS_RBAC,Wr as apiDescriptionMetadataSchema,Vr as apiOperationMetadataSchema,b as configGovernanceSchema,$r as dataSchemaMetadataSchema,uo as decoratorTypes,Jr as defaultMetadataSchema,g as entityBaseProperties,Zr as entityContactFileSchema,li as entityFileDefaultSchema,ci as entityFileSchema,eo as entityLinkFileSchema,to as entityRelationFileSchema,mo as preprocessorTypes,Yr as productConfigOverrideSchema,be as productThemeOverrideSchema,ue as rbacConfigSchema,S as redocConfigSchema,Kr as rootRedoclyConfigSchema,go as ruleTypes,Xr as slackChannelFileSchema,Qr as slackContactFileSchema,Hr as userMetadataSchema};
1
+ var Pe={hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},R={type:"object",properties:Pe,additionalProperties:!1},Ke={type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},c={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:{...Pe,like:R,dislike:R,satisfied:R,neutral:R,dissatisfied:R},additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:Ke},additionalProperties:!1}},additionalProperties:!1};var He={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",examples:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},additionalProperties:!1},k={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},S={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:c,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:k,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:He,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"},showSchemaCatalogLinks:{type:"boolean"}},additionalProperties:!1};var C={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},We={type:"object",properties:{name:{type:"string"},items:C,queries:C,mutations:C,subscriptions:C,types:C,directives:C},required:["name"],additionalProperties:!1},$e={type:"object",properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:We},otherItemsGroupName:{type:"string"}},required:["requireExactGroups","groups","otherItemsGroupName"],additionalProperties:!1},Xe={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},additionalProperties:!1},Je={type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},identifier:{type:"string"}},additionalProperties:!1},Qe={type:"object",properties:{title:{type:"string"},version:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:Xe,license:Je},additionalProperties:!1},P={type:"object",properties:{menu:{type:"object",properties:{...$e.properties},additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:k,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:c,layout:{type:"string",enum:["stacked","three-panel"]},showBuiltInScalars:{type:"boolean"},showBuiltInDirectives:{type:"boolean"},info:Qe},additionalProperties:!1};var xe={type:"object",properties:{downloadUrls:k,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:c,layout:{type:"string",enum:["stacked","three-panel"]}},additionalProperties:!1};var Ze={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},et={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},je={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},tt={type:"object",properties:{beforeInfo:{type:"array",items:je},end:{type:"array",items:je}}},u={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},A={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},rt={type:"object",properties:O(u.properties,["light","dark"])},ot={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},st={type:"object",properties:{error:A,info:A,redirect:A,success:A}},it={type:"object",properties:x(u.properties,["dark"])},at={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},nt={type:"object",properties:{accent:u,border:rt,error:u,http:ot,primary:u,responses:st,secondary:it,success:u,text:at,tonalOffset:{type:"number"},warning:u}},L={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},pt={type:"object",properties:{small:L,medium:L,large:L,xlarge:L}},l={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},ct={type:"object",properties:{...x(l.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:pt}},Te={type:"object",properties:O(l.properties,["fontSize","lineHeight"])},lt={type:"object",properties:{medium:Te,small:Te}},yt={type:"object",properties:{...x(l.properties,["fontSize","lineHeight"]),borderRadius:{type:"string"},color:{type:"string"},sizes:lt}},dt={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},gt={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},Ee={type:"object",properties:{fullWidth:{type:"boolean"}}},mt={type:"object",properties:{buttons:ct,httpBadges:yt,layoutControls:dt,panels:gt,tryItButton:Ee,tryItSendButton:Ee}},_={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},ut={type:"object",properties:{maxWidth:_}},bt={type:"object",properties:{maxWidth:_,middlePanelMaxWidth:_}},ft={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:ut,"three-panel":bt}},ve={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},ht={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:ve,defaultDetailsWidth:{type:"string"},examples:ve,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},ke={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},St={type:"object",properties:O(ke.properties,["textTransform"])},Ct={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},Pt={type:"object",properties:{...x(l.properties,["fontWeight","lineHeight"]),activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:ke,level1items:St,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Ct,textColor:{type:"string"},width:{type:"string"}}},D={type:"object",properties:{...l.properties,color:{type:"string"},transform:{type:"string"}}},xt={type:"object",properties:{...l.properties,backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}}},jt={type:"object",properties:x(l.properties,["fontSize"])},Tt={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},Et={type:"object",properties:{code:xt,fieldName:l,...O(l.properties,["fontSize","fontFamily"]),fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:D,heading2:D,heading3:D,headings:jt,lineHeight:{type:"string"},links:Tt,optimizeSpeed:{type:"boolean"},rightPanelHeading:D,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}}},vt={type:"object",properties:{color:{type:"string"},...x(l.properties,["fontWeight"])}},Rt={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:vt}},kt={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},It={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},Re={type:"object",properties:{custom:{type:"string"}}},At={type:"object",properties:{DownloadButton:Re,NextSectionButton:Re}},Lt={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},Dt={type:"object",properties:{borderRadius:{type:"string"}}},_t={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},Ot={type:"object",properties:{breakpoints:_,codeBlock:Rt,colors:nt,components:mt,layout:ft,logo:kt,fab:It,overrides:At,rightPanel:Lt,schema:ht,shape:Dt,sidebar:Pt,spacing:_t,typography:Et,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},Nt={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:Ze}},required:["languages"]},ae={type:"object",properties:{theme:Ot,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:Nt,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:et,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:tt,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}},additionalProperties:!1};function O(d,m){return Object.fromEntries(m.filter(o=>o in d).map(o=>[o,d[o]]))}function x(d,m){return Object.fromEntries(Object.entries(d).filter(([o])=>!m.includes(o)))}var a={nodeTypeName:void 0,type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]},description:"The rules configuration blocks set up linting rules and their severity. You can configure built-in rules, add configurable rules, and rules from plugins.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/rules#rules"},jo=["rules","oas2Rules","oas3_0Rules","oas3_1Rules","oas3_2Rules","async2Rules","async3Rules","arazzo1Rules","arazzo1_1Rules","overlay1Rules","openrpc1Rules"],qt={rules:a,oas2Rules:a,oas3_0Rules:a,oas3_1Rules:a,oas3_2Rules:a,async2Rules:a,async3Rules:a,arazzo1Rules:a,arazzo1_1Rules:a,overlay1Rules:a,openrpc1Rules:a},To=["preprocessors","oas2Preprocessors","oas3_0Preprocessors","oas3_1Preprocessors","oas3_2Preprocessors","async2Preprocessors","async3Preprocessors","arazzo1Preprocessors","arazzo1_1Preprocessors","overlay1Preprocessors","openrpc1Preprocessors"],n={nodeTypeName:void 0,type:"object",additionalProperties:!0},wt={preprocessors:n,oas2Preprocessors:n,oas3_0Preprocessors:n,oas3_1Preprocessors:n,oas3_2Preprocessors:n,async2Preprocessors:n,async3Preprocessors:n,arazzo1Preprocessors:n,arazzo1_1Preprocessors:n,overlay1Preprocessors:n,openrpc1Preprocessors:n},p={nodeTypeName:void 0,type:"object",additionalProperties:!0},Eo=["decorators","oas2Decorators","oas3_0Decorators","oas3_1Decorators","oas3_2Decorators","async2Decorators","async3Decorators","arazzo1Decorators","arazzo1_1Decorators","overlay1Decorators","openrpc1Decorators"],Mt={decorators:p,oas2Decorators:p,oas3_0Decorators:p,oas3_1Decorators:p,oas3_2Decorators:p,async2Decorators:p,async3Decorators:p,arazzo1Decorators:p,arazzo1_1Decorators:p,overlay1Decorators:p,openrpc1Decorators:p},Ut={nodeTypeName:void 0,type:"array",items:{type:"string"},description:"Use extends to inherit rules and their configurations from other rulesets.",documentationLink:"https://redocly.com/docs/cli/configuration/reference/extends"},b={...qt,...Mt,...wt,extends:Ut};var N=d=>d;var s=N({RedirectSource:"RedirectSource",Redirects:"Redirects",ScorecardClassic:"ScorecardClassic",ScorecardClassicLevelList:"ScorecardClassicLevelList",ScorecardClassicLevel:"ScorecardClassicLevel",ScorecardClassicTargetList:"ScorecardClassicTargetList",ScorecardClassicTarget:"ScorecardClassicTarget",ScorecardClassicTargetWhere:"ScorecardClassicTargetWhere",ScorecardClassicTargetWhereMetadata:"ScorecardClassicTargetWhereMetadata",ScorecardClassicTeamMetadataProperty:"ScorecardClassicTeamMetadataProperty"});var r={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},Ie={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},ne={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}},additionalProps:{type:"object",additionalProperties:!0}}},pe={type:"array",items:{...ne,properties:{...ne.properties,items:{type:"array",items:ne}}}},Bt={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},Gt={type:"object",properties:{hide:{type:"boolean",default:!1},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},zt={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}},Ft={type:"object",properties:{facets:zt,...r.properties},additionalProperties:!1},Yt={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},q={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},w={type:"object",properties:{items:pe,...r.properties},additionalProperties:!1},M={type:"object",additionalProperties:Bt},U={type:"object",properties:{items:pe,copyrightText:{type:"string"},logo:r,...r.properties},additionalProperties:!1},B={type:"object",properties:{separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"},...r.properties},additionalProperties:!1},G={type:"object",properties:{head:{type:"array",items:Ie},body:{type:"array",items:Ie}},additionalProperties:!1},z={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}},F={type:"object",properties:{engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},ai:Gt,filters:Ft,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["\u2318+K,ctrl+K"]},suggestedPages:{type:"array",items:Yt},...r.properties},additionalProperties:!1},Y={type:"object",properties:{hide:{type:"boolean"},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"},trigger:{type:"object",properties:{hide:{type:"boolean",default:!1},inputType:{type:"string",enum:["button","icon"],default:"button"},inputIcon:{type:"string",enum:["chat","sparkles","redocly"],default:"sparkles"}},additionalProperties:!1}},additionalProperties:!1},V={type:"object",properties:{ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]},...r.properties},additionalProperties:!1},j={type:"string",enum:["slate","pink","coral","amber","jade","cyan","ocean","indigo","iris"]},Vt={type:"object",properties:{...r.properties,items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]},default:["copy","view","chatgpt","claude","docs-mcp-cursor","docs-mcp-vscode"]}},additionalProperties:!1},K={type:"object",properties:{nextButton:{type:"object",properties:{text:{type:"string"},...r.properties},additionalProperties:!1,default:{}},previousButton:{type:"object",properties:{text:{type:"string"},...r.properties},additionalProperties:!1,default:{}},actions:Vt},additionalProperties:!1},H={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:{...r.properties},additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:{tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"},...r.properties},additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:{...r.properties},additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:{...r.properties},additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1},W={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["**/_partials/**"]},lastUpdatedBlock:{type:"object",properties:{format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"},...r.properties},additionalProperties:!1,default:{}},toc:{type:"object",properties:{header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1},...r.properties},additionalProperties:!1,default:{}},editPage:{type:"object",properties:{baseUrl:{type:"string"},...r.properties},additionalProperties:!1,default:{}},template:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1,default:{}},T={...S,properties:{...S.properties,...ae.properties}},Oo={...S,properties:{...S.properties,...ae.properties}},Kt={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Ht={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},Wt={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},$t={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},Xt={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},Jt={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},Qt={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},ce={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]},Zt={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:ce}},additionalProperties:!1,required:["trackingId"]},$={type:"object",properties:{adobe:Kt,amplitude:Ht,fullstory:Wt,heap:$t,rudderstack:Xt,segment:Jt,gtm:Qt,ga:Zt}},X={type:"object",properties:{items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"},...r.properties},additionalProperties:!1},J={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},Q={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"},icon:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1},er={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},tr={type:"object",additionalProperties:!0,required:["slug","items"],properties:{show:{type:"boolean"},slug:{type:"string"},filters:{type:"array",items:er},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:pe,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},E={type:"object",patternProperties:{".*":tr}},v={nodeTypeName:s.ScorecardClassic,description:"Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic",type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{nodeTypeName:s.ScorecardClassicTeamMetadataProperty,description:"Provide custom team label and team metadata property.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object",type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{nodeTypeName:s.ScorecardClassicLevelList,description:"List of levels to score against.",type:"array",items:{nodeTypeName:s.ScorecardClassicLevel,documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#level-object",type:"object",required:["name"],properties:{name:{type:"string"},color:{type:"string"},...b},additionalProperties:!1}},targets:{nodeTypeName:s.ScorecardClassicTargetList,description:"Provide custom `minimumLevel` for specific targets.",type:"array",items:{nodeTypeName:s.ScorecardClassicTarget,type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{nodeTypeName:s.ScorecardClassicTargetWhere,description:"Specify which API descriptions to apply the `minimumLevel` to based on the metadata.",documentationLink:"https://redocly.com/docs/realm/config/scorecard-classic#where-object",type:"object",required:["metadata"],properties:{metadata:{nodeTypeName:s.ScorecardClassicTargetWhereMetadata,type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}},fromProjectUrl:{type:"string",format:"uri"}}};var rr={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},or={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},sr={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},y={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:or},excludes:{type:"array",items:rr},filters:{type:"array",items:sr},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},ir={type:"object",properties:{type:{type:"string",enum:["string","number","boolean","array","object"]},description:{type:"string"},example:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"array"},{type:"object"}]},enum:{type:"array",items:{type:"string"}},pattern:{type:"string"},format:{type:"string"},minimum:{type:"number"},maximum:{type:"number"},items:{type:"object"}},additionalProperties:!0},ar={type:"object",required:["type","properties"],properties:{type:{type:"string",enum:["object"]},description:{type:"string"},properties:{type:"object",additionalProperties:ir},required:{type:"array",items:{type:"string"}},additionalProperties:{type:"boolean"}},additionalProperties:!0},nr={type:"object",required:["name","description","metadataSchema"],properties:{name:{type:"string",description:"Display name of the entity type"},description:{type:"string",description:"Description of the entity type"},metadataSchema:ar,icon:{type:"object",properties:{src:{type:"string"},srcSet:{type:"string"}},additionalProperties:!1}},additionalProperties:!1},pr={type:"object",additionalProperties:nr},Z={type:"object",properties:{show:{type:"boolean",default:!1},entityTypes:pr,catalogs:{type:"object",properties:{all:y,services:y,domains:y,teams:y,users:y,apiDescriptions:y,dataSchemas:y,apiOperations:y},additionalProperties:y}},additionalProperties:!1};var Ae={type:"string",enum:["eq","in","gt","gte","lt","lte","contains","startsWith","endsWith","exists","isEmpty","between","matches","some","every","none"]},ye={type:"string",enum:["and","or"]},le={type:"object",properties:{field:{type:"string"},operator:Ae,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]},match:{type:"array",items:{type:"object",properties:{field:{type:"string"},operator:Ae,value:{oneOf:[{type:"boolean"},{type:"string"},{type:"number"}]},modifier:{type:"string",enum:["not"]}}}}}},cr={type:"object",properties:{operator:ye,conditions:{type:"array",items:le}},required:["operator","conditions"],additionalProperties:!1},Le={type:"array",items:{oneOf:[le,{type:"object",properties:{operator:ye,conditions:{type:"array",items:{oneOf:[le,cr]}}},required:["operator","conditions"],additionalProperties:!1}]}},_e={type:"object",properties:{defined:{type:"boolean"},nonEmpty:{type:"boolean"},eq:{},gt:{type:"number"},gte:{type:"number"},lt:{type:"number"},lte:{type:"number"},const:{}},additionalProperties:!1},lr={type:"array",items:{type:"object",properties:{subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},assertions:_e},required:["subject","assertions"],additionalProperties:!1}},yr={type:"object",properties:{title:{type:"string"},subject:{type:"object",properties:{type:{type:"string",enum:["Entity","EntityMetadata","EntityRelations","EntityRelation"]},property:{type:"string"}},required:["type","property"],additionalProperties:!1},severity:{type:"string",enum:["error","warn","off"]},message:{type:"string"},assertions:_e,where:lr,weight:{type:"number",default:1}},required:["subject","assertions"],additionalProperties:!1},dr={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object",properties:{severity:{type:"string",enum:["error","warn","off"]},weight:{type:"number",default:1}},additionalProperties:!0},yr]}},gr={type:"object",properties:{name:{type:"string"},extends:b.extends,rules:dr},required:["name"],additionalProperties:!1},De={type:"object",properties:{event:{type:"string",enum:["runtime","manual"]}},required:["event"],additionalProperties:!1},mr={oneOf:[De,{type:"array",items:De}]},ur={type:"object",properties:{name:{type:"string"},key:{type:"string"},description:{type:"string"},entities:{oneOf:[Le,{type:"object",properties:{operator:ye,conditions:Le},required:["operator","conditions"],additionalProperties:!1}]},levels:{type:"array",items:gr,minItems:1},trigger:mr},required:["name","key","entities","levels"],additionalProperties:!1},ee={type:"array",items:ur};var i={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:q,navbar:w,products:M,footer:U,sidebar:B,scripts:G,links:z,feedback:c,search:F,aiAssistant:Y,colorMode:V,palette:j,navigation:K,codeSnippet:H,markdown:W,openapi:T,asyncapi:xe,graphql:P,analytics:$,userMenu:X,versionPicker:J,breadcrumbs:Q,catalog:E,entitiesCatalog:Z,catalogClassic:E,scorecard:v,scorecardClassic:v,scorecards:ee},additionalProperties:!0};var de="https://redocly.com/sso/teams",ge=(o=>(o.OIDC="OIDC",o.SAML2="SAML2",o))(ge||{}),me=(o=>(o.SERVICE_ACCOUNT="SERVICE_ACCOUNT",o.OAUTH2="OAUTH2",o))(me||{}),br="redocly::teams-rbac",fr="redocly::route-rbac",Oe=(o=>(o.STACKED="stacked",o.THREE_PANEL="three-panel",o))(Oe||{});var te="^[a-z0-9]+(?:-[a-z0-9]+)*$",hr=new RegExp(te),Sr="Unique ID must be lowercase letters, numbers, and hyphens only",Ne=63,Cr=`Unique ID cannot exceed ${Ne} characters`,re=["redocly","corporate","guest"],Pr=`Unique ID cannot be a reserved word (${re.join(", ")})`,ue=["REDOCLY","CORPORATE","GUEST"];function oe(d,m,o){return Object.fromEntries(Object.entries(d).map(([f,h])=>{if(!(f===m&&o!=="properties"))return typeof h!="object"||!h?[f,h]:Array.isArray(h)?[f,h.map(ie=>typeof ie=="object"?oe(ie,m,f):ie)]:[f,oe(h,m,f)]}).filter(Boolean))}var xr={type:"object",additionalProperties:{type:"string"}},jr={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},se={type:"string",enum:["error","warn","off"]},Tr={type:"object",additionalProperties:!1,properties:{schemaCheck:se,statusCodeCheck:se,contentTypeCheck:se,successCriteriaCheck:se}},Er={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},vr={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},Rr={type:"object",properties:{warn:{type:"number"},error:{type:"number"}},additionalProperties:!1},qe={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean",default:!1},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\/|\\.\\./)"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[Er,vr]},inputs:xr,servers:jr,severity:Tr,slo:Rr},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1};var kr={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0},Ir={type:"object",properties:{type:{type:"string",const:"OIDC"},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:kr,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},introspectEndpoint:{type:"string"},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},Ar={type:"object",properties:{type:{type:"string",const:"SAML2"},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:de},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},Lr={oneOf:[Ir,Ar],discriminator:{propertyName:"type"}},Dr={type:"object",additionalProperties:Lr},Ge={oneOf:[{type:"array",items:{type:"string",enum:ue},uniqueItems:!0},{type:"string",enum:ue}]},we={type:"string",pattern:te,not:{enum:[...re]}},ze={oneOf:[{type:"array",items:we,uniqueItems:!0},we]},Fe={type:"boolean"},Ye={type:"string",pattern:"^https?://.*"},Ve={type:"string",pattern:"^https?://.*"},_r={type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1,nodeTypeName:s.RedirectSource,description:"Source is an absolute path that must start with a forward slash.",documentationLink:"https://redocly.com/docs/realm/config/redirects#sources-map"},Or={type:"object",additionalProperties:_r,default:{},nodeTypeName:s.Redirects,description:"Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.",documentationLink:"https://redocly.com/docs/realm/config/redirects"},Nr={type:"string",enum:["info","success","warning","error"],default:"info"},e={type:"object",additionalProperties:{type:"string"}},qr={type:"object",properties:{trackingId:{type:"string"},content:{type:"string"},dismissible:{type:"boolean",default:!1},target:{type:"string"},color:Nr,rbac:e,startAt:{type:"string",format:"date-time"},endAt:{type:"string",format:"date-time"}},required:["content"],additionalProperties:!1},wr={type:"array",items:qr,default:[]},fe={type:"object",properties:{root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:e,openapi:T,graphql:P,theme:{type:"object",properties:{openapi:T,graphql:P},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0},...b},required:["root"]},Mr={type:"object",additionalProperties:!0},Ur={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},Me={type:"object",properties:{hide:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"},default:[]},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"},default:[]},excludeFiles:{type:"array",items:{type:"string"},default:[]}},required:["title"],additionalProperties:!1}}},default:{hide:!1,title:void 0,description:void 0,details:void 0,sections:[{title:"Table of contents",includeFiles:["**/*"],excludeFiles:[]}]},additionalProperties:!1},Ue={type:"object",properties:{title:{type:"string"},projectTitle:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:Me},default:{llmstxt:Me.default},additionalProperties:!1},Br={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},Gr={type:"object",properties:{catalogs:{type:"object",properties:{all:e,services:e,domains:e,teams:e,users:e,apiDescriptions:e,dataSchemas:e,apiOperations:e},additionalProperties:e},entitiesTypes:{type:"object",properties:{service:e,domain:e,team:e,user:e,apiDescription:e,apiOperation:e,dataSchema:e},additionalProperties:e},entitiesGroups:{type:"array",items:{type:"object",properties:{entities:{type:"array",items:{type:"string"}},config:e},additionalProperties:!1}},entities:{type:"object",properties:{"**":e},additionalProperties:e}},additionalProperties:!1},he={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:e,cms:e,reunite:e,features:{type:"object",properties:{aiSearch:e},additionalProperties:!1},content:{type:"object",properties:{"**":e},additionalProperties:e},entitiesCatalog:Gr},additionalProperties:e},zr={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},Fr={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},Yr={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[zr,Fr]}},additionalProperties:!1,required:["type","apiBaseUrl"]},Vr={type:"object",properties:{type:{type:"string",const:"OAUTH2"},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},Kr={type:"object",properties:{type:{type:"string",const:"SERVICE_ACCOUNT"},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},be={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[Vr,Kr],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},Hr={...be,properties:{...be.properties,type:{type:"string",const:"APIGEE_EDGE"}}},Wr={type:"object",oneOf:[be,Hr,Yr],discriminator:{propertyName:"type"}},$r={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:Wr}}},Be={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]},Xr={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},Jr={type:"object",properties:{hide:{type:"boolean",default:!1},docs:{type:"object",properties:{hide:{type:"boolean",default:!1},name:{type:"string",default:"Docs MCP server"},ignore:{type:"array",items:{type:"string"},default:[]}},additionalProperties:!1}},additionalProperties:!1,default:{hide:!1,docs:{hide:!1,name:"MCP server",ignore:[]}}},Qr={type:"object",properties:{requiresLogin:Fe,logoutReturnUrl:Ye,residency:Ve,sso:Ge,idps:ze,rbac:he},additionalProperties:!1,not:{required:["sso","idps"]},description:"Use either `access.sso` (filter by category) or `access.idps` (filter by slug), not both."},I={type:"object",properties:{imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:Or,seo:Ue,rbac:he,apiFunctions:Br,requiresLogin:Fe,responseHeaders:{type:"object",additionalProperties:{type:"array",items:Xr}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:fe},...b,ssoDirect:Dr,sso:Ge,idps:ze,residency:Ve,logoutReturnUrl:Ye,access:Qr,developerOnboarding:$r,removeAttribution:{type:"boolean"},i18n:Be,l10n:Be,metadata:Mr,metadataGlobs:Ur,ignore:{type:"array",items:{type:"string"}},theme:i,reunite:qe,logo:q,navbar:w,products:M,footer:U,sidebar:B,scripts:G,links:z,feedback:c,search:F,aiAssistant:Y,colorMode:V,palette:j,navigation:K,codeSnippet:H,markdown:W,openapi:T,graphql:P,analytics:$,userMenu:X,versionPicker:J,breadcrumbs:Q,catalog:E,entitiesCatalog:Z,catalogClassic:E,scorecard:v,scorecardClassic:v,scorecards:ee,mcp:Jr,corsProxy:{type:"object",properties:{allowedTargets:{type:"array",items:{type:"string"}}},additionalProperties:!1},banner:wr},not:{required:["sso","idps"]},default:{redirects:{},seo:Ue.default},additionalProperties:!0},Zr={...oe(I,"default"),additionalProperties:!1},eo={$id:"root-redocly-config",...I,properties:{plugins:{type:"array",items:{type:"string"}},...I.properties,env:{type:"object",additionalProperties:Zr}},default:{},additionalProperties:!1};var Se={type:"object",properties:{logo:i.properties.logo,navbar:i.properties.navbar,footer:i.properties.footer,sidebar:i.properties.sidebar,search:i.properties.search,codeSnippet:i.properties.codeSnippet,breadcrumbs:i.properties.breadcrumbs,openapi:i.properties.openapi,feedback:i.properties.feedback,palette:j,mockServer:I.properties.mockServer,analytics:{type:"object",properties:{ga:ce}}},additionalProperties:!0,default:{}},to={$id:"product-config-override",type:"object",properties:{...Se.properties,apis:{type:"object",additionalProperties:fe},theme:Se},additionalProperties:!1};var Ce=["partOf","hasParts","creates","createdBy","owns","ownedBy","implements","implementedBy","dependsOn","dependencyOf","uses","usedBy","produces","consumes","linksTo","supersedes","supersededBy","compatibleWith","extends","extendedBy","relatesTo","hasMember","memberOf","triggers","triggeredBy","returns","returnedBy"],t=N({UserEntity:"UserEntity",UserEntityMetadata:"UserEntityMetadata",ApiDescriptionEntity:"ApiDescriptionEntity",ApiDescriptionEntityMetadata:"ApiDescriptionEntityMetadata",ApiOperationEntity:"ApiOperationEntity",ApiOperationEntityMetadata:"ApiOperationEntityMetadata",DataSchemaEntity:"DataSchemaEntity",DataSchemaEntityMetadata:"DataSchemaEntityMetadata",ServiceEntity:"ServiceEntity",DomainEntity:"DomainEntity",TeamEntity:"TeamEntity",Entity:"Entity",EntityMetadata:"EntityMetadata",EntityLinkList:"EntityLinkList",EntityLink:"EntityLink",EntityRelation:"EntityRelation",EntityRelationList:"EntityRelationList",EntityContact:"EntityContact",EntitySlackContact:"EntitySlackContact",EntitySlackChannel:"EntitySlackChannel"});var ro={type:"object",nodeTypeName:t.UserEntityMetadata,properties:{email:{type:"string",description:"Email of the user"}},required:["email"],additionalProperties:!0},oo={type:"object",nodeTypeName:t.ApiDescriptionEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Type of the API description"},descriptionFile:{type:"string",description:"Path to the file containing the API description"}},required:["specType","descriptionFile"],additionalProperties:!0},so={type:"object",nodeTypeName:t.ApiOperationEntityMetadata,properties:{method:{type:"string",enum:["GET","POST","PUT","DELETE","PATCH","MUTATION","QUERY","SUBSCRIBE","PUBLISH"],description:"HTTP method of the API operation"},path:{type:"string",description:"Path of the API operation"},payload:{type:"array",items:{type:"string",description:"Related dataSchema name"}},responses:{type:"array",items:{type:"string",description:"Related dataSchema name"}}},required:["method","path"],additionalProperties:!0},io={type:"object",nodeTypeName:t.DataSchemaEntityMetadata,properties:{specType:{type:"string",enum:["jsonschema","openapi","asyncapi","avro","zod","graphql","protobuf","arazzo"],description:"Specification type of the data schema"},schema:{type:"string",description:"Inline schema of the data structure"},sdl:{type:"string",description:"SDL of the data structure"}},required:["specType"],additionalProperties:!0},ao={type:"object",properties:{},nodeTypeName:t.EntityMetadata,additionalProperties:!0},no={type:"object",nodeTypeName:t.EntitySlackChannel,properties:{name:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["name"],additionalProperties:!1},po={type:"object",nodeTypeName:t.EntitySlackContact,properties:{channels:{type:"array",items:no}},required:["channels"],additionalProperties:!1},co={type:"object",nodeTypeName:t.EntityContact,properties:{slack:po},additionalProperties:!1},lo={type:"object",nodeTypeName:t.EntityLink,properties:{label:{type:"string",minLength:2,maxLength:150},url:{type:"string"}},required:["label","url"],additionalProperties:!1},yo={type:"object",nodeTypeName:t.EntityRelation,properties:{type:{type:"string",enum:Ce},key:{type:"string",minLength:2,maxLength:100},version:{type:"string"},revision:{type:"string"}},required:["type","key"],additionalProperties:!1},g={version:{type:"string"},key:{type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$",minLength:2,maxLength:150},type:{type:"string",enum:["user","data-schema","api-operation","api-description","service","domain","team"]},title:{type:"string",minLength:2,maxLength:200},summary:{type:"string",minLength:1,maxLength:500},tags:{type:"array",items:{type:"string",minLength:1,maxLength:50}},git:{type:"array",items:{type:"string"}},contact:co,links:{type:"array",nodeTypeName:t.EntityLinkList,items:lo},relations:{type:"array",nodeTypeName:t.EntityRelationList,items:yo},metadata:ao},Ps={type:"object",discriminator:{propertyName:"type"},oneOf:[{type:"object",properties:{...g,type:{const:"user"},metadata:ro},required:["key","title","type","metadata"],additionalProperties:!1,nodeTypeName:t.UserEntity},{type:"object",nodeTypeName:t.ApiOperationEntity,properties:{...g,type:{const:"api-operation"},metadata:so},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:t.DataSchemaEntity,properties:{...g,type:{const:"data-schema"},metadata:io},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:t.ApiDescriptionEntity,properties:{...g,type:{const:"api-description"},metadata:oo},required:["key","title","type","metadata"],additionalProperties:!1},{type:"object",nodeTypeName:t.ServiceEntity,properties:{...g,type:{const:"service"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:t.DomainEntity,properties:{...g,type:{const:"domain"}},required:["key","title","type"],additionalProperties:!1},{type:"object",nodeTypeName:t.TeamEntity,properties:{...g,type:{const:"team"}},required:["key","title","type"],additionalProperties:!1}]},xs={type:"object",nodeTypeName:t.Entity,properties:{...g},required:["key","title","type"],additionalProperties:!1};export{me as ApigeeDevOnboardingIntegrationAuthType,ge as AuthProviderType,s as CONFIG_NODE_TYPE_NAMES,de as DEFAULT_TEAM_CLAIM_NAME,t as ENTITY_NODE_TYPE_NAMES,Ce as ENTITY_RELATION_TYPES,Pr as IDENTITY_PROVIDER_RESERVED_MESSAGE,re as IDENTITY_PROVIDER_RESERVED_SLUGS,Ne as IDENTITY_PROVIDER_SLUG_MAX_LENGTH,Cr as IDENTITY_PROVIDER_SLUG_MAX_LENGTH_MESSAGE,Sr as IDENTITY_PROVIDER_SLUG_MESSAGE,te as IDENTITY_PROVIDER_SLUG_PATTERN,hr as IDENTITY_PROVIDER_SLUG_REGEX,Oe as LayoutVariant,fr as REDOCLY_ROUTE_RBAC,br as REDOCLY_TEAMS_RBAC,oo as apiDescriptionMetadataSchema,so as apiOperationMetadataSchema,b as configGovernanceSchema,io as dataSchemaMetadataSchema,Eo as decoratorTypes,ao as defaultMetadataSchema,g as entityBaseProperties,co as entityContactFileSchema,xs as entityFileDefaultSchema,Ps as entityFileSchema,lo as entityLinkFileSchema,yo as entityRelationFileSchema,To as preprocessorTypes,to as productConfigOverrideSchema,Se as productThemeOverrideSchema,he as rbacConfigSchema,S as redocConfigSchema,eo as rootRedoclyConfigSchema,jo as ruleTypes,no as slackChannelFileSchema,po as slackContactFileSchema,ro as userMetadataSchema};