{ "tables": [ { "tableName": "publisher", "tableDescription": "Издательство", "fieldList": [ { "fName": "id", "fDescription": "Номер п.п.", "fType": "INTEGER", "index": "PRIMARY KEY", "autoIncrement": "yes", "relation": [] }, { "fName": "publisher_name", "fDescription": "Наименование", "fType": "char(20)", "index": "no", "autoIncrement": "no", "relation": [] } ] }, { "tableName": "authors", "tableDescription": "Авторы", "fieldList": [ { "fName": "id", "fDescription": "Номер п.п.", "fType": "INTEGER", "index": "PRIMARY KEY", "autoIncrement": "yes", "relation": [] }, { "fName": "last_name", "fDescription": "Фамилия", "fType": "char(20)", "index": "no", "autoIncrement": "no", "relation": [] }, { "fName": "name", "fDescription": "Имя", "fType": "char(20)", "index": "no", "autoIncrement": "no", "relation": [] }, { "fName": "middle_name", "fDescription": "Отчество", "fType": "char(20)", "index": "no", "autoIncrement": "no", "relation": [] } ] }, { "tableName": "books", "tableDescription": "Книги", "fieldList": [ { "fName": "id", "fDescription": "Номер п.п.", "fType": "INTEGER", "index": "PRIMARY KEY", "autoIncrement": "yes", "relation": [] }, { "fName": "book_name", "fDescription": "Название", "fType": "varchar(100)", "index": "yes", "autoIncrement": "no", "relation": [] }, { "fName": "description", "fDescription": "Описание", "fType": "varchar(200)", "index": "no", "autoIncrement": "no", "relation": [] }, { "fName": "authors_id", "fDescription": "Автор", "fType": "INTEGER", "index": "no", "autoIncrement": "no", "relation": ["authors.id", "last_name, name, middle_name"] }, { "fName": "publisher_id", "fDescription": "Издательство", "fType": "INTEGER", "index": "no", "autoIncrement": "no", "relation": ["publisher.id", "publisher_name"] }, { "fName": "category_id", "fDescription": "Жанр", "fType": "INTEGER", "index": "no", "autoIncrement": "no", "relation": ["category.id", "category_name"] } ] }, { "tableName": "category", "tableDescription": "Жанр", "fieldList": [ { "fName": "id", "fDescription": "Номер п.п.", "fType": "INTEGER", "index": "PRIMARY KEY", "autoIncrement": "yes", "relation": [] }, { "fName": "category_name", "fDescription": "Название жанра", "fType": "varchar(100)", "index": "yes", "autoIncrement": "no", "relation": [] } ] } ] }