{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScoredEmailAddress",
  "title": "ScoredEmailAddress",
  "type": "object",
  "description": "An email address with a relevance score",
  "properties": {
    "address": {
      "type": "string",
      "format": "email",
      "description": "The email address"
    },
    "relevanceScore": {
      "type": "number",
      "format": "double",
      "description": "The relevance score of the email address (0.0 to 100.0)"
    },
    "selectionLikelihood": {
      "type": "string",
      "enum": [
        "notSpecified",
        "high"
      ],
      "description": "The likelihood that the email address would be selected"
    }
  }
}