Skip to content

Identical fields

natlibfi-arlehiko edited this page Sep 6, 2018 · 2 revisions

Description

Handles identical fields

Examples

Valid record

{
  leader: 'foo',
  fields: [
    {
      tag: '700',
      subfields: [
        {
          code: 'e',
          value: 'foo'
        }
      ]
    }
  ]
}

Invalid record

{
  leader: 'foo',
	fields: [
		{
			tag: '700',
			subfields: [
				{
					code: 'e',
					value: 'foo'
				}
			]
		},
		{
			tag: '800',
			subfields: [
				{
					code: 'e',
					value: 'foo'
				}
			]
		},
		{
			tag: '800',
			subfields: [
				{
					code: 'e',
					value: 'foo'
				}
			]
		},
		{
			tag: '700',
			subfields: [
				{
					code: 'e',
					value: 'foo'
				}
			]
		}
	]
}