test-fixtures/index/removeFields/02/metadata.json
{
"description": "Should remove fields with direct indexing",
"skip": false,
"input": {
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "000", "value": "bar"},
{"tag": "001", "value": "bar"},
{"tag": "002", "value": "bar"},
{"tag": "003", "value": "bar"},
{"tag": "004", "value": "foo"},
{"tag": "005", "value": "bar"}
]
},
"operations": [
{ "name": "removeField", "args": { "index": 4 }},
{ "name": "removeField", "args": { "index": 2 }}
],
"result": {
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "000", "value": "bar"},
{"tag": "001", "value": "bar"},
{"tag": "003", "value": "bar"},
{"tag": "005", "value": "bar"}
]
}
}