Skip to content

Commit

Permalink
update json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
haricnugraha committed Nov 6, 2023
1 parent 81dfb48 commit c339465
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/schemas/json/monika-config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,20 @@
"title": "HTTP Method",
"type": "string",
"description": "The http method",
"enum": ["GET", "POST", "DELETE", "PUT", "PATCH"],
"enum": [
"CONNECT",
"DELETE",
"GET",
"HEAD",
"LINK",
"OPTIONS",
"PATCH",
"POST",
"PURGE",
"PUT",
"TRACE",
"UNLINK"
],
"default": "GET"
},
"url": {
Expand Down Expand Up @@ -329,6 +342,13 @@
"required": ["assertion", "message"],
"additionalProperties": false,
"properties": {
"id": {
"title": "Id",
"type": "string",
"description": "Unique string identification of the alert",
"examples": ["alert-1"],
"default": "alert-1"
},
"assertion": {
"title": "Assertion",
"type": "string",
Expand All @@ -347,6 +367,13 @@
"required": ["query", "message"],
"additionalProperties": false,
"properties": {
"id": {
"title": "Id",
"type": "string",
"description": "Unique string identification of the alert",
"examples": ["alert-1"],
"default": "alert-1"
},
"query": {
"title": "Query",
"type": "string",
Expand Down

0 comments on commit c339465

Please sign in to comment.