Request: items where the tags array contains "urgent"
Input:
id: 1
tags: a
urgent
id: 2
tags: b
jq program: map(select(.tags | index("urgent")))
Output:
id: 1
tags: a
urgent