[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","$comment":"https://lgtm.com/help/lgtm/lgtm.yml-configuration-file","definitions":{"queryItem":{"title":"Query","type":"object","properties":{"id":{"title":"ID","description":"Use to identify a specific query whose results you want to include or exclude from display on LGTM.","type":"string"},"severity":{"title":"Severity","description":"Use to specify a single level of severity (error, warning or recommendation) for queries whose results you want to include or exclude from display.","type":"string"},"tags":{"title":"Tags","description":"Use to specify one or more tags for queries whose results you want to include or exclude from display.","type":"array","items":{"title":"Tag","type":"string"}}}}},"description":"Configuration file for lgtm, for continuous security analysis.","id":"https://json.schemastore.org/lgtm.json","properties":{"path_classifiers":{"title":"Path Classifiers","description":"Defines the tag that you want to modify. Usually this is a built-in tag, but you can define your own tags.","type":"object","additionalProperties":{"description":"Classify files on this path with the parent tag.","type":"array","items":{"type":["string","object"],"properties":{"exclude":{"title":"Exclude","description":"Do not classify files on this path with the parent tag.","type":"string"}}}}},"queries":{"title":"Queries","type":["array","null"],"items":{"title":"Query","properties":{"exclude":{"$ref":"#/definitions/queryItem","title":"Exclude","description":"Hide the results for queries with the specified properties."},"include":{"$ref":"#/definitions/queryItem","title":"Include","description":"Show the results for queries with the specified properties."}}}},"extraction":{"title":"Extraction","type":"object","additionalProperties":{"type":"object","properties":{"prepare":{"title":"Prepare","description":"Customizable step used by all languages.","type":"object","properties":{"packages":{"title":"Packages","description":"One or more packages to install.","type":"array","items":{"title":"Package","type":"string"}}}},"after_prepare":{"title":"After Prepare","description":"Customizable step used by all languages.","type":"array","items":{"type":"string"}},"before_index":{"title":"Before Index","description":"Customizable step used by all languages.","type":"array","items":{"type":"string"}},"index":{"title":"Index","description":"Customizable step used by all languages.","type":"object","properties":{"all_solutions":{"title":"All Solutions","description":"Specify that all project or solution files should be used for extraction.","type":"boolean","default":false},"build_command":{"title":"Build Command","type":["array","string"],"items":{"type":"string"}},"buildless":{"title":"Buildless","description":"Specify whether or not to extract the codebase without building the code.","type":"boolean","default":false},"dotnet":{"title":".NET","type":"object","properties":{"arguments":{"title":"Arguments","description":"Specify a list of additional arguments to dotnet build.","type":"array","items":{"title":"Argument","type":"string"},"default":[]},"version":{"title":"Version","description":"Specify the version of the .NET Core SDK to use.","type":"string"}}},"exclude":{"title":"Exclude","description":"Specify a list of files and folders to exclude from extraction. Each path is specified by defining paths relative to LGTM_SRC.","type":"array","items":{"type":"string"}},"filetypes":{"title":"Filetypes","description":"Specify additional file types to extract.","additionalProperties":{"type":"string"}},"gradle":{"title":"Gradle","type":"object","properties":{"version":{"title":"Version","type":["string","number"]}}},"include":{"title":"Include","description":"Specify a list of files and folders to scan for files to extract.","type":"array","items":{"type":"string"}},"java_version":{"title":"Java Version","description":"Specify the Java version required to build the project.","type":["string","number"]},"maven":{"title":"Maven","description":"Specify Maven settings to use by specifying one or more of the maven subproperties detailed below.","type":"object","properties":{"settings_file":{"title":"Settings File","description":"Specify the path (absolute or relative) of a Maven settings file to use.","type":"string"},"toolchains_file":{"title":"Toolchains File","description":"Specify the path of a Maven toolchains file to use.","type":"string"},"version":{"title":"Version","description":"Specify the required Maven version.","type":["string","number"]}}},"msbuild":{"title":"MSBuild","type":"object","properties":{"arguments":{"title":"Arguments","description":"Specify a list of additional arguments to MSBuild.","type":"array","items":{"title":"Argument","type":"string"}},"configuration":{"title":"Configuration","description":"Specify the MSBuild configuration to use, for example, debug or release.","type":"string"},"platform":{"title":"Platform","description":"Specify the platform to target, for example: x86, x64, or Any CPU.","type":"string"},"target":{"title":"Target","description":"Specify the MSBuild target.","type":"string","default":"rebuild"}}},"nuget_restore":{"title":"NuGet Restore","description":"Specify whether or not to perform a NuGet restore for extraction.","type":"boolean","default":true},"properties_files":{"title":"Properties Files","description":"Specify whether .properties files are extracted.","type":"boolean","default":false},"solution":{"title":"Solution","description":"Specify a list of one or more project or solution files for extraction.","type":"array","items":{"type":"string"}},"typescript":{"title":"TypeScript","description":"Specify how TypeScript files should be extracted.","enum":["none","basic","full"],"default":"full"},"xml_mode":{"title":"XML Mode","description":"Specify how XML files should be extracted.","enum":["all","default","disabled"]}}},"configure":{"title":"Configure","description":"Customizable step used only by C/C++ extraction.","type":"object","properties":{"command":{"title":"Command","description":"Override the default process by specifying a list of commands to run to generate the build configuration.","type":["array","null"],"items":{"type":"string"}}}},"python_setup":{"title":"Python Setup","description":"This step is used only by Python blocks. It sets up the Python interpreter and virtual environment, ready for the index step to extract the codebase.","type":"object","properties":{"exclude_requirements":{"title":"Exclude Requirements","description":"Specify packages to exclude from extraction/analysis.","type":"array","items":{"title":"Package","type":"string"}},"requirements":{"title":"Requirements","description":"Specify a list of pip packages to install. If any of these packages cannot be installed, the extraction will fail.","type":"array","items":{"title":"Package","type":"string"}},"requirements_files":{"title":"Requirement Files","description":"Specify a list of requirements text files to use to set up the environment, or false for none.","type":["array","boolean"],"items":{"type":"string"}},"setup_py":{"title":"Setup Python","description":"Specify a setup.py file to use to set up the environment, or false for none.","type":"string"},"version":{"title":"Version","description":"Override the version of the Python interpreter used for setup and extraction.","type":["string","number"],"default":3}}}}}}},"type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "lgtm". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Query

ID

Use to identify a specific query whose results you want to include or exclude from display on LGTM.

Severity

Use to specify a single level of severity (error, warning or recommendation) for queries whose results you want to include or exclude from display.

Tags

Use to specify one or more tags for queries whose results you want to include or exclude from display.

Tag

Configuration file for lgtm, for continuous security analysis.

Path Classifiers

Defines the tag that you want to modify. Usually this is a built-in tag, but you can define your own tags.

Classify files on this path with the parent tag.

Exclude

Do not classify files on this path with the parent tag.

Queries

Query

Exclude

Hide the results for queries with the specified properties.

Include

Show the results for queries with the specified properties.

Extraction

Prepare

Customizable step used by all languages.

Packages

One or more packages to install.

Package

After Prepare

Before Index

Index

All Solutions

Specify that all project or solution files should be used for extraction.

Build Command

Buildless

Specify whether or not to extract the codebase without building the code.

.NET

Arguments

Specify a list of additional arguments to dotnet build.

Argument

Version

Specify the version of the .NET Core SDK to use.

Exclude

Specify a list of files and folders to exclude from extraction. Each path is specified by defining paths relative to LGTM_SRC.

Filetypes

Specify additional file types to extract.

Gradle

Version

Include

Specify a list of files and folders to scan for files to extract.

Java Version

Specify the Java version required to build the project.

Maven

Specify Maven settings to use by specifying one or more of the maven subproperties detailed below.

Settings File

Specify the path (absolute or relative) of a Maven settings file to use.

Toolchains File

Specify the path of a Maven toolchains file to use.

Version

Specify the required Maven version.

MSBuild

Arguments

Specify a list of additional arguments to MSBuild.

Argument

Configuration

Specify the MSBuild configuration to use, for example, debug or release.

Platform

Specify the platform to target, for example: x86, x64, or Any CPU.

Target

Specify the MSBuild target.

NuGet Restore

Specify whether or not to perform a NuGet restore for extraction.

Properties Files

Specify whether .properties files are extracted.

Solution

Specify a list of one or more project or solution files for extraction.

TypeScript

Specify how TypeScript files should be extracted.

XML Mode

Specify how XML files should be extracted.

Configure

Customizable step used only by C/C++ extraction.

Command

Override the default process by specifying a list of commands to run to generate the build configuration.

Python Setup

This step is used only by Python blocks. It sets up the Python interpreter and virtual environment, ready for the index step to extract the codebase.

Exclude Requirements

Specify packages to exclude from extraction/analysis.

Package

Requirements

Specify a list of pip packages to install. If any of these packages cannot be installed, the extraction will fail.

Package

Requirement Files

Specify a list of requirements text files to use to set up the environment, or false for none.

Setup Python

Specify a setup.py file to use to set up the environment, or false for none.

Version

Override the version of the Python interpreter used for setup and extraction.

Provide a JSON object that satisfies the schema "lgtm". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"type":"object","properties":{"sdkName":{"type":"string","minLength":1,"description":"The name of your SDK"},"apiVersion":{"type":"string","description":"version of your API"},"apiName":{"type":"string","description":"name of your API"},"specFilePath":{"type":"string","minLength":1,"description":"A local relative path to your specification file or a publicly reachable URL to the spec file"},"languages":{"type":"array","items":{"type":"string","enum":["java","python","typescript","csharp","go","terraform","swift","php","mcp"]},"description":"The list of languages you want to generate SDKs for"},"createDocs":{"type":"boolean","description":"Should developer documentation be generated?\n docs are supported for: java, python and typescript","default":false},"workflows":{"type":"object","properties":{"path":{"type":"string","description":"A local relative path to your arrazo specification file or a publicly reachable URL to the arrazo spec file"},"outputName":{"type":"string","description":"The desired output name for the workflow"}},"required":["path"],"additionalProperties":false,"description":"The workflow configuration"},"docs":{"type":"array","items":{"type":"string","enum":["api","snippets","enhancedApiSpec"]},"description":"Should API documentation or code snippets be generated?"},"auth":{"type":"array","items":{"type":"string","enum":["apikey","basic","bearer","custom","oauth"]}},"customizations":{"type":"object","properties":{"authentication":{"type":"object","properties":{"access":{"type":"object","properties":{"prefix":{"type":"string","description":"The prefix to use for the access authentication","default":""}},"additionalProperties":false},"apiKey":{"type":"object","properties":{"header":{"type":"string","description":"The header to use for the api key authentication","default":""}},"additionalProperties":false},"basic":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false},"custom":{"type":"object","properties":{"prefix":{"type":"string","description":"The prefix to use for the custom authentication","default":""}},"additionalProperties":false},"oauth":{"type":"object","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable oauth authentication"},"basic":{"type":"boolean","default":false,"description":"Use basic authentication for the oauth token"},"tokenEndpoint":{"type":"object","properties":{"path":{"type":"string","description":"The path to use for the oauth token endpoint. This is used to retrieve the oauth token from the server"},"method":{"type":"string","enum":["get","post"],"default":"post","description":"The method to use for the oauth token endpoint"},"definition":{"type":"object","properties":{},"additionalProperties":true,"description":"The definition of the token endpoint"}},"required":["path","definition"],"additionalProperties":false},"securityScheme":{"type":"object","properties":{"name":{"type":"string","description":"The name of the security scheme for the oauth"},"definition":{"type":"object","properties":{},"additionalProperties":true,"description":"The security scheme definition for the oauth."}},"required":["name","definition"],"additionalProperties":false,"description":"The security scheme definition for the oauth"}},"additionalProperties":false}},"additionalProperties":false,"default":{}},"documentation":{"type":"object","properties":{"snippets":{"type":"object","properties":{"format":{"type":"string","enum":["md","json"],"description":"The format of the documentation code snippets","default":"md"}},"additionalProperties":false},"enhancedApiSpec":{"type":"object","properties":{"customOutputName":{"type":"string","description":"Name of the output file, will default to enhancedApiSpec.json"}},"additionalProperties":false}},"additionalProperties":false},"devContainer":{"type":"boolean","description":"Should example dev container files be generated?","default":true},"environmentVariables":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","description":"A description of the environment variable"},"name":{"type":"string","description":"The name of the environment variable"}},"required":["description","name"],"additionalProperties":false,"description":"An environment variable"}},"endpointCustomizations":{"anyOf":[{"anyOf":[{"not":{}},{"type":"object","additionalProperties":{"type":"object","properties":{"get":{"type":"object","properties":{"operationId":{"type":"string"},"streaming":{"type":"boolean"},"scopes":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"pagination":{"type":"object","properties":{"type":{"type":"string","const":"limitOffset"},"inputFields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"in":{"type":"string","const":"query"},"type":{"type":"string","enum":["limit","offset"]}},"required":["name","in","type"],"additionalProperties":false}},"resultsArray":{"type":"object","properties":{"results":{"type":"string"},"defaultPageSize":{"type":"number"}},"required":["results","defaultPageSize"],"additionalProperties":false}},"required":["type","inputFields","resultsArray"],"additionalProperties":false}},"additionalProperties":false},"post":{"$ref":"#/properties/customizations/properties/endpointCustomizations/anyOf/0/anyOf/1/additionalProperties/properties/get"},"put":{"$ref":"#/properties/customizations/properties/endpointCustomizations/anyOf/0/anyOf/1/additionalProperties/properties/get"},"delete":{"$ref":"#/properties/customizations/properties/endpointCustomizations/anyOf/0/anyOf/1/additionalProperties/properties/get"},"patch":{"$ref":"#/properties/customizations/properties/endpointCustomizations/anyOf/0/anyOf/1/additionalProperties/properties/get"}},"additionalProperties":true}}]},{"type":"string","pattern":"^[\\w./\\\\-]+$"},{"type":"string","format":"uri"}],"description":"Customizations for specific endpoints"},"environments":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the environment"},"url":{"type":"string","format":"uri","description":"The URL of the environment"}},"required":["name","url"],"additionalProperties":false,"description":"A deployment environment"}},"generateEnv":{"type":"boolean","description":"Should example .env files be generated?","default":true},"hookDependencies":{"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string","description":"The groupId of the hook dependency"},"name":{"type":"string","description":"The name of the hook dependency"},"version":{"type":"string","description":"The version of the hook dependency"}},"required":["name","version"],"additionalProperties":false,"description":"A dependency that should be installed for the hook"}},"includeOptionalSnippetParameters":{"type":"boolean","description":"toggles whether optional parameters are included in code snippets in generated SDK documentation.","default":true},"inferServiceNames":{"type":"boolean","description":"Should the SDKs infer service names?","default":false},"injectedModels":{"type":"array","items":{"type":"string"},"description":"A list of all custom models paths"},"license":{"type":"object","properties":{"type":{"type":"string","enum":["MIT","GPL3","APACHE","NONE","CUSTOM"],"description":"What license should the SDKs be covered under?","default":"NONE"},"url":{"type":"string","format":"uri","description":"URL for a CUSTOM license"}},"additionalProperties":false,"description":"Optional configuration for licensing the SDKs"},"refreshToken":{"type":"object","properties":{"bearerKey":{"type":"string","description":"The key to use for the bearer token"},"endpoint":{"type":"string","description":"The endpoint to use for refreshing the token"},"refreshKey":{"type":"string","description":"The key to use for the refresh token"}},"required":["bearerKey","endpoint","refreshKey"],"additionalProperties":false,"description":"The parameters for the refresh token system"},"responseHeaders":{"type":"boolean","description":"Should the SDKs return a response with both the data and headers?","default":false},"buildAllModels":{"type":"boolean","description":"Should unreferenced models be built?","default":false},"retry":{"type":"object","properties":{"backOffFactor":{"type":"number","exclusiveMinimum":0,"description":"What is the exponent base used to calulate wait times?"},"enabled":{"type":"boolean","description":"Should the SDKs include retry behavior?"},"httpCodesToRetry":{"type":"array","items":{"type":"integer","minimum":200,"maximum":599},"description":"What HTTP codes should the SDKs retry on?"},"httpMethodsToRetry":{"type":"array","items":{"type":"string","enum":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","CONNECT","TRACE"]},"description":"What HTTP methods should the SDKs retry on?"},"maxAttempts":{"type":"number","description":"How many attempts should the SDKs make before giving up?"},"maxDelay":{"type":"number","minimum":0,"description":"What is the maximum time between attempts in milliseconds?"},"retryDelay":{"type":"number","description":"How long should the SDKs wait between attempts in milliseconds?"},"retryDelayJitter":{"type":"number","minimum":0,"description":"What is the maximum random jitter applied to wait times in milliseconds?"}},"required":["retryDelay"],"additionalProperties":false,"description":"Retry functionality customization"},"readme":{"type":"object","properties":{"apiDescription":{"type":"string","description":"Overwrites the SDK README description"}},"additionalProperties":false}},"additionalProperties":false,"description":"Customizations to SDKs"},"baseUrl":{"type":"string","minLength":1,"description":"The Base URL of your SDK"},"languageOptions":{"type":"object","properties":{"csharp":{"type":"object","properties":{"packageId":{"type":"string","description":"The PackageId of your C# SDK. It identifies your NuGet package."},"authors":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","format":"email","default":""},"name":{"type":"string"}},"required":["name"],"additionalProperties":false},"description":"The list of authors who contribute to the SDK (In TypeScript the first is the only one displayed)"},"githubRepoName":{"type":"string","description":"The name of the Github Repo that will be Pull Requested to"},"homepage":{"type":"string","format":"uri"},"hookDependencies":{"type":"array","items":{"$ref":"#/properties/customizations/properties/hookDependencies/items"}},"ignoreFiles":{"type":"array","items":{"type":"string","description":"A file path that should be ignored"},"description":"List of files that shouldn't be produced by liblab, used for when you want to keep specific files safe from changes"},"liblabVersion":{"type":"string","pattern":"^(\\d+)$","description":"The version of the liblab SDK Generator"},"renameIllegalModelProperties":{"type":"boolean","description":"renames all model properties with illegal names, during the SDK generation"},"sdkVersion":{"type":"string","description":"The version of the SDK"},"targetBranch":{"type":"string","minLength":2,"description":"The target to branch off from when opening a PR, if not specified will default to main branch"}},"additionalProperties":false,"description":"C# specific options"},"go":{"type":"object","properties":{"goModuleName":{"type":"string","description":"The name of the go module"},"additionalConstructorParameters":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the variable"},"example":{"type":"string","description":"An example value for the variable"}},"required":["name"],"additionalProperties":false,"description":"An additional variable to be included in the constructor"},"description":"Additional variables to include in the constructor and access in the hooks"},"authors":{"$ref":"#/properties/languageOptions/properties/csharp/properties/authors"},"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"homepage":{"$ref":"#/properties/languageOptions/properties/csharp/properties/homepage"},"hookDependencies":{"$ref":"#/properties/languageOptions/properties/csharp/properties/hookDependencies"},"ignoreFiles":{"$ref":"#/properties/languageOptions/properties/csharp/properties/ignoreFiles"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion"},"renameIllegalModelProperties":{"$ref":"#/properties/languageOptions/properties/csharp/properties/renameIllegalModelProperties"},"sdkVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/sdkVersion"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch"}},"required":["goModuleName"],"additionalProperties":false,"description":"go specific options"},"java":{"type":"object","properties":{"groupId":{"type":"string","description":"The groupId of the Java package"},"packageName":{"type":"string","description":"The name of the Java package"},"artifactId":{"type":"string","description":"The artifactId of the Java package"},"includeKotlinSnippets":{"type":"boolean","default":false,"description":"Include Kotlin snippets and documentation in the generated SDK"},"developers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the developer"},"email":{"type":"string","format":"email","description":"The email of the developer"},"organization":{"type":"string","description":"The organization of the developer"},"organizationUrl":{"type":"string","format":"uri","description":"The organization URL of the developer. It is acceptable to link to your profile on GitHub or other forges, if you do no have a website."}},"required":["name","email","organization","organizationUrl"],"additionalProperties":false},"description":"The developers' information to add to pom.xml for project association"},"additionalConstructorParameters":{"$ref":"#/properties/languageOptions/properties/go/properties/additionalConstructorParameters","description":"Additional variables to include in the constructor and access in the hooks"},"authors":{"$ref":"#/properties/languageOptions/properties/csharp/properties/authors"},"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"homepage":{"$ref":"#/properties/languageOptions/properties/csharp/properties/homepage"},"hookDependencies":{"$ref":"#/properties/languageOptions/properties/csharp/properties/hookDependencies"},"ignoreFiles":{"$ref":"#/properties/languageOptions/properties/csharp/properties/ignoreFiles"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion","default":"2","description":"The version of the liblab SDK Generator"},"renameIllegalModelProperties":{"$ref":"#/properties/languageOptions/properties/csharp/properties/renameIllegalModelProperties"},"sdkVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/sdkVersion"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch"}},"additionalProperties":false,"description":"Java specific options"},"python":{"type":"object","properties":{"alwaysInitializeOptionals":{"type":"boolean","default":true},"classifiers":{"type":"array","items":{"type":"string"}},"enforceRequestValidation":{"type":"boolean","default":false,"description":"Should the Python SDK enforce request validation?"},"additionalConstructorParameters":{"$ref":"#/properties/languageOptions/properties/go/properties/additionalConstructorParameters","description":"Additional variables to include in the constructor and access in the hooks"},"projectUrls":{"type":"object","additionalProperties":{"type":"string","format":"uri"},"propertyNames":{"minLength":1}},"pypiPackageName":{"type":"string","description":"The name of the Python project"},"strictVersion":{"type":"boolean","default":false,"description":"Should the version be strict?"},"authors":{"$ref":"#/properties/languageOptions/properties/csharp/properties/authors"},"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"homepage":{"$ref":"#/properties/languageOptions/properties/csharp/properties/homepage"},"hookDependencies":{"$ref":"#/properties/languageOptions/properties/csharp/properties/hookDependencies"},"ignoreFiles":{"$ref":"#/properties/languageOptions/properties/csharp/properties/ignoreFiles"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion"},"renameIllegalModelProperties":{"$ref":"#/properties/languageOptions/properties/csharp/properties/renameIllegalModelProperties"},"sdkVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/sdkVersion"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch"}},"additionalProperties":false,"description":"Python specific options"},"php":{"type":"object","properties":{"packageName":{"type":"string","pattern":"^[\\da-z]([._-]?[\\da-z]+)*\\/[\\da-z](([._]|-{1,2})?[\\da-z]+)*$","description":"The name of the composer package","default":"company/sdk"},"additionalConstructorParameters":{"$ref":"#/properties/languageOptions/properties/go/properties/additionalConstructorParameters","description":"Additional variables to include in the constructor and access in the hooks"},"authors":{"$ref":"#/properties/languageOptions/properties/csharp/properties/authors"},"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"homepage":{"$ref":"#/properties/languageOptions/properties/csharp/properties/homepage"},"hookDependencies":{"$ref":"#/properties/languageOptions/properties/csharp/properties/hookDependencies"},"ignoreFiles":{"$ref":"#/properties/languageOptions/properties/csharp/properties/ignoreFiles"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion"},"renameIllegalModelProperties":{"$ref":"#/properties/languageOptions/properties/csharp/properties/renameIllegalModelProperties"},"sdkVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/sdkVersion"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch"}},"additionalProperties":false,"description":"PHP specific options"},"swift":{"type":"object","properties":{"authors":{"$ref":"#/properties/languageOptions/properties/csharp/properties/authors"},"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"homepage":{"$ref":"#/properties/languageOptions/properties/csharp/properties/homepage"},"hookDependencies":{"$ref":"#/properties/languageOptions/properties/csharp/properties/hookDependencies"},"ignoreFiles":{"$ref":"#/properties/languageOptions/properties/csharp/properties/ignoreFiles"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion"},"renameIllegalModelProperties":{"$ref":"#/properties/languageOptions/properties/csharp/properties/renameIllegalModelProperties"},"sdkVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/sdkVersion"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch"}},"additionalProperties":false,"description":"Swift specific options"},"terraform":{"type":"object","properties":{"hideComputedDiff":{"type":"boolean","description":"Should the terraform provider hide computed diff? Default is false","default":false},"mockAcceptance":{"type":"boolean","description":"Should the terraform provider mock acceptance tests? Default is true","default":true},"providerGoModuleName":{"type":"string","description":"The name of the go module used in the terraform provider module"},"providerName":{"type":"string","description":"The name of the terraform provider module"},"providerSchemaConfig":{"type":"object","properties":{"addressKey":{"type":"string"},"authTokenKey":{"type":"string"}},"additionalProperties":false},"providerVersion":{"type":"string","description":"The version of the terraform provider module"},"authors":{"$ref":"#/properties/languageOptions/properties/csharp/properties/authors"},"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"homepage":{"$ref":"#/properties/languageOptions/properties/csharp/properties/homepage"},"hookDependencies":{"$ref":"#/properties/languageOptions/properties/csharp/properties/hookDependencies"},"ignoreFiles":{"$ref":"#/properties/languageOptions/properties/csharp/properties/ignoreFiles"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion"},"renameIllegalModelProperties":{"$ref":"#/properties/languageOptions/properties/csharp/properties/renameIllegalModelProperties"},"sdkVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/sdkVersion"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch"}},"required":["providerGoModuleName","providerName","providerVersion"],"additionalProperties":false,"description":"terraform provider specific options"},"typescript":{"type":"object","properties":{"bundle":{"type":"boolean","description":"Should the SDKs be bundled?","default":true},"denoteCommon":{"type":"boolean","description":"Should the SDK mark common models with the `Common` postfix? (Useful when conflicts occur)","default":false},"exportClassDefault":{"type":"boolean","description":"Should the SDK export the main class as default?","default":false},"httpClient":{"type":"string","enum":["axios","fetch","https"],"description":"The HTTP client to use","default":"fetch"},"npmName":{"type":"string","description":"The NPM package name to publish to"},"npmOrg":{"type":"string","description":"The NPM organization to publish to"},"additionalConstructorParameters":{"$ref":"#/properties/languageOptions/properties/go/properties/additionalConstructorParameters","description":"Additional variables to include in the constructor and access in the hooks"},"authors":{"$ref":"#/properties/languageOptions/properties/csharp/properties/authors"},"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"homepage":{"$ref":"#/properties/languageOptions/properties/csharp/properties/homepage"},"hookDependencies":{"$ref":"#/properties/languageOptions/properties/csharp/properties/hookDependencies"},"ignoreFiles":{"$ref":"#/properties/languageOptions/properties/csharp/properties/ignoreFiles"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion","default":"1","description":"The version of the liblab SDK Generator"},"renameIllegalModelProperties":{"$ref":"#/properties/languageOptions/properties/csharp/properties/renameIllegalModelProperties"},"sdkVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/sdkVersion"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch"},"generateEnumAs":{"type":"string","enum":["union","enum"],"default":"enum"},"namingStrategy":{"type":"string","enum":["default","originalPropertyNames"]}},"additionalProperties":false,"description":"TypeScript specific options"},"mcp":{"$ref":"#/properties/languageOptions/properties/typescript","description":"TypeScript specific options"}},"additionalProperties":false,"description":"Language specific options"},"mcp":{"type":"object","properties":{"generate":{"type":"boolean","description":"Should mcp server be generated?","default":false}},"additionalProperties":false,"description":"MCP server options"},"liblabVersion":{"$ref":"#/properties/languageOptions/properties/csharp/properties/liblabVersion","description":"The version of the liblab SDK Generator"},"publishing":{"type":"object","properties":{"githubOrg":{"type":"string","description":"The GitHub organization to publish to"}},"required":["githubOrg"],"additionalProperties":false,"description":"Publishing options"},"validationsToIgnore":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"The rule code to ignore"},"path":{"type":"array","items":{"type":["string","number"]},"description":"Path that should be ignored"}},"required":["code"],"additionalProperties":false}},"integrations":{"type":"object","properties":{"enhancedApiSpec":{"type":"object","properties":{"githubRepoName":{"$ref":"#/properties/languageOptions/properties/csharp/properties/githubRepoName"},"targetBranch":{"$ref":"#/properties/languageOptions/properties/csharp/properties/targetBranch","description":"The target to branch off from when opening a PR, if not specified will default to main branch","default":"main"},"provider":{"type":"string","enum":["mintlify","redocly","readmeIO"],"description":"Selecting the provider will enable the liblab service to generate the required files for your integration provider"},"redocly":{"type":"object","properties":{"openapiPath":{"type":"string"}},"additionalProperties":false},"readmeIO":{"type":"object","properties":{"openapiPath":{"type":"string"}},"additionalProperties":false},"mintlify":{"type":"object","properties":{"codeSamplesLanguages":{"type":"array","items":{"type":"string"},"description":"Selecting the languages to enhance and include in the mintlify integration. The selected languages will override the languages shown in the mintlify UI."}},"additionalProperties":false}},"required":["githubRepoName","provider"],"additionalProperties":false,"description":"API documentation integration object"}},"additionalProperties":false}},"required":["specFilePath","languages"],"additionalProperties":false,"description":"The liblab Configuration File","$schema":"http://json-schema.org/draft-07/schema#","allowComments":true,"fileMatch":["liblab.config.json","liblab.config.js","*.liblab.config.json"]}
</schema>

[User] Provide a JSON object that satisfies the schema "liblab.config.schema". Here are the required top‑level fields: specFilePath, languages. Return only the valid JSON object.

The name of your SDK

version of your API

name of your API

A local relative path to your specification file or a publicly reachable URL to the spec file

java python typescript csharp go terraform swift php mcp

The list of languages you want to generate SDKs for

Should developer documentation be generated?
 docs are supported for: java, python and typescript

A local relative path to your arrazo specification file or a publicly reachable URL to the arrazo spec file

The desired output name for the workflow

The workflow configuration

Should API documentation or code snippets be generated?

The prefix to use for the access authentication

The header to use for the api key authentication

The prefix to use for the custom authentication

Enable oauth authentication

Use basic authentication for the oauth token

The path to use for the oauth token endpoint. This is used to retrieve the oauth token from the server

The method to use for the oauth token endpoint

The definition of the token endpoint

The name of the security scheme for the oauth

The security scheme definition for the oauth.

The format of the documentation code snippets

Name of the output file, will default to enhancedApiSpec.json

Should example dev container files be generated?

A description of the environment variable

The name of the environment variable

An environment variable

Customizations for specific endpoints

The name of the environment

The URL of the environment

A deployment environment

Should example .env files be generated?

The groupId of the hook dependency

The name of the hook dependency

The version of the hook dependency

A dependency that should be installed for the hook

toggles whether optional parameters are included in code snippets in generated SDK documentation.

Should the SDKs infer service names?

A list of all custom models paths

What license should the SDKs be covered under?

URL for a CUSTOM license

Optional configuration for licensing the SDKs

The key to use for the bearer token

The endpoint to use for refreshing the token

The key to use for the refresh token

The parameters for the refresh token system

Should the SDKs return a response with both the data and headers?

Should unreferenced models be built?

What is the exponent base used to calulate wait times?

Should the SDKs include retry behavior?

What HTTP codes should the SDKs retry on?

GET POST PUT DELETE PATCH HEAD OPTIONS CONNECT TRACE

What HTTP methods should the SDKs retry on?

How many attempts should the SDKs make before giving up?

What is the maximum time between attempts in milliseconds?

How long should the SDKs wait between attempts in milliseconds?

What is the maximum random jitter applied to wait times in milliseconds?

Retry functionality customization

Overwrites the SDK README description

Customizations to SDKs

The Base URL of your SDK

The PackageId of your C# SDK. It identifies your NuGet package.

The list of authors who contribute to the SDK (In TypeScript the first is the only one displayed)

The name of the Github Repo that will be Pull Requested to

A file path that should be ignored

List of files that shouldn't be produced by liblab, used for when you want to keep specific files safe from changes

The version of the liblab SDK Generator

renames all model properties with illegal names, during the SDK generation

The version of the SDK

The target to branch off from when opening a PR, if not specified will default to main branch

C# specific options

The name of the go module

The name of the variable

An example value for the variable

An additional variable to be included in the constructor

Additional variables to include in the constructor and access in the hooks

go specific options

The groupId of the Java package

The name of the Java package

The artifactId of the Java package

Include Kotlin snippets and documentation in the generated SDK

The name of the developer

The email of the developer

The organization of the developer

The organization URL of the developer. It is acceptable to link to your profile on GitHub or other forges, if you do no have a website.

The developers' information to add to pom.xml for project association

The version of the liblab SDK Generator

Java specific options

Should the Python SDK enforce request validation?

The name of the Python project

Should the version be strict?

Python specific options

The name of the composer package

PHP specific options

Swift specific options

Should the terraform provider hide computed diff? Default is false

Should the terraform provider mock acceptance tests? Default is true

The name of the go module used in the terraform provider module

The name of the terraform provider module

The version of the terraform provider module

terraform provider specific options

Should the SDKs be bundled?

Should the SDK mark common models with the `Common` postfix? (Useful when conflicts occur)

Should the SDK export the main class as default?

The HTTP client to use

The NPM package name to publish to

The NPM organization to publish to

The version of the liblab SDK Generator

TypeScript specific options

TypeScript specific options

Language specific options

Should mcp server be generated?

MCP server options

The version of the liblab SDK Generator

The GitHub organization to publish to

Publishing options

The rule code to ignore

Path that should be ignored

Selecting the provider will enable the liblab service to generate the required files for your integration provider

Selecting the languages to enhance and include in the mintlify integration. The selected languages will override the languages shown in the mintlify UI.

API documentation integration object

The liblab Configuration File

Provide a JSON object that satisfies the schema "liblab.config.schema". Here are the required top‑level fields: specFilePath, languages. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/libman.json","allOf":[{"anyOf":[{"$ref":"#/definitions/specifiedProvider"},{"$ref":"#/definitions/defaultProvider"}]},{"anyOf":[{"$ref":"#/definitions/specifiedDestination"},{"$ref":"#/definitions/defaultDestination"}]},{"if":{"$ref":"#/definitions/fileMapping"},"then":{"$ref":"#/definitions/manifestVersion3"}}],"definitions":{"libraryEntry":{"required":["library"],"properties":{"files":{"description":"The file names of the individual files to copy to the project.","type":"array","default":null,"items":{"type":"string","minLength":1}},"library":{"description":"The unique identifier of the library.","type":"string","minLength":1},"destination":{"description":"The relative folder path from this config file to the location where the files should be copied to.","type":"string","pattern":"^[^\\\\]+$"},"provider":{"description":"The unique identifier of the provider","type":"string","minLength":1},"fileMappings":{"description":"A list of file mappings.","type":"array","items":{"type":"object","properties":{"root":{"description":"The mapping root within the library contents. If omitted, defaults to the library root.","type":"string","minLength":1},"destination":{"description":"The destination for files included in this mapping. If omitted, defaults to a destination set for the library.","type":"string","minLength":1},"files":{"description":"The file names of the individual files to copy to the project, relative to the specified root. If omitted, defaults to all files.","type":"array","default":null,"items":{"type":"string","minLength":1}}}}}}},"specifiedProvider":{"properties":{"libraries":{"items":{"required":["provider"]}}},"not":{"required":["defaultProvider"]}},"defaultProvider":{"properties":{"defaultProvider":{"description":"The unique identifier of the provider to use as default.","type":"string","minLength":1}}},"specifiedDestination":{"properties":{"libraries":{"items":{"required":["destination"]}}},"not":{"required":["defaultDestination"]}},"defaultDestination":{"properties":{"defaultDestination":{"description":"The default destination to place library files.","type":"string","minLength":1}}},"fileMapping":{"properties":{"libraries":{"contains":{"required":["fileMappings"]}}}},"manifestVersion3":{"properties":{"version":{"const":"3.0"}},"required":["version"]}},"properties":{"libraries":{"description":"A list of library references.","type":"array","items":{"$ref":"#/definitions/libraryEntry"}},"version":{"description":"The syntax version of this config file.","enum":["1.0","3.0"],"default":"3.0"}},"required":["libraries","version"],"title":"JSON schema for client-side library config files","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "JSON schema for client-side library config files". Here are the required top‑level fields: libraries, version. Return only the valid JSON object.

The file names of the individual files to copy to the project.

The unique identifier of the library.

The relative folder path from this config file to the location where the files should be copied to.

The unique identifier of the provider

A list of file mappings.

The mapping root within the library contents. If omitted, defaults to the library root.

The destination for files included in this mapping. If omitted, defaults to a destination set for the library.

The file names of the individual files to copy to the project, relative to the specified root. If omitted, defaults to all files.

The unique identifier of the provider to use as default.

The default destination to place library files.

A list of library references.

The syntax version of this config file.

Provide a JSON object that satisfies the schema "JSON schema for client-side library config files". Here are the required top‑level fields: libraries, version. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"name":{"type":"string"},"display_name":{"type":"string"},"description":{"type":"string"},"dependencies":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"ref":{"type":"string"},"custom_url":{"type":"string"}}}}},"required":["name","display_name","description"]}
</schema>

