{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-synthetic-test-schema.json",
  "title": "SyntheticTest",
  "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/SyntheticTest",
  "type": "object",
  "properties": {
    "active": {
      "type": "boolean"
    },
    "applicationId": {
      "type": "string",
      "maxLength": 512,
      "minLength": 0
    },
    "applicationLabel": {
      "type": "string",
      "maxLength": 512,
      "minLength": 0,
      "readOnly": true
    },
    "applicationLabels": {
      "type": "array",
      "items": {
        "type": "string",
        "readOnly": true
      },
      "readOnly": true
    },
    "applications": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "configuration": {
      "$ref": "#/$defs/SyntheticTypeConfiguration"
    },
    "createdAt": {
      "type": "integer",
      "format": "int64",
      "readOnly": true
    },
    "createdBy": {
      "type": "string",
      "maxLength": 128,
      "minLength": 0
    },
    "customProperties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "description": {
      "type": "string",
      "maxLength": 512,
      "minLength": 0
    },
    "id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    },
    "label": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    },
    "locationDisplayLabels": {
      "type": "array",
      "items": {
        "type": "string",
        "readOnly": true
      },
      "readOnly": true
    },
    "locationLabels": {
      "type": "array",
      "items": {
        "type": "string",
        "readOnly": true
      },
      "readOnly": true
    },
    "locations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "mobileAppLabels": {
      "type": "array",
      "items": {
        "type": "string",
        "readOnly": true
      },
      "readOnly": true
    },
    "mobileApps": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "modifiedAt": {
      "type": "integer",
      "format": "int64"
    },
    "modifiedBy": {
      "type": "string",
      "maxLength": 128,
      "minLength": 0
    },
    "playbackMode": {
      "type": "string",
      "enum": [
        "Simultaneous",
        "Staggered"
      ]
    },
    "rbacTags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ApiTag"
      },
      "uniqueItems": true
    },
    "tenantId": {
      "type": "string"
    },
    "testFrequency": {
      "type": "integer",
      "format": "int32",
      "maximum": 1440,
      "minimum": 1
    },
    "websiteLabels": {
      "type": "array",
      "items": {
        "type": "string",
        "readOnly": true
      },
      "readOnly": true
    },
    "websites": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "active",
    "configuration",
    "label",
    "locations",
    "testFrequency"
  ],
  "$defs": {
    "ApiTag": {
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "maxLength": 256,
          "minLength": 0
        },
        "id": {
          "type": "string",
          "maxLength": 64,
          "minLength": 0
        }
      },
      "required": [
        "displayName",
        "id"
      ]
    },
    "SyntheticTypeConfiguration": {
      "type": "object",
      "description": "Synthetic test configuration that is unique to a synthetic type. Valid types are BrowserScript,\nDNS, HTTPAction, HTTPScript, SSLCertificate, WebpageAction, and WebpageScript.",
      "properties": {
        "markSyntheticCall": {
          "type": "boolean"
        },
        "retries": {
          "type": "integer",
          "format": "int32",
          "maximum": 2,
          "minimum": 0
        },
        "retryInterval": {
          "type": "integer",
          "format": "int32",
          "maximum": 10,
          "minimum": 1
        },
        "syntheticType": {
          "type": "string",
          "enum": [
            "BrowserScript",
            "DNS",
            "HTTPAction",
            "HTTPScript",
            "SSLCertificate",
            "WebpageAction",
            "WebpageScript",
            "NotConfigured"
          ]
        },
        "timeout": {
          "type": "string"
        }
      },
      "required": [
        "markSyntheticCall",
        "syntheticType"
      ]
    }
  }
}