# JSON:API Document Based Storage

**URL:** <https://discuss.jsonapi.org/t/json-api-document-based-storage/2778>\
**Category:** Uncategorized\
**Created:** [February 16, 2024, 4:51am UTC](https://discuss.jsonapi.org/t/json-api-document-based-storage/2778 "2024-02-16T04:51:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedram](https://avatars.discourse-cdn.com/v4/letter/p/82dd89/32.png) [@pedram](https://discuss.jsonapi.org/u/pedram)\
**Post date:** [February 16, 2024, 4:51am UTC](https://discuss.jsonapi.org/t/json-api-document-based-storage/2778/1 "2024-02-16T04:51:54Z")

</div>

Hi Folks ,

Wanted to understand how do you deal with document based databases that have multi-value embedded documents . Here is an example

{  
…  
“tags” : [{“refkey”,“2344”,“value”:“private”},{“refkey”:“0339”,“value”:“public”}]

}

I can represent embedded documents as relationships and requires some kind parent id but wondering if there is a better way . If the standard allows for a way to add and remove values for attribute list then this would be more preferred .

Thanks in advance
