---
tags: code4, stam-acasa
title: StamAcasa - Answers json format proposals
---
## Proposal `#1`
```json
{
"formId": 1,
"timestamp": 20200327193822,
"age": 37,
"...other user properties...": "values..",
"answers":[
"{{questionText1}}": "{{selectedOptionValue1}}",
"{{questionText2}}": "{{selectedOptionValue2}}",
"{{questionText3}}": "{{selectedOptionValue3}}",
"{{questionText4}}": "{{selectedOptionValue4}}",
"{{questionText5}}": "{{selectedOptionValue5}}",
]
}
```
## Proposal `#2`
```json
{
"formId": 1,
"timestamp": 20200327193822,
"age": 37,
"...other user properties...": "values..",
"answers": [
{
"id": "{{questionId1}}",
"questionText": "{{questionText1}}",
"answer": "{{seletedOptionValue1}}"
},
{
"id": "{{questionId2}}",
"questionText": "{{questionText2}}",
"answer": "{{seletedOptionValue2}}"
},
{
"id": "{{questionId3}}",
"questionText": "{{questionText3}}",
"answer": "{{seletedOptionValue3}}"
},
{
"id": "{{questionId4}}",
"questionText": "{{questionText4}}",
"answer": "{{seletedOptionValue4}}"
}
{
"id": "{{questionId4}}",
"questionText": "{{questionText5}}",
"answer": "{{seletedOptionValue5}}"
}
]
}
```
## Proposal `#3`
```json
{
"formId": 1,
"timestamp": 20200327193822,
"age": 37,
"...other user properties...": "values..",
"{{questionText1}}": "{{selectedOptionValue1}}",
"{{questionText2}}": "{{selectedOptionValue2}}",
"{{questionText3}}": "{{selectedOptionValue3}}",
"{{questionText4}}": "{{selectedOptionValue4}}",
"{{questionText5}}": "{{selectedOptionValue5}}"
}
```
## Proposal `#4`
```json
{
"formId": 1,
"timestamp": 20200327193822,
"age": 37,
"...other user properties...": "values..",
"answer":{"{{questionText1}}": "{{selectedOptionValue1}}"}
}
{
"formId": 1,
"timestamp": 20200327193822,
"age": 37,
"...other user properties...": "values..",
"answer":{"{{questionText2}}": "{{selectedOptionValue2}}"}
}