You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both **myStrStringsType1** and **myStrStringsType2** define a new array of strings. **myStrStringsType2** is defined with three allowed values.
64
-
65
71
- Object types contain zero or more properties between curly brackets:
66
72
67
73
```bicep
@@ -93,7 +99,7 @@ Valid type expression include:
93
99
}
94
100
```
95
101
96
-
But the following would not be:
102
+
But the following would not be valid because none of `level1`, `level2`, `level3`, `level4`, or `level5` is optional, there is no JSON object that would be able to fulfill this schema.
97
103
98
104
```bicep
99
105
type invalidRecursiveObject = {
@@ -109,8 +115,6 @@ Valid type expression include:
109
115
}
110
116
```
111
117
112
-
Because none of level1, level2, level3, level4, or level5 is optional, there is no JSON object that would be able to fulfill this schema.
113
-
114
118
- [Bicep unary operators](./operators.md) can be used with integer and boolean literals or references to integer or boolean literal-typed symbols:
115
119
116
120
```bicep
@@ -128,7 +132,7 @@ Valid type expression include:
0 commit comments