{
    "rest": true,
    "allowMapping": true,
    "type": "opportunity",
    "id": "opportunity",
    "criteria": "transaction",
    "select": "",
    "where": "WHERE type = 'Opprtnty' AND voided = 'F'",
    "inner": "",
    "mapping": {
        "closedate": "closeDate",
        "duedate": "dueDate",
        "email": "email",
        "entity": "entity",
        "entitystatus": "entityStatus",
        "estgrossprofit": "estGrossProfit",
        "estgrossprofitpercent": "estGrossProfitPercent",
        "estimatedbudget": "estimatedBudget",
        "exchangerate": "exchangeRate",
        "expectedclosedate": "expectedCloseDate",
        "isbudgetapproved": "isBudgetApproved",
        "leadsource": "leadSource",
        "location": "location",
        "memo": "memo",
        "opportunity": "opportunity",
        "probability": "probability",
        "projectedtotal": "projectedTotal",
        "rangehigh": "rangeHigh",
        "rangelow": "rangeLow",
        "source": "source",
        "status": "status",
        "subsidiary": "subsidiary",
        "terms": "terms",
        "title": "title",
        "total": "total",
        "totalcostestimate": "totalCostEstimate",
        "trandate": "tranDate",
        "tranid": "tranId",
        "visibletocustomer": "visibleToCustomer",
        "weightedtotal": "weightedTotal",
        "winLossreason": "winLossReason"
    },
    "dependencies": {
        "pricelevel": {
            "name": "Price Levels",
            "model": "PriceLevel",
            "path": "/src/Domain/PriceLevels/Data/criteria.json"
        },
        "noninventoryitem": {
            "name": "Non-Inventory Items",
            "model": "NonInventoryItem",
            "path": "/src/Domain/NonInventoryItems/Data/criteria.json"
        },
        "subtotalitem": {
            "name": "Subtotal Items",
            "model": "Subtotal",
            "path": "/src/Domain/Subtotals/Data/criteria.json"
        },
        "markupitem": {
            "name": "Mark Up Items",
            "model": "MarkUp",
            "path": "/src/Domain/MarkUps/Data/criteria.json"
        },
        "descriptionitem": {
            "name": "Description Items",
            "model": "DescriptionItem",
            "path": "/src/Domain/DescriptionItems/Data/criteria.json"
        },
        "othercharge": {
            "name": "Charge Items",
            "model": "OtherCharge",
            "path": "/src/Domain/OtherCharges/Data/criteria.json"
        },
        "discountitem": {
            "name": "Discount Items",
            "model": "DiscountItem",
            "path": "/src/Domain/DiscountItems/Data/criteria.json"
        },
        "serviceitem": {
            "name": "Service Items",
            "model": "ServiceItem",
            "path": "/src/Domain/ServiceItems/Data/criteria.json"
        },
        "inventoryitem": {
            "name": "Inventory Items",
            "model": "InventoryItem",
            "path": "/src/Domain/InventoryItems/Data/criteria.json"
        },
        "opprtntyline": {
            "name": "Transaction Line",
            "model": "TransactionLine",
            "path": "/src/Domain/TransactionLines/Data/criteria.json",
            "where": "WHERE transaction.type = 'Opprtnty'"
        },
        "pricegroup": {
            "name": "Pricing Group",
            "model": "PricingGroup",
            "path": "/src/Domain/PricingGroups/Data/criteria.json"
        }

    }
}
