{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-servicediscovery-service.json",
  "title": "AWSServiceDiscoveryServiceProperties",
  "description": "Resource Type definition for AWS::ServiceDiscovery::Service. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-servicediscovery-service.json",
    "sourceSha256": "86ff3c8d679c826b5a39768682170c52180a8ae90761ad7b9464d808db82970a"
  },
  "type": "object",
  "properties": {
    "Type": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "HealthCheckCustomConfig": {
      "$ref": "#/$defs/HealthCheckCustomConfig"
    },
    "DnsConfig": {
      "$ref": "#/$defs/DnsConfig"
    },
    "NamespaceId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "HealthCheckConfig": {
      "$ref": "#/$defs/HealthCheckConfig"
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::ServiceDiscovery::Service",
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ],
  "$defs": {
    "HealthCheckCustomConfig": {
      "type": "object",
      "title": "AWSServiceDiscoveryServiceHealthCheckCustomConfigDefinition",
      "properties": {
        "FailureThreshold": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "DnsConfig": {
      "type": "object",
      "title": "AWSServiceDiscoveryServiceDnsConfigDefinition",
      "properties": {
        "DnsRecords": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/DnsRecord"
          }
        },
        "RoutingPolicy": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "NamespaceId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "DnsRecords"
      ],
      "additionalProperties": false
    },
    "HealthCheckConfig": {
      "type": "object",
      "title": "AWSServiceDiscoveryServiceHealthCheckConfigDefinition",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ResourcePath": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "FailureThreshold": {
          "type": "number"
        }
      },
      "required": [
        "Type"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "title": "AWSServiceDiscoveryServiceTagDefinition",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    },
    "DnsRecord": {
      "type": "object",
      "title": "AWSServiceDiscoveryServiceDnsRecordDefinition",
      "properties": {
        "TTL": {
          "type": "number"
        },
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Type",
        "TTL"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/HealthCheckCustomConfig",
    "/properties/Name",
    "/properties/Type",
    "/properties/NamespaceId"
  ]
}
