Bug 1618816 - Define json schema for log_details column

This commit is contained in:
octavian-negru 2020-03-06 10:49:19 +02:00 коммит произвёл GitHub
Родитель ef65260bba
Коммит 322c4631c8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,18 @@
{
"title": "PerfSheriffBot's schema for storing logs",
"description": "Used to store the outcome of PerfSheriffBot actions (i.e. backfill, retrigger)",
"type": "object",
"properties": {
"action": {
"type": "string",
"minLength": 1,
"maxLength": 20
},
"outcome": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": ["action", "outcome"]
}