diff --git a/main.go b/main.go index 9254e5f..9067e03 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,6 @@ import ( "com.navi.medici.janus/config" "com.navi.medici.janus/lib" producer_client "com.navi.medici.janus/producer" - "com.navi.medici.janus/schema" "com.navi.medici.janus/server" "com.navi.medici.janus/utils" "github.com/spf13/viper" diff --git a/schema/schema.json b/schema/schema.json deleted file mode 100644 index 4b2f648..0000000 --- a/schema/schema.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "type": "object", - "properties": { - "app": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "device": { - "type": "object", - "properties": { - "device_id": { - "type": "string" - }, - "advertising_id": { - "type": "string" - }, - "installation_id": { - "type": "string" - }, - "category": { - "type": "string" - }, - "height": { - "type": "string" - }, - "imei": { - "type": "string" - }, - "manufacturer": { - "type": "string" - }, - "model": { - "type": "string" - }, - "screen_resolution": { - "type": "string" - }, - "os": { - "type": "string" - }, - "os_version": { - "type": "string" - }, - "os_api_level": { - "type": "string" - }, - "rooted": { - "type": "string" - }, - "fingerprint": { - "type": "string" - } - } - }, - "network": { - "type": "object", - "properties": { - "carrier": { - "type": "string" - }, - "type": { - "type": "string" - }, - "ip": { - "type": "string" - } - } - }, - "location": { - "type": "object", - "properties": { - "latitude": { - "type": "string" - }, - "longitude": { - "type": "string" - } - } - }, - "referer": { - "type": "object", - "properties": { - "url": { - "type": "string" - } - } - }, - "user": { - "type": "object", - "properties": { - "customer_id": { - "type": "string" - } - } - }, - "events": { - "type": "array", - "items": { - "type": "object", - "properties": { - "event_type": { - "type": "string" - }, - "timestamp": { - "type": "number" - } - } - } - } - }, - "additionalProperties": false -} \ No newline at end of file