{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.observable.asset",
  "type": "object",
  "title": "PriceQuantity",
  "description": "Defines a settlement as an exchange between two parties of a specified quantity of an asset (the quantity) against a specified quantity of another asset (the price). The settlement is optional and can be either cash or physical. The quantity can additionally be specified in terms of one or more currency amounts. In the case of non-cash products, the settlement of the price/quantity would not be specified here and instead would be delegated to the product mechanics, as parameterised by the price/quantity values.",
  "properties": {
    "price": {
      "description": "Specifies a price to be used for trade amounts and other purposes.",
      "type": "array",
      "items": {
        "$ref": "cdm-observable-asset-metafields-FieldWithMetaPriceSchedule.schema.json"
      },
      "minItems": 0
    },
    "quantity": {
      "description": "Specifies a quantity to be associated with an event, for example a trade amount.",
      "type": "array",
      "items": {
        "$ref": "cdm-base-math-metafields-FieldWithMetaNonNegativeQuantitySchedule.schema.json"
      },
      "minItems": 0
    },
    "observable": {
      "description": "Specifies the object to be observed for a price, it could be an asset or an index. The cardinality is optional as some quantity / price cases have no observable (e.g. a fixed rate in a given currency).",
      "$ref": "cdm-observable-asset-metafields-FieldWithMetaObservable.schema.json"
    },
    "effectiveDate": {
      "description": "Specifies the date at which the price and quantity become effective. This day may be subject to adjustment in accordance with a business day convention, or could be specified as relative to a trade date, for instance. Optional cardinality, as the effective date is usually specified in the product definition, so it may only need to be specified as part of the PriceQuantity in an increase/decrease scenario for an existing trade.",
      "$ref": "cdm-base-datetime-AdjustableOrRelativeDate.schema.json"
    }
  }
}
