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

appendAssign appendCombine argOrder assignOp badCall badCond badLock badRegexp badSorting badSyncOnceFunc boolExprSimplify builtinShadow builtinShadowDecl captLocal caseOrder codegenComment commentFormatting commentedOutCode commentedOutImport defaultCaseOrder deferInLoop deferUnlambda deprecatedComment docStub dupArg dupBranchBody dupCase dupImport dupSubExpr dynamicFmtString elseif emptyDecl emptyFallthrough emptyStringTest equalFold evalOrder exitAfterDefer exposedSyncMutex externalErrorReassign filepathJoin flagDeref flagName hexLiteral httpNoBody hugeParam ifElseChain importShadow indexAlloc initClause ioutilDeprecated mapKey methodExprCall nestingReduce newDeref nilValReturn octalLiteral offBy1 paramTypeCombine preferDecodeRune preferFilepathJoin preferFprint preferStringWriter preferWriteByte ptrToRefParam rangeAppendAll rangeExprCopy rangeValCopy redundantSprint regexpMust regexpPattern regexpSimplify returnAfterHttpError ruleguard singleCaseSwitch sliceClear sloppyLen sloppyReassign sloppyTypeAssert sortSlice sprintfQuotedString sqlQuery stringConcatSimplify stringXbytes stringsCompare switchTrue syncMapLoadAndDelete timeExprSimplify todoCommentWithoutDetail tooManyResultsChecker truncateCmp typeAssertChain typeDefFirst typeSwitchVar typeUnparen uncheckedInlineErr underef unlabelStmt unlambda unnamedResult unnecessaryBlock unnecessaryDefer unslice valSwap weakCond whyNoLint wrapperFunc yodaStyleExpr

diagnostic style performance experimental opinionated security

appends asmdecl assign atomic atomicalign bools buildtag cgocall composites copylocks deepequalerrors defers directive errorsas fieldalignment findcall framepointer hostport httpmux httpresponse ifaceassert loopclosure lostcancel nilfunc nilness printf reflectvaluecompare shadow shift sigchanyzer slog sortslice stdmethods stdversion stringintconv structtag testinggoroutine tests timeformat unmarshal unreachable unsafeptr unusedresult unusedwrite waitgroup

add-constant argument-limit atomic banned-characters bare-return blank-imports bool-literal-in-expr call-to-gc cognitive-complexity comment-spacings comments-density confusing-naming confusing-results constant-logical-expr context-as-argument context-keys-type cyclomatic datarace deep-exit defer dot-imports duplicated-imports early-return empty-block empty-lines enforce-map-style enforce-repeated-arg-type-style enforce-slice-style error-naming error-return error-strings errorf exported file-header file-length-limit filename-format flag-parameter function-length function-result-limit get-return identical-branches if-return import-alias-naming import-shadowing imports-blocklist increment-decrement indent-error-flow line-length-limit max-control-nesting max-public-structs modifies-parameter modifies-value-receiver nested-structs optimize-operands-order package-comments range-val-address range-val-in-closure range receiver-naming redefines-builtin-id redundant-build-tag redundant-import-alias redundant-test-main-exit string-format string-of-int struct-tag superfluous-else time-date time-equal time-naming unchecked-type-assertion unconditional-recursion unexported-naming unexported-return unhandled-error unnecessary-format unnecessary-stmt unreachable-code unused-parameter unused-receiver use-any use-errors-new use-fmt-print useless-break var-declaration var-naming waitgroup-by-value

camel pascal kebab snake goCamel goPascal goKebab goSnake upper upperSnake lower header

assign branch decl defer expr for go if inc-dec label range return select send switch type-switch append assign-exclusive assign-expr err leading-whitespace trailing-whitespace

anyOf with enum is used to allow auto-completion of non-custom linters

Usable linter names.

arangolint asasalint asciicheck bidichk bodyclose canonicalheader containedctx contextcheck copyloopvar cyclop decorder depguard dogsled dupl dupword durationcheck embeddedstructfieldcheck errcheck errchkjson errname errorlint exhaustive exhaustruct exptostd fatcontext forbidigo forcetypeassert funcorder funlen ginkgolinter gocheckcompilerdirectives gochecknoglobals gochecknoinits gochecksumtype gocognit goconst gocritic gocyclo godot godox err113 goheader gomoddirectives gomodguard goprintffuncname gosec gosimple gosmopolitan govet grouper iface importas inamedparam ineffassign interfacebloat intrange ireturn lll loggercheck maintidx makezero mirror misspell mnd musttag nakedret nestif nilerr nilnesserr nilnil nlreturn noctx noinlineerr nolintlint nonamedreturns nosprintfhostport paralleltest perfsprint prealloc predeclared promlinter protogetter reassign recvcheck revive rowserrcheck sloglint sqlclosecheck staticcheck stylecheck tagalign tagliatelle testableexamples testifylint testpackage thelper tparallel unconvert unparam unused usestdlibvars usetesting varnamelen wastedassign whitespace wrapcheck wsl wsl_v5 zerologlint

