children: [
%{
key: :match_actor,
- type: :map,
+ type: {:map, {:list, :string}},
description: "Matches a series of regular expressions against the actor field",
suggestions: [
%{
},
%{
key: :replace,
- type: {:keyword, :string, :regex},
+ type: {:list, :tuple},
description:
"A list of tuples containing {pattern, replacement}. Each pattern can be a string or a regular expression.",
suggestions: [{"foo", "bar"}, {~r/foo/iu, "bar"}]
children: [
%{
key: :params,
- type: {:keyword, :string}
+ type: {:map, :string}
}
]
}