SRV Record

APIs.ioEngineeringPlatform

Properties

Name Type Description
content string Priority, weight, port, and SRV target. See 'data' for setting the individual component values.
data object Components of a SRV record.
type string Record type.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-dns-records-srvrecord-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/dns-records_SRVRecord",
  "title": "SRV Record",
  "properties": {
    "content": {
      "description": "Priority, weight, port, and SRV target. See 'data' for setting the individual component values.",
      "example": "10 IN SRV 5 8806 example.com.",
      "readOnly": true,
      "type": "string"
    },
    "data": {
      "description": "Components of a SRV record.",
      "properties": {
        "port": {
          "description": "The port of the service.",
          "example": 8806,
          "maximum": 65535,
          "minimum": 0,
          "type": "number"
        },
        "priority": {
          "$ref": "#/components/schemas/dns-records_priority"
        },
        "target": {
          "description": "A valid hostname.",
          "example": "example.com",
          "format": "hostname",
          "type": "string"
        },
        "weight": {
          "description": "The record weight.",
          "example": 5,
          "maximum": 65535,
          "minimum": 0,
          "type": "number"
        }
      },
      "type": "object"
    },
    "type": {
      "description": "Record type.",
      "enum": [
        "SRV"
      ],
      "example": "SRV",
      "type": "string"
    }
  },
  "type": "object"
}