{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/giftCertificate_Base",
  "title": "giftCertificate_Base",
  "required": [
    "amount",
    "from_email",
    "from_name",
    "to_email",
    "to_name"
  ],
  "type": "object",
  "properties": {
    "to_name": {
      "type": "string",
      "description": "Name of the recipient.",
      "example": "John Doe"
    },
    "to_email": {
      "type": "string",
      "description": "Email of the recipient.",
      "example": "johndoe@example.com"
    },
    "from_name": {
      "type": "string",
      "description": "Name of the customer who purchased the gift certificate.",
      "example": "Jane Doe"
    },
    "from_email": {
      "type": "string",
      "description": "Email of the customer who purchased the gift certificate.",
      "example": "janedoe@example.com"
    },
    "amount": {
      "type": "string",
      "description": "Value of the gift certificate.",
      "example": "10"
    }
  },
  "x-internal": false
}