An APP to be able to upload pdf documents that all follow the same structure and get a structured output based on this schema: { "publications": [ { "publication_id": 1, "title": "ARA.CAT - CATALÀ", "url_primary": "http://www.ara.cat", "editor": "Edició de Premsa Periòdica Ara, S.L.", "address": "Calle Diputació, 119", "city": "08015 BARCELONA", "phone": "93 202 95 95", "fax": "93 451 92 64", "email": "", "classification": "Noticias e Información", "sub_classification": "Noticias globales y actualidad", "traffic_data": [ { "traffic_id": 1, "date": "2024-06", "unique_browsers": 1697632, "visits": 6090120, "pages": 17760650, "avg_duration_visit": "0:05:58", "avg_interaction_time": "0:07:35", "pages_per_visit": 2.92, "daily_traffic": [ {"daily_traffic_id": 1, "day": 1, "unique_browsers": 130805, "visits": 189536, "pages": 539387}, {"daily_traffic_id": 2, "day": 2, "unique_browsers": 136187, "visits": 191081, "pages": 539904}, {"daily_traffic_id": 3, "day": 3, "unique_browsers": 152835, "visits": 213369, "pages": 602498}, {"daily_traffic_id": 4, "day": 4, "unique_browsers": 134230, "visits": 190381, "pages": 590084}, {"daily_traffic_id": 5, "day": 5, "unique_browsers": 129568, "visits": 184868, "pages": 592200}, {"daily_traffic_id": 6, "day": 6, "unique_browsers": 128277, "visits": 180445, "pages": 551029}, {"daily_traffic_id": 7, "day": 7, "unique_browsers": 132049, "visits": 183859, "pages": 542475}, {"daily_traffic_id": 8, "day": 8, "unique_browsers": 130786, "visits": 183865, "pages": 532180}, {"daily_traffic_id": 9, "day": 9, "unique_browsers": 172200, "visits": 259287, "pages": 734666}, {"daily_traffic_id": 10, "day": 10, "unique_browsers": 182117, "visits": 271152, "pages": 827380}, {"daily_traffic_id": 11, "day": 11, "unique_browsers": 152148, "visits": 218899, "pages": 667363}, {"daily_traffic_id": 12, "day": 12, "unique_browsers": 153142, "visits": 221830, "pages": 641391}, {"daily_traffic_id": 13, "day": 13, "unique_browsers": 152055, "visits": 209710, "pages": 621336}, {"daily_traffic_id": 14, "day": 14, "unique_browsers": 138654, "visits": 194696, "pages": 588186}, {"daily_traffic_id": 15, "day": 15, "unique_browsers": 121023, "visits": 172600, "pages": 503984}, {"daily_traffic_id": 16, "day": 16, "unique_browsers": 139452, "visits": 204067, "pages": 568851}, {"daily_traffic_id": 17, "day": 17, "unique_browsers": 160837, "visits": 222641, "pages": 647677}, {"daily_traffic_id": 18, "day": 18, "unique_browsers": 146117, "visits": 214753, "pages": 616537}, {"daily_traffic_id": 19, "day": 19, "unique_browsers": 136482, "visits": 198738, "pages": 580813}, {"daily_traffic_id": 20, "day": 20, "unique_browsers": 146682, "visits": 208284, "pages": 629136}, {"daily_traffic_id": 21, "day": 21, "unique_browsers": 130772, "visits": 185724, "pages": 562814}, {"daily_traffic_id": 22, "day": 22, "unique_browsers": 136471, "visits": 197534, "pages": 548708}, {"daily_traffic_id": 23, "day": 23, "unique_browsers": 143150, "visits": 193674, "pages": 541990}, {"daily_traffic_id": 24, "day": 24, "unique_browsers": 142006, "visits": 206311, "pages": 589828}, {"daily_traffic_id": 25, "day": 25, "unique_browsers": 147053, "visits": 218574, "pages": 613462}, {"daily_traffic_id": 26, "day": 26, "unique_browsers": 136688, "visits": 190197, "pages": 580472}, {"daily_traffic_id": 27, "day": 27, "unique_browsers": 143058, "visits": 201981, "pages": 587655}, {"daily_traffic_id": 28, "day": 28, "unique_browsers": 137110, "visits": 194066, "pages": 553218}, {"daily_traffic_id": 29, "day": 29, "unique_browsers": 150254, "visits": 202180, "pages": 541188}, {"daily_traffic_id": 30, "day": 30, "unique_browsers": 135077, "visits": 185818, "pages": 524238} ], "traffic_graphs": [ {"graph_id": 1, "graph_type": "Por día de la semana (promedio)", "data_points": "[{\"N. únicos / Visitas (x 100)\": []}]"}, {"graph_id": 2, "graph_type": "Por franja horaria (promedio)", "data_points": "[{\"Visitas (x 1000)\": []}]"}, {"graph_id": 3, "graph_type": "Por meses", "data_points": "[{\"N. únicos / Visitas (x 1000)\": []}]"} ] } ], "section_data": [ {"section_id": 1, "section_name": "HOME", "pages_viewed": 3293224, "percentage": 18.54}, {"section_id": 2, "section_name": "RESTO", "pages_viewed": 14467426, "percentage": 81.46} ] } ] }