{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/giftbit/main/json-schema/contact.json",
  "title": "Contact",
  "description": "A reward recipient contact used in email reward orders.",
  "type": "object",
  "required": ["email"],
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "Recipient email address.",
      "example": "pjohnson@giftbit.com"
    },
    "firstname": {
      "type": "string",
      "description": "Recipient first name.",
      "example": "Perry"
    },
    "lastname": {
      "type": "string",
      "description": "Recipient last name.",
      "example": "Johnson"
    }
  }
}
