René's URL Explorer Experiment


Title: try-json: Fix results to avoid false positives for constructs like OneOf or AnyOf by sotteson1 · Pull Request #24577 · PowerShell/PowerShell · GitHub

Open Graph Title: try-json: Fix results to avoid false positives for constructs like OneOf or AnyOf by sotteson1 · Pull Request #24577 · PowerShell/PowerShell

X Title: try-json: Fix results to avoid false positives for constructs like OneOf or AnyOf by sotteson1 · Pull Request #24577 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary Fixes #21471 When calling the API to get the results against the schema, ask for the results in hierarchical format. Then walk down the tree and skip any nodes and its children if IsVali...

X Description: PR Summary Fixes #21471 When calling the API to get the results against the schema, ask for the results in hierarchical format. Then walk down the tree and skip any nodes and its children if IsVali...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/24577

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b4b01a20-e4b0-d899-95f3-8b713fe4a894
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9986:245B97:45AF8:60C0B:6AFCD91D
html-safe-nonce6ac556923dc0201847b731e7d4180bfc4e3c9c6e9ff511be3f0302f0bb775d07
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTg2OjI0NUI5Nzo0NUFGODo2MEMwQjo2QUZDRDkxRCIsInZpc2l0b3JfaWQiOiIyMjc5NTA1MzIyMzYxODA1MDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc2abdc91bbf29f1f9c11d27b0f4100273d4f7c97daf955bc063180c68398ecf3
hovercard-subject-tagpull_request:2176607473
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/24577/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/65f55a1bb7854902a820934f0c34b77c662970e77fcb7a28d7b686f95369b9dd/PowerShell/PowerShell/pull/24577
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65f55a1bb7854902a820934f0c34b77c662970e77fcb7a28d7b686f95369b9dd/PowerShell/PowerShell/pull/24577
og:image:altPR Summary Fixes #21471 When calling the API to get the results against the schema, ask for the results in hierarchical format. Then walk down the tree and skip any nodes and its children if IsVali...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesotteson1
hostnamegithub.com
expected-hostnamegithub.com
Noneb5b7bc7e41e0a604bbdb5035c7ed9620c2d28b9c8a18747182e2262a75abfd91
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseff5022cc3aa767e6115451d9c322dd975506d40e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/24577#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F24577
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F24577
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/24577
Reloadhttps://github.com/PowerShell/PowerShell/pull/24577
Reloadhttps://github.com/PowerShell/PowerShell/pull/24577
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests363 (363)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Steve Otteson (sotteson1)https://github.com/sotteson1
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
sotteson1:user/sotteson/fix-try-jsonhttps://github.com/sotteson1/PowerShell/tree/user/sotteson/fix-try-json
Conversationhttps://github.com/PowerShell/PowerShell/pull/24577
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/24577/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/24577/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/24577/files
try-json: Fix results to avoid false positives for constructs like OneOf or AnyOfhttps://github.com/PowerShell/PowerShell/pull/24577#top
Steve Otteson (sotteson1)https://github.com/sotteson1
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
sotteson1:user/sotteson/fix-try-jsonhttps://github.com/sotteson1/PowerShell/tree/user/sotteson/fix-try-json
https://github.com/sotteson1
Steve Otteson (sotteson1)https://github.com/sotteson1
Nov 13, 2024https://github.com/PowerShell/PowerShell/pull/24577#issue-2654483651
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
#21471https://github.com/PowerShell/PowerShell/issues/21471
#21471https://github.com/PowerShell/PowerShell/issues/21471
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
Steve Otteson (sotteson1)https://github.com/sotteson1
November 12, 2024 23:02https://github.com/PowerShell/PowerShell/pull/24577#commits-pushed-505a3eb
https://github.com/sotteson1
Fix results to only show real errorshttps://github.com/PowerShell/PowerShell/pull/24577/commits/505a3eb6cea5f72489d93a109e934d7e7468dee9
505a3ebhttps://github.com/PowerShell/PowerShell/pull/24577/commits/505a3eb6cea5f72489d93a109e934d7e7468dee9
https://github.com/sotteson1
Merge branch 'master' into user/sotteson/fix-try-jsonhttps://github.com/PowerShell/PowerShell/pull/24577/commits/3d889c6ba352eeacc435a41e80be3f16af9d1fbb
3d889c6https://github.com/PowerShell/PowerShell/pull/24577/commits/3d889c6ba352eeacc435a41e80be3f16af9d1fbb
https://github.com/sotteson1
Steve Otteson (sotteson1)https://github.com/sotteson1
Nov 13, 2024https://github.com/PowerShell/PowerShell/pull/24577#event-15277991533
https://github.com/sotteson1
Steve Otteson (sotteson1)https://github.com/sotteson1
Nov 13, 2024https://github.com/PowerShell/PowerShell/pull/24577#event-15278002362
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Nov 13, 2024 https://github.com/PowerShell/PowerShell/pull/24577#pullrequestreview-2432415225
View reviewed changes https://github.com/PowerShell/PowerShell/pull/24577/files/3d889c6ba352eeacc435a41e80be3f16af9d1fbb
src/Microsoft.PowerShell.Commands.Utility/commands/utility/TestJsonCommand.cshttps://github.com/PowerShell/PowerShell/pull/24577/files/3d889c6ba352eeacc435a41e80be3f16af9d1fbb#diff-75e882f1df5a078731c96023ef526ca48672b2d6d854008d1cc9d2182e44f990
Ilya (iSazonov)https://github.com/iSazonov
Nov 13, 2024https://github.com/PowerShell/PowerShell/pull/24577#discussion_r1839821475
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
Steve Otteson (sotteson1)https://github.com/sotteson1
Nov 13, 2024https://github.com/PowerShell/PowerShell/pull/24577#discussion_r1841084033
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
Ilya (iSazonov)https://github.com/iSazonov
Nov 14, 2024https://github.com/PowerShell/PowerShell/pull/24577#discussion_r1841544419
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
Steve Otteson (sotteson1)https://github.com/sotteson1
Nov 14, 2024https://github.com/PowerShell/PowerShell/pull/24577#discussion_r1842536553
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
Ilya (iSazonov)https://github.com/iSazonov
Nov 14, 2024https://github.com/PowerShell/PowerShell/pull/24577#discussion_r1842559734
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Nov 13, 2024 https://github.com/PowerShell/PowerShell/pull/24577#pullrequestreview-2432419613
View reviewed changes https://github.com/PowerShell/PowerShell/pull/24577/files/3d889c6ba352eeacc435a41e80be3f16af9d1fbb
src/Microsoft.PowerShell.Commands.Utility/commands/utility/TestJsonCommand.cshttps://github.com/PowerShell/PowerShell/pull/24577/files/3d889c6ba352eeacc435a41e80be3f16af9d1fbb#diff-75e882f1df5a078731c96023ef526ca48672b2d6d854008d1cc9d2182e44f990
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Nov 21, 2024https://github.com/PowerShell/PowerShell/pull/24577#event-15387453584
https://github.com/venkat1017
Venkat P (venkat1017)https://github.com/venkat1017
Jan 31, 2025https://github.com/PowerShell/PowerShell/pull/24577#issuecomment-2626699522
Ilya (@iSazonov)https://github.com/iSazonov
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Jan 31, 2025https://github.com/PowerShell/PowerShell/pull/24577#issuecomment-2627879371
Venkat P (@venkat1017)https://github.com/venkat1017
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Jan 31, 2025https://github.com/PowerShell/PowerShell/pull/24577#event-16143699819
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Feb 8, 2025https://github.com/PowerShell/PowerShell/pull/24577#event-16233261947
https://github.com/skaravos
Steve (skaravos)https://github.com/skaravos
Jun 20, 2025https://github.com/PowerShell/PowerShell/pull/24577#issuecomment-2992329178
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/jakauppila
Jared Kauppila (jakauppila)https://github.com/jakauppila
Nov 10, 2025https://github.com/PowerShell/PowerShell/pull/24577#issuecomment-3513958430
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Nov 11, 2025https://github.com/PowerShell/PowerShell/pull/24577#issuecomment-3514829755
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Nov 11, 2025https://github.com/PowerShell/PowerShell/pull/24577#event-20852171807
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Nov 18, 2025https://github.com/PowerShell/PowerShell/pull/24577#event-21014604803
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Dec 16, 2025https://github.com/PowerShell/PowerShell/pull/24577#issuecomment-3658958916
Yoshifumi (@yotsuda)https://github.com/yotsuda
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Dec 16, 2025https://github.com/PowerShell/PowerShell/pull/24577#event-21584064230
https://github.com/yotsuda
Yoshifumi (yotsuda)https://github.com/yotsuda
Dec 16, 2025 https://github.com/PowerShell/PowerShell/pull/24577#ref-pullrequest-3734939833
Fix Test-Json false positive errors when using oneOf or anyOf in schema #26618 https://github.com/PowerShell/PowerShell/pull/26618
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Dec 17, 2025https://github.com/PowerShell/PowerShell/pull/24577#issuecomment-3664403514
#26618https://github.com/PowerShell/PowerShell/pull/26618
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Dec 17, 2025https://github.com/PowerShell/PowerShell/pull/24577#event-21612380839
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F24577
https://github.com/iSazonov
Ilya (iSazonov) https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/24577/files/3d889c6ba352eeacc435a41e80be3f16af9d1fbb
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
Test-Json has false positives when using anyof and allof statements in JSON schema https://github.com/PowerShell/PowerShell/issues/21471
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/24577
https://github.com/sotteson1
https://github.com/venkat1017
https://github.com/iSazonov
https://github.com/skaravos
https://github.com/jakauppila
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.