Skip to content

Commit

Permalink
Add condition that additional properties aside from required for exte…
Browse files Browse the repository at this point in the history
…nsion type are not present.
  • Loading branch information
ajmarkow committed Oct 14, 2023
1 parent 19aa30a commit 381eaac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions schemas/Espanso_Match_Schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
"then": {
"properties": {
"params": {
"additionalProperties": false,
"type": "object",
"properties": {
"echo": {
Expand All @@ -193,6 +194,7 @@
"then": {
"properties": {
"params": {
"additionalProperties": false,
"type": "object",
"properties": {
"choices": {
Expand All @@ -217,6 +219,7 @@
"then": {
"properties": {
"params": {
"additionalProperties": false,
"type": "object",
"properties": {
"values": {
Expand All @@ -241,10 +244,14 @@
"then": {
"properties": {
"params": {
"additionalProperties": false,
"type": "object",
"properties": {
"format": {
"type": "string"
},
"offset": {
"type": "integer"
}
},
"required": [
Expand All @@ -265,6 +272,7 @@
"then": {
"properties": {
"params": {
"additionalProperties": false,
"type": "object",
"properties": {
"args": {
Expand All @@ -289,10 +297,14 @@
"then": {
"properties": {
"params": {
"additionalProperties": false,
"type": "object",
"properties": {
"cmd": {
"type": "string"
},
"shell": {
"type": "string"
}
},
"required": [
Expand Down

0 comments on commit 381eaac

Please sign in to comment.