I keep running into the error
BundleValidationError
Validation failed for 2 parameter(s).
- Invalid collection in parameter ‘parameters’.
- Invalid collection in parameter ‘objectDefinitions’.
I map a json like this to the Structured Data Definition
{
"parameterName": "parameter1",
"description": "description of parameter 1",
"dataType": "Text"
},
{
"parameterName": "parameter2",
"description": "description of parameter 2",
"dataType": "Text"
},
{
"parameterName": "attributes",
"description": "description of attributes",
"dataType": "Object",
"definitionName": "attributes_object"
},
{
"parameterName": "category",
"description": "category object description",
"dataType": "Object",
"definitionName": "category_object"
}
and a json like this to the Object Definitions:
{
"objectName": "attributes_object",
"description": "Details der Attribute für Zimmerpflanzen.",
"properties": [
{
"parameterName": "attribute1",
"description": "description of attribute1",
"dataType": "Number"
},
{
"parameterName": "attribute2",
"description": "description of attribute2",
"dataType": "Boolean"
},
{
"parameterName": "attribute3",
"description": "description of attribute3",
"dataType": "Text"
}
]
},
{
"objectName": "category_object",
"description": "category object description",
"properties": [
{
"parameterName": "category1",
"description": "description of category1",
"dataType": "Array (text)",
},
{
"parameterName": "category2",
"description": "description of category2",
"dataType": "Array (text)",
},
{
"parameterName": "category3",
"description": "description of category3",
"dataType": "Array (text)",
}
]
}
I havent found the documentation for the maped fields anywhere, on how the input has to be structured. Do any of you guys know of a solution, or resourcces, that point me into the right direction?