{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/datadog-service-definition/_shared/latest--datadog_code_locations.schema.json",
  "description": "Schema for mapping source code locations to an entity",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/DataDog/schema/main/service-catalog/v3/datadog_code_locations.schema.json",
    "sourceSha256": "4f53ac45a8eb0cd8b40599e8ee9e95037a0851cee28faed15e11177b73e4a651"
  },
  "type": "array",
  "properties": {
    "items": {
      "properties": {
        "repositoryURL": {
          "description": "The repository path of the source code of the entity",
          "type": "string",
          "pattern": "url"
        },
        "paths": {
          "type": "array",
          "description": "The paths (glob) to the source code of the service",
          "items": {
            "type": "string"
          }
        }
      }
    }
  },
  "additionalProperties": false
}
