Update json schema + changelog

This commit is contained in:
Elio Struyf
2022-12-08 16:46:45 +01:00
parent 5b9c279fa2
commit a84fecaf96
2 changed files with 45 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# Change Log
## [8.2.0] - 2022-xx-xx
## [8.2.0] - 2022-xx-xx - [Release notes](https://beta.frontmatter.codes/updates/v8.2.0)
### ✨ New features

View File

@@ -1064,6 +1064,50 @@
"type": "boolean",
"default": false,
"description": "Specify if the field is required"
},
"when": {
"type": "object",
"description": "Specify the conditions to show the field",
"properties": {
"fieldRef": {
"type": "string",
"description": "The field ID to use"
},
"operator": {
"type": "string",
"description": "The operator to use",
"enum": [
"eq",
"neq",
"contains",
"notContains",
"startsWith",
"endsWith",
"gt",
"gte",
"lt",
"lte",
"minimum",
"maximum",
"exlusiveMinimum",
"exclusiveMaximum"
]
},
"value": {
"type": [
"string",
"number",
"boolean",
"array"
],
"description": "The value to compare"
},
"caseSensitive": {
"type": "boolean",
"default": true,
"description": "Specify if the comparison is case sensitive. Default: true"
}
}
}
},
"additionalProperties": false,