cartodb-4.42/lib/assets/test/spec/vizdata_sample.json

109 lines
2.8 KiB
JSON
Raw Normal View History

2024-04-06 13:25:13 +08:00
{
"id": "123",
"name": "Map Name",
"display_name": null,
"map_id": "456",
"active_layer_id": "789",
"type": "derived",
"tags": [],
"description": "Map Description",
"privacy": "PUBLIC",
"stats": {
"2017-10-02": 1.0,
"2017-10-03": 2.0,
"2017-10-04": 3.0
},
"created_at": "2017-09-26T18:05:06+02:00",
"updated_at": "2017-10-02T17:53:38+02:00",
"locked": false,
"source": null,
"title": null,
"license": null,
"attributions": null,
"kind": "geom",
"external_source": {},
"url": "http://user.localhost.lan:3000/viz/123/map",
"auth_tokens": [],
"version": 2,
"prev_id": null,
"next_id": null,
"parent_id": null,
"transition_options": {
"time": 0
},
"active_child": null,
"children": [],
"related_tables": [{
"id": "1122",
"name": "related_table_1",
"permission": {
"id": "permission1",
"owner": {
"id": "user1",
"name": "User",
"last_name": "Name",
"username": "username",
"email": "username@gmail.com",
"avatar_url": "/assets/unversioned/images/avatars/avatar_planet_green.png",
"website": "",
"description": "",
"location": "",
"twitter_username": "",
"disqus_shortname": "disqususer",
"available_for_hire": false,
"base_url": "http://user.localhost.lan:3000",
"quota_in_bytes": 1073741824,
"table_count": 2,
"viewer": false,
"org_admin": false,
"public_visualization_count": 2,
"all_visualization_count": 2,
"db_size_in_bytes": 62337024
},
"entity": {
"id": "376dcd9c-7e75-4bef-9fc2-8c5e1cb2e4f6",
"type": "vis"
},
"acl": [],
"created_at": "2017-09-26T18:05:05+02:00",
"updated_at": "2017-09-26T18:05:05+02:00"
},
"synchronization": null,
"geometry_types": ["ST_MultiPolygon"],
"privacy": "PUBLIC",
"updated_at": "2017-10-04T18:19:29+02:00",
"size": 9060352,
"row_count": 148
}],
"likes": 1,
"liked": true,
"table": {},
"permission": {
"id": "permission2",
"owner": {
"id": "user1",
"name": "User",
"last_name": "Name",
"username": "username",
"email": "username@gmail.com",
"avatar_url": "/assets/unversioned/images/avatars/avatar_planet_green.png",
"website": "",
"description": "",
"location": "",
"twitter_username": "",
"disqus_shortname": "disqususer",
"available_for_hire": false,
"base_url": "http://user.localhost.lan:3000",
"quota_in_bytes": 1073741824,
"table_count": 2,
"viewer": false,
"org_admin": false,
"public_visualization_count": 2,
"all_visualization_count": 2,
"db_size_in_bytes": 62337024
}
},
"synchronization": null,
"uses_builder_features": false
}