test-fixtures/index/constructor/09/metadata.json
{
"description": "Should create a clone from record with custom validation options",
"skip": false,
"input": {
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "001", "value": "bar"},
{"tag": "002", "value": "bar"},
{"tag": "003", "value": "bar"},
{"tag": "004", "value": "bar"},
{"tag": "002", "value": "foo"},
{"tag": "005", "value": "bar"}
]
},
"operations": [{ "name": "clone", "args": { "validationOptions": {"subfields": false}}}],
"returns": {
"_validationOptions": {"subfields": false},
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "001", "value": "bar"},
{"tag": "002", "value": "bar"},
{"tag": "003", "value": "bar"},
{"tag": "004", "value": "bar"},
{"tag": "002", "value": "foo"},
{"tag": "005", "value": "bar"}
]
},
"immutable": true
}