{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.legaldocumentation.csa",
  "type": "object",
  "title": "LegacyIndependentAmountRatingsXExposure",
  "description": "Specifies that the Independent Amount is determined using both credit rating and exposure metrics.",
  "properties": {
    "compare": {
      "description": "Specifies how multiple credit ratings are compared when determining the applicable Independent Amount, and whether that measure is highest, lowest, or a comparison of either.",
      "$ref": "cdm-legaldocumentation-csa-IndependentAmountCompareEnum.schema.json"
    },
    "ratedParty": {
      "description": "Specifies the party to whom the rating agency rating applies to for the purposes of determining the Independent Amount.",
      "$ref": "cdm-legaldocumentation-csa-RatedPartyEnum.schema.json"
    },
    "namedAffiliate": {
      "description": "Details the Named Affiliate where the Rated Party is Named Affiliate.",
      "$ref": "cdm-base-staticdata-party-LegalEntity.schema.json"
    },
    "namedEntity": {
      "description": "Details the Named Entity where the Rated Party is Named Entity.",
      "$ref": "cdm-base-staticdata-party-LegalEntity.schema.json"
    },
    "ratingType": {
      "description": "The relevant rating type.",
      "$ref": "cdm-legaldocumentation-csa-RatingTypeEnum.schema.json"
    },
    "highestLowestVariableSet": {
      "description": "A logical container to hold a defined set of related data. In this case the collation of Ratings Information and associated exposure multiplier where highest or lowest of the associated credit ratings are used when determining the applicable Independent Amount.",
      "type": "array",
      "items": {
        "$ref": "cdm-legaldocumentation-csa-RatingMultiplier.schema.json"
      },
      "minItems": 0
    },
    "compareVariableSet": {
      "description": "A logical container to hold a defined set of related data. In this case the collation of Ratings Information and associated exposure multiplier where multiple credit ratings are compared when determining the applicable Independent Amount.",
      "type": "array",
      "items": {
        "$ref": "cdm-legaldocumentation-csa-DirectionRatingMultiplier.schema.json"
      },
      "minItems": 0
    }
  }
}
