{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.legaldocumentation.csa",
  "type": "object",
  "title": "IndependentAmountRatings",
  "description": "A logical container designed to hold a set of related data. In this case, designed to hold a set of information required when Independent Amount is determined using credit ratings.",
  "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"
    }
  },
  "required": [
    "compare",
    "ratedParty",
    "ratingType"
  ]
}
