{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cloud-map/refs/heads/main/json-structure/cloud-map-create-service-request-structure.json",
  "name": "CreateServiceRequest",
  "description": "Request body for creating a service.",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name that you want to assign to the service.",
      "example": "payment-service"
    },
    "NamespaceId": {
      "type": "string",
      "description": "The ID of the namespace that you want to use to create the service."
    },
    "Description": {
      "type": "string",
      "description": "A description for the service."
    },
    "DnsConfig": {
      "type": "object",
      "description": "A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to create when you register an instance."
    },
    "CreatorRequestId": {
      "type": "string",
      "description": "A unique string that identifies the request and allows failed CreateService requests to be retried."
    }
  }
}