{
    "traceId": {
        "type": "uuid",
        "changingFrequency": "5"
    },
    "serviceInstanceName": {
        "type": "randomString",
        "length": "10",
        "letters": true,
        "numbers": true
    },
    "segmentId": {
        "type": "randomString",
        "length": "20",
        "letters": true,
        "numbers": true
    },
    "serviceName": {
        "type": "randomString",
        "length": "10",
        "letters": true,
        "numbers": true
    },
    "endpointName": {
        "type": "randomString",
        "length": "10",
        "prefix": "test_",
        "letters": true,
        "numbers": true,
        "domainSize": 10
    },
    "startTime": {
        "type": "sequence",
        "min": "1650510807000",
        "max": "1650512807000"
    },
    "latency": {
        "type": "randomInt",
        "min": 100,
        "max": 1000
    },
    "error": {
        "type": "randomInt",
        "min": 1,
        "max": 1
    },
    "tags": {
        "type": "randomList",
        "size": 5,
        "item": {
            "key": {
                "type": "randomString",
                "length": "10",
                "prefix": "test_tag_",
                "letters": true,
                "numbers": true,
                "domainSize": 10
            },
            "value": {
                "type": "randomString",
                "length": "10",
                "prefix": "test_value_",
                "letters": true,
                "numbers": true
            }
        }
    },
    "spans": {
        "type": "randomList",
        "size": 5,
        "item": {
            "spanId": {
                "type": "sequence",
                "min": "0",
                "max": "5"
            },
            "parentSpanId": {
                "type": "sequence",
                "min": "-1",
                "max": "4"
            },
            "startTime": {
                "type": "randomInt",
                "min": "1650510807000",
                "max": "1650512807000",
                "domainSize": 10
            },
            "endTime": {
                "type": "randomInt",
                "min": "1650510807000",
                "max": "1650512807000",
                "domainSize": 10
            },
            "operationName": {
                "type": "randomString",
                "length": "10",
                "prefix": "test_endpoint_",
                "letters": true,
                "numbers": true
            },
            "peer": {
                "type": "randomString",
                "length": "10",
                "prefix": "test_peer_",
                "letters": true,
                "numbers": true
            },
            "spanLayer": {
                "type": "randomInt",
                "min": "0",
                "max": "4"
            },
            "componentId": {
                "type": "randomInt",
                "min": "0",
                "max": "4"
            },
            "error": {
                "type": "randomBool",
                "possibility": "0.9"
            },
            "tags": {
                "type": "randomList",
                "size": 5,
                "item": {
                    "key": {
                        "type": "randomString",
                        "length": "10",
                        "prefix": "test_tag_key_",
                        "letters": true,
                        "numbers": true,
                        "domainSize": 10
                    },
                    "value": {
                        "type": "randomString",
                        "length": "10",
                        "prefix": "test_tag_val_",
                        "letters": true,
                        "numbers": true
                    }
                }
            }
        }
    }
}
