Description
Return region-path depth and supplied edition support.
Regional records connect place labels, language coverage, source vintages, calendar offsets and historical units. A literal label or supplied year offset can organize metadata without resolving changes in borders, calendar systems or naming authority. Unknown and ambiguous values must retain their explicit flags.
Return region-path depth and supplied edition support.
When to use this tool
Use Public Region Code Era Depth when checking the stated regional record, period, hierarchy or text convention.
How to use the tool and how it works
- Enter regionPath, applicableEditions, requestedEdition. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read depth, editionSupported. Inspect editionSupported before interpreting the associated values.
Return region-path depth and supplied edition support. depth is regionPath.length, editionSupported tests requestedEdition membership.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| regionPath | Region Path | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| applicableEditions | Applicable Editions | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| requestedEdition | Requested Edition | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| depth | Depth | Required. Safe integer. |
| editionSupported | Edition Supported | Required. Boolean. |
{
"input": {
"regionPath": [
"world",
"region",
"district"
],
"applicableEditions": [
"2000",
"2010"
],
"requestedEdition": "2010"
},
"output": {
"depth": 3,
"editionSupported": true
}
} Limitations and assumptions
- No hierarchy, geographic boundary, authority source or edition applicability is independently verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Consult the original sources, applicable calendar and historical naming/measurement authorities for geographic or historical interpretation.
References
Similar or alternative tools
- Region Label Source Vintage
Return region-label source age and a source key.
- Place Hierarchy Level Count
Return place-path level count under a root policy.