Get Legal Provision Metadata
ua_law__get_unitMetadata for one structural unit, addressed by its URN.
urn is 'urn:ua:law:{nreg}:{path}@{YYYYMMDD}'. Drop '@{YYYYMMDD}' for today's
edition; drop the path too for the whole document. Take one from a filtered
get_document_toc rather than building it.
A URN resolving to no unit answers 'not_found' with the nearest real units
either side and same_segment -- real paths ending in the segment asked for,
the hint when the right article was guessed under a wrong ancestor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urn | Yes | Unit URN, from get_document_toc. |