{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.observable.asset",
  "type": "object",
  "title": "CrossRate",
  "description": "A class that is used for including the currency exchange rates used to cross between the traded currencies for non-base currency FX contracts.",
  "properties": {
    "currency1": {
      "description": "The first currency specified when a pair of currencies is to be evaluated.",
      "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
    },
    "currency2": {
      "description": "The second currency specified when a pair of currencies is to be evaluated.",
      "$ref": "com-rosetta-model-metafields-FieldWithMetaString.schema.json"
    },
    "quoteBasis": {
      "description": "The method by which the exchange rate is quoted.",
      "$ref": "cdm-observable-asset-QuoteBasisEnum.schema.json"
    },
    "rate": {
      "description": "The exchange rate used to cross between the traded currencies.",
      "type": "number"
    },
    "spotRate": {
      "description": "An optional element used for FX forwards and certain types of FX OTC options. For deals consummated in the FX Forwards Market, this represents the current market rate for a particular currency pair.",
      "type": "number"
    },
    "forwardPoints": {
      "description": "An optional element used for deals consummated in the FX Forwards market. Forward points represent the interest rate differential between the two currencies traded and are quoted as a premium or a discount. Forward points are added to, or subtracted from, the spot rate to create the rate of the forward trade.",
      "type": "number"
    }
  },
  "required": [
    "rate"
  ]
}
