{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RecordCNAME",
  "title": "RecordCNAME",
  "type": "object",
  "properties": {
    "_ref": {
      "type": "string",
      "description": "The object reference for this CNAME record."
    },
    "name": {
      "type": "string",
      "description": "The alias name."
    },
    "canonical": {
      "type": "string",
      "description": "The canonical (target) domain name."
    },
    "view": {
      "type": "string",
      "description": "The DNS view in which this record exists."
    },
    "ttl": {
      "type": "integer",
      "description": "The time to live in seconds."
    },
    "comment": {
      "type": "string",
      "description": "A descriptive comment.",
      "maxLength": 256
    }
  }
}