{
    "Castpubs": {
        "childrens": {
            "Castpubs.dbo": {
                "childrens": {
                    "Castpubs.dbo.U_Stock": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.MYRF": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.Order_Line_titles": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.CreateNewOrderLine": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.CreateNewOrders": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.titleview": {
                        "type": "View"
                    },
                    "Castpubs.dbo.sp_alterdiagram": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.FK__salesdetail__5535A963": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.insert_sales_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.FK__titleauth__au_id__534D60F1": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.Invoice": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.deltitle": {
                        "type": "Trigger"
                    },
                    "Castpubs.dbo.NewCreateSale": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.I_Orders": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.PS_BO_REL_CAT_ITEM": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.MYRF2": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.sp_helpdiagramdefinition": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.sp_helpdiagrams": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.E_Stock": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.insert_salesdetail_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.sp_creatediagram": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.salesdetail": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.title_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.authors": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.DeliverOrderLine": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.Order_Line": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.updtitles": {
                        "type": "Trigger"
                    },
                    "Castpubs.dbo.GetAuthors": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.sp_dropdiagram": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.roysched": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.totalsales_trig": {
                        "type": "Trigger"
                    },
                    "Castpubs.dbo.FK__Stock__stor_id__5629CD9C": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.Invoice_sales": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.PS_BO_REL_TYPE": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.sp_renamediagram": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.FK__Stock_Lin__title__5812160E": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.CallCreateSale": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.storeid_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.fn_diagramobjects": {
                        "type": "Function"
                    },
                    "Castpubs.dbo.sales": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.DeleteAllOrders": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.I_Stock": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.Invoice_Line_Invoice": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.Stock": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.stores": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.DeleteAllInvoice": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.CreateNewInvoice": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.I_Order_Line": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.GetAllSales": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.I_Invoice_Line": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.FK__roysched__title___59FA5E80": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.byroyalty": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.D_Invoice_Line": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.Stock_Line": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.storename_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.on_delete_authors": {
                        "type": "Trigger"
                    },
                    "Castpubs.dbo.FK__discounts__stor___5AEE82B9": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.FK__Stock_Lin__stor___571DF1D5": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.I_Stock_Line": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.GetTitleAuthors": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.Invoice_Line": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.FK__titles__pub_id__59063A47": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.publishers": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.FK__titleauth__title__5441852A": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.CreateOrdersInvoice": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.DeliverOrder": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.sp_upgraddiagrams": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.history_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.discounts": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.titles": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.I_Invoice": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.CreateNewInvoiceLines": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.titleid_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.CreateSale": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.Invoice_Line_titles": {
                        "type": "ForeignKey"
                    },
                    "Castpubs.dbo.Orders": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.titleauthor": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.discount_proc": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.sysdiagrams": {
                        "type": "Table"
                    },
                    "Castpubs.dbo.AuthorIdCodes": {
                        "type": "View"
                    },
                    "Castpubs.dbo.SalesManagement": {
                        "type": "Procedure"
                    },
                    "Castpubs.dbo.StoreIdView": {
                        "type": "View"
                    },
                    "Castpubs.dbo.Order_Line_Order": {
                        "type": "ForeignKey"
                    }
                },
                "type": "Schema"
            }
        },
        "type": "Database"
    }
}