{
  "STOCK_PRICE": {
    "defaultAggregate": "AVG",
    "defaultResolutionMS": 10000,
    "description": "Current stock price or the end of day's trading.",
    "displayName": "Stock Price",
    "displayNameShort": "Stock Price",
    "unit": "number"
  },
  "STOCK_VOLUME": {
    "defaultAggregate": "AVG",
    "defaultResolutionMS": 10000,
    "description": "Current stock volume or the end of day's trading.",
    "displayName": "Stock Volume",
    "displayNameShort": "Stock Volume",
    "unit": "number"
  }
}

{
  "STOCK_PRICE": {
    "defaultAggregate": "AVG",
    "defaultResolutionMS": 10000,
    "description": "Current stock price or the end of day's trading.",
    "displayName": "Stock Price",
    "displayNameShort": "Stock Price",
    "type": "STOCK_PRICE",
    "unit": "number"
  },
  "STOCK_VOLUME": {
    "defaultAggregate": "AVG",
    "defaultResolutionMS": 10000,
    "description": "Current stock volume or the end of day's trading.",
    "displayName": "Stock Volume",
    "displayNameShort": "Stock Volume",
    "type": "STOCK_VOLUME",
    "unit": "number"
  }
}

Add type to metric definitions
Add type to metric definitions
