{"oneOf": [{"properties": {"direction": {"enum": ["in"]}, "methods": {"items": [{"enum": ["get", "post", "delete", "head", "patch", "put", "options", "trace"], "type": "string"}], "type": "array"}, "webHookType": {"type": "string"}, "route": {"type": "string"}, "type": {"enum": ["httpTrigger"]}, "authLevel": {"default": "function", "enum": ["anonymous", "function", "admin"], "type": "string"}}}, {"properties": {"direction": {"enum": ["out"]}, "type": {"enum": ["http"]}}}]}