Usable formatter names.

gci gofmt gofumpt goimports golines swaggo

Keywords for detecting duplicate words. If this list is not empty, only the words defined in this list will be detected.

Keywords used to ignore detection.

To specify a set of function names to exclude.

To enable/disable the asasalint builtin exclusions of function names.

Disallow: LEFT-TO-RIGHT-EMBEDDING

Disallow: RIGHT-TO-LEFT-EMBEDDING

Disallow: POP-DIRECTIONAL-FORMATTING

Disallow: LEFT-TO-RIGHT-OVERRIDE

Disallow: RIGHT-TO-LEFT-OVERRIDE

Disallow: LEFT-TO-RIGHT-ISOLATE

Disallow: RIGHT-TO-LEFT-ISOLATE

Disallow: FIRST-STRONG-ISOLATE

Disallow: POP-DIRECTIONAL-ISOLATE

Max complexity the function can have

Max average complexity in package

Underscore vars (vars with "_" as the name) will be ignored at all checks

Order of declarations is not checked

Allow init func to be anywhere in file

Multiple global type, const and var declarations are allowed

Type declarations will be ignored for dec num check

Const declarations will be ignored for dec num check

Var declarations will be ignored for dec num check

Rules to apply.

Name of a rule.

Used to determine the package matching priority.

List of file globs that will match this list of settings to compare against.

List of allowed packages.

Packages that are not allowed where the value is a suggestion.

Description

Package

Check assignments with too many blank identifiers.

Tokens count to trigger issue.

Checks that sync.Mutex and sync.RWMutex are not used as embedded fields.

Report about not checking errors in type assertions, i.e.: `a := b.(MyStruct)`

Report about assignment of errors to blank identifier

List of functions to exclude from checking, where each entry is a single function to exclude

To disable the errcheck built-in exclude list

Display function signature instead of selector

Issue on struct that doesn't have exported fields.

Check whether fmt.Errorf uses the %w verb for formatting errors

Permit more than 1 %w verb, valid per Go 1.20

Check for plain type assertions and type switches.

Check for plain error comparisons

Program elements to check for exhaustiveness.

Only run exhaustive check on switches with "//exhaustive:enforce" comment.

Only run exhaustive check on map literals with "//exhaustive:enforce" comment.

Switch statement requires default case even if exhaustive.

Presence of `default` case in switch statements satisfies exhaustiveness, even if all enum members are not listed.

Enum members matching `regex` do not have to be listed in switch statements to satisfy exhaustiveness

Enum types matching the supplied regex do not have to be listed in switch statements to satisfy exhaustiveness.

Consider enums only in package scopes, not in inner scopes.

List of regular expressions to match struct packages and names.

List of regular expressions to exclude struct packages and names from check.

Check for potential fat contexts in struct pointers.

Exclude code in godoc examples.

Instead of matching the literal source code, use type information to replace expressions with strings that contain the package name and (for methods and fields) the type name.

List of identifiers to forbid (written using `regexp`)

Pattern

Package

Message

Checks that constructors are placed after the structure declaration.

Checks if the exported methods of a structure are placed before the non-exported ones.

Checks if the constructors and/or structure methods are sorted alphabetically.

Limit lines number per function.

Limit statements number per function.

Ignore comments when counting lines.

Section configuration to compare against.

standard default blank dot alias localmodule

Checks that no inline Comments are present.

Checks that no prefix Comments(comment lines above an import) are present.

Enable custom order of sections.

Drops lexical ordering for custom sections.

Suppress the wrong length assertion warning.

Suppress the wrong nil assertion warning.

Suppress the wrong error assertion warning.

Suppress the wrong comparison assertion warning.

Suppress the function all in async assertion warning.

Suppress warning for comparing values from different types, like int32 and uint32.

Trigger warning for ginkgo focus containers like FDescribe, FContext, FWhen or FIt.

Don't trigger warnings for HaveLen(0).

Force using `Expect` with `To`, `ToNot` or `NotTo`

Best effort validation of async intervals (timeout and polling).

