Hi @cbernier12
1. So you don't need a Compose. I am just using a Compose action to simulate your HTTP Body. So instead of using Compose, use the HTTP Body.
2. The expression for the variable is:
array(outputs('Compose'))
Replace the Compose with
array(<HTTP BODY>)
3. The array value is the Array Variable that we used the array() expression. From step 2, notice how the name of my variable is 'array'
Here is the schema:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"$content-type": {
"type": "string"
},
"$content": {
"type": "string"
}
},
"required": [
"$content-type",
"$content"
]
}
}