{
    "additionalProperties": true,
    "description": "Schema for Segment traits (via webhook), https://segment.com/docs/spec/identify/#traits",
    "properties": {
        "address": {
            "additionalProperties": true,
            "properties": {
                "city": {
                    "maxLength": 512,
                    "type": "string"
                },
                "country": {
                    "type": "string"
                },
                "postalCode": {
                    "type": "string"
                },
                "state": {
                    "type": "string"
                },
                "street": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "age": {
            "type": "integer"
        },
        "avatar": {
            "_format": "uri",
            "maxLength": 8192,
            "type": "string"
        },
        "birthday": {
            "_format": "date-time",
            "type": "string"
        },
        "createdAt": {
            "_format": "date-time",
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "email": {
            "_format": "email",
            "maxLength": 512,
            "type": "string"
        },
        "firstName": {
            "type": "string"
        },
        "id": {
            "type": "string"
        },
        "lastName": {
            "type": "string"
        },
        "phone": {
            "maxLength": 128,
            "type": "string"
        },
        "title": {
            "type": "string"
        },
        "username": {
            "type": "string"
        },
        "website": {
            "_format": "uri",
            "maxLength": 8192,
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "traits",
        "vendor": "com.segment",
        "version": "1-0-0"
    },
    "type": "object"
}