[User] Provide a JSON object that satisfies the schema "library_metadata". Here are the required top‑level fields: name, display_name, description. Return only the valid JSON object.

Provide a JSON object that satisfies the schema "library_metadata". Here are the required top‑level fields: name, display_name, description. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://json.schemastore.org/license-report-config.json","properties":{"output":{"default":"json","description":"license report output format","enum":["json","table","csv","html"],"type":"string"},"html":{"type":"object","description":"HTML output format","properties":{"cssFile":{"default":"path.resolve(__dirname, '..', 'defaultHtmlStyle.css')","type":"string"},"tableify":{"description":"passed directly to tableify (see: https://github.com/kessler/node-tableify)","type":"object"}}},"delimiter":{"default":",","description":"CSV output format","type":"string"},"escapeCsvFields":{"default":"false","description":"CSV output format: escape fields containing delimiter character","type":"boolean"},"only":{"default":"null","description":"export deps. or deps/dev-/opt-/peer- deps. falsey -> output everything","type":"object"},"registry":{"default":"https://registry.npmjs.org/","description":"NPM registry URL","type":"string"},"exclude":{"description":"package names that will be excluded from the report","items":{"type":"string"},"type":"array"},"fields":{"description":"fields participating in the report and their order","items":{"enum":["department","relatedTo","name","licensePeriod","material","licenseType","link","remoteVersion","installedVersion","author"],"type":"string"},"type":"array"},"comment":{"description":"export deps. or deps/dev-/opt-/peer- deps. falsey -> output everything","properties":{"label":{"type":"string","default":"comment"},"value":{"type":"string","default":""}},"type":"object"},"httpRetryOptions":{"properties":{"delay":{"type":"number","default":1000},"maxAttempts":{"type":"number","default":5}},"type":"object"},"package":{"description":"path to the package.json","default":"./package.json","type":"string"}},"title":"JSON schema for license report tool configuration file","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "JSON schema for license report tool configuration file". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

license report output format

HTML output format

passed directly to tableify (see: https://github.com/kessler/node-tableify)

CSV output format

CSV output format: escape fields containing delimiter character

export deps. or deps/dev-/opt-/peer- deps. falsey -> output everything

NPM registry URL

package names that will be excluded from the report

fields participating in the report and their order

department relatedTo name licensePeriod material licenseType link remoteVersion installedVersion author

path to the package.json

Provide a JSON object that satisfies the schema "JSON schema for license report tool configuration file". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","id":"https://json.schemastore.org/linkinator-config.json","properties":{"concurrency":{"description":"The number of connections to make simultaneously.","type":"number","default":100},"config":{"description":"The config file path.","type":"string"},"recurse":{"description":"By default, all scans are shallow. Only the top level links on the requested page will be scanned. By setting recurse to true, the crawler will follow all links on the page, and continue scanning links on the same domain for as long as it can go. Results are cached, so no worries about loops.","type":"boolean","default":true},"skip":{"description":"List of urls in regexy form to not include in the check.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"default":"www.googleapis.com"},"format":{"description":"Return the data in CSV or JSON format.","type":"string","default":"json","enum":["json","text","csv"]},"silent":{"description":"If true, does not show links","type":"boolean","default":false},"verbosity":{"description":"The output verbosity","type":"string","default":"error"},"timeout":{"description":"By default, requests made by linkinator do not time out (or follow the settings of the OS). This option (in milliseconds) will fail requests after the configured amount of time.","type":"number","default":"5000"},"markdown":{"description":"Automatically parse and scan markdown if scanning from a location on disk.","type":"boolean","default":false},"serverRoot":{"description":"When scanning a locally directory, customize the location on disk where the server is started. Defaults to the path passed in path.","type":"string","default":"./"},"directoryListing":{"description":"Automatically serve a static file listing page when serving a directory. Defaults to false.","type":"boolean","default":false},"retry":{"description":"Automatically retry requests that respond with an HTTP 429, and include a retry-after header. The RetryConfig option is a placeholder for fine-grained controls to be implemented at a later time, and is only included here to signal forward-compatibility.","oneOf":[{"type":"boolean"},{"type":"object"}]},"retryErrors":{"description":"Automatically retry requests that return 5xx or unknown response.","type":"boolean"},"retryErrorsCount":{"description":"How many times should an error be retried?","type":"number"},"retryErrorsJitter":{"description":"Random jitter applied to error retry.","type":"number"},"urlRewriteExpressions":{"description":"Collection of objects that contain a search pattern, and replacement.","type":"array"}},"title":"JSON schema for Linkinator","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "JSON schema for Linkinator". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

The number of connections to make simultaneously.

The config file path.

By default, all scans are shallow. Only the top level links on the requested page will be scanned. By setting recurse to true, the crawler will follow all links on the page, and continue scanning links on the same domain for as long as it can go. Results are cached, so no worries about loops.

List of urls in regexy form to not include in the check.

Return the data in CSV or JSON format.

If true, does not show links

The output verbosity

By default, requests made by linkinator do not time out (or follow the settings of the OS). This option (in milliseconds) will fail requests after the configured amount of time.

Automatically parse and scan markdown if scanning from a location on disk.

When scanning a locally directory, customize the location on disk where the server is started. Defaults to the path passed in path.

Automatically serve a static file listing page when serving a directory. Defaults to false.

Automatically retry requests that respond with an HTTP 429, and include a retry-after header. The RetryConfig option is a placeholder for fine-grained controls to be implemented at a later time, and is only included here to signal forward-compatibility.

Automatically retry requests that return 5xx or unknown response.

How many times should an error be retried?

Random jitter applied to error retry.

Collection of objects that contain a search pattern, and replacement.

JSON schema for Linkinator

Provide a JSON object that satisfies the schema "JSON schema for Linkinator". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Speakeasy Lint Configuration Schema","type":"object","additionalProperties":false,"properties":{"lintVersion":{"type":"string","const":"1.0.0"},"defaultRuleset":{"type":"string"},"rulesets":{"type":"object","additionalProperties":{"$ref":"#/$defs/ruleset"}}},"required":["lintVersion","defaultRuleset","rulesets"],"$defs":{"ruleset":{"type":"object","additionalProperties":false,"properties":{"rules":{"type":"object","additionalProperties":{"$ref":"#/$defs/rule"}},"rulesets":{"type":"array","items":{"type":"string"}}}},"rule":{"type":"object","additionalProperties":false,"properties":{"given":{"type":"string"},"then":{"oneOf":[{"$ref":"#/$defs/then"},{"type":"array","items":{"$ref":"#/$defs/then"}}]},"severity":{"type":"string","enum":["error","warn","info","hint","off"]},"message":{"type":"string"},"description":{"type":"string"},"formats":{"type":"array","items":{"type":"string","enum":["oas3","oas3_0","oas3_1"]}},"resolved":{"type":"boolean","default":false}}},"then":{"type":"object","additionalProperties":false,"properties":{"field":{"type":"string"},"function":{"type":"string"},"functionOptions":{"type":"object"}}}}}
</schema>

[User] Provide a JSON object that satisfies the schema "Speakeasy Lint Configuration Schema". Here are the required top‑level fields: lintVersion, defaultRuleset, rulesets. Return only the valid JSON object.

Speakeasy Lint Configuration Schema

Provide a JSON object that satisfies the schema "Speakeasy Lint Configuration Schema". Here are the required top‑level fields: lintVersion, defaultRuleset, rulesets. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/lintstagedrc.schema.json","anyOf":[{"$ref":"#/definitions/advancedConfig"},{"$ref":"#/definitions/basicConfig"}],"definitions":{"$schemaProperty":{"type":"string"},"linter":{"type":["string","array"]},"lintersMap":{"description":"keys (String) are glob patterns, values (Array<String> | String) are commands to execute.","type":"object","additionalProperties":{"$ref":"#/definitions/linter"}},"globOptions":{"description":"micromatch options to customize how glob patterns match files.","type":"object","properties":{"matchBase":{"type":"boolean","default":true},"dot":{"type":"boolean","default":true}},"additionalProperties":false},"advancedConfig":{"properties":{"$schema":{"$ref":"#/definitions/$schemaProperty"},"concurrent":{"description":"Controls if linters are run simultaneously for each glob pattern.","type":"boolean","default":true},"chunkSize":{"description":"Max allowed chunk size based on number of files for glob pattern. This option is only applicable on Windows based systems to avoid command length limitations","type":"number","minimum":1},"globOptions":{"$ref":"#/definitions/globOptions","description":"micromatch options to customize how glob patterns match files."},"linters":{"$ref":"#/definitions/lintersMap","description":"keys (String) are glob patterns, values (Array<String> | String) are commands to execute."},"ignore":{"description":"array of glob patterns to entirely ignore from any task.","type":"array","items":{"type":"string"},"default":"['**/docs/**/*.js']"},"subTaskConcurrency":{"description":"Controls concurrency for processing chunks generated for each linter. This option is only applicable on Windows. Execution is not concurrent by default.","type":"integer","minimum":1,"default":1},"renderer":{"enum":["update","verbose"],"default":"update"},"relative":{"description":"If true it will give the relative path from your package.json directory to your linter arguments.","type":"boolean","default":false}},"additionalProperties":false},"basicConfig":{"properties":{"$schema":{"$ref":"#/definitions/$schemaProperty"}},"propertyNames":{"not":{"enum":["concurrent","chunkSize","globOptions","linters","ignore","subTaskConcurrency","renderer","relative"]}},"additionalProperties":{"$ref":"#/definitions/linter"}}}}
</schema>

[User] Provide a JSON object that satisfies the schema "lintstagedrc.schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

keys (String) are glob patterns, values (Array<String> | String) are commands to execute.

micromatch options to customize how glob patterns match files.

Controls if linters are run simultaneously for each glob pattern.

Max allowed chunk size based on number of files for glob pattern. This option is only applicable on Windows based systems to avoid command length limitations

array of glob patterns to entirely ignore from any task.

Controls concurrency for processing chunks generated for each linter. This option is only applicable on Windows. Execution is not concurrent by default.

If true it will give the relative path from your package.json directory to your linter arguments.

concurrent chunkSize globOptions linters ignore subTaskConcurrency renderer relative

Provide a JSON object that satisfies the schema "lintstagedrc.schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","id":"https://json.schemastore.org/linutil-tab-data.json","definitions":{"string-property":{"type":"string","minLength":1,"pattern":"[^ ]"}},"title":"tab data","description":"Tab data","type":"object","required":["name","data"],"properties":{"name":{"$ref":"#/definitions/string-property","title":"name","description":"The name of a tab"},"multi_selectable":{"title":"multi_selectable","description":"Whether the tab entries should be able to multi select","type":"boolean"},"data":{"title":"data","description":"The data of a tab","type":"array","minItems":1,"uniqueItems":true,"items":{"title":"data entry","description":"The data entry of a tab","type":"object","properties":{"name":{"$ref":"#/definitions/string-property","title":"name","description":"The name of a tab entry"},"script":{"$ref":"#/definitions/string-property","title":"script","description":"The script run of a tab entry"},"description":{"$ref":"#/definitions/string-property","title":"description","description":"Description of the tab entry"},"task_list":{"$ref":"#/definitions/string-property","title":"task_list","description":"The task list of a tab entry"},"preconditions":{"title":"preconditions","description":"Preconditions of a tab entry","type":"array","minItems":1,"uniqueItems":true,"items":{"title":"precondition entry","description":"The precondition entry of a tab entry","type":"object","properties":{"matches":{"title":"matches","description":"Whether to require the condition to match or not for a precondition entry","type":"boolean"},"data":{"title":"data","description":"The data of a tab precondition entry","type":"object","properties":{"environment":{"$ref":"#/definitions/string-property","title":"environment","description":"The environment variable of a data"},"command_exists":{"title":"command_exists","description":"The command pre-condition of a data","type":"null"},"file":{"$ref":"#/definitions/string-property","title":"file","description":"The file pre-condition of a data"}},"additionalProperties":false},"values":{"title":"values","description":"The values of a tab precondition entry","type":"array","minItems":1,"uniqueItems":true,"items":{"title":"entry","description":"The entry of values","type":"string"}}},"additionalProperties":false}},"entries":{"title":"entries","description":"The entries of a tab entry","type":"array","minItems":1,"uniqueItems":true,"items":{"title":"entry","description":"The entry","type":"object","properties":{"name":{"$ref":"#/definitions/string-property","title":"name","description":"The name of a tab entry"},"script":{"$ref":"#/definitions/string-property","title":"script","description":"The script run of a tab entry"},"matches":{"title":"matches","description":"Whether to require the condition to match or not for an entry","type":"boolean"},"description":{"$ref":"#/definitions/string-property","title":"description","description":"Description of the tab entry"},"task_list":{"$ref":"#/definitions/string-property","title":"task_list","description":"The task list of a tab entry"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}
</schema>

[User] Provide a JSON object that satisfies the schema "tab data". Here are the required top‑level fields: name, data. Return only the valid JSON object.

tab data

Tab data

name

The name of a tab

multi_selectable

Whether the tab entries should be able to multi select

data

The data of a tab

data entry

The data entry of a tab

name

The name of a tab entry

script

The script run of a tab entry

description

Description of the tab entry

task_list

The task list of a tab entry

preconditions

Preconditions of a tab entry

precondition entry

The precondition entry of a tab entry

matches

Whether to require the condition to match or not for a precondition entry

data

The data of a tab precondition entry

environment

The environment variable of a data

command_exists

The command pre-condition of a data

file

The file pre-condition of a data

values

The values of a tab precondition entry

entry

The entry of values

entries

The entries of a tab entry

entry

The entry

name

The name of a tab entry

script

The script run of a tab entry

matches

Whether to require the condition to match or not for an entry

description

Description of the tab entry

task_list

The task list of a tab entry

Provide a JSON object that satisfies the schema "tab data". Here are the required top‑level fields: name, data. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","id":"https://json.schemastore.org/linutil-tabs.json","title":"tab data","description":"Tab data","type":"object","required":["directories"],"properties":{"directories":{"title":"directories","description":"The directories of tabs","type":"array","minItems":1,"uniqueItems":true,"items":{"title":"directory entry","description":"The directory entry of a tab","type":"string","minLength":1,"pattern":"[^ ]"}}},"additionalProperties":false}
</schema>

[User] Provide a JSON object that satisfies the schema "tab data". Here are the required top‑level fields: directories. Return only the valid JSON object.

tab data

Tab data

directories

The directories of tabs

directory entry

The directory entry of a tab

Provide a JSON object that satisfies the schema "tab data". Here are the required top‑level fields: directories. Return only the valid JSON object.