{
    "additionalProperties": false,
    "description": "Schema for a Google Analytics transaction hit",
    "properties": {
        "affiliation": {
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "couponCode": {
            "type": [
                "string",
                "null"
            ]
        },
        "currencyCode": {
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "id": {
            "maxLength": 500,
            "type": "string"
        },
        "revenue": {
            "multipleOf": 0.01,
            "type": [
                "number",
                "null"
            ]
        },
        "shipping": {
            "multipleOf": 0.01,
            "type": [
                "number",
                "null"
            ]
        },
        "tax": {
            "multipleOf": 0.01,
            "type": [
                "number",
                "null"
            ]
        }
    },
    "required": [
        "id"
    ],
    "self": {
        "format": "jsonschema",
        "name": "transaction",
        "vendor": "com.google.analytics.measurement-protocol",
        "version": "1-0-0"
    },
    "type": "object"
}