From e25634c0949ea3b5de39d898f8e574d45e028d1f Mon Sep 17 00:00:00 2001 From: dhoffland <36893442+dhoffland@users.noreply.github.com> Date: Wed, 14 Oct 2020 11:47:50 +0200 Subject: [PATCH 1/2] Create UserAgent.cdm.json --- .../clickstream/UserAgent.cdm.json | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 schemaDocuments/clickstream/UserAgent.cdm.json diff --git a/schemaDocuments/clickstream/UserAgent.cdm.json b/schemaDocuments/clickstream/UserAgent.cdm.json new file mode 100644 index 0000000000..723254df38 --- /dev/null +++ b/schemaDocuments/clickstream/UserAgent.cdm.json @@ -0,0 +1,54 @@ +{ + "$schema": "../schema.cdm.json", + "jsonSchemaSemanticVersion": "1.0.0", + "imports": [{ + "corpusPath": "/foundations.cdm.json" + }], + "definitions": [{ + "entityName": "UserAgent", + "extendsEntity": "CdmEntity", + "description": "The user agent.", + "hasAttributes": [{ + "name": "browserName", + "dataType": "string", + "description": "Browser name." + }, + { + "name": "browserVersion", + "dataType": "string", + "appliedTraits": [ + "means.measurement.version" + ], + "description": "Browser version." + }, + { + "name": "osName", + "dataType": "string", + "description": "Operating system name." + }, + { + "name": "osVersion", + "dataType": "string", + "appliedTraits": [ + "means.measurement.version" + ], + "description": "Operating system version." + }, + { + "name": "manufacturer", + "dataType": "string", + "description": "Device manufacturer." + }, + { + "name": "device", + "dataType": "string", + "description": "Device." + }, + { + "name": "platform", + "dataType": "string", + "description": "Platform." + } + ] + }] +} From 4398dacd08152786fe0aec7fcbfd3eda9cddd520 Mon Sep 17 00:00:00 2001 From: dhoffland <36893442+dhoffland@users.noreply.github.com> Date: Wed, 14 Oct 2020 11:51:46 +0200 Subject: [PATCH 2/2] Create ReverseIp.cdm.json --- .../clickstream/ReverseIp.cdm.json | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 schemaDocuments/clickstream/ReverseIp.cdm.json diff --git a/schemaDocuments/clickstream/ReverseIp.cdm.json b/schemaDocuments/clickstream/ReverseIp.cdm.json new file mode 100644 index 0000000000..3663a7ae0d --- /dev/null +++ b/schemaDocuments/clickstream/ReverseIp.cdm.json @@ -0,0 +1,37 @@ +{ + "$schema": "../schema.cdm.json", + "jsonSchemaSemanticVersion": "1.0.0", + "imports": [{ + "corpusPath": "/foundations.cdm.json" + }], + "definitions": [{ + "entityName": "ReverseIp", + "extendsEntity": "CdmEntity", + "description": "Reverse IP.", + "hasAttributes": [{ + "name": "ripContinent", + "dataType": "continent" + }, + { + "name": "ripCountry", + "dataType": "country" + }, + { + "name": "ripRegion", + "dataType": "region" + }, + { + "name": "ripStateProvince", + "dataType": "stateOrProvince" + }, + { + "name": "ripCity", + "dataType": "city" + }, + { + "name": "isBot", + "dataType": "boolean" + } + ] + }] +}