{ "propertySpec": { "type": "array", "value": "string", "property-type": "data-driven", "expression": {"parameters": ["zoom", "feature"]} }, "expression": ["get", "array"], "inputs": [ [{}, {"properties": {"array": ["a", "b"]}}], [{}, {"properties": {"array": [1, 2]}}], [{}, {"properties": {"array": "not"}}] ], "expected": { "compiled": { "result": "success", "isFeatureConstant": false, "isZoomConstant": true, "type": "array" }, "outputs": [ ["a", "b"], { "error": "Expected value to be of type array, but found array instead." }, { "error": "Expected value to be of type array, but found string instead." } ], "serialized": ["array", "string", ["get", "array"]] } }