[
	{
		"table": "blocks",
		"alias": "b",
		"type": "table",
		"tableFields": [
			{
				"name": "id",
				"type": "String",
				"length": 21,
				"not_null": true,
				"unique": true,
				"primary_key": true
			},
			{
				"name": "timestamp",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "height",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "payloadLength",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "payloadHash",
				"type": "String",
				"length": 64,
				"not_null": true
			},
			{
				"name": "prevBlockId",
				"type": "String",
				"length": 21
			},
			{
				"name": "pointId",
				"type": "String",
				"length": 21,
				"not_null": true
			},
			{
				"name": "pointHeight",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "delegate",
				"type": "String",
				"length": 64,
				"not_null": true
			},
			{
				"name": "signature",
				"type": "String",
				"length": 128,
				"not_null": true
			},
			{
				"name": "count",
				"type": "BigInt",
				"not_null": true
			}
		],
		"join": [
			{
				"type": "left outer",
				"table": "transactions",
				"alias": "t",
				"on": {
					"b.\"id\"": "t.\"blockId\""
				}
			},
			{
				"type": "left outer",
				"table": "asset_dapptransfer",
				"alias": "t_dt",
				"on": {
					"t.id": "t_dt.\"transactionId\""
				}
			},
			{
				"type": "left outer",
				"table": "asset_myasset",
				"alias": "t_ma",
				"on": {
					"t.id": "t_ma.\"transactionId\""
				}
			},
			{
				"type": "left outer",
				"table": "asset_delegates",
				"alias": "t_d",
				"on": {
					"t.id": "t_d.\"transactionId\""
				}
			},
			{
				"type": "left outer",
				"table": "asset_token",
				"alias": "t_t",
				"on": {
					"t.id": "t_t.\"transactionId\""
				}
			}
		]
	},
	{
		"table": "transactions",
		"alias": "t",
		"type": "table",
		"tableFields": [
			{
				"name": "id",
				"type": "String",
				"length": 21,
				"not_null": true,
				"unique": true,
				"primary_key": true
			},
			{
				"name": "type",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "senderId",
				"type": "String",
				"length": 21,
				"not_null": true
			},
			{
				"name": "senderPublicKey",
				"type": "String",
				"length": 64,
				"not_null": true
			},
			{
				"name": "recipientId",
				"type": "String",
				"length": 21
			},
			{
				"name": "amount",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "fee",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "timestamp",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "signature",
				"type": "String",
				"length": 128,
				"not_null": true
			},
			{
				"name": "blockId",
				"type": "String",
				"length": 21,
				"not_null": true
			},
			{
				"name": "token",
				"type": "String",
				"length": 21
			}
		],
		"foreignKeys": [
			{
				"field": "blockId",
				"table": "blocks",
				"table_field": "id",
				"on_delete": "cascade"
			}
		]
	},
	{
		"table": "asset_dapptransfer",
		"alias": "t_dt",
		"type": "table",
		"tableFields": [
			{
				"name": "src_id",
				"type": "String",
				"length": 21,
				"not_null": true,
				"unique": true
			},
			{
				"name": "transactionId",
				"type": "String",
				"length": 21,
				"not_null": true
			}
		],
		"foreignKeys": [
			{
				"field": "transactionId",
				"table": "transactions",
				"table_field": "id",
				"on_delete": "cascade"
			}
		]
	},
	{
		"table": "asset_myasset",
		"alias": "t_ma",
		"type": "table",
		"tableFields": [
			{
				"name": "text",
				"type": "String",
				"length": 255,
				"not_null": true
			},
			{
				"name": "transactionId",
				"type": "String",
				"length": 21,
				"not_null": true
			}
		],
		"foreignKeys": [
			{
				"field": "transactionId",
				"table": "transactions",
				"table_field": "id",
				"on_delete": "cascade"
			}
		]
	},
	{
		"table": "asset_delegates",
		"alias": "t_d",
		"type": "table",
		"tableFields": [
			{
				"name": "delegates",
				"type": "Text",
				"not_null": true
			},
			{
				"name": "transactionId",
				"type": "String",
				"length": 21,
				"not_null": true
			}
		],
		"foreignKeys": [
			{
				"field": "transactionId",
				"table": "transactions",
				"table_field": "id",
				"on_delete": "cascade"
			}
		]
	},
	{
		"table": "asset_token",
		"alias": "t_t",
		"type": "table",
		"tableFields": [
			{
				"name": "name",
				"type": "String",
				"length": 16,
				"not_null": true
			},
			{
				"name": "description",
				"type": "Text",
				"not_null": true
			},
			{
				"name": "fund",
				"type": "BigInt",
				"not_null": true
			},
			{
				"name": "transactionId",
				"type": "String",
				"length": 21,
				"not_null": true
			}
		],
		"foreignKeys": [
			{
				"field": "transactionId",
				"table": "transactions",
				"table_field": "id",
				"on_delete": "cascade"
			}
		]
	}
]