Skip to content

Commit

Permalink
update run-file schema regex that validate engine id lists for client…
Browse files Browse the repository at this point in the history
…/server
  • Loading branch information
k-rister committed Nov 27, 2023
1 parent 6bcb387 commit be9a562
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions util/JSON/schema-k8s.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -38,7 +38,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -65,7 +65,7 @@
},
"ids": {
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
}
},
"additionalProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions util/JSON/schema-kvm.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -32,7 +32,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -59,7 +59,7 @@
},
"ids": {
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
}
},
"additionalProperties": false,
Expand Down
6 changes: 3 additions & 3 deletions util/JSON/schema-osp.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -35,7 +35,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -62,7 +62,7 @@
},
"ids": {
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
}
},
"additionalProperties": false,
Expand Down
8 changes: 4 additions & 4 deletions util/JSON/schema-remotehost.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -32,7 +32,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -43,7 +43,7 @@
"anyOf": [
{
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
},
{
"type": "integer"
Expand All @@ -70,7 +70,7 @@
},
"ids": {
"type": "string",
"pattern": "^(?!0$)(([1-9]|10)(-[1-9][0-9]*)?)(\\+(([1-9]|10)(-[1-9][0-9]*)?))*$"
"pattern": "^(([1-9][0-9]*)(-[1-9][0-9]*)?)(\\+(([1-9][0-9]*)(-[1-9][0-9]*)?))*$"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit be9a562

Please sign in to comment.