docs: Document JSON Schema format keyword validation#2041
Draft
promptless-for-oss wants to merge 1 commit intohelm:mainfrom
Draft
docs: Document JSON Schema format keyword validation#2041promptless-for-oss wants to merge 1 commit intohelm:mainfrom
promptless-for-oss wants to merge 1 commit intohelm:mainfrom
Conversation
Signed-off-by: promptless-for-oss <promptless-for-oss@users.noreply.github.com>
| } | ||
| ``` | ||
|
|
||
| JSON Schema supports the `format` keyword for validating string formats like |
Contributor
Author
There was a problem hiding this comment.
Citation: PR #31937 fixes a bug where format assertions were not being enforced during JSON Schema validation. The fix enables compiler.AssertFormat() in pkg/chart/common/util/jsonschema.go, ensuring format keywords like ipv4, ipv6, and email are validated. This documentation explains the feature that is now properly working.
View source
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Documents that
values.schema.jsonsupports the JSON Schemaformatkeyword for validating string formats likeipv4,ipv6,email,uri,hostname, anddate-time. Adds an example showing how to use format validation in the Schema Files section.Trigger Events
helm/helm PR #31937: fix(chartutil): enable format assertions in JSON schema validation
Promptless Research (5 files, 1 webpage, 1 GitHub PR)
.long_term_context/product_knowledge/product_overview.md.long_term_context/doc_workflow/client_instructions.md.long_term_context/style/client_style_guide.mddocs/topics/charts.mdxdocs/helm/helm_lint.mdAgent Response
Tip: Tag @Promptless in GitHub PR comments to guide documentation changes during code review 🐙