{"oneOf": [{"properties": {"consumerGroup": {"type": "string"}, "direction": {"enum": ["in"]}, "cardinality": {"enum": ["one", "many"]}, "type": {"enum": ["eventHubTrigger"]}}}, {"properties": {"direction": {"enum": ["out"]}, "type": {"enum": ["eventHub"]}}}], "properties": {"path": {"type": "string"}, "connection": {"type": "string"}}}