json schema
This commit is contained in:
70
schema/schema.json
Normal file
70
schema/schema.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
Reference in New Issue
Block a user