{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contabo/json-schema/contabo-domain-suggestions-list-response-schema.json",
  "title": "DomainSuggestionsListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contabo-domains-api-openapi.yml#/components/schemas/DomainSuggestionsListResponse",
  "type": "object",
  "properties": {
    "data": {
      "description": "The list of domain suggestions.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/DomainSuggestion"
      }
    },
    "_links": {
      "allOf": [
        {
          "$ref": "#/$defs/SelfLinks"
        }
      ]
    }
  },
  "required": [
    "data",
    "_links"
  ],
  "$defs": {
    "DomainSuggestion": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string",
          "minLength": 1,
          "description": "Your customer tenant id"
        },
        "customerId": {
          "type": "string",
          "minLength": 1,
          "description": "Your customer number"
        },
        "domain": {
          "type": "string",
          "description": "Suggested fully-qualified domain name."
        },
        "available": {
          "type": "boolean",
          "description": "Whether the suggested domain is available for registration."
        },
        "premium": {
          "type": "boolean",
          "description": "Whether the suggested domain is premium-priced."
        }
      },
      "required": [
        "tenantId",
        "customerId",
        "domain",
        "available",
        "premium"
      ]
    },
    "SelfLinks": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string",
          "description": "Link to current resource."
        }
      },
      "required": [
        "self"
      ]
    }
  }
}