Skip to content

Commit a4643e1

Browse files
authored
fix: updated schema for Test-Json in Set-AzTableStorageEntities (#417)
Co-authored-by: Pim Simons <pim.simons@codit.eu>
1 parent a7931bb commit a4643e1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/Arcus.Scripting.Storage.Table/Scripts/Set-AzTableStorageEntities.ps1

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,21 @@ if ((Get-Content -Path $ConfigurationFile -Raw) -eq $null) {
1414

1515
$schema = @'
1616
{
17-
"definitions": {},
1817
"$schema": "https://json-schema.org/draft/2020-12/schema",
1918
"$id": "https://scripting.arcus-azure.net/Features/powershell/azure-storage/azure-storage-table/config.json",
2019
"type": "array",
2120
"title": "The configuration JSON schema",
22-
"items": [{
21+
"$defs": {},
22+
"prefixItems": [
23+
{
2324
"type": "object",
2425
"patternProperties": {
2526
"^.*$": {
26-
"anyOf": [{
27+
"anyOf": [
28+
{
2729
"type": "string"
28-
}, {
30+
},
31+
{
2932
"type": "null"
3033
}
3134
]

0 commit comments

Comments
 (0)