{
    "id": "cub171-attachment-states",
    "title": "Различить отсутствующий файл, пустой BLOB и готовое вложение",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "id=10",
            "Файл не приложен (SQL NULL)"
        ],
        [
            "id=20",
            "Пустой файл, 0 байт"
        ],
        [
            "id=30",
            "Готовая квитанция, 3 байта"
        ],
        [
            "Разных состояний",
            3
        ],
        [
            "Файл",
            "attachment-states.csv"
        ]
    ],
    "checks": {
        "three_rows": true,
        "null_distinct": true,
        "empty_distinct": true,
        "data_exact": true,
        "three_states": true,
        "resource_closed": true,
        "artifact_rows": true,
        "artifact_written": true,
        "owned_objects_removed": true
    },
    "observations": {
        "states": [
            {
                "id": 10,
                "status": "missing",
                "bytes": null,
                "bytes64": null,
                "data_hex": null
            },
            {
                "id": 20,
                "status": "empty",
                "bytes": 0,
                "bytes64": "0",
                "data_hex": ""
            },
            {
                "id": 30,
                "status": "ready",
                "bytes": 3,
                "bytes64": "3",
                "data_hex": "4f4b0a"
            }
        ],
        "policy": {
            "missing": "Запросить файл",
            "empty": "Уточнить пустой шаблон",
            "ready": "Разрешить просмотр после проверки прав"
        }
    },
    "runtime": {
        "php": "7.4.33",
        "extension": "11.2.0.0002",
        "php_extension_metadata": null,
        "server_version": "11.3.5.1274",
        "client_version": "11.2.0",
        "database": "phpmanual171",
        "transport": "isolated_loopback_broker",
        "charset": "utf-8",
        "autocommit": false
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "c171_file_states_1cc6ccd076"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "c171_file_states_1cc6ccd076"
        }
    ]
}
