{
  "@context": {
    "@version": 1.1,
    "dw": "https://developer.drivewealth.com/vocab#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Account": "dw:Account",
    "accountID": {"@id": "dw:accountID", "@type": "xsd:string"},
    "accountNo": {"@id": "dw:accountNo", "@type": "xsd:string"},
    "accountType": {"@id": "dw:accountType", "@type": "xsd:string"},
    "accountStatus": {"@id": "dw:accountStatus", "@type": "xsd:string"},
    "nickname": {"@id": "dw:nickname", "@type": "xsd:string"},
    "currency": {"@id": "dw:currency", "@type": "xsd:string"},
    "openedWhen": {"@id": "dw:openedWhen", "@type": "xsd:dateTime"},
    "updatedWhen": {"@id": "dw:updatedWhen", "@type": "xsd:dateTime"},

    "User": "dw:User",
    "userID": {"@id": "dw:userID", "@type": "xsd:string"},
    "username": {"@id": "dw:username", "@type": "xsd:string"},
    "firstName": {"@id": "dw:firstName", "@type": "xsd:string"},
    "lastName": {"@id": "dw:lastName", "@type": "xsd:string"},
    "emailAddress": {"@id": "dw:emailAddress", "@type": "xsd:string"},
    "phone": {"@id": "dw:phone", "@type": "xsd:string"},
    "citizenship": {"@id": "dw:citizenship", "@type": "xsd:string"},
    "country": {"@id": "dw:country", "@type": "xsd:string"},
    "language": {"@id": "dw:language", "@type": "xsd:string"},
    "kycStatus": {"@id": "dw:kycStatus", "@type": "xsd:string"},

    "Order": "dw:Order",
    "orderID": {"@id": "dw:orderID", "@type": "xsd:string"},
    "orderType": {"@id": "dw:orderType", "@type": "xsd:string"},
    "orderStatus": {"@id": "dw:orderStatus", "@type": "xsd:string"},
    "side": {"@id": "dw:side", "@type": "xsd:string"},
    "quantity": {"@id": "dw:quantity", "@type": "xsd:decimal"},
    "amount": {"@id": "dw:amount", "@type": "xsd:decimal"},
    "limitPrice": {"@id": "dw:limitPrice", "@type": "xsd:decimal"},
    "stopPrice": {"@id": "dw:stopPrice", "@type": "xsd:decimal"},
    "timeInForce": {"@id": "dw:timeInForce", "@type": "xsd:string"},
    "orderPlacedWhen": {"@id": "dw:orderPlacedWhen", "@type": "xsd:dateTime"},
    "orderExecutedWhen": {"@id": "dw:orderExecutedWhen", "@type": "xsd:dateTime"},

    "Instrument": "dw:Instrument",
    "instrumentID": {"@id": "dw:instrumentID", "@type": "xsd:string"},
    "symbol": {"@id": "dw:symbol", "@type": "xsd:string"},
    "name": {"@id": "dw:name", "@type": "xsd:string"},
    "instrumentType": {"@id": "dw:instrumentType", "@type": "xsd:string"},
    "exchange": {"@id": "dw:exchange", "@type": "xsd:string"},
    "isin": {"@id": "dw:isin", "@type": "xsd:string"},
    "cusip": {"@id": "dw:cusip", "@type": "xsd:string"},
    "sector": {"@id": "dw:sector", "@type": "xsd:string"},
    "industry": {"@id": "dw:industry", "@type": "xsd:string"},

    "Portfolio": "dw:Portfolio",
    "portfolioID": {"@id": "dw:portfolioID", "@type": "xsd:string"},
    "clientPortfolioID": {"@id": "dw:clientPortfolioID", "@type": "xsd:string"},
    "description": {"@id": "dw:description", "@type": "xsd:string"},
    "holdings": {"@id": "dw:holdings", "@type": "@id"},
    "triggers": {"@id": "dw:triggers", "@type": "@id"},

    "Fund": "dw:Fund",
    "fundID": {"@id": "dw:fundID", "@type": "xsd:string"},
    "clientFundID": {"@id": "dw:clientFundID", "@type": "xsd:string"},
    "fundStatus": {"@id": "dw:fundStatus", "@type": "xsd:string"},

    "Allocation": "dw:Allocation",
    "allocationID": {"@id": "dw:allocationID", "@type": "xsd:string"},
    "allocationStatus": {"@id": "dw:allocationStatus", "@type": "xsd:string"},
    "allocationDate": {"@id": "dw:allocationDate", "@type": "xsd:date"},

    "Position": "dw:Position",
    "positionID": {"@id": "dw:positionID", "@type": "xsd:string"},
    "openQty": {"@id": "dw:openQty", "@type": "xsd:decimal"},
    "costBasis": {"@id": "dw:costBasis", "@type": "xsd:decimal"},
    "marketValue": {"@id": "dw:marketValue", "@type": "xsd:decimal"},
    "unrealizedPL": {"@id": "dw:unrealizedPL", "@type": "xsd:decimal"},
    "unrealizedDayPL": {"@id": "dw:unrealizedDayPL", "@type": "xsd:decimal"},

    "Deposit": "dw:Deposit",
    "depositID": {"@id": "dw:depositID", "@type": "xsd:string"},
    "depositType": {"@id": "dw:depositType", "@type": "xsd:string"},
    "depositStatus": {"@id": "dw:depositStatus", "@type": "xsd:string"},

    "Withdrawal": "dw:Withdrawal",
    "withdrawalID": {"@id": "dw:withdrawalID", "@type": "xsd:string"},
    "withdrawalType": {"@id": "dw:withdrawalType", "@type": "xsd:string"},
    "withdrawalStatus": {"@id": "dw:withdrawalStatus", "@type": "xsd:string"},

    "Beneficiary": "dw:Beneficiary",
    "beneficiaryID": {"@id": "dw:beneficiaryID", "@type": "xsd:string"},
    "beneficiaryType": {"@id": "dw:beneficiaryType", "@type": "xsd:string"},
    "dateOfBirth": {"@id": "dw:dateOfBirth", "@type": "xsd:date"},
    "taxID": {"@id": "dw:taxID", "@type": "xsd:string"},
    "percentage": {"@id": "dw:percentage", "@type": "xsd:decimal"},

    "Statement": "dw:Statement",
    "statementID": {"@id": "dw:statementID", "@type": "xsd:string"},
    "statementDate": {"@id": "dw:statementDate", "@type": "xsd:date"},
    "statementType": {"@id": "dw:statementType", "@type": "xsd:string"},

    "Commission": "dw:Commission",
    "commissionID": {"@id": "dw:commissionID", "@type": "xsd:string"},
    "commissionType": {"@id": "dw:commissionType", "@type": "xsd:string"},
    "commissionValue": {"@id": "dw:commissionValue", "@type": "xsd:decimal"},

    "LinkedBankAccount": "dw:LinkedBankAccount",
    "bankAccountID": {"@id": "dw:bankAccountID", "@type": "xsd:string"},
    "bankAccountType": {"@id": "dw:bankAccountType", "@type": "xsd:string"},
    "routingNumber": {"@id": "dw:routingNumber", "@type": "xsd:string"},
    "accountNumber": {"@id": "dw:accountNumber", "@type": "xsd:string"},
    "bankName": {"@id": "dw:bankName", "@type": "xsd:string"},
    "plaidToken": {"@id": "dw:plaidToken", "@type": "xsd:string"},

    "AutoPilotRun": "dw:AutoPilotRun",
    "rebalanceRunID": {"@id": "dw:rebalanceRunID", "@type": "xsd:string"},
    "runStatus": {"@id": "dw:runStatus", "@type": "xsd:string"},
    "partnerID": {"@id": "dw:partnerID", "@type": "xsd:string"},
    "riaID": {"@id": "dw:riaID", "@type": "xsd:string"},

    "Quote": "dw:Quote",
    "bid": {"@id": "dw:bid", "@type": "xsd:decimal"},
    "ask": {"@id": "dw:ask", "@type": "xsd:decimal"},
    "last": {"@id": "dw:last", "@type": "xsd:decimal"},
    "volume": {"@id": "dw:volume", "@type": "xsd:decimal"},
    "change": {"@id": "dw:change", "@type": "xsd:decimal"},
    "changePct": {"@id": "dw:changePct", "@type": "xsd:decimal"},

    "VirtualBankAccount": "dw:VirtualBankAccount",
    "bankName": {"@id": "dw:bankName", "@type": "xsd:string"},
    "accountNumber": {"@id": "dw:accountNumber", "@type": "xsd:string"},
    "routingNumber": {"@id": "dw:routingNumber", "@type": "xsd:string"},

    "Violation": "dw:Violation",
    "violationID": {"@id": "dw:violationID", "@type": "xsd:string"},
    "violationType": {"@id": "dw:violationType", "@type": "xsd:string"},
    "violationDate": {"@id": "dw:violationDate", "@type": "xsd:date"},

    "Subscription": "dw:Subscription",
    "subscriptionID": {"@id": "dw:subscriptionID", "@type": "xsd:string"},
    "subscriptionType": {"@id": "dw:subscriptionType", "@type": "xsd:string"},
    "webhookURL": {"@id": "dw:webhookURL", "@type": "xsd:anyURI"}
  }
}
