{
    "additionalProperties": false,
    "description": "Schema for a Google Analytics Ecommerce transaction",
    "properties": {
        "affiliation": {
            "maxLength": 500,
            "type": "string"
        },
        "currency": {
            "maxLength": 3,
            "minLength": 3,
            "type": "string"
        },
        "id": {
            "maxLength": 500,
            "type": "string"
        },
        "revenue": {
            "multipleOf": 0.01,
            "type": "number"
        },
        "shipping": {
            "multipleOf": 0.01,
            "type": "number"
        },
        "tax": {
            "multipleOf": 0.01,
            "type": "number"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "transaction",
        "vendor": "com.google.analytics.ecommerce",
        "version": "1-0-0"
    },
    "type": "object"
}