diff --git a/docs/1c-sql-protocol/research/report-template-codec-program.md b/docs/1c-sql-protocol/research/report-template-codec-program.md index e6248c3..a70932a 100644 --- a/docs/1c-sql-protocol/research/report-template-codec-program.md +++ b/docs/1c-sql-protocol/research/report-template-codec-program.md @@ -37,7 +37,7 @@ GUID отчёта: `c428f629-785a-4141-b038-f2192bb4580d`. | HTML документ | частичное текстовое/HTML evidence | read-only до round-trip fixture | | Географическая схема | opaque typed candidate | read-only | | Графическая схема | opaque typed candidate | read-only | -| Схема компоновки данных | XML decoder + scalar byte-preserving patch | write only after public route and saved-state codec proof | +| Схема компоновки данных | XML decoder + scalar byte-preserving patch | `read_and_scalar_patch_supported`; write only after public route and saved-state codec proof | | Макет оформления компоновки данных | отдельный XML family | read-only до own fixture proof | | Внешняя компонента | opaque archive | hash/size only | diff --git a/plugins/1c/connector/adapter_1c_server.py b/plugins/1c/connector/adapter_1c_server.py index 158c225..700b7e7 100644 --- a/plugins/1c/connector/adapter_1c_server.py +++ b/plugins/1c/connector/adapter_1c_server.py @@ -163,7 +163,7 @@ ONEC_TEMPLATE_PLATFORM_TYPES = [ "name": "Схема компоновки данных", "xml_type": "DataCompositionSchema", "decoder": "data_composition_schema", - "status": "not_implemented", + "status": "read_and_scalar_patch_supported", "aliases": ["СхемаКомпоновкиДанных", "DataCompositionSchema"], }, { diff --git a/tests/1c/test_payload_codec.py b/tests/1c/test_payload_codec.py index b42d5e0..22c056a 100644 --- a/tests/1c/test_payload_codec.py +++ b/tests/1c/test_payload_codec.py @@ -6913,6 +6913,7 @@ def test_public_template_summary_exposes_known_platform_types() -> None: assert summary["template_type_candidates"][0]["confidence"] == "high" assert "Текстовый документ" in {item["name"] for item in summary["known_platform_types"]} assert "Внешняя компонента" in {item["name"] for item in summary["known_platform_types"]} + assert next(item for item in summary["known_platform_types"] if item["id"] == "data_composition_schema")["status"] == "read_and_scalar_patch_supported" assert {item["name"] for item in summary["known_platform_types"]} == { "Табличный документ", "Текстовый документ",