Prerequisites
Steps to reproduce
Run the following command
Test-Json -Path 'UserConfigurations.json' -SchemaFile "Schema.json"
With these 2 files
UserConfigurations.json
Schema.json
Expected behavior
The JSON is not valid with the schema: Value should have at least 9 properties at ''
Actual behavior
The JSON is not valid with the schema: Value should have at least9 properties at ''
There is no space between "least" and "9" in the error message
Error details
Test-Json: untitled:Untitled-1:1:1
Line |
1 | Test-Json -Path 'C:\Users\Admin\.WDACConfig\UserConfigurations.json' …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The JSON is not valid with the schema: Value should have at least9 properties at ''
Environment data
Name Value
---- -----
PSVersion 7.5.0-preview.1
PSEdition Core
GitCommitId 7.5.0-preview.1
OS Microsoft Windows 10.0.22635
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Prerequisites
Steps to reproduce
Run the following command
With these 2 files
UserConfigurations.json
Schema.json
Expected behavior
The JSON is not valid with the schema: Value should have at least 9 properties at ''Actual behavior
Error details
Environment data
Visuals
No response