-- На основе MARC21-структуры на английском «Books, Booklets, Workbooks»
-- Перевод/адаптация: Сергей Дубик, Ольга Баркова (2011)

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '090', '', 1, 'Шифры', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '090', 'a', 0, 0, 'Полочный индекс', '',                   0, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'b', 0, 0, 'Local cutter number (OCLC) ; Book number/undivided call number, CALL (RLIN)', 'Local cutter number (OCLC) ; Book number/undivided call number, CALL (RLIN)', 0, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'e', 0, 1, 'Инвентарный номер', '',                 0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'f', 0, 1, 'Сигла хранения', '',                    0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'h', 0, 1, 'Формат', '',                            0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'i', 0, 0, 'Output transaction instruction, INS (RLIN)', 'Output transaction instruction, INS (RLIN)', 0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'l', 0, 0, 'Extra card control statement, EXT (RLIN)', 'Extra card control statement, EXT (RLIN)', 0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'n', 0, 0, 'Additional local notes, ANT (RLIN)', 'Additional local notes, ANT (RLIN)', 0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'p', 0, 0, 'Pathfinder code, PTH (RLIN)', 'Pathfinder code, PTH (RLIN)', 0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 't', 0, 0, 'Field suppresion, FSP (RLIN)', 'Field suppresion, FSP (RLIN)', 0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'v', 0, 0, 'Volumes, VOL (RLIN)', 'Volumes, VOL (RLIN)', 0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'y', 0, 0, 'Date, VOL (RLIN)', 'Date, VOL (RLIN)',  0, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '090', 'z', 0, 0, 'Retention, VOL (RLIN)', 'Retention, VOL (RLIN)', 0, 5, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '099', '', 1, 'Периодические издания', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '099', 'a', 0, 0, 'Индекс', '',                            0, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '099', 'e', 0, 0, 'Год', '',                               0, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '099', 'f', 0, 0, 'Количество комплектов', '',             0, -6, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '100', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  1, 0, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '110', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  1, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '111', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  1, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '130', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  1, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '240', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  2, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '243', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  2, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '400', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  4, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '410', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  4, -6, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '411', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  4, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '440', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  4, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '600', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '610', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '611', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '630', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '650', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '651', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '690', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '691', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '696', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '697', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '698', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '699', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  6, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '700', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '710', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '711', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '730', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '789', '9', 0, 0, 9, 9,                                    7, -6, '', '', '', NULL, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '796', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '797', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '798', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '799', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  7, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '800', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '810', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '811', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '830', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '880', '9', 0, 1, 9, 9,                                    8, -6, '', '', '', NULL, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '886', '9', 0, 1, 9, 9,                                    8, -6, '', '', '', NULL, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '896', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '897', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '898', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '899', '9', 0, 0, '9 (RLIN)', '9 (RLIN)',                  8, -5, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '900', '', 1, 'Макрообъекты', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '900', '4', 0, 1, 'Relator code', 'Relator code',          9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', '6', 0, 0, 'Linkage', 'Linkage',                    9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'a', 0, 0, 'Имя макрообъекта', '',                  9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'b', 0, 0, 'Доступ к макрообъекту', '',             9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'c', 0, 1, 'Titles and other words associated with a name', 'Titles and other words associated with a name', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'd', 0, 0, 'Dates associated with a name', 'Dates associated with a name', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'e', 0, 1, 'Relator term', 'Relator term',          9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'f', 0, 0, 'Date of a work', 'Date of a work',      9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'j', 0, 1, 'Attribution qualifier', 'Attribution qualifier', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'k', 0, 1, 'Form subheading', 'Form subheading',    9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'n', 0, 1, 'Number of part/section of a work', 'Number of part/section of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'q', 0, 0, 'Fuller form of name', 'Fuller form of name', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 't', 0, 0, 'Title of a work', 'Title of a work',    9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '900', 'u', 0, 0, 'Affiliation', 'Affiliation',            9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '901', '', 1, 'Тип документа', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '901', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 't', 0, 0, 'Тип документа', '',                     9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '901', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '902', '', 1, 'Элемент локальных данных B', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '902', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '902', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '903', '', 1, 'Элемент локальных данных C', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '903', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '903', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '904', '', 1, 'Элемент локальных данных D', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '904', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '904', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '905', '', 1, 'Элемент локальных данных E', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '905', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '905', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '906', '', 1, 'Элемент локальных данных F', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '906', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '906', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '907', '', 1, 'Элемент локальных данных G', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '907', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '907', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '908', '', '', 'Параметр входа данных', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '908', 'a', 0, 0, 'Параметр входа данных', '',             9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '910', '', '', 'Еквівалент або перехресне посилання — наймення організації', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '910', 'a', 0, 0, 'Еквівалент або перехресне посилання — наймення організації', '', 9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '911', '', 1, 'Журнальная рубрика', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', NULL, '911', '4', 0, 1, 'Relator code', 'Relator code',        9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', '6', 0, 0, 'Linkage', 'Linkage',                  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'a', 0, 0, 'Журнальная рубрика', '',              9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'b', 0, 0, 'Number [OBSOLETE]', 'Number [OBSOLETE]', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'c', 0, 0, 'Location of meeting', 'Location of meeting', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'd', 0, 0, 'Date of meeting', 'Date of meeting',  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'e', 0, 1, 'Subordinate unit', 'Subordinate unit', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'f', 0, 0, 'Date of a work', 'Date of a work',    9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'k', 0, 1, 'Form subheading', 'Form subheading',  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'n', 0, 1, 'Number of part/section/meeting', 'Number of part/section/meeting', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'q', 0, 0, 'Name of meeting following jurisdiction name entry element', 'Name of meeting following jurisdiction name entry element', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 't', 0, 0, 'Title of a work', 'Title of a work',  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '911', 'u', 0, 0, 'Affiliation', 'Affiliation',          9, -6, NULL, NULL, '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '930', '', 1, 'Эквивалент или перекрестная ссылка — унифицированный заголовок (локальное, Канада)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', NULL, '930', '6', 0, 0, 'Linkage', 'Linkage',                  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'a', 0, 0, 'Uniform title', 'Uniform title',      9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'd', 0, 1, 'Date of treaty signing', 'Date of treaty signing', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'f', 0, 0, 'Date of a work', 'Date of a work',    9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'h', 0, 0, 'Medium', 'Medium',                    9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'k', 0, 1, 'Form subheading', 'Form subheading',  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'm', 0, 1, 'Medium of performance for music', 'Medium of performance for music', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'n', 0, 1, 'Number of part/section of a work', 'Number of part/section of a work', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'o', 0, 0, 'Arranged statement for music', 'Arranged statement for music', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 'r', 0, 0, 'Key for music', 'Key for music',      9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 's', 0, 0, 'Version', 'Version',                  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '930', 't', 0, 0, 'Title of a work', 'Title of a work',  9, -6, NULL, NULL, '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '936', '', '', 'OCLC-данные; часть, используемая для каталогизации', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '936', 'a', 0, 1, 'OCLC-данные; часть, используемая для каталогизации', '', 9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '940', '', 1, 'Эквивалент или перекрестная ссылка — унифицированное название (устаревшее) (только CAN/MARC)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '940', '6', 0, 0, 'Linkage', 'Linkage',                    9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'a', 0, 0, 'Uniform title', 'Uniform title',        9, -6, '', '', '', 1, '', '', NULL),
 ('BKS', '', '940', 'd', 0, 1, 'Date of treaty signing', 'Date of treaty signing', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'f', 0, 0, 'Date of a work', 'Date of a work',      9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'h', 0, 0, 'Medium', 'Medium',                      9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'k', 0, 1, 'Form subheading', 'Form subheading',    9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'm', 0, 1, 'Medium of performance for music', 'Medium of performance for music', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'n', 0, 1, 'Number of part/section of a work', 'Number of part/section of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'o', 0, 0, 'Arranged statement for music', 'Arranged statement for music', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 'r', 0, 0, 'Key for music', 'Key for music',        9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '940', 's', 0, 0, 'Version', 'Version',                    9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '941', '', 1, 'Эквивалент или перекрестная ссылка — лицензированное название (устаревшее) (только CAN/MARC)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', NULL, '941', 'a', 0, 0, 'Romanized title', 'Romanized title',  9, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '941', 'h', 0, 0, 'Medium', 'Medium',                    9, -6, NULL, NULL, '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '942', '', '', 'Дополнительные данные (Коха)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '942', '0', 0, 0, 'Количество выдач для всех экземпляров', '', 9, -5, 'biblioitems.totalissues', '', '', NULL, '', '', NULL),
 ('BKS', '', '942', '2', 0, 0, 'Код системы классификации для розстановки фонда', '', 9, 0, 'biblioitems.cn_source', 'cn_source', '', NULL, '', '', NULL),
 ('BKS', '', '942', '6', 0, 0, 'Нормализованная классификация Коха для сортировки', '', -1, 7, 'biblioitems.cn_sort', '', '', 0, '', '', NULL),
 ('BKS', '', '942', 'a', 0, 0, 'Institution code (устаревшее)', '',     9, -5, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '942', 'c', 1, 0, 'Тип единицы (уровень записи)', '',      9, 0, 'biblioitems.itemtype', 'itemtypes', '', NULL, '', '', NULL),
 ('BKS', '', '942', 'e', 0, 0, 'Издание /часть шифра/', '',             9, 0, 'biblioitems.cn_edition', 'CN_EDITION', '', NULL, '', '', NULL),
 ('BKS', '', '942', 'h', 0, 0, 'Классификационная часть шифра хранения', '', 9, 0, 'biblioitems.cn_class', '', '', NULL, '', '', NULL),
 ('BKS', '', '942', 'i', 0, 1, 'Экземплярная часть шифра хранения', '', 9, 9, 'biblioitems.cn_item', '', '', NULL, '', '', NULL),
 ('BKS', '', '942', 'k', 0, 0, 'Префикс шифра хранения', '',            9, 0, 'biblioitems.cn_prefix', '', '', NULL, '', '', NULL),
 ('BKS', '', '942', 'm', 0, 0, 'Суффикс шифра хранения', '',            9, 0, 'biblioitems.cn_suffix', '', '', 0, '', '', NULL),
 ('BKS', '', '942', 'n', 0, 0, 'Статус сокрытия в ЭК', '',              9, 0, NULL, '', '', 0, '', '', NULL),
 ('BKS', '', '942', 's', 0, 0, 'Отметка о записи сериального издания', 'Запись сериального издания', 9, -5, 'biblio.serial', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '943', '', 1, 'Эквивалент или перекрестная ссылка — название коллектива (устаревшее) (только CAN/MARC)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '943', '6', 0, 0, 'Linkage', 'Linkage',                    9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'a', 0, 0, 'Uniform title', 'Unifor title',         9, 5, '', '', '', 1, '', 130, NULL),
 ('BKS', '', '943', 'd', 0, 1, 'Date of treaty signing', 'Date of treaty signing', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'f', 0, 0, 'Date of a work', 'Date of a work',      9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'h', 0, 0, 'Medium', 'Medium',                      9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'k', 0, 1, 'Form subheading', 'Form subheading',    9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'm', 0, 1, 'Medium of performance for music', 'Medium of performance for music', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'n', 0, 1, 'Number of part/section of a work', 'Number of part/section of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'o', 0, 0, 'Arranged statement for music', 'Arranged statement for music', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 'r', 0, 0, 'Key for music', 'Key for music',        9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '943', 's', 0, 0, 'Version', 'Version',                    9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '945', '', 1, 'Локальное — информация об обработке', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '945', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '945', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '946', '', 1, 'Локальное — информация об обработке', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '946', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '946', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '947', '', 1, 'Локальное — информация об обработке', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '947', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '947', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '948', '', 1, 'Локальное — информация об обработке; обозначение части серии', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '948', '0', 0, 1, '0 (OCLC)', '0 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '1', 0, 1, '1 (OCLC)', '1 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '2', 0, 1, '2 (OCLC)', '2 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '3', 0, 1, '3 (OCLC)', '3 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '4', 0, 1, '4 (OCLC)', '4 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '5', 0, 1, '5 (OCLC)', '5 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '6', 0, 1, '6 (OCLC)', '6 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '7', 0, 1, '7 (OCLC)', '7 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '8', 0, 1, '8 (OCLC)', '8 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', '9', 0, 1, '9 (OCLC)', '9 (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'a', 0, 0, 'Series part designator, SPT (RLIN)', 'Series part designator, SPT (RLIN)', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '948', 'b', 0, 1, 'b (OCLC)', 'b (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'c', 0, 1, 'c (OCLC)', 'c (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'd', 0, 1, 'd (OCLC)', 'd (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'e', 0, 1, 'e (OCLC)', 'e (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'f', 0, 1, 'f (OCLC)', 'f (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'g', 0, 1, 'g (OCLC)', 'g (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'h', 0, 1, 'h (OCLC)', 'h (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'i', 0, 1, 'i (OCLC)', 'i (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'j', 0, 1, 'j (OCLC)', 'j (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'k', 0, 1, 'k (OCLC)', 'k (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'l', 0, 1, 'l (OCLC)', 'l (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'm', 0, 1, 'm (OCLC)', 'm (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'n', 0, 1, 'n (OCLC)', 'n (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'o', 0, 1, 'o (OCLC)', 'o (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'p', 0, 1, 'p (OCLC)', 'p (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'q', 0, 1, 'q (OCLC)', 'q (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'r', 0, 1, 'r (OCLC)', 'r (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 's', 0, 1, 's (OCLC)', 's (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 't', 0, 1, 't (OCLC)', 't (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'u', 0, 1, 'u (OCLC)', 'u (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'v', 0, 1, 'v (OCLC)', 'v (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'w', 0, 1, 'w (OCLC)', 'w (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'x', 0, 1, 'x (OCLC)', 'x (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'y', 0, 1, 'y (OCLC)', 'y (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '948', 'z', 0, 1, 'z (OCLC)', 'z (OCLC)',                  9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '949', '', 1, 'Локальное — информация об обработке', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '949', '0', 0, 1, 0, 0,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '1', 0, 1, 1, 1,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '2', 0, 1, 2, 2,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '3', 0, 1, 3, 3,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '4', 0, 1, 4, 4,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '5', 0, 1, 5, 5,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '6', 0, 1, 6, 6,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '7', 0, 1, 7, 7,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '8', 0, 1, 8, 8,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', '9', 0, 1, 9, 9,                                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'a', 0, 1, 'a', 'a',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'b', 0, 1, 'b', 'b',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'c', 0, 1, 'c', 'c',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'd', 0, 1, 'd', 'd',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'e', 0, 1, 'e', 'e',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'f', 0, 1, 'f', 'f',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'g', 0, 1, 'g', 'g',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'h', 0, 1, 'h', 'h',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'i', 0, 1, 'i', 'i',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'j', 0, 1, 'j', 'j',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'k', 0, 1, 'k', 'k',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'l', 0, 1, 'l', 'l',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'm', 0, 1, 'm', 'm',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'n', 0, 1, 'n', 'n',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'o', 0, 1, 'o', 'o',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'p', 0, 1, 'p', 'p',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'q', 0, 1, 'q', 'q',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'r', 0, 1, 'r', 'r',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 's', 0, 1, 's', 's',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 't', 0, 1, 't', 't',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'u', 0, 1, 'u', 'u',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'v', 0, 1, 'v', 'v',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'w', 0, 1, 'w', 'w',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'x', 0, 1, 'x', 'x',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'y', 0, 1, 'y', 'y',                                9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '949', 'z', 0, 1, 'z', 'z',                                9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '950', '', 1, 'Локальное хранение', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '950', 'a', 0, 0, 'Classification number, LCAL (RLIN)', 'Classification number, LCAL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'b', 0, 0, 'Book number/undivided call number, LCAL (RLIN)', 'Book number/undivided call number, LCAL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'd', 0, 1, 'Additional free-text stamp above the call number, LCAL (RLIN)', 'Additional free-text stamp above the call number, LCAL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'e', 0, 1, 'Additional free-text or profiled stamp below the call number, LCAL (RLIN)', 'Additional free-text or profiled stamp below the call number, LCAL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'f', 0, 0, 'Location-level footnote, LFNT (RLIN)', 'Location-level footnote, LFNT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'h', 0, 0, 'Location-level output transaction history, LHST (RLIN)', 'Location-level output transaction history, LHST (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'i', 0, 0, 'Location-level extra card request, LEXT (RLIN)', 'Location-level extra card request, LEXT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'l', 0, 0, 'Permanent shelving location, LOC (RLIN)', 'Permanent shelving location, LOC (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'n', 0, 1, 'Location-level additional note, LANT (RLIN)', 'Location-level additional note, LANT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'p', 0, 0, 'Location-level pathfinder, LPTH (RLIN)', 'Location-level pathfinder, LPTH (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 't', 0, 0, 'Location-level field suppression, LFSP (RLIN)', 'Location-level field suppression, LFSP (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'u', 0, 1, 'Non-printing notes, LANT (RLIN)', 'Non-printing notes, LANT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'v', 0, 0, 'Volumes, LVOL (RLIN)', 'Volumes, LVOL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'w', 0, 0, 'Subscription status code, LANT (RLIN)', 'Subscription status code, LANT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'y', 0, 0, 'Date, LVOL (RLIN)', 'Date, LVOL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '950', 'z', 0, 0, 'Retention, LVOL (RLIN)', 'Retention, LVOL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '951', '', 1, 'Эквивалент или перекрестная ссылка — географическое название / название области (устаревшее) (только CAN/MARC)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '951', '2', 0, 0, 'Source of heading or term', 'Source of heading or term', 6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', '3', 0, 0, 'Materials specified', 'Materials specified', 6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', '6', 0, 0, 'Linkage', 'Linkage',                    6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', 'a', 0, 0, 'Geographic name', 'Geographic name',    6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', 'b', 0, 1, 'Geographic name following place entry element [OBSOLETE]', 'Geographic name following place entry element [OBSOLETE]', 6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', 'v', 0, 1, 'Form subdivision', 'Form subdivision',  6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', 'x', 0, 1, 'General subdivision', 'General subdivision', 6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', 'y', 0, 1, 'Chronological subdivision', 'Chronological subdivision', 6, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '951', 'z', 0, 1, 'Geographic subdivision', 'Geographic subdivision', 6, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '952', '', 1, 'Данные о экземплярах и расположение (Koha)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '952', '0', 0, 0, 'Статус изъятия', '',                    10, 0, 'items.wthdrawn', 'WITHDRAWN', '', 0, '', '', NULL),
 ('BKS', '', '952', '1', 0, 0, 'Статус потери/отсутствия', '',          10, 0, 'items.itemlost', 'LOST', '', 0, '', '', NULL),
 ('BKS', '', '952', '2', 0, 0, 'Источник классификации или схема полочного расположения', '', 10, 0, 'items.cn_source', 'cn_source', '', NULL, '', '', NULL),
 ('BKS', '', '952', '3', 0, 0, 'Нумерация (объединенный том или иная часть)', '', 10, -1, 'items.materials', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', '4', 0, 0, 'Статус повреждения', '',                10, 0, 'items.damaged', 'DAMAGED', '', NULL, '', '', NULL),
 ('BKS', '', '952', '5', 0, 0, 'Статус ограничения доступа', '',        10, 0, 'items.restricted', 'RESTRICTED', '', 0, '', '', NULL),
 ('BKS', '', '952', '6', 0, 0, 'Нормализованная классификация Коха для сортировки', '', -1, 7, 'items.cn_sort', '', '', 0, '', '', NULL),
 ('BKS', '', '952', '7', 0, 0, 'Тип оборота (не для выдачи)', '',       10, 0, 'items.notforloan', 'NOT_LOAN', '', 0, '', '', NULL),
 ('BKS', '', '952', '8', 0, 0, 'Вид собрания', '',                      10, 0, 'items.ccode', 'CCODE', '', 0, '', '', NULL),
 ('BKS', '', '952', '9', 0, 0, 'Внутренний № экземпляра в Koha (items.itemnumber)', 'Внутренний № экземпляра в Koha', -1, 7, 'items.itemnumber', '', '', 0, '', '', NULL),
 ('BKS', '', '952', 'a', 0, 1, 'Исходное место хранения экземпляра (домашнее подразделение)', '', 10, 0, 'items.homebranch', 'branches', '', 0, '', '', NULL),
 ('BKS', '', '952', 'b', 0, 1, 'Место временного хранения или выдачи (подразделение хранения)', '', 10, 0, 'items.holdingbranch', 'branches', '', 0, '', '', NULL),
 ('BKS', '', '952', 'c', 0, 0, 'Полочное расположение', '',             10, 0, 'items.location', 'LOC', '', 0, '', '', NULL),
 ('BKS', '', '952', 'd', 0, 0, 'Дата поступления', '',                  10, 0, 'items.dateaccessioned', '', 'dateaccessioned.pl', 0, '', '', NULL),
 ('BKS', '', '952', 'e', 0, 0, 'Источник поступления (поставщик)', '',  10, 0, 'items.booksellerid', '', '', 0, '', '', NULL),
 ('BKS', '', '952', 'f', 0, 0, 'Кодированный определитель местоположения', '', 10, 0, 'items.coded_location_qualifier', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'g', 0, 0, 'Стоимость, обычная закупочная цена', '', 10, 0, 'items.price', '', '', 0, '', '', NULL),
 ('BKS', '', '952', 'h', 0, 0, 'Нумерация/хронология сериальных изданий', '', 10, 0, 'items.enumchron', '', '', 0, '', '', NULL),
 ('BKS', '', '952', 'i', 0, 0, 'Инвентарный номер', '',                 10, 0, 'items.stocknumber', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'j', 0, 0, 'Полочный контрольный номер', '',        10, -1, 'items.stack', 'STACK', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'l', 0, 0, 'Выдач в целом', '',                     10, -5, 'items.issues', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'm', 0, 0, 'Продлено в целом', '',                  10, -5, 'items.renewals', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'n', 0, 0, 'Всего резервирований', '',              10, -5, 'items.reserves', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'o', 0, 0, 'Полный (экземплярный) шифр хранения', '', 10, 0, 'items.itemcallnumber', '', NULL, 0, '', '', NULL),
 ('BKS', '', '952', 'p', 0, 0, 'Штрих-код', '',                         10, 0, 'items.barcode', '', 'barcode.pl', 0, '', '', NULL),
 ('BKS', '', '952', 'q', 0, 0, 'Дата окончания срока выдачи', '',       10, -5, 'items.onloan', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'r', 0, 0, 'Дата, когда последний раз видели экземпляр', '', 10, -5, 'items.datelastseen', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 's', 0, 0, 'Дата последней выдачи или возвращения', '', 10, -5, 'items.datelastborrowed', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 't', 0, 0, 'Порядковый номер комплекта/экземпляра', '', 10, 0, 'items.copynumber', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'u', 0, 0, 'Унифицированный идентификатор ресурсов', '', 10, 0, 'items.uri', '', '', 1, '', '', NULL),
 ('BKS', '', '952', 'v', 0, 0, 'Стоимость, цена замены', '',            10, 0, 'items.replacementprice', '', '', 0, '', '', NULL),
 ('BKS', '', '952', 'w', 0, 0, 'Дата, для которой действительна цена замены', '', 10, 0, 'items.replacementpricedate', '', '', 0, '', '', NULL),
 ('BKS', '', '952', 'x', 0, 0, 'Служебное (необщедоступное) примечание', '', 10, 1, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'y', 0, 0, 'Тип единицы (уровень экземпляра)', '',  10, 0, 'items.itype', 'itemtypes', '', NULL, '', '', NULL),
 ('BKS', '', '952', 'z', 0, 0, 'Общедоступное примечание о экземпляре', '', 10, 0, 'items.itemnotes', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '955', '', 1, 'Информация уровня копии', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '955', 'a', 0, 0, 'Classification number, CCAL (RLIN)', 'Classification number, CCAL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 'b', 0, 0, 'Book number/undivided call number, CCAL (RLIN)', 'Book number/undivided call number, CCAL (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 'c', 0, 0, 'Copy information and material description, CCAL + MDES (RLIN)', 'Copy information and material description, CCAL + MDES (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 'h', 0, 0, 'Copy status--for earlier dates, CST (RLIN)', 'Copy status--for earlier dates, CST (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 'i', 0, 0, 'Copy status, CST (RLIN)', 'Copy status, CST (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 'l', 0, 0, 'Permanent shelving location, LOC (RLIN)', 'Permanent shelving location, LOC (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 'q', 0, 1, 'Aquisitions control number, HNT (RLIN)', 'Aquisitions control number, HNT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 'r', 0, 0, 'Circulation control number, HNT (RLIN)', 'Circulation control number, HNT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '955', 's', 0, 1, 'Shelflist note, HNT (RLIN)', 'Shelflist note, HNT (RLIN)', 9, 5, '', '', '', 1, '', '', NULL),
 ('BKS', '', '955', 'u', 0, 1, 'Non-printing notes, HNT (RLIN)', 'Non-printing notes, HNT (RLIN)', 9, 5, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '956', '', 1, 'Локальное — электронное местонахождение и доступ', '', '');


INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '960', '', 1, 'Физическое местонахождение', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '960', '3', 0, 0, 'Materials specified, MATL', 'Materials specified, MATL', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '960', 'a', 0, 0, 'Физическое местонахождение', '',        9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '967', '', 1, 'Дополнительные ESTC-коды', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '967', 'a', 0, 0, 'GNR (RLIN)', 'GNR (RLIN)',              9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '967', 'c', 0, 0, 'PSI (RLIN)', 'PSI (RLIN)',              9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '980', '', 1, 'Эквивалент или перекрестная ссылка — сведения о серии — индивидуальное имя/название (локальное, Канада)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '980', '4', 0, 1, 'Relator code', 'Relator code',          9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', '6', 0, 0, 'Linkage', 'Linkage',                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'a', 0, 0, 'Personal name', 'Personal name',        9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'b', 0, 0, 'Numeration', 'Numeration',              9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'c', 0, 1, 'Titles and other words associated with a name', 'Titles and other words associated with a name', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'd', 0, 0, 'Dates associated with a name', 'Dates associated with a name', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'e', 0, 1, 'Relator term', 'Relator term',          9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'f', 0, 0, 'Date of a work', 'Date of a work',      9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'h', 0, 0, 'Medium', 'Medium',                      9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'j', 0, 1, 'Attribution qualifier', 'Attribution qualifier', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'k', 0, 1, 'Form subheading', 'Form subheading',    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'm', 0, 1, 'Medium of performance for music', 'Medium of performance for music', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'n', 0, 1, 'Number of part/section of a work', 'Number of part/section of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'o', 0, 0, 'Arranged statement for music', 'Arranged statement for music', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'q', 0, 0, 'Fuller form of name', 'Fuller form of name', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'r', 0, 0, 'Key for music', 'Key for music',        9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 's', 0, 0, 'Version', 'Version',                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 't', 0, 0, 'Title of a work', 'Title of a work',    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'u', 0, 0, 'Affiliation', 'Affiliation',            9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '980', 'v', 0, 0, 'Volume/sequential designation', 'Volume/sequential designation', 9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '981', '', 1, 'Эквивалент или перекрестная ссылка — сведения о серии — название организации / название (локальное, Канада)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '981', '4', 0, 1, 'Relator code', 'Relator code',          9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', '6', 0, 0, 'Linkage', 'Linkage',                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'a', 0, 0, 'Corporate name or jurisdiction name as entry element', 'Corporate name or jurisdiction name as entry element', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'b', 0, 1, 'Subordinate unit', 'Subordinate unit',  9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'c', 0, 0, 'Location of meeting', 'Location of meeting', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'd', 0, 1, 'Date of meeting or treaty signing', 'Date of meeting or treaty signing', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'e', 0, 1, 'Relator term', 'Relator term',          9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'f', 0, 0, 'Date of a work', 'Date of a work',      9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'h', 0, 0, 'Medium', 'Medium',                      9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'k', 0, 1, 'Form subheading', 'Form subheading',    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'm', 0, 1, 'Medium of performance for music', 'Medium of performance for music', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'n', 0, 1, 'Number of part/section/meeting', 'Number of part/section/meeting', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'o', 0, 0, 'Arranged statement for music', 'Arranged statement for music', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'r', 0, 0, 'Key for music', 'Key for music',        9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 's', 0, 0, 'Version', 'Version',                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 't', 0, 0, 'Title of a work', 'Title of a work',    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'u', 0, 0, 'Affiliation', 'Affiliation',            9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '981', 'v', 0, 0, 'Volume/sequential designation', 'Volume/sequential designation', 9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '982', '', 1, 'Эквивалент или перекрестная ссылка — сведения о серии — название конференции или мероприятия/название (локальное, Канада)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', NULL, '982', '4', 0, 1, 'Relator code', 'Relator code',        8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', '6', 0, 0, 'Linkage', 'Linkage',                  8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', '8', 0, 1, 'Field link and sequence number ', 'Field link and sequence number ', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'a', 0, 0, 'Meeting name or jurisdiction name as entry element', 'Meeting name or jurisdiction name as entry element', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'b', 0, 0, 'Number (BK CF MP MU SE VM MX) [OBSOLETE]', 'Number (BK CF MP MU SE VM MX) [OBSOLETE]', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'c', 0, 0, 'Location of meeting', 'Location of meeting', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'd', 0, 0, 'Date of meeting', 'Date of meeting',  8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'e', 0, 1, 'Subordinate unit', 'Subordinate unit', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'f', 0, 0, 'Date of a work', 'Date of a work',    8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'h', 0, 0, 'Medium', 'Medium',                    8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'k', 0, 1, 'Form subheading', 'Form subheading',  8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'l', 0, 0, 'Language of a work', 'Language of a work', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'n', 0, 1, 'Number of part/section/meeting', 'Number of part/section/meeting', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'q', 0, 0, 'Name of meeting following jurisdiction name entry element', 'Name of meeting following jurisdiction name entry element', 8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 's', 0, 0, 'Version', 'Version',                  8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 't', 0, 0, 'Title of a work', 'Title of a work',  8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'u', 0, 0, 'Affiliation', 'Affiliation',          8, -6, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '982', 'v', 0, 0, 'Volume/sequential designation', 'Volume/sequential designation', 8, -6, NULL, NULL, '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '983', '', 1, 'Эквивалент или перекрестная ссылка — сведения о серии — название / унифицированное название (локальное, Канада)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '983', '6', 0, 0, 'Linkage', 'Linkage',                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', '8', 0, 1, 'Field link and sequence number', 'Field link and sequence number', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'a', 0, 0, 'Uniform title', 'Uniform title',        9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'd', 0, 1, 'Date of treaty signing', 'Date of treaty signing', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'f', 0, 0, 'Date of a work', 'Date of a work',      9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'g', 0, 0, 'Miscellaneous information', 'Miscellaneous information', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'h', 0, 0, 'Medium', 'Medium',                      9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'k', 0, 1, 'Form subheading', 'Form subheading',    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'l', 0, 0, 'Language of a work', 'Language of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'm', 0, 1, 'Medium of performance for music', 'Medium of performance for music', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'n', 0, 1, 'Number of part/section of a work', 'Number of part/section of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'o', 0, 0, 'Arranged statement for music', 'Arranged statement for music', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'p', 0, 1, 'Name of part/section of a work', 'Name of part/section of a work', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'r', 0, 0, 'Key for music', 'Key for music',        9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 's', 0, 0, 'Version', 'Version',                    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 't', 0, 0, 'Title of a work', 'Title of a work',    9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '983', 'v', 0, 0, 'Volume number/sequential designation', 'Volume number/sequential designation', 9, -6, '', '', '', NULL, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '984', '', 1, 'Автоматическая ведомость хранения', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '984', 'a', 0, 0, 'Holding library identification number', 'Holding library identification number', 9, 5, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '984', 'b', 0, 1, 'Physical description codes', 'Physical description codes', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '984', 'c', 0, 0, 'Call number', 'Call number',            9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '984', 'd', 0, 0, 'Volume or other numbering', 'Volume or other numbering', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '984', 'e', 0, 0, 'Dates', 'Dates',                        9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '984', 'f', 0, 0, 'Completeness note', 'Completeness note', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '984', 'g', 0, 0, 'Referral note', 'Referral note',        9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '984', 'h', 0, 0, 'Retention note', 'Retention note',      9, 5, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '987', '', 1, 'Локальное — исторя лицензирования/конверсии', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '987', 'a', 0, 0, 'Romanization/conversion identifier', 'Romanization/conversion identifier', 9, -6, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '987', 'b', 0, 1, 'Agency that converted, created or reviewed', 'Agency that converted, created or reviewed', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '987', 'c', 0, 0, 'Date of conversion or review', 'Date of conversion or review', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '987', 'd', 0, 0, 'Status code', 'Status code ',           9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '987', 'e', 0, 0, 'Version of conversion program used', 'Version of conversion program used', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '987', 'f', 0, 0, 'Note', 'Note',                          9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '990', '', 1, 'Данные о заказе', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '990', 'a', 0, 1, 'Автор заказа', '',                      9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '990', 'b', 0, 1, 'Заказано', '',                          9, -6, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '995', '', 1, 'Рекомендация 995 (локальное, UNIMARC Франция и др.)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '995', '0', 0, 0, 'Withdrawn status [LOCAL, KOHA]', 'Withdrawn status [LOCAL, KOHA]', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', '1', 0, 0, 'Lost status [LOCAL, KOHA]', 'Lost status [LOCAL, KOHA]', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', '2', 0, 0, 'System code (specific classification or other scheme and edition) [LOCAL, KOHA]', 'System code (specific classification or other scheme and edition) [LOCAL, KOHA]', 9, 5, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '995', '3', 0, 0, 'Use restrictions [LOCAL, KOHA]', 'Use restrictions [LOCAL, KOHA]', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', '4', 0, 0, 'Koha normalized classification for sorting [LOCAL, KOHA]', 'Koha normalized classification for sorting [LOCAL, KOHA]', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', '5', 0, 1, 'Coded location qualifier [LOCAL, KOHA]', 'Coded location qualifier [LOCAL, KOHA]', 9, 5, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '995', '6', 0, 0, 'Copy number [LOCAL, KOHA]', 'Copy number [LOCAL, KOHA]', 9, 5, '', '', '', NULL, '', '', NULL),
 ('BKS', '', '995', '7', 0, 1, 'Uniform Resource Identifier [LOCAL, KOHA]', 'Uniform Resource Identifier [LOCAL, KOHA]', 9, 5, '', '', '', 1, '', '', NULL),
 ('BKS', '', '995', '8', 0, 0, 'Koha collection [LOCAL, KOHA]', 'Koha collection [LOCAL, KOHA]', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', '9', 0, 0, 'Internal item number (Koha itemnumber, autogenerated) [LOCAL, KOHA]', 'Internal itemnumber (Koha itemnumber) [LOCAL, KOHA]', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'a', 0, 0, 'Origin of the item (home branch) (free text)', 'Origin of item (home branch) (free text)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'b', 0, 0, 'Origin of item (home branch) (coded)', 'Origin of item (home branch (coded)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'c', 0, 0, 'Lending or holding organisation (holding branch) (free text)', 'Lending or holding organisation (holding branch) (free text)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'd', 0, 0, 'Lending or holding organisation (holding branch) code', 'Lending or holding organisation (holding branch) code', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'e', 0, 0, 'Genre detail', 'Genre',                 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'f', 0, 0, 'Штрих-код', '',                         9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'g', 0, 0, 'Barcode prefix', 'Barcode prefix',      9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'h', 0, 0, 'Barcode incrementation', 'Barcode incrementation', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'i', 0, 0, 'Barcode suffix', 'Barcode suffix',      9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'j', 0, 0, 'Section', 'Section',                    9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'k', 0, 0, 'Call number (full call number)', 'Call number (full call number)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'l', 0, 0, 'Numbering (volume or other part)', 'Numbering (bound volume or other part)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'm', 0, 0, 'Date of loan or deposit', 'Date of loan or deposit', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'n', 0, 0, 'Expiration of loan date', 'Expiration of loan date', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'o', 0, 1, 'Circulation type (not for loan)', 'Circulation type (not for loan)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'p', 0, 0, 'Serial', 'Serial',                      9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'q', 0, 0, 'Intended audience (age level)', 'Intended audience (age level)', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'r', 0, 0, 'Type of item and material', 'Type of item and material', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 's', 0, 0, 'Acquisition mode', 'Acquisition mode',  9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 't', 0, 0, 'Genre', 'Genre',                        9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'u', 0, 0, 'Copy note', 'Copy note',                9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'v', 0, 0, 'Periodical number', 'Periodical number', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'w', 0, 0, 'Recipient organisation code', 'Recipient organisation code', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'x', 0, 0, 'Recipient organisation, free text', 'Recipient organisation, free text', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'y', 0, 0, 'Recipient parent organisation code', 'Recipient parent organisation code', 9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '995', 'z', 0, 0, 'Recipient parent organisation, free text', 'Recipient parent organisation, free text', 9, 5, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '998', '', 1, 'Персоналии', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', '', '998', 'b', 0, 0, 'Operators initials, OID (RLIN)', 'Operators initials, OID (RLIN)', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 'c', 0, 0, 'Catalogers initials, CIN (RLIN)', 'Catalogers initials, CIN (RLIN)', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 'd', 0, 0, 'First date, FD (RLIN)', 'First Date, FD (RLIN)', 9, -6, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 'i', 0, 0, 'RINS (RLIN)', 'RINS (RLIN)',            9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 'l', 0, 0, 'LI (RLIN)', 'LI (RLIN)',                9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 'n', 0, 0, 'NUC (RLIN)', 'NUC (RLIN)',              9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 'p', 0, 0, 'PROC (RLIN)', 'PROC (RLIN)',            9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 's', 0, 0, 'CC (RLIN)', 'CC (RLIN)',                9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 't', 0, 0, 'RTYP (RLIN)', 'RTYP (RLIN)',            9, 5, '', '', '', 0, '', '', NULL),
 ('BKS', '', '998', 'w', 0, 0, 'PLINK (RLIN)', 'PLINK (RLIN)',          9, 5, '', '', '', 0, '', '', NULL);

INSERT INTO marc_tag_structure  (frameworkcode, tagfield, mandatory, repeatable, liblibrarian, libopac, authorised_value) VALUES
 ('BKS', '999', '', 1, 'Системные контрольные номера (Коха)', '', '');
INSERT INTO  marc_subfield_structure (frameworkcode, authtypecode, tagfield, tagsubfield, mandatory, repeatable, liblibrarian, libopac, tab, hidden, kohafield, authorised_value, value_builder, isurl, seealso, link, defaultvalue) VALUES
 ('BKS', NULL, '999', 'a', 0, 0, 'Тип единицы хранения (устаревшее)', '', -1, -5, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '999', 'b', 0, 0, 'Подклас Дьюи (Коха, устаревшее)', '', 0, -5, NULL, NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '999', 'c', 0, 0, '«biblionumber» (Коха)', '',           -1, -5, 'biblio.biblionumber', NULL, '', NULL, '', '', NULL),
 ('BKS', NULL, '999', 'd', 0, 0, '«biblioitemnumber» (Коха)', '',       -1, -5, 'biblioitems.biblioitemnumber', NULL, '', NULL, '', '', NULL);