Trigger a warning for variable assignments in ginkgo containers like `Describe`, `Context` and `When`, instead of in `BeforeEach()`.

Force using the Succeed matcher for error functions, and the HaveOccurred matcher for non-function error values.

Presence of `default` case in switch statements satisfies exhaustiveness, if all members are not listed.

Include shared interfaces in the exhaustiviness check.

Minimal code complexity to report (we recommend 10-20).

Look for existing constants matching the values

Minimum length of string constant.

Minimum occurrences count to trigger.

Ignore when constant is not used as function argument

Exclude strings matching the given regular expression

Search also for duplicated numbers.

Minimum value, only works with `numbers`

Maximum value, only works with `numbers`

Detects constants with identical values

Evaluates of constant expressions like Prefix + "suffix"

Which checks should be enabled. By default, a list of stable checks is used. To see it, run `GL_DEBUG=gocritic golangci-lint run`.

Which checks should be disabled.

Enable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint run` to see all tags and checks.

Disable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint run` to see all tags and checks.

Settings passed to gocritic. Properties must be valid and enabled check names.

Minimum code complexity to report (we recommend 10-20).

Comments to be checked.

List of regexps for excluding particular comment lines from check.

Check that each sentence ends with a period.

Check that each sentence starts with a capital letter.

DEPRECATED: Check all top-level comments, not only declarations.

Report any comments starting with one of these keywords. This is useful for TODO or FIXME comments that might be left in the code accidentally and should be resolved before merging.

Simplify code.

Apply the rewrite rules to the source before reformatting.

The maximum number of methods allowed for an interface.

Choose whether or not to use the extra rules that are disabled by default.

Module path which contains the source code being formatted.

Constants to use in the template.

Value for the constant.

Regular expressions to use in your template.

Template to put on top of every file.

{{ MY COMPANY }}
SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Path to the file containing the template source.

Put imports beginning with prefix after 3rd-party packages. It is a list of prefixes.

Allow local `replace` directives.

List of allowed `replace` directives.

Allow to not explain why the version has been retracted in the `retract` directives.

Forbid the use of the `exclude` directives.

Forbid the use of the `ignore` directives. (>= go1.25)

Forbid the use of the `toolchain` directive.

Defines a pattern to validate `toolchain` directive.

Forbid the use of the `tool` directives.

Forbid the use of the `godebug` directive.

Defines a pattern to validate `go` minimum version directive.

List of allowed modules.

List of allowed module domains.

List of blocked modules.

Recommended modules that should be used instead.

Reason why the recommended module should be used.

List of blocked module version constraints.

Version constraint.

Reason why the version constraint exists.

Raise lint issues if loading local path with replace directive

To select a subset of rules to run

To specify a set of rules to explicitly exclude

Filter out the issues with a lower severity than the given value

Filter out the issues with a lower confidence than the given value

To specify the configuration of rules

Concurrency value

Allow and ignore `time.Local` usages.

List of fully qualified names in the `full/pkg/path.name` form, to act as "i18n escape hatches".

List of Unicode scripts to watch for any usage in string literals.

Settings per analyzer. Map of analyzer name to specific settings.
Run `go tool vet help` to find out more.

Run `go tool vet help <analyzer>` to see all settings.

Enable analyzers by name.

Disable analyzers by name.

Enable all analyzers.

Disable all analyzers.

Enable analyzers by name.

Do not allow unaliased imports of aliased packages.

Do not allow non-required aliases.

List of aliases

Package path e.g. knative.dev/serving/pkg/apis/autoscaling/v1alpha1

Package alias e.g. autoscalingv1alpha1

Skips check for interface methods with only a single parameter.

Use either `reject` or `allow` properties for interfaces matching.

Width of "\t" in spaces.

Maximum allowed line length, lines longer will be reported.

Maintainability index https://docs.microsoft.com/en-us/visualstudio/code-quality/code-metrics-maintainability-index-range-and-meaning?view=vs-2022

