The locker ID is 0048. If a downstream parser treats it as a number, the leading zeros can disappear. Write it as a quoted string and check what your publishing or import tool reads.

---
locker_id: "0048"
shelf_count: 12
---

A front matter example quotes locker_id while leaving shelf_count numeric.

Example metadata. Quote the identifier and leave other types intentional.

Front matter only works in tools that recognize it. The quotes tell a YAML parser to read the ID as text under the usual schema rules. Keep quantities such as shelf_count numeric if the downstream process expects them that way.

Check the parsed value and type

Run your actual metadata import or preview. Look for locker_id as a string with exactly four characters, 0048. If a later export shows 48, inspect that step too. It may have converted the string after the YAML was parsed.

An inspection card shows the downstream locker_id value as the string 0048.

Example parser check. Verify both the value and its type.

YAML’s quoted scalar specification.