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
Copy file name to clipboardExpand all lines: spec/README.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,42 @@ Field Name | Type | Description
186
186
<aname="parametersDefault"></a>default | `string` | **Optional** An optional default value for the parameter.
187
187
<aname="parametersHidden"></a>hidden | `string` | **Optional** An optional boolean signifying the parameter should be obscured when displayed.
188
188
189
+
##### JSON Pointers
190
+
JSON Pointers (otherwise known as XPathing) are supported by the Nulecule specification by implementing [RFC 6902](https://tools.ietf.org/html/rfc6902).
191
+
A value can be provided by using the pointer reference within the JSON/Yaml format.
192
+
193
+
ex.
194
+
```yaml
195
+
description: mongoDB Admin password
196
+
hidden: true
197
+
constraints:
198
+
- allowed_pattern: "[A-Z0-9]+"
199
+
description: Must consist of characters and numbers only.
200
+
default: 0
201
+
param:
202
+
- /spec/containers/0/param
203
+
```
204
+
```json
205
+
{
206
+
"name": "password",
207
+
"description": "mongoDB Admin password",
208
+
"hidden": true,
209
+
"constraints": [
210
+
{
211
+
"allowed_pattern": "[A-Z0-9]+",
212
+
"description": "Must consist of characters and numbers only.",
213
+
"default": 0,
214
+
"param": {
215
+
"description": "An array of JSON pointers per RFC 6902.",
0 commit comments