Files
smeta-web/docs/contracts/arm-v1/schemas/review_create.json
T
anorandClaude Code 9da5cc0448 feat(проверка): пара адресов «до/после» живёт в строке проверки (S-32, S-33)
S-32. Строка проверки хранит адрес и в «до», и в «после»: target_path_before,
target_sheet_before, target_row_before пишутся при создании, возвращаются в карточке
проверки и при выдаче строки. Без этого проверяющий после перезапуска или из другого
окна не знал, какой файл «до» открывать. Тело создания описано схемой
schemas/review_create.json с примером; схема строки дополнена полями пары.

S-33. Описаны поток событий проверки (snapshot, item, done/failed/stopped; пример
examples/stream_review.txt) и отчёт xlsx: тип, имя файла, столбцы.

Mock хранит и отдаёт пару так же. Проверки: 205 зелёных; красная проверка пары краснеет,
если поля не пишутся. Отпечаток набора: f07118c4…c810.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-19 00:47:44 +10:00

83 lines
1.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Создание проверки (программа)",
"type": "object",
"required": [
"confirmed",
"items",
"budget_rub"
],
"properties": {
"confirmed": {
"type": "boolean",
"description": "человек подтвердил оценку расхода"
},
"title": {
"type": [
"string",
"null"
]
},
"budget_rub": {
"type": "number"
},
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"ord",
"text"
],
"properties": {
"ord": {
"type": "integer"
},
"text": {
"type": "string"
},
"target_path": {
"type": [
"string",
"null"
]
},
"target_sheet": {
"type": [
"string",
"null"
]
},
"target_row": {
"type": [
"integer",
"null"
]
},
"target_path_before": {
"type": [
"string",
"null"
]
},
"target_sheet_before": {
"type": [
"string",
"null"
]
},
"target_row_before": {
"type": [
"integer",
"null"
]
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}