{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/r2_add_custom_domain_response",
  "title": "r2_add_custom_domain_response",
  "example": {
    "domain": "example-domain.com",
    "enabled": true
  },
  "properties": {
    "domain": {
      "description": "Domain name of the affected custom domain",
      "type": "string"
    },
    "enabled": {
      "description": "Whether this bucket is publicly accessible at the specified custom domain",
      "type": "boolean"
    },
    "minTLS": {
      "description": "Minimum TLS Version the custom domain will accept for incoming connections. If not set, defaults to 1.0.",
      "enum": [
        "1.0",
        "1.1",
        "1.2",
        "1.3"
      ],
      "type": "string"
    }
  },
  "required": [
    "domain",
    "enabled"
  ],
  "type": "object"
}