41 lines
922 B
JSON
41 lines
922 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "webhooks",
|
|
"title": "webhooks",
|
|
"description": "Base webhooks definitions",
|
|
"definitions": {
|
|
"webhook": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"event": {
|
|
"type": "string",
|
|
"maxLength": 50,
|
|
"isLowercase": true
|
|
},
|
|
"target_url": {
|
|
"type": "string",
|
|
"format": "uri-reference",
|
|
"maxLength": 2000
|
|
},
|
|
"name": {
|
|
"type": ["string", "null"],
|
|
"maxLength": 191
|
|
},
|
|
"secret": {
|
|
"type": ["string", "null"],
|
|
"maxLength": 191
|
|
},
|
|
"api_version": {
|
|
"type": ["string", "null"],
|
|
"maxLength": 50
|
|
},
|
|
"integration_id": {
|
|
"type": ["string", "null"],
|
|
"maxLength": 24
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|