# Fileconfigure json document

**URL:** <https://forums.foundationdb.org/t/fileconfigure-json-document/1162>\
**Category:** Using FoundationDB\
**Created:** [February 20, 2019, 7:38am UTC](https://forums.foundationdb.org/t/fileconfigure-json-document/1162 "2019-02-20T07:38:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasilii](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@Vasilii](https://forums.foundationdb.org/u/Vasilii)\
**Post date:** [February 20, 2019, 7:38am UTC](https://forums.foundationdb.org/t/fileconfigure-json-document/1162/1 "2019-02-20T07:38:37Z")

</div>

Hi everyone.

We trying setup double dc in 1 region and found this

> “regions”:[{  
> “datacenters”:[{  
> “id”:“WC1”,  
> “priority”:1,  
> },{  
> “id”:“WC2”,  
> “priority”:0,  
> “satellite”:1  
> }],  
> “satellite\_redundancy\_mode”:“one\_satellite\_double”  
> },{  
> “datacenters”:[{  
> “id”:“EC1”,  
> “priority”:0,  
> }]  
> }]

as we understand it’s a part of big json document but we can’t find full example of json document for Fileconfigure.

Please help me find a detailed sample json file for Fileconfigure.

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/evan/32/104_2.png) [@Evan](https://forums.foundationdb.org/u/Evan)\
**Post date:** [February 25, 2019, 6:28pm UTC](https://forums.foundationdb.org/t/fileconfigure-json-document/1162/2 "2019-02-25T18:28:55Z")

</div>

I think all you are missing is a {} around the whole thing. The schema which specifies all possible options is in the source here: [https://github.com/apple/foundationdb/blob/master/fdbclient/Schemas.cpp#L619](https://github.com/apple/foundationdb/blob/master/fdbclient/Schemas.cpp#L619)
