{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.legaldocumentation.master.isla",
  "type": "object",
  "title": "Aggregation",
  "description": "The definitions for whether aggregation applies to the GMSLA, and if so how it applies.",
  "properties": {
    "aggregationType": {
      "description": "How is the mark to market value determined?",
      "$ref": "cdm-legaldocumentation-master-isla-AggregationSpecificationEnum.schema.json"
    },
    "loansCanBeGrouped": {
      "description": "The mark to market can be defined separately for different groups of loans.",
      "type": "boolean"
    },
    "otherDetails": {
      "description": "Any specfic elections that are not captured by the above options, such as grouping information.",
      "type": "string"
    }
  },
  "required": [
    "aggregationType",
    "loansCanBeGrouped"
  ]
}