Minimum accatpable maintainability index level (see https://docs.microsoft.com/en-us/visualstudio/code-quality/code-metrics-maintainability-index-range-and-meaning?view=vs-2022)

Allow only slices initialized with a length of zero.

Allow check for the github.com/go-kit/log library.

Allow check for the k8s.io/klog/v2 library.

Allow check for the github.com/go-logr/logr library.

Allow check for the log/slog library.

Allow check for the "sugar logger" from go.uber.org/zap library.

Require all logging keys to be inlined constant strings.

Require printf-like format specifier (%s, %d for example) not present.

List of custom rules to check against, where each rule is a single logger pattern, useful for wrapped loggers.

Correct spellings using locale preferences for US or UK. Default is to use a neutral variety of English.

List of rules to ignore.

Mode of the analysis.

Extra word corrections.

Report if a function has more lines of code than this value and it has naked returns.

Minimum complexity of "if" statements to report.

To check functions with only two return values.

In addition, detect opposite situation (simultaneous return of non-nil error and valid value).

List of return types to check.

chan func iface map ptr uintptr unsafeptr

chan func iface map ptr uintptr unsafeptr

set block size that is still ok

List of file patterns to exclude from analysis.

Comma-separated list of function patterns to exclude from the analysis.

List of numbers to exclude from analysis.

The list of enabled checks, see https://github.com/tommy-muehle/go-mnd/#checks for description.

argument case condition operation return assign

Enable to ensure that nolint directives are all used.

Exclude these linters from requiring an explanation.

Enable to require an explanation of nonzero length after each nolint directive.

Enable to require nolint directives to mention the specific linter being suppressed.

Disables the built-in method exclusions.

User-defined method exclusions.

Report named error if it is assigned inside defer.

Ignore missing calls to `t.Parallel()` and only report incorrect uses of it.

Ignore missing calls to `t.Parallel()` in subtests. Top-level tests are still required to have `t.Parallel`, but subtests are allowed to skip it.

Enable/disable optimization of integer formatting.

Optimizes even if it requires an int or uint type cast.

Enable/disable optimization of error formatting.

Optimizes into `err.Error()` even if it is only equivalent for non-nil errors.

Optimizes `fmt.Errorf`.

Enable/disable optimization of string formatting.

Optimizes `fmt.Sprintf` with only one argument.

Optimizes into strings concatenation.

Enable/disable optimization of bool formatting.

Enable/disable optimization of hex formatting.

We do not recommend using this linter before doing performance profiling.
For most programs usage of `prealloc` will be premature optimization.

Report preallocation suggestions only on simple loops that have no returns/breaks/continues/gotos in them.

Report preallocation suggestions on range loops.

Report preallocation suggestions on for loops.

List of predeclared identifiers to not report on.

Include method names and field names in checks.

Help MetricUnits Counter HistogramSummaryReserved MetricTypeInName ReservedChars CamelCase UnitAbbreviations

Skip any generated files from the checking.

Skip first argument of append function.

The rule name

Enforce using key-value pairs only (incompatible with attr-only).

Enforce not using global loggers.

Enforce not mixing key-value pairs and attributes.

Enforce using methods that accept a context.

Enforce using static values for log messages.

Enforce message style.

Enforce a single key naming convention.

Enforce using attributes only (incompatible with kv-only).

Enforce using constants instead of raw keys.

Enforce not using specific keys.

Enforce putting arguments on separate lines.

Checks to enable.

A list of regexes for function signatures that silence `record-error` and `set-status` reports if found in the call path to a returned error.

A list of regexes for additional function signatures that create spans.

By default, ST1001 forbids all uses of dot imports in non-test packages. This setting allows setting a whitelist of import paths that can be dot-imported anywhere.

ST1013 recommends using constants from the net/http package instead of hard-coding numeric HTTP status codes. This setting specifies a list of numeric status codes that this check does not complain about.

ST1003 check, among other things, for the correct capitalization of initialisms. The set of known initialisms can be configured with this option.

ACL API ASCII CPU CSS DNS EOF GUID HTML HTTP HTTPS ID IP JSON QPS RAM RPC SLA SMTP SQL SSH TCP TLS TTL UDP UI GID UID UUID URI URL UTF8 VM XML XMPP XSRF XSS SIP RTP AMQP DB TS

Align and sort can be used together or separately.

Whether enable tags sort.

Specify the order of tags, the other tags will be sorted by name.

json yaml yml toml mapstructure binding validate

Whether enable strict style.

Use the struct field name to check the name of the struct tag.

The field names to ignore.

Defines the association between tag name and case.

Overrides the default/root configuration.

A package path.

Use the struct field name to check the name of the struct tag.

The field names to ignore.

Ignore the package (takes precedence over all other configurations).

Defines the association between tag name and case.

Enable all checkers.

Disable all checkers.

Enable specific checkers.

blank-import bool-compare compares contains empty encoded-compare equal-values error-is-as error-nil expected-actual float-compare formatter go-require len negative-positive nil-compare regexp require-error suite-broken-parallel suite-dont-use-pkg suite-extra-assert-call suite-method-signature suite-subtest-run suite-thelper useless-assert

blank-import bool-compare compares contains empty encoded-compare equal-values error-is-as error-nil expected-actual float-compare formatter go-require len negative-positive nil-compare regexp require-error suite-broken-parallel suite-dont-use-pkg suite-extra-assert-call suite-method-signature suite-subtest-run useless-assert

Disable specific checkers.

To ignore user defined types (over builtin bool).

Regexp for expected variable name.

To enable go vet's printf checks.

To require f-assertions (e.g. assert.Equalf) if format string is used, even if there are no variable-length variables.

To require that the first element of msgAndArgs (msg) has a string type.

To ignore HTTP handlers (like http.HandlerFunc).

Regexp for assertions to analyze. If defined, then only matched error assertions will be reported.

To require or remove extra Assert() call?

Files with names matching this regular expression are skipped.

List of packages that don't end with _test that tests are allowed to be in.

Check if `t.Helper()` begins helper function.

Check if *testing.T is first param of helper function.

Check if *testing.T param has t name.

Check if `b.Helper()` begins helper function.

Check if *testing.B is first param of helper function.

Check if *testing.B param has b name.

Check if `tb.Helper()` begins helper function.

Check if *testing.TB is first param of helper function.

Check if *testing.TB param has tb name.

Check if `f.Helper()` begins helper function.

Check if *testing.F is first param of helper function.

Check if *testing.F param has f name.

Suggest the use of http.MethodXX.

Suggest the use of http.StatusXX.

Suggest the use of time.Weekday.String().

Suggest the use of time.Month.String().

Suggest the use of time.Layout.

Suggest the use of time.Month in time.Date.

Suggest the use of crypto.Hash.String().

Suggest the use of rpc.DefaultXXPath.

Suggest the use of sql.LevelXX.String().

Suggest the use of tls.SignatureScheme.String().

Suggest the use of constant.Kind.String().

Inspect exported functions. Set to true if no external program/library imports your code.

WARNING: if you enable this setting, unparam will report a lot of false-positives in text editors:
if it's called for subdir of a project it can't find external interfaces. All text editor integrations
with golangci-lint call it on a directory with the changed file.

Variables used in at most this N-many lines will be ignored.

The minimum length of a variable's name that is considered `long`.

Check method receiver names.

Check named return values.

Check type parameters.

Ignore `ok` variables that hold the bool return value of a type assertion

Ignore `ok` variables that hold the bool return value of a map index.

Ignore `ok` variables that hold the bool return value of a channel receive.

Optional list of variable names that should be ignored completely.

Optional list of variable declarations that should be ignored completely.

c echo.Context
t testing.T
f *foo.Bar
const C

Enforces newlines (or comments) after every multi-line if statement

Enforces newlines (or comments) after every multi-line function signature

An array of strings specifying additional substrings of signatures to ignore.

An array of strings which specify substrings of signatures to ignore.

.Errorf( errors.New( errors.Unwrap( .Wrap( .Wrapf( .WithMessage( .WithMessagef( .WithStack(

An array of strings which specify regular expressions of signatures to ignore.

An array of glob patterns which, if any match the package of the function returning the error, will skip wrapcheck analysis for this error.

An array of glob patterns which, if matched to an underlying interface name, will ignore unwrapped errors returned from a function whose call is defined on the given interface.

Determines whether wrapcheck should report errors returned from inside the package.

Controls if you may cuddle assignments and anything without needing an empty line between them.

Allow calls and assignments to be cuddled as long as the lines have any matching variables, fields or types.

Allow declarations (var) to be cuddled.

A list of call idents that everything can be cuddled with.

AllowCuddleWithRHS is a list of right hand side variables that is allowed to be cuddled with anything.

Allow cuddling with any block as long as the variable is used somewhere in the block

Allow multiline assignments to be cuddled.

Allow leading comments to be separated with empty lines.

Allow trailing comments in ending of blocks.

When force-err-cuddling is enabled this is a list of names used for error variables to check for in the conditional.

Force newlines in end of case at this limit (0 = never).

Causes an error when an If statement that checks an error variable doesn't cuddle with the assignment of that variable.

Causes an error if a short declaration (:=) cuddles with anything other than another short declaration.

If true, append is only allowed to be cuddled if appending value is matching variables, fields or types on line above.

The custom section can be used to define linter plugins to be loaded at runtime. See README of golangci-lint for more information.
Each custom linter should have a unique name.

The plugin type.

The path to the plugin *.so. Can be absolute or local.

The description of the linter, for documentation purposes only.

Intended to point to the repo location of the linter, for documentation purposes only.

Plugins settings/configuration. Only work with plugin based on `linterdb.PluginConstructor`.

Options for analysis running,

Number of concurrent runners. Defaults to the number of available CPU cores.

Timeout for the analysis.

Exit code when at least one issue was found.

Enable inclusion of test files.

List of build tags to pass to all linters.

Option to pass to "go list -mod={option}".
See "go help modules" for more information.

Allow multiple parallel golangci-lint instances running. If disabled, golangci-lint acquires file lock on start.

Allow multiple golangci-lint instances running, but serialize them around a lock.

Targeted Go version.

The mode used to evaluate relative paths.

Output configuration options.

Output formats to use.

Add a prefix to the output file references.

Show statistics per linter.

List of enabled linters.

List of disabled linters.

All available settings of specific linters.

comments std-error-handling common-false-positives legacy

List of enabled formatters.

Maximum issues count per one linter. Set to 0 to disable.

Maximum count of issues with the same text. Set to 0 to disable.

Show only new issues: if there are unstaged changes or untracked files, only those changes are analyzed, else only changes in HEAD~ are analyzed.

Show only new issues created after the best common ancestor (merge-base against HEAD).

Show only new issues created after this git revision.

Show only new issues created in git patch with this file path.

Fix found issues (if it's supported by the linter).

Make issues output unique by line.

Show issues in any part of update files (requires new-from-rev or new-from-patch).

Set the default severity for issues. If severity rules are defined and the issues do not match or no severity is provided to the rule this will be the default severity applied. Severities should match the supported severity names of the selected out format.

When a list of severity rules are provided, severity information will be added to lint issues. Severity rules have the same filtering capability as exclude rules except you are allowed to specify one matcher per severity rule.
Only affects out formats that support setting severity information.

Provide a JSON object that satisfies the schema "golangci.jsonschema". Here are the required top‑level fields: 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-04/schema#","$comment":"https://globalprivacycontrol.github.io/gpc-spec/","description":"Configuration for GPC, so a site can convey its support for the Global Privacy Control.","id":"https://json.schemastore.org/gpc.json","properties":{"gpc":{"title":"Global Privacy Control","description":"Indicates that the server intends to abide by GPC requests.","type":"boolean"},"version":{"title":"Version","type":"integer","default":1},"lastUpdate":{"title":"Last Update","description":"This indicates the time at which the statement of support was made, such that later changes to the meaning of the GPC standard should not affect the interpretation of the resource for legal purposes. If the member is not in a valid ISO 8601 format, the last update date and time is unknown.","type":"string"}},"required":["gpc"],"title":"Global Privacy Control","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "Global Privacy Control". Here are the required top‑level fields: gpc. Return only the valid JSON object.

Configuration for GPC, so a site can convey its support for the Global Privacy Control.

Global Privacy Control

Indicates that the server intends to abide by GPC requests.

Version

Last Update

This indicates the time at which the statement of support was made, such that later changes to the meaning of the GPC standard should not affect the interpretation of the resource for legal purposes. If the member is not in a valid ISO 8601 format, the last update date and time is unknown.

Global Privacy Control

Provide a JSON object that satisfies the schema "Global Privacy Control". Here are the required top‑level fields: gpc. Return only the valid JSON object.


[User] Provide a JSON object that satisfies the schema "gradle-enterprise-config-schema-12". Here are the required top‑level fields: systemPassword, version. Return only the valid JSON object.

Internet email address conforming to most of RFC 822 syntax rules and by that allowing a majority of internalized email addresses as well.

Develocity configuration schema

The version of the config file model (must be 12).

The amount of heap memory allocated to the application

The amount of off-heap memory allocated to the application

Configuration parameters for the application

The amount of memory for the scan payload event stream cache

Permissions to assign to anonymous users - does not support administerApp, administerCache, or testDistribution

Distinguished name for the LDAP user account

Password for the LDAP user account

Binding information used when LDAP requires authentication

URL used to connect to LDAP server

Name of this identity provider configuration

baseDn membershipAttribute membershipAttributeType nameAttribute objectClass

Base DN for the subtree holding roles

Name of the LDAP attribute holding role membership

Type of the membership-ldap-attribute

Name of the LDAP attribute holding the role name

LDAP object classes for roles

Type of roles retrieve strategy (defaults to GROUP_MEMBER)

Holds information when the identity provider manages roles

Name of the LDAP attribute holding email address

Name of the LDAP attribute holding first name

Name of the LDAP attribute holding last name

Name of the LDAP attribute holding user name

Name of the LDAP attribute holding a unique id

Describes how user attributes are mapped

Base DN for the subtree holding users

LDAP search filter expression.

Optional LDAP filter expression to limit access

SAML metadata that describes this identity provider

Encrypt SAML assertions?

Sign authentication requests?

Enable signature validation of SAML assertions?

Enable signature validation of SAML responses?

Groups all options and is only necessary when one or more needs to be enabled

Name of the SAML attribute holding role names

Name of the SAML attribute holding email address

Name of the SAML attribute holding first name

Name of the SAML attribute holding last name

Accept data from builds not associated with a project. Also allows build acceleration features (build caching, test distribution, etc) to work with builds not associated with a project.

Enables per-project access control.

Configuration of project access control related options

Whether to allow access to the SCIM API for user and group management

The hash of the token

The length of the token

The prefix of the token

Token to authenticate with the SCIM API

Configuration for System for Cross-domain Identity Management (SCIM) support

The maximum time before an access token is expired (in minutes), default is 10 minutes

The time a login session is allowed to be idle before it expires (in minutes), default is 1 hour (60 minutes)

The maximum time before a login session is expired (in minutes), default is 1 day (1440 minutes)

Timeouts you can specify for user logins in Develocity

Configuration of Develocity authentication options

How many old backups to keep

Send an email when backup is complete

Time (in UTC) to perform the backup

monday tuesday wednesday thursday friday saturday sunday

Day (in UTC) to perform the backup

Time (in UTC) to perform the backup

Custom cron expression for backup time

Automatic backup configuration

Allow communication with nodes running over untrusted SSL

Maximum artifact size the Built-in Build Cache accepts

Total amount of storage in mebibytes reserved for the Built-in Build Cache

Configuration specific to the build cache app

Threshold of free disk space before old scans will be automatically deleted

Threshold of free disk space before new scans will be rejected

Threshold of free disk space before a warning is sent to users publishing a build scan

Storage type of incoming builds

How many days of scans should be retained

Configuration specific to the build scans app

Which time (UTC) should retention-cleanup be performed

Develocity installation location name

Edge configurations

Edge unique identifier

Edge location name

Edge public address

Edge registration keys

Edge configuration

Email address notifications are sent to

SMTP authentication method

Email address notifications are sent from

Address and port of the smtp server

SMTP protocol flavour

SMTP configuration for notifications

The email address users should contact

The name of the contact

Who users should contact if they have a problem

Required if Develocity must communicate with servers using certificates not trusted by default

Proxy password

Proxy username

Proxy authentication credentials

A list of hosts that should not be proxied

Proxy host

Proxy port

Proxy protocol

Http proxy config

Network configuration

The password for the system user

Provide a JSON object that satisfies the schema "gradle-enterprise-config-schema-12". Here are the required top‑level fields: systemPassword, 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-04/schema#","description":"JSON Schema for Grafana 5.x Dashboards (https://grafana.com/docs/grafana/latest/reference/dashboard/#dashboard-json)","id":"https://json.schemastore.org/grafana-dashboard-5.x.json","properties":{"meta":{"type":"object","properties":{"isStarred":{"type":"boolean"}}},"dashboard":{"type":"object","properties":{"id":{"description":"unique numeric identifier for the dashboard. (generated by the db)","type":["number","null"]},"uid":{"description":"unique dashboard identifier that can be generated by anyone. string (8-40)","type":"string","minLength":8,"maxLength":40},"title":{"description":"current title of dashboard","type":"string"},"tags":{"description":"tags associated with dashboard, an array of strings","type":"array","items":{"type":"string"}},"style":{"description":"theme of dashboard, i.e. dark or light","type":"string"},"timezone":{"description":"timezone of dashboard, i.e. utc or browser","type":"string"},"editable":{"description":"whether a dashboard is editable or not","type":"boolean"},"hideControls":{"type":"boolean"},"graphTooltip":{"description":"0 for no shared crosshair or tooltip (default), 1 for shared crosshair, 2 for shared crosshair AND shared tooltip","type":"number","minimum":0,"maximum":2},"panels":{"description":"Panels are the building blocks of a dashboard. It consists of data source queries, type of graphs, aliases, etc. Panel JSON consists of an array of JSON objects, each representing a different panel. Most of the fields are common for all panels but some fields depend on the panel type.","type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"gridPos":{"description":"The gridPos property describes the panel size and position in grid coordinates.","type":"object","properties":{"x":{"description":"The x position, in same unit as w.","type":"number"},"y":{"description":"The y position, in same unit as h.","type":"number"},"w":{"description":"1-24 (the width of the dashboard is divided into 24 columns)","type":"number","minimum":1,"maximum":24},"h":{"description":"In grid height units, each represents 30 pixels.","type":"number"}}},"id":{"type":"number"},"mode":{"type":"string"},"content":{"type":"string"}}}},"time":{"description":"time range for dashboard, i.e. last 6 hours, last 7 days, etc"},"timepicker":{"description":"timepicker metadata","type":"object","properties":{"collapse":{"description":"whether timepicker is collapsed or not","type":"boolean"},"enable":{"description":"whether timepicker is enabled or not","type":"boolean"},"notice":{"type":"boolean"},"now":{"type":"boolean"},"refresh_intervals":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"type":{"type":"string"}}},"templating":{"description":"templating metadata","type":"object","properties":{"enable":{"description":"whether templating is enabled or not","type":"boolean"},"list":{"description":"an array of objects each representing one template variable","type":"array","items":{"type":"object","properties":{"allFormat":{"description":"format to use while fetching all values from data source, eg: wildcard, glob, regex, pipe, etc.","type":"string"},"current":{"description":"shows current selected variable text/value on the dashboard","type":"object","properties":{"tags":{"type":"array","items":{"type":"string"}},"text":{"type":"string"},"value":{"type":"string"}}},"datasource":{"description":"shows data source for the variables","type":["string","null"]},"includeAll":{"description":"whether all value option is available or not","type":"boolean"},"multi":{"description":"whether multiple values can be selected or not from variable value list","type":"boolean"},"multiFormat":{"description":"format to use while fetching timeseries from data source","type":"string"},"name":{"description":"name of variable","type":"string"},"options":{"description":"array of variable text/value pairs available for selection on dashboard","type":"array","items":{"type":"object","properties":{"selected":{"type":"boolean"},"text":{"type":"string"},"value":{"type":"string"}}}},"query":{"description":"data source query used to fetch values for a variable","type":"string"},"refresh":{"type":"boolean"},"regex":{"type":"string"},"type":{"description":"type of variable, i.e. custom, query or interval","type":"string"}}}}}},"annotations":{"description":"annotations metadata"},"refresh":{"description":"auto-refresh interval"},"schemaVersion":{"description":"version of the JSON schema (integer), incremented each time a Grafana update brings changes to said schema","type":"number"},"version":{"description":"version of the dashboard (integer), incremented each time the dashboard is updated","type":"number","minimum":1},"links":{}}},"overwrite":{"type":"boolean"}},"title":"Grafana Dashboard 5.x","type":"object"}
</schema>

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

JSON Schema for Grafana 5.x Dashboards (https://grafana.com/docs/grafana/latest/reference/dashboard/#dashboard-json)

unique numeric identifier for the dashboard. (generated by the db)

unique dashboard identifier that can be generated by anyone. string (8-40)

current title of dashboard

tags associated with dashboard, an array of strings

theme of dashboard, i.e. dark or light

timezone of dashboard, i.e. utc or browser

whether a dashboard is editable or not

0 for no shared crosshair or tooltip (default), 1 for shared crosshair, 2 for shared crosshair AND shared tooltip

Panels are the building blocks of a dashboard. It consists of data source queries, type of graphs, aliases, etc. Panel JSON consists of an array of JSON objects, each representing a different panel. Most of the fields are common for all panels but some fields depend on the panel type.

The gridPos property describes the panel size and position in grid coordinates.

The x position, in same unit as w.

The y position, in same unit as h.

1-24 (the width of the dashboard is divided into 24 columns)

In grid height units, each represents 30 pixels.

time range for dashboard, i.e. last 6 hours, last 7 days, etc

timepicker metadata

whether timepicker is collapsed or not

whether timepicker is enabled or not

templating metadata

whether templating is enabled or not

an array of objects each representing one template variable

format to use while fetching all values from data source, eg: wildcard, glob, regex, pipe, etc.

shows current selected variable text/value on the dashboard

shows data source for the variables

whether all value option is available or not

whether multiple values can be selected or not from variable value list

format to use while fetching timeseries from data source

name of variable

array of variable text/value pairs available for selection on dashboard

data source query used to fetch values for a variable

type of variable, i.e. custom, query or interval

annotations metadata

auto-refresh interval

version of the JSON schema (integer), incremented each time a Grafana update brings changes to said schema

version of the dashboard (integer), incremented each time the dashboard is updated

Grafana Dashboard 5.x

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