diff --git a/examples/json/AudienceMembershipChangeRequest.json b/examples/json/AudienceMembershipChangeRequest.json index 91e8f05..abc8227 100644 --- a/examples/json/AudienceMembershipChangeRequest.json +++ b/examples/json/AudienceMembershipChangeRequest.json @@ -1,8 +1,8 @@ { "type" : "audience_membership_change_request", - "id" : "af4d17ae-27d7-4dff-87b2-cdffa35eb67f", - "timestamp_ms" : 1631621810984, - "firehose_version" : "2.6.0", + "id" : "facbc1ae-1af6-48b2-b0d6-cdc3ef4601ae", + "timestamp_ms" : 1631651782672, + "firehose_version" : "2.7.0", "account" : { "account_id" : 123456, "account_settings" : { diff --git a/examples/json/AudienceMembershipChangeResponse.json b/examples/json/AudienceMembershipChangeResponse.json index 1aa1b89..c824fec 100644 --- a/examples/json/AudienceMembershipChangeResponse.json +++ b/examples/json/AudienceMembershipChangeResponse.json @@ -1,7 +1,7 @@ { "type" : "audience_membership_change_response", - "id" : "c1402793-c0bf-42eb-a9db-972e479aa6a5", - "timestamp_ms" : 1631621810986, - "firehose_version" : "2.6.0", + "id" : "b95a8cd3-101d-4e8e-9fab-ca2f2025e0dc", + "timestamp_ms" : 1631651782676, + "firehose_version" : "2.7.0", "suspend_subscription" : false } \ No newline at end of file diff --git a/examples/json/AudienceSubscriptionRequest.json b/examples/json/AudienceSubscriptionRequest.json index f62f640..8dc4e51 100644 --- a/examples/json/AudienceSubscriptionRequest.json +++ b/examples/json/AudienceSubscriptionRequest.json @@ -1,8 +1,8 @@ { "type" : "audience_subscription_request", - "id" : "3893d53c-46e9-4e86-9580-105b16d0972d", - "timestamp_ms" : 1631621810986, - "firehose_version" : "2.6.0", + "id" : "3fcc1627-748d-4476-ac14-820d61ae66e7", + "timestamp_ms" : 1631651782677, + "firehose_version" : "2.7.0", "account" : { "account_id" : 123456, "account_settings" : { diff --git a/examples/json/AudienceSubscriptionResponse.json b/examples/json/AudienceSubscriptionResponse.json index 8c8760c..f5b6f15 100644 --- a/examples/json/AudienceSubscriptionResponse.json +++ b/examples/json/AudienceSubscriptionResponse.json @@ -1,8 +1,8 @@ { "type" : "audience_subscription_response", - "id" : "d28f0562-294d-4ec3-979a-e079d52675cc", - "timestamp_ms" : 1631621810986, - "firehose_version" : "2.6.0", + "id" : "b0f34d49-fb75-4347-9f4b-cdcaf679b9a6", + "timestamp_ms" : 1631651782678, + "firehose_version" : "2.7.0", "audience_subscription_settings" : { "sample setting" : "sample setting value", "sample setting 2" : "sample setting value 2" diff --git a/examples/json/EventProcessingRequest_android.json b/examples/json/EventProcessingRequest_android.json index 05e19b8..138d538 100644 --- a/examples/json/EventProcessingRequest_android.json +++ b/examples/json/EventProcessingRequest_android.json @@ -1,9 +1,9 @@ { "type" : "event_processing_request", - "id" : "ddf63e72-d39e-4cd0-bcc2-0dd39ae20bca", - "timestamp_ms" : 1631621810990, - "firehose_version" : "2.6.0", - "source_id" : "f90b4647-e174-4a50-89f2-9123526a1c37", + "id" : "d3e53db2-037a-4f32-ba38-be229a247793", + "timestamp_ms" : 1631651782685, + "firehose_version" : "2.7.0", + "source_id" : "0d6a9094-a6f3-420c-8312-4158df79f333", "account" : { "account_id" : 123456, "account_settings" : { @@ -94,9 +94,9 @@ }, "events" : [ { "type" : "custom_event", - "id" : "e0e4b76e-6b52-4b26-8924-38ca6bca1025", - "timestamp_ms" : 1631621810987, - "source_id" : "01c9ba35-a409-4110-9565-d3e9582ee56a", + "id" : "b4642368-5836-4edb-9a1e-71b482c16674", + "timestamp_ms" : 1631651782679, + "source_id" : "0b661e6c-710e-4800-819f-8fc37cbe9ad4", "session_id" : 123456789, "location" : { "latitude" : 47.6062, @@ -110,9 +110,9 @@ } }, { "type" : "product_action", - "id" : "c92ac304-5cc8-4545-a592-add6887107c6", - "timestamp_ms" : 1631621810987, - "source_id" : "3116ea3f-ffba-4e34-b98b-79a726bd85c5", + "id" : "06bfaef7-97a5-44d2-bc1a-42974ecb71ea", + "timestamp_ms" : 1631651782679, + "source_id" : "1f8aec30-a718-43f1-a345-0203832bcccf", "session_id" : 123456789, "action" : "add_to_cart", "transaction_id" : "transactionId", @@ -137,13 +137,13 @@ } } ], "source_channel" : "native", - "device_application_stamp" : "008fba59-a768-4fc4-b93e-ff2d83204ff3", + "device_application_stamp" : "ad31fbad-fdd7-4e58-b438-7ce1e5ad89e8", "consent_state" : { "gdpr_consent_state" : { "consentPurpose" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } @@ -152,7 +152,7 @@ "data_sale_opt_out" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } @@ -164,14 +164,14 @@ "old_gdpr_consent_state" : { "consented" : false, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" }, "new_gdpr_consent_state" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } @@ -181,14 +181,14 @@ "old_ccpa_consent_state" : { "consented" : false, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" }, "new_ccpa_consent_state" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } diff --git a/examples/json/EventProcessingRequest_ios.json b/examples/json/EventProcessingRequest_ios.json index b526114..7696663 100644 --- a/examples/json/EventProcessingRequest_ios.json +++ b/examples/json/EventProcessingRequest_ios.json @@ -1,9 +1,9 @@ { "type" : "event_processing_request", - "id" : "58da0593-733e-43da-9dfb-6d49e3cf76ba", - "timestamp_ms" : 1631621810987, - "firehose_version" : "2.6.0", - "source_id" : "754b5e6b-a9d8-4403-b48d-430a66132d07", + "id" : "9b6e6694-21b5-4710-9601-8111daa330d1", + "timestamp_ms" : 1631651782679, + "firehose_version" : "2.7.0", + "source_id" : "2a8343be-a862-4107-a1aa-0444c35349d0", "account" : { "account_id" : 123456, "account_settings" : { @@ -101,13 +101,13 @@ } }, "att_authorization_status" : "authorized", - "att_timestamp_unixtime_ms" : 1631621810987 + "att_timestamp_unixtime_ms" : 1631651782680 }, "events" : [ { "type" : "custom_event", - "id" : "6754205c-3581-474a-8d54-4d61010ed717", - "timestamp_ms" : 1631621810987, - "source_id" : "1530dc54-3267-4794-92cf-4a5497238240", + "id" : "f4f6639b-d990-4bcb-a184-1f0d4577e20a", + "timestamp_ms" : 1631651782679, + "source_id" : "e58b797b-8e3d-47e1-bd91-62f6361c6db3", "session_id" : 123456789, "location" : { "latitude" : 47.6062, @@ -121,9 +121,9 @@ } }, { "type" : "product_action", - "id" : "4a9faa3c-e366-440e-8abf-6000ddfb9797", - "timestamp_ms" : 1631621810987, - "source_id" : "320dd589-5d92-4f08-b147-165128bc63ae", + "id" : "d31d0450-49c9-47ba-8311-6b3e19141a7b", + "timestamp_ms" : 1631651782679, + "source_id" : "dcbd31ea-c601-49f5-8263-665fb9658b46", "session_id" : 123456789, "action" : "add_to_cart", "transaction_id" : "transactionId", @@ -148,13 +148,13 @@ } } ], "source_channel" : "native", - "device_application_stamp" : "b3856455-ab43-4675-ae34-e2d42f574f8c", + "device_application_stamp" : "63055c21-7133-4464-91f4-05d741c0251e", "consent_state" : { "gdpr_consent_state" : { "consentPurpose" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } @@ -163,7 +163,7 @@ "data_sale_opt_out" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } @@ -175,14 +175,14 @@ "old_gdpr_consent_state" : { "consented" : false, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" }, "new_gdpr_consent_state" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } @@ -192,14 +192,14 @@ "old_ccpa_consent_state" : { "consented" : false, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" }, "new_ccpa_consent_state" : { "consented" : true, "document" : "document", - "timestamp_unixtime_ms" : 1631621810987, + "timestamp_unixtime_ms" : 1631651782679, "location" : "location", "hardware_id" : "hardware id" } diff --git a/examples/json/EventProcessingResponse.json b/examples/json/EventProcessingResponse.json index be399f7..729d601 100644 --- a/examples/json/EventProcessingResponse.json +++ b/examples/json/EventProcessingResponse.json @@ -1,6 +1,6 @@ { "type" : "event_processing_response", - "id" : "103116d3-0bc5-4e6e-a82d-bb0915bbc86c", - "timestamp_ms" : 1631621810990, - "firehose_version" : "2.6.0" + "id" : "0b547e24-3a1a-4a72-944e-6325a3198b8f", + "timestamp_ms" : 1631651782686, + "firehose_version" : "2.7.0" } \ No newline at end of file diff --git a/examples/json/ModuleRegistrationRequest.json b/examples/json/ModuleRegistrationRequest.json index 6278445..a51e91d 100644 --- a/examples/json/ModuleRegistrationRequest.json +++ b/examples/json/ModuleRegistrationRequest.json @@ -1,6 +1,6 @@ { "type" : "module_registration_request", - "id" : "f46febd9-4032-4d1e-8004-878614aa384c", - "timestamp_ms" : 1631621810991, - "firehose_version" : "2.6.0" + "id" : "331308cb-0747-4a45-b6b7-b81f07d37b4c", + "timestamp_ms" : 1631651782687, + "firehose_version" : "2.7.0" } \ No newline at end of file diff --git a/examples/json/ModuleRegistrationResponse.json b/examples/json/ModuleRegistrationResponse.json index 4cda22b..fb64394 100644 --- a/examples/json/ModuleRegistrationResponse.json +++ b/examples/json/ModuleRegistrationResponse.json @@ -1,9 +1,9 @@ { "type" : "module_registration_response", - "id" : "c5ed8ebf-56f9-4548-9b5b-44882e18b19c", - "timestamp_ms" : 1631621810991, - "firehose_version" : "2.6.0", - "sdk_version" : "2.6.0", + "id" : "f5334cd3-256e-491d-9497-af407b7f9a57", + "timestamp_ms" : 1631651782688, + "firehose_version" : "2.7.0", + "sdk_version" : "2.7.0", "name" : "Your Company Name", "description" : "A description of your company and services. Inline HTML markup is permitted.", "version" : "1.0", diff --git a/examples/json/schema/ApplicationStateTransitionEvent_schema.json b/examples/json/schema/ApplicationStateTransitionEvent_schema.json index 83bbed5..8caefb3 100644 --- a/examples/json/schema/ApplicationStateTransitionEvent_schema.json +++ b/examples/json/schema/ApplicationStateTransitionEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/AttributionEvent_schema.json b/examples/json/schema/AttributionEvent_schema.json index d2c9c6d..1544e57 100644 --- a/examples/json/schema/AttributionEvent_schema.json +++ b/examples/json/schema/AttributionEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/CCPAConsentStateNotification_schema.json b/examples/json/schema/CCPAConsentStateNotification_schema.json index d30c0d0..2422f96 100644 --- a/examples/json/schema/CCPAConsentStateNotification_schema.json +++ b/examples/json/schema/CCPAConsentStateNotification_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/ConsentState_schema.json b/examples/json/schema/ConsentState_schema.json index a15c3f7..fc682a2 100644 --- a/examples/json/schema/ConsentState_schema.json +++ b/examples/json/schema/ConsentState_schema.json @@ -2,11 +2,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -27,11 +27,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/CustomEvent_schema.json b/examples/json/schema/CustomEvent_schema.json index e4ba3d5..dbd580d 100644 --- a/examples/json/schema/CustomEvent_schema.json +++ b/examples/json/schema/CustomEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/ErrorEvent_schema.json b/examples/json/schema/ErrorEvent_schema.json index cb295e0..3dac573 100644 --- a/examples/json/schema/ErrorEvent_schema.json +++ b/examples/json/schema/ErrorEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/EventProcessingRequest_schema.json b/examples/json/schema/EventProcessingRequest_schema.json index cd19363..66b2f04 100644 --- a/examples/json/schema/EventProcessingRequest_schema.json +++ b/examples/json/schema/EventProcessingRequest_schema.json @@ -210,11 +210,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -235,11 +235,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/Event_schema.json b/examples/json/schema/Event_schema.json index 62a6a95..99647b3 100644 --- a/examples/json/schema/Event_schema.json +++ b/examples/json/schema/Event_schema.json @@ -177,11 +177,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -202,11 +202,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/GDPRConsentStateNotification_schema.json b/examples/json/schema/GDPRConsentStateNotification_schema.json index 0d94b75..53bbcbc 100644 --- a/examples/json/schema/GDPRConsentStateNotification_schema.json +++ b/examples/json/schema/GDPRConsentStateNotification_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/ImpressionEvent_schema.json b/examples/json/schema/ImpressionEvent_schema.json index 8936bac..4de3113 100644 --- a/examples/json/schema/ImpressionEvent_schema.json +++ b/examples/json/schema/ImpressionEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/PrivacySettingChangeEvent_schema.json b/examples/json/schema/PrivacySettingChangeEvent_schema.json index c095918..4cd166b 100644 --- a/examples/json/schema/PrivacySettingChangeEvent_schema.json +++ b/examples/json/schema/PrivacySettingChangeEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/ProductActionEvent_schema.json b/examples/json/schema/ProductActionEvent_schema.json index 04b0adc..cf96103 100644 --- a/examples/json/schema/ProductActionEvent_schema.json +++ b/examples/json/schema/ProductActionEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/PromotionActionEvent_schema.json b/examples/json/schema/PromotionActionEvent_schema.json index a66c8f4..8817790 100644 --- a/examples/json/schema/PromotionActionEvent_schema.json +++ b/examples/json/schema/PromotionActionEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/PushMessageOpenEvent_schema.json b/examples/json/schema/PushMessageOpenEvent_schema.json index 760555a..fd0f101 100644 --- a/examples/json/schema/PushMessageOpenEvent_schema.json +++ b/examples/json/schema/PushMessageOpenEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/PushMessageReceiptEvent_schema.json b/examples/json/schema/PushMessageReceiptEvent_schema.json index cbedfef..f6d4b69 100644 --- a/examples/json/schema/PushMessageReceiptEvent_schema.json +++ b/examples/json/schema/PushMessageReceiptEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/PushSubscriptionEvent_schema.json b/examples/json/schema/PushSubscriptionEvent_schema.json index 630838a..ed0726b 100644 --- a/examples/json/schema/PushSubscriptionEvent_schema.json +++ b/examples/json/schema/PushSubscriptionEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/ScreenViewEvent_schema.json b/examples/json/schema/ScreenViewEvent_schema.json index e16a1b4..6fd8c92 100644 --- a/examples/json/schema/ScreenViewEvent_schema.json +++ b/examples/json/schema/ScreenViewEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/SessionEndEvent_schema.json b/examples/json/schema/SessionEndEvent_schema.json index 0b40422..c87b7bd 100644 --- a/examples/json/schema/SessionEndEvent_schema.json +++ b/examples/json/schema/SessionEndEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/SessionStartEvent_schema.json b/examples/json/schema/SessionStartEvent_schema.json index 1b6dc2b..c62d488 100644 --- a/examples/json/schema/SessionStartEvent_schema.json +++ b/examples/json/schema/SessionStartEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/SystemNotification_schema.json b/examples/json/schema/SystemNotification_schema.json index 1701712..cab6142 100644 --- a/examples/json/schema/SystemNotification_schema.json +++ b/examples/json/schema/SystemNotification_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/TextSetting_schema.json b/examples/json/schema/TextSetting_schema.json index c13cb2f..93460fd 100644 --- a/examples/json/schema/TextSetting_schema.json +++ b/examples/json/schema/TextSetting_schema.json @@ -6,10 +6,10 @@ "type" : "string", "enum" : [ "text", "integer", "float", "boolean" ] }, - "confidential" : { + "required" : { "type" : "boolean" }, - "required" : { + "confidential" : { "type" : "boolean" }, "visible" : { diff --git a/examples/json/schema/UserAttributeChangeEvent_schema.json b/examples/json/schema/UserAttributeChangeEvent_schema.json index fca38bd..e19aead 100644 --- a/examples/json/schema/UserAttributeChangeEvent_schema.json +++ b/examples/json/schema/UserAttributeChangeEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/examples/json/schema/UserIdentityChangeEvent_schema.json b/examples/json/schema/UserIdentityChangeEvent_schema.json index 0d9d4e3..66764e0 100644 --- a/examples/json/schema/UserIdentityChangeEvent_schema.json +++ b/examples/json/schema/UserIdentityChangeEvent_schema.json @@ -218,11 +218,11 @@ "type" : "object", "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:ConsentState", "properties" : { - "gdpr" : { + "ccpa" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", "properties" : { "consented" : { "type" : "boolean", @@ -243,11 +243,11 @@ } } }, - "ccpa" : { + "gdpr" : { "type" : "object", "additionalProperties" : { "type" : "object", - "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:CCPAConsent", + "id" : "urn:jsonschema:com:mparticle:sdk:model:eventprocessing:consent:GDPRConsent", "properties" : { "consented" : { "type" : "boolean", diff --git a/sdk/build.gradle b/sdk/build.gradle index c1fc2d7..8d7a447 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -79,7 +79,7 @@ uploadArchives { } pom.project { - version = '2.6.0' + version = '2.7.0' artifactId = 'java-sdk' groupId = 'com.mparticle' description 'mParticle Java SDK used to integrate with mParticle\'s Firehose API' diff --git a/sdk/src/main/java/com/mparticle/sdk/model/Consts.java b/sdk/src/main/java/com/mparticle/sdk/model/Consts.java index f0b7867..87ed685 100644 --- a/sdk/src/main/java/com/mparticle/sdk/model/Consts.java +++ b/sdk/src/main/java/com/mparticle/sdk/model/Consts.java @@ -2,7 +2,7 @@ public final class Consts { - public static final String SDK_VERSION= "2.6.0"; + public static final String SDK_VERSION= "2.7.0"; private Consts() { }