test-fixtures/index/getFields/02/metadata.json
{
"description": "Should return control fields with matching tag and value",
"skip": false,
"input": {
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "001", "value": "A"},
{"tag": "001", "value": "B"},
{"tag": "003", "value": "A"},
{"tag": "100", "ind1": " ", "ind2": " ", "subfields": [{"code": "a", "value": "A"}]},
{"tag": "245", "ind1": " ", "ind2": " ", "subfields": [{"code": "a", "value": "A"}, {"code": "b", "value": "B"}]},
{"tag": "245", "ind1": " ", "ind2": " ", "subfields": [{"code": "a", "value": "A"}, {"code": "b", "value": "B"}, {"code": "c", "value": "C"}]}
]
},
"operations": [
{ "name": "getFields", "args": {"tag": "001", "value": "B"}}
],
"returns": [
{"tag": "001", "value": "B"}
],
"immutable": true
}