{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.legaldocumentation.csa",
  "type": "object",
  "title": "Substitution",
  "description": "A class to specify the conditions under which the Security Provider can substitute posted collateral. The details required for 'Legacy' agreements are substantially different to those required for newer agreements; where the agreement is a 1994 or 1995 CSA, or 1995 CSD, the legacyConsent attribute needs to be used which contains additional values beyond a simple true/false value.",
  "properties": {
    "partyElection": {
      "description": "Party specific elections for substitution of posted collateral.",
      "type": "array",
      "items": {
        "$ref": "cdm-legaldocumentation-csa-SubstitutionPartyElection.schema.json"
      },
      "minItems": 0,
      "maxItems": 2
    }
  }
}
