{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.observable.asset",
  "type": "string",
  "title": "PriceTypeEnum",
  "description": "Provides enumerated values for types of prices in the Price data type in order to explain how to interpret the amount and use it in calculations.",
  "enum": [
    "AssetPrice",
    "Correlation",
    "Dividend",
    "ExchangeRate",
    "InterestRate",
    "Premium",
    "Variance",
    "Volatility"
  ],
  "oneOf": [
    {
      "enum": [
        "AssetPrice"
      ],
      "title": "AssetPrice",
      "description": "Denotes a price expressed as a cash amount in a given currency to purchase a unit of an asset (e.g. a security or a commodity)."
    },
    
    {
      "enum": [
        "Correlation"
      ],
      "title": "Correlation",
      "description": "Denotes a price expressed as the weighted average of all pairwise correlation coefficients."
    },
    
    {
      "enum": [
        "Dividend"
      ],
      "title": "Dividend",
      "description": "Denotes a price expressed as the dividend payment from a index or share."
    },
    
    {
      "enum": [
        "ExchangeRate"
      ],
      "title": "ExchangeRate",
      "description": "Denotes a rate to convert one currency or other measure of value to another. Foreign Exchange rates are represented in decimals, e.g. {amount, unitOfAmount, PerUnitOfAmount} = [1.23, USD, GBP] = USD 1.23 for every 1 GBP."
    },
    
    {
      "enum": [
        "InterestRate"
      ],
      "title": "InterestRate",
      "description": "Denotes a price expressed as a rate to be applied to quantity/notional amount and represented as decimal, e.g. {amount, unitOfAmount, PerUnitOfAmount} = [0.08, EUR, EUR] = 8%  of the EUR notional quantity/amount or 8 cents for every EUR of notional amount."
    },
    
    {
      "enum": [
        "Premium"
      ],
      "title": "Premium",
      "description": "Denotes the amount payable by the buyer to the seller for an option. The premium is paid on the specified premium payment date or on each premium payment date if specified."
    },
    
    {
      "enum": [
        "Variance"
      ],
      "title": "Variance",
      "description": "Denotes a price expressed as the the arithmetic average of the squared differences from the mean value of an observable price."
    },
    
    {
      "enum": [
        "Volatility"
      ],
      "title": "Volatility",
      "description": "Denotes a price expressed as the the square root of the arithmetic average of the squared differences from the mean value of an observable price."
    }
  ]
}
