{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/allianz-docs/refs/heads/main/json-schema/api-connect-rating-factor-schema.json",
  "title": "RatingFactor",
  "description": "An individual factor that contributed to the premium calculation",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the rating factor",
      "example": "location_risk"
    },
    "value": {
      "type": "string",
      "description": "Value or level of the rating factor",
      "example": "medium"
    },
    "description": {
      "type": "string",
      "description": "Human-readable description of the factor impact",
      "example": "Medium flood and bushfire risk area"
    }
  }
}