
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeIn your example, you would have 6 unique attributes counting toward your limit.
Here's how Sanity counts attributes based on the attribute limit documentation:
An attribute is defined as a unique combination of path and datatype through your content. Think of it as the different paths through your documents. What matters is the structure, not how many times you use it.
For your familyMembers document with the nameFull object used twice:
yourName → objectyourName.firstName → stringyourName.lastName → stringyourFathersName → objectyourFathersName.firstName → stringyourFathersName.lastName → stringSince yourName and yourFathersName are different field names, they create separate paths. Even though they're both using the same nameFull object type, each field name creates its own unique path through your content structure.
Key things to understand:
nameFull objects instead (like names[]), you'd only have 3 attributes: names (array), names[].firstName (string), and names[].lastName (string) - because array items share the same path patternThe good news: If you had 100 documents all using this same structure, it would still be just 6 attributes. The count doesn't multiply by the number of documents.
Plan limits:
To check your current usage, visit: https://<projectId>.api.sanity.io/v1/data/stats/<datasetName> and look at fields.count.value.
If you're concerned about hitting limits, consider best practices like using arrays for repeated structures (which share paths), avoiding excessive nesting, and being mindful of field-level translation approaches that can multiply your attribute count.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content backend


The only platform powering content operations


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store