{
    "additionalProperties": true,
    "description": "Marketo description",
    "properties": {
        "campaign": {
            "properties": {
                "description": {
                    "maxLength": 255,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "name": {
                    "maxLength": 255,
                    "type": "string"
                }
            },
            "required": [
                "id",
                "name"
            ],
            "type": [
                "object",
                "null"
            ]
        },
        "company": {
            "properties": {
                "account_owner_email_address": {
                    "_format": "email",
                    "type": "string"
                },
                "account_owner_first_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "account_owner_last_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "annual_revenue": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "number"
                },
                "billing_address": {
                    "maxLength": 255,
                    "type": "string"
                },
                "billing_city": {
                    "maxLength": 255,
                    "type": "string"
                },
                "billing_country": {
                    "maxLength": 255,
                    "type": "string"
                },
                "billing_postal_code": {
                    "maxLength": 255,
                    "type": "string"
                },
                "billing_state": {
                    "maxLength": 255,
                    "type": "string"
                },
                "industry": {
                    "maxLength": 255,
                    "type": "string"
                },
                "main_phone": {
                    "maxLength": 255,
                    "type": "string"
                },
                "name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "notes": {
                    "maxLength": 255,
                    "type": "string"
                },
                "num_employees": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "parent_company_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "sic_code": {
                    "maxLength": 40,
                    "type": "string"
                },
                "site": {
                    "maxLength": 255,
                    "type": "string"
                },
                "website": {
                    "maxLength": 255,
                    "type": "string"
                }
            },
            "type": [
                "object",
                "null"
            ]
        },
        "datetime": {
            "_format": "date-time",
            "type": [
                "string",
                "null"
            ]
        },
        "description": {
            "maxLength": 255,
            "type": [
                "string",
                "null"
            ]
        },
        "forward_to_friend_link": {
            "maxLength": 255,
            "type": [
                "string",
                "null"
            ]
        },
        "lead": {
            "properties": {
                "acquisition_date": {
                    "_format": "date-time",
                    "type": "string"
                },
                "acquisition_program": {
                    "maxLength": 255,
                    "type": "string"
                },
                "acquisition_program_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "address": {
                    "maxLength": 255,
                    "type": "string"
                },
                "anonymous_ip": {
                    "maxLength": 45,
                    "type": "string"
                },
                "black_listed": {
                    "type": "boolean"
                },
                "city": {
                    "maxLength": 255,
                    "type": "string"
                },
                "country": {
                    "maxLength": 255,
                    "type": "string"
                },
                "created_at": {
                    "_format": "date-time",
                    "type": "string"
                },
                "date_of_birth": {
                    "_format": "date",
                    "type": "string"
                },
                "department": {
                    "maxLength": 255,
                    "type": "string"
                },
                "do_not_call": {
                    "type": "boolean"
                },
                "do_not_call_reason": {
                    "maxLength": 512,
                    "type": "string"
                },
                "email_address": {
                    "_format": "email",
                    "type": "string"
                },
                "email_invalid": {
                    "type": "boolean"
                },
                "email_invalid_cause": {
                    "maxLength": 255,
                    "type": "string"
                },
                "email_suspended": {
                    "type": "boolean"
                },
                "email_suspended_at": {
                    "_format": "date-time",
                    "type": "string"
                },
                "email_suspended_cause": {
                    "maxLength": 2000,
                    "type": "string"
                },
                "facebook_display_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "facebook_id": {
                    "maxLength": 512,
                    "type": "string"
                },
                "facebook_photo_url": {
                    "maxLength": 255,
                    "type": "string"
                },
                "facebook_profile_url": {
                    "maxLength": 255,
                    "type": "string"
                },
                "facebook_reach": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "facebook_referred_enrollments": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "facebook_referred_visits": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "fax_number": {
                    "maxLength": 255,
                    "type": "string"
                },
                "first_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "full_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "gender": {
                    "maxLength": 6,
                    "type": "string"
                },
                "inferred_city": {
                    "maxLength": 255,
                    "type": "string"
                },
                "inferred_company": {
                    "maxLength": 255,
                    "type": "string"
                },
                "inferred_country": {
                    "maxLength": 255,
                    "type": "string"
                },
                "inferred_metropolitan_area": {
                    "maxLength": 255,
                    "type": "string"
                },
                "inferred_phone_area_code": {
                    "maxLength": 255,
                    "type": "string"
                },
                "inferred_postal_code": {
                    "maxLength": 255,
                    "type": "string"
                },
                "inferred_state_region": {
                    "maxLength": 255,
                    "type": "string"
                },
                "is_customer": {
                    "type": "boolean"
                },
                "is_partner": {
                    "type": "boolean"
                },
                "job_title": {
                    "maxLength": 255,
                    "type": "string"
                },
                "last_interesting_moment_date": {
                    "_format": "date-time",
                    "type": "string"
                },
                "last_interesting_moment_description": {
                    "maxLength": 255,
                    "type": "string"
                },
                "last_interesting_moment_source": {
                    "maxLength": 255,
                    "type": "string"
                },
                "last_interesting_moment_type": {
                    "maxLength": 255,
                    "type": "string"
                },
                "last_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "last_referred_enrollment": {
                    "_format": "date-time",
                    "type": "string"
                },
                "last_referred_visit": {
                    "_format": "date-time",
                    "type": "string"
                },
                "lead_marketing_suspended": {
                    "type": "boolean"
                },
                "lead_owner_email_address": {
                    "_format": "email",
                    "type": "string"
                },
                "lead_owner_first_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "lead_owner_job_title": {
                    "maxLength": 255,
                    "type": "string"
                },
                "lead_owner_last_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "lead_owner_phone_number": {
                    "maxLength": 255,
                    "type": "string"
                },
                "lead_rating": {
                    "maxLength": 255,
                    "type": "string"
                },
                "lead_score": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "lead_source": {
                    "maxLength": 255,
                    "type": "string"
                },
                "lead_status": {
                    "maxLength": 255,
                    "type": "string"
                },
                "linkedin_display_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "linkedin_id": {
                    "maxLength": 512,
                    "type": "string"
                },
                "linkedin_photo_url": {
                    "maxLength": 512,
                    "type": "string"
                },
                "linkedin_profile_url": {
                    "maxLength": 512,
                    "type": "string"
                },
                "linkedin_reach": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "linkedin_referred_enrollments": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "linkedin_referred_visits": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "middle_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "mobile_phone_number": {
                    "maxLength": 255,
                    "type": "string"
                },
                "number_of_optys": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "original_referrer": {
                    "maxLength": 255,
                    "type": "string"
                },
                "original_search_engine": {
                    "maxLength": 255,
                    "type": "string"
                },
                "original_search_phrase": {
                    "maxLength": 255,
                    "type": "string"
                },
                "original_source_info": {
                    "maxLength": 255,
                    "type": "string"
                },
                "original_source_type": {
                    "maxLength": 255,
                    "type": "string"
                },
                "person_notes": {
                    "maxLength": 512,
                    "type": "string"
                },
                "person_timezone": {
                    "maxLength": 255,
                    "type": "string"
                },
                "phone_number": {
                    "maxLength": 255,
                    "type": "string"
                },
                "postal_code": {
                    "maxLength": 255,
                    "type": "string"
                },
                "priority": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "registration_source_info": {
                    "maxLength": 2000,
                    "type": "string"
                },
                "registration_source_type": {
                    "maxLength": 255,
                    "type": "string"
                },
                "relative_score": {
                    "maximum": 5,
                    "minimum": 0,
                    "type": "integer"
                },
                "relative_urgency": {
                    "maximum": 5,
                    "minimum": 0,
                    "type": "integer"
                },
                "role": {
                    "maxLength": 50,
                    "type": "string"
                },
                "salutation": {
                    "maxLength": 255,
                    "type": "string"
                },
                "state": {
                    "maxLength": 255,
                    "type": "string"
                },
                "syndication_id": {
                    "maxLength": 512,
                    "type": "string"
                },
                "total_opty_amount": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "number"
                },
                "total_opty_expected_revenue": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "number"
                },
                "total_referred_enrollments": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "total_referred_visits": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "twitter_display_name": {
                    "maxLength": 255,
                    "type": "string"
                },
                "twitter_id": {
                    "maxLength": 512,
                    "type": "string"
                },
                "twitter_photo_url": {
                    "maxLength": 512,
                    "type": "string"
                },
                "twitter_profile_url": {
                    "maxLength": 512,
                    "type": "string"
                },
                "twitter_reach": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "twitter_referred_enrollments": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "twitter_referred_visits": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "unsubscribed": {
                    "type": "boolean"
                },
                "unsubscribed_reason": {
                    "maxLength": 512,
                    "type": "string"
                },
                "updated_at": {
                    "_format": "date-time",
                    "type": "string"
                },
                "urgency": {
                    "maximum": 32767,
                    "minimum": 0,
                    "type": "integer"
                }
            },
            "type": [
                "object",
                "null"
            ]
        },
        "munchkinId": {
            "maxLength": 255,
            "type": [
                "string",
                "null"
            ]
        },
        "name": {
            "maxLength": 128,
            "type": "string"
        },
        "program": {
            "properties": {
                "description": {
                    "maxLength": 2000,
                    "type": "string"
                },
                "id": {
                    "maximum": 2147483647,
                    "minimum": 0,
                    "type": "integer"
                },
                "name": {
                    "maxLength": 255,
                    "type": "string"
                }
            },
            "type": [
                "object",
                "null"
            ]
        },
        "social": {
            "properties": {
                "email": {
                    "_format": "email",
                    "type": "string"
                },
                "promo_code": {
                    "maxLength": 255,
                    "type": "string"
                },
                "share_url": {
                    "maxLength": 2000,
                    "type": "string"
                }
            },
            "type": [
                "object",
                "null"
            ]
        },
        "sp_send_alert_info": {
            "maxLength": 2000,
            "type": [
                "string",
                "null"
            ]
        },
        "step": {
            "maximum": 32767,
            "minimum": 0,
            "type": [
                "integer",
                "null"
            ]
        },
        "unsubscribe_link": {
            "maxLength": 2000,
            "type": [
                "string",
                "null"
            ]
        },
        "view_as_webpage_link": {
            "maxLength": 2000,
            "type": [
                "string",
                "null"
            ]
        }
    },
    "required": [
        "name"
    ],
    "self": {
        "format": "jsonschema",
        "name": "event",
        "vendor": "com.marketo",
        "version": "2-0-0"
    },
    "type": "object"
}