{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-synthetic-location-schema.json",
  "title": "SyntheticLocation",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-synthetic-settings-api-openapi.yml#/components/schemas/SyntheticLocation",
  "type": "object",
  "properties": {
    "configuration": {
      "$ref": "#/$defs/SyntheticLocationConfiguration"
    },
    "createdAt": {
      "type": "integer",
      "format": "int64"
    },
    "customProperties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "description": {
      "type": "string",
      "maxLength": 512,
      "minLength": 0
    },
    "displayLabel": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    },
    "geoPoint": {
      "$ref": "#/$defs/SyntheticGeoPoint"
    },
    "id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 0
    },
    "label": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    },
    "locationType": {
      "type": "string"
    },
    "modifiedAt": {
      "type": "integer",
      "format": "int64"
    },
    "observedAt": {
      "type": "integer",
      "format": "int64"
    },
    "playbackCapabilities": {
      "$ref": "#/$defs/SyntheticPlaybackCapabilities"
    },
    "popVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "status": {
      "type": "string"
    },
    "totalTests": {
      "type": "integer",
      "format": "int32"
    }
  },
  "required": [
    "geoPoint",
    "label",
    "locationType",
    "playbackCapabilities"
  ],
  "$defs": {
    "SyntheticGeoPoint": {
      "type": "object",
      "properties": {
        "cityName": {
          "type": "string"
        },
        "countryName": {
          "type": "string"
        },
        "latitude": {
          "type": "number",
          "format": "double"
        },
        "longitude": {
          "type": "number",
          "format": "double"
        }
      },
      "required": [
        "cityName",
        "countryName",
        "latitude",
        "longitude"
      ]
    },
    "SyntheticLocationConfiguration": {
      "type": "object",
      "properties": {
        "clusterName": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "tenantType": {
          "type": "string",
          "enum": [
            "Multi",
            "Single"
          ]
        }
      }
    },
    "SyntheticPlaybackCapabilities": {
      "type": "object",
      "properties": {
        "browserType": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "chrome",
              "firefox"
            ]
          }
        },
        "executionType": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "CI/CD"
            ]
          }
        },
        "syntheticType": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "browserType",
        "syntheticType"
      ]
    }
  }
}