Files
janus/schema/schema.json
2022-03-31 16:24:32 +05:30

119 lines
1.7 KiB
JSON

{
"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
}