Files
sfera/docs/1c-metadata-object-catalog.md
2026-05-16 19:03:49 +03:00

22 lines
1.3 KiB
Markdown

# 1C Metadata Object Catalog
This catalog is the product source of truth for the 1C metadata tree. It is backed by the official EDT mdclass metamodel and exposed by `/metadata/catalog`.
Primary sources:
- EDT mdclass package: https://edt.1c.ru/dev/edt/2024.2/apidocs/com/_1c/g5/v8/dt/metadata/mdclass/package-summary.html
- EDT HTTPService: https://edt.1c.ru/dev/edt/2024.2/apidocs/com/_1c/g5/v8/dt/metadata/mdclass/HTTPService.html
- 1C HTTP services guide: https://1c-dn.com/1c_enterprise/http_services/
Root configuration objects are maintained in `packages/one-c-normalizer/src/one_c_normalizer/metadata_catalog.py` as `METADATA_TYPE_SPECS` plus descriptions in `METADATA_TYPE_DESCRIPTIONS`.
Child metadata elements are maintained in the same module as `METADATA_CHILD_OBJECT_SPECS`.
Important documented structures:
- HTTP service: HTTP service -> URL templates -> methods -> module.
- Web service: Web service -> operations -> parameters -> module.
- Integration service: Integration service -> channels -> messages -> module.
- Registers: register -> dimensions -> resources -> requisites -> forms -> commands -> templates -> rights -> record set/manager modules.
- Catalogs/plans/documents: object -> requisites -> tabular sections -> forms -> commands -> templates -> rights -> modules, with type-specific groups such as movements or predefined data.