Open stanch opened 8 years ago
Would it be possible to provide the used dataStructures
object?
It happens with this basic MSON:
# Data Structures
## Payment
- items (array) - The list of items that were paid for.
- (Item)
## Item
- quantity: 3 (number) - The purchased quantity of this specific item.
var dataStructures = [
{
"element": "object",
"meta": {
"id": "Payment"
},
"content": [
{
"element": "member",
"meta": {
"description": "The list of items that were paid for."
},
"content": {
"key": {
"element": "string",
"content": "items"
},
"value": {
"element": "array",
"content": [
{
"element": "Item"
}
]
}
}
}
]
},
{
"element": "object",
"meta": {
"id": "Item"
},
"content": [
{
"element": "member",
"meta": {
"description": "The purchased quantity of this specific item."
},
"content": {
"key": {
"element": "string",
"content": "quantity"
},
"value": {
"element": "number",
"content": 3
}
}
}
]
}
];
var element = {
"element": "object",
"meta": {
"id": "Payment"
},
"content": [
{
"element": "member",
"meta": {
"description": "The list of items that were paid for."
},
"content": {
"key": {
"element": "string",
"content": "items"
},
"value": {
"element": "array",
"content": [
{
"element": "Item"
}
]
}
}
}
]
};
Although it works in the demo, in our code the arrow is missing (left of “items”):
Here is how attributes-kit is being used: