---
# System prepended metadata

title: Untitled

---

```solidity
struct Attribute {
    ...;
    bytes32 parentEncodedName;
}

function createAttribute(
    …,
    bytes32 parentEncodedName
)
    external
{
    ...
    attributes[encodedName] = Attribute({
        ...,
        parentEncodedName: parentEncodedName
    });
}
```