Examples

Here, you'll find some examples showcasing the versatility and power of SnazzyPDF. Each example is designed to demonstrate a real-world application, making it easy for you to see how SnazzyPDF could improve your workflows.

Log Data

See how you can turn your raw web server log JSON data into an organized, easy-to-read PDF, making log analysis and reporting more efficient.

{
  "service_log": {
    "service_name": "WebApp Service",
    "log_date": "2024-08-06",
    "requests": [
      {
        "request_id": "R001",
        "timestamp": "2024-08-06T08:23:45Z",
        "client_ip": "192.168.1.1",
        "endpoint": "/api/v1/login",
        "method": "POST",
        "status_code": 200,
        "response_time_ms": 120
      },
      {
        "request_id": "R002",
        "timestamp": "2024-08-06T08:25:30Z",
        "client_ip": "192.168.1.2",
        "endpoint": "/api/v1/products",
        "method": "GET",
        "status_code": 200,
        "response_time_ms": 250
      },
      {
        "request_id": "R003",
        "timestamp": "2024-08-06T08:27:10Z",
        "client_ip": "192.168.1.3",
        "endpoint": "/api/v1/orders",
        "method": "POST",
        "status_code": 201,
        "response_time_ms": 350
      },
      {
        "request_id": "R004",
        "timestamp": "2024-08-06T08:30:00Z",
        "client_ip": "192.168.1.6",
        "endpoint": "/api/v1/login",
        "method": "POST",
        "status_code": 200,
        "response_time_ms": 110
      },
      {
        "request_id": "R005",
        "timestamp": "2024-08-06T08:32:45Z",
        "client_ip": "192.168.1.7",
        "endpoint": "/api/v1/products",
        "method": "GET",
        "status_code": 200,
        "response_time_ms": 240
      },
      {
        "request_id": "R006",
        "timestamp": "2024-08-06T08:35:20Z",
        "client_ip": "192.168.1.8",
        "endpoint": "/api/v1/orders",
        "method": "POST",
        "status_code": 201,
        "response_time_ms": 330
      },
      {
        "request_id": "R007",
        "timestamp": "2024-08-06T08:40:15Z",
        "client_ip": "192.168.1.9",
        "endpoint": "/api/v1/login",
        "method": "POST",
        "status_code": 200,
        "response_time_ms": 100
      },
      {
        "request_id": "R008",
        "timestamp": "2024-08-06T08:45:00Z",
        "client_ip": "192.168.1.10",
        "endpoint": "/api/v1/products",
        "method": "GET",
        "status_code": 200,
        "response_time_ms": 230
      },
      {
        "request_id": "R009",
        "timestamp": "2024-08-06T08:50:10Z",
        "client_ip": "192.168.1.11",
        "endpoint": "/api/v1/orders",
        "method": "POST",
        "status_code": 201,
        "response_time_ms": 320
      }
    ],
    "errors": [
      {
        "error_id": "E001",
        "timestamp": "2024-08-06T09:00:00Z",
        "client_ip": "192.168.1.4",
        "endpoint": "/api/v1/login",
        "method": "POST",
        "status_code": 401,
        "message": "Unauthorized"
      },
      {
        "error_id": "E002",
        "timestamp": "2024-08-06T09:05:30Z",
        "client_ip": "192.168.1.5",
        "endpoint": "/api/v1/products",
        "method": "GET",
        "status_code": 500,
        "message": "Internal Server Error"
      },
      {
        "error_id": "E003",
        "timestamp": "2024-08-06T09:10:00Z",
        "client_ip": "192.168.1.12",
        "endpoint": "/api/v1/login",
        "method": "POST",
        "status_code": 403,
        "message": "Forbidden"
      },
      {
        "error_id": "E004",
        "timestamp": "2024-08-06T09:15:45Z",
        "client_ip": "192.168.1.13",
        "endpoint": "/api/v1/orders",
        "method": "POST",
        "status_code": 404,
        "message": "Not Found"
      }
    ],
    "summary": {
      "total_requests": 1500,
      "successful_requests": 1480,
      "failed_requests": 20,
      "average_response_time_ms": 200
    }
  }
}

Organizational Data

Discover how you can convert your company's structure from JSON data into a clear, visually organized PDF document that is easy to distribute and interpret.

{
  "company": {
    "name": "Tech Innovators Inc.",
    "address": {
      "street": "123 Innovation Drive",
      "city": "Techville",
      "state": "CA",
      "zip": "94043",
      "coordinates": {
        "latitude": 37.3861,
        "longitude": -122.0839
      }
    },
    "departments": [
      {
        "id": "D001",
        "name": "Engineering",
        "manager": {
          "id": 2,
          "name": "Bob Smith",
          "position": "CTO"
        },
        "teams": [
          {
            "id": "T001",
            "name": "Backend Development",
            "members": [
              {
                "id": 5,
                "name": "Eve Black",
                "position": "Senior Backend Developer",
                "email": "eve.black@techinnovators.com",
                "phone": "555-7890",
                "skills": [
                  "Java",
                  "SQL",
                  "Spring"
                ]
              },
              {
                "id": 6,
                "name": "Frank Green",
                "position": "Junior Backend Developer",
                "email": "frank.green@techinnovators.com",
                "phone": "555-4567",
                "skills": [
                  "Python",
                  "Django",
                  "PostgreSQL"
                ]
              }
            ]
          },
          {
            "id": "T002",
            "name": "Frontend Development",
            "members": [
              {
                "id": 7,
                "name": "Grace Lee",
                "position": "Frontend Developer",
                "email": "grace.lee@techinnovators.com",
                "phone": "555-9876",
                "skills": [
                  "JavaScript",
                  "React",
                  "CSS"
                ]
              },
              {
                "id": 8,
                "name": "Henry Wilson",
                "position": "UI/UX Designer",
                "email": "henry.wilson@techinnovators.com",
                "phone": "555-6543",
                "skills": [
                  "Figma",
                  "Adobe XD",
                  "Sketch"
                ]
              }
            ]
          }
        ]
      },
      {
        "id": "D002",
        "name": "Marketing",
        "manager": {
          "id": 9,
          "name": "Irene Gray",
          "position": "Marketing Director"
        },
        "teams": [
          {
            "id": "T003",
            "name": "Content Creation",
            "members": [
              {
                "id": 10,
                "name": "Jackie Brown",
                "position": "Content Strategist",
                "email": "jackie.brown@techinnovators.com",
                "phone": "555-3210",
                "skills": [
                  "SEO",
                  "Copywriting",
                  "Content Marketing"
                ]
              }
            ]
          },
          {
            "id": "T004",
            "name": "Social Media",
            "members": [
              {
                "id": 11,
                "name": "Kyle Young",
                "position": "Social Media Manager",
                "email": "kyle.young@techinnovators.com",
                "phone": "555-7654",
                "skills": [
                  "Social Media Strategy",
                  "Analytics",
                  "Community Management"
                ]
              }
            ]
          }
        ]
      }
    ],
    "employees": [
      {
        "id": 1,
        "name": "Alice Johnson",
        "position": "CEO",
        "email": "alice.johnson@techinnovators.com",
        "phone": "555-1234",
        "projects": [
          {
            "project_id": "P001",
            "name": "Expansion Plan 2024",
            "deadline": "2024-12-31"
          },
          {
            "project_id": "P002",
            "name": "New Product Launch",
            "deadline": "2024-06-15"
          }
        ]
      },
      {
        "id": 2,
        "name": "Bob Smith",
        "position": "CTO",
        "email": "bob.smith@techinnovators.com",
        "phone": "555-5678",
        "projects": [
          {
            "project_id": "P003",
            "name": "AI Integration",
            "deadline": "2024-08-01"
          }
        ]
      },
      {
        "id": 3,
        "name": "Carol White",
        "position": "Lead Developer",
        "email": "carol.white@techinnovators.com",
        "phone": "555-8765"
      },
      {
        "id": 4,
        "name": "David Brown",
        "position": "Product Manager",
        "email": "david.brown@techinnovators.com",
        "phone": "555-4321",
        "projects": [
          {
            "project_id": "P004",
            "name": "User Feedback Analysis",
            "deadline": "2024-05-10"
          }
        ]
      }
    ],
    "products": [
      {
        "id": 101,
        "name": "Innovative Widget",
        "category": "Hardware",
        "price": 99.99,
        "available": true,
        "specifications": {
          "weight": "1.5kg",
          "dimensions": "10x15x20cm",
          "battery_life": "10 hours",
          "warranty_years": 2
        },
        "ratings": [
          5,
          4,
          5,
          4,
          3
        ]
      },
      {
        "id": 102,
        "name": "Smart Gadget",
        "category": "Software",
        "price": 49.99,
        "available": true,
        "specifications": {
          "os": "Windows, MacOS",
          "version": "2.0.1",
          "license": "Lifetime"
        },
        "ratings": [
          4,
          5,
          4,
          3,
          4
        ]
      },
      {
        "id": 103,
        "name": "Techie Tool",
        "category": "Accessories",
        "price": 19.99,
        "available": false,
        "specifications": {
          "material": "Aluminum",
          "color": "Silver",
          "compatible_with": [
            "Innovative Widget",
            "Smart Gadget"
          ]
        },
        "ratings": [
          3,
          4,
          2,
          4,
          3
        ]
      },
      {
        "id": 104,
        "name": "Pro Developer Kit",
        "category": "Hardware",
        "price": 299.99,
        "available": true,
        "specifications": {
          "weight": "3.0kg",
          "dimensions": "30x40x10cm",
          "included_components": [
            "Dev Board",
            "Power Supply",
            "Cables",
            "Software License"
          ],
          "warranty_years": 3
        },
        "ratings": [
          5,
          5,
          5,
          4,
          5
        ]
      }
    ],
    "partners": [
      {
        "id": "P001",
        "name": "Innovative Tech Ltd.",
        "industry": "Electronics",
        "contact": {
          "name": "Sam Rivers",
          "email": "sam.rivers@innotech.com",
          "phone": "555-9870"
        },
        "agreements": [
          {
            "agreement_id": "A001",
            "type": "Supply",
            "start_date": "2023-01-01",
            "end_date": "2025-01-01"
          },
          {
            "agreement_id": "A002",
            "type": "R&D Collaboration",
            "start_date": "2024-02-15",
            "end_date": "2026-02-15"
          }
        ]
      },
      {
        "id": "P002",
        "name": "Creative Minds LLC",
        "industry": "Software Development",
        "contact": {
          "name": "Nina Fields",
          "email": "nina.fields@creativeminds.com",
          "phone": "555-8760"
        },
        "agreements": [
          {
            "agreement_id": "A003",
            "type": "Software Licensing",
            "start_date": "2022-05-01",
            "end_date": "2024-05-01"
          }
        ]
      }
    ]
  },
  "financials": {
    "fiscal_year": "2023",
    "revenue": 5000000,
    "expenses": 3000000,
    "profit": 2000000,
    "quarterly_breakdown": [
      {
        "quarter": "Q1",
        "revenue": 1200000,
        "expenses": 800000,
        "profit": 400000
      },
      {
        "quarter": "Q2",
        "revenue": 1300000,
        "expenses": 700000,
        "profit": 600000
      },
      {
        "quarter": "Q3",
        "revenue": 1200000,
        "expenses": 900000,
        "profit": 300000
      },
      {
        "quarter": "Q4",
        "revenue": 1300000,
        "expenses": 700000,
        "profit": 600000
      }
    ]
  },
  "initiatives": [
    {
      "initiative_id": "I001",
      "name": "Green Tech Innovation",
      "start_date": "2023-03-01",
      "end_date": "2024-03-01",
      "departments_involved": [
        "Engineering",
        "Product Management"
      ],
      "objectives": [
        "Reduce carbon footprint by 20%",
        "Develop sustainable products"
      ],
      "status": "Ongoing"
    },
    {
      "initiative_id": "I002",
      "name": "Global Market Expansion",
      "start_date": "2023-06-01",
      "end_date": "2025-06-01",
      "departments_involved": [
        "Marketing",
        "Sales"
      ],
      "objectives": [
        "Expand into 3 new international markets",
        "Increase global revenue by 30%"
      ],
      "status": "Ongoing"
    }
  ]
}

Inventory Data

Learn how you can use SnazzyPDF to turn your detailed inventory data into a clearly formatted, well-organized PDF that's easy to review and share.

{
  "library": {
    "name": "City Central Library",
    "location": {
      "address": {
        "street": "789 Library St",
        "city": "Booktown",
        "state": "TX",
        "zip": "75001"
      },
      "coordinates": {
        "latitude": 32.7767,
        "longitude": -96.797
      }
    }
  },
  "sections": [
    {
      "id": "S001",
      "name": "Fiction",
      "genres": [
        {
          "genre_id": "G001",
          "name": "Fantasy",
          "books": [
            {
              "book_id": "B001",
              "title": "The Hobbit",
              "author": "J.R.R. Tolkien",
              "published_year": "1937",
              "copies_available": 4,
              "ISBN": "978-0547928227"
            },
            {
              "book_id": "B002",
              "title": "Harry Potter and the Sorcerer's Stone",
              "author": "J.K. Rowling",
              "published_year": "1997",
              "copies_available": 10,
              "ISBN": "978-0590353427"
            },
            {
              "book_id": "B005",
              "title": "The Name of the Wind",
              "author": "Patrick Rothfuss",
              "published_year": "2007",
              "copies_available": 7,
              "ISBN": "978-0756404741"
            },
            {
              "book_id": "B006",
              "title": "A Game of Thrones",
              "author": "George R.R. Martin",
              "published_year": "1996",
              "copies_available": 5,
              "ISBN": "978-0553103540"
            }
          ]
        },
        {
          "genre_id": "G002",
          "name": "Science Fiction",
          "books": [
            {
              "book_id": "B003",
              "title": "Dune",
              "author": "Frank Herbert",
              "published_year": "1965",
              "copies_available": 3,
              "ISBN": "978-0441013593"
            },
            {
              "book_id": "B007",
              "title": "Neuromancer",
              "author": "William Gibson",
              "published_year": "1984",
              "copies_available": 4,
              "ISBN": "978-0441569595"
            },
            {
              "book_id": "B008",
              "title": "Foundation",
              "author": "Isaac Asimov",
              "published_year": "1951",
              "copies_available": 6,
              "ISBN": "978-0553293357"
            }
          ]
        }
      ]
    },
    {
      "id": "S002",
      "name": "Non-Fiction",
      "genres": [
        {
          "genre_id": "G003",
          "name": "Biography",
          "books": [
            {
              "book_id": "B004",
              "title": "Steve Jobs",
              "author": "Walter Isaacson",
              "published_year": "2011",
              "copies_available": 5,
              "ISBN": "978-1451648539"
            },
            {
              "book_id": "B009",
              "title": "The Diary of a Young Girl",
              "author": "Anne Frank",
              "published_year": "1947",
              "copies_available": 8,
              "ISBN": "978-0553296983"
            },
            {
              "book_id": "B010",
              "title": "Long Walk to Freedom",
              "author": "Nelson Mandela",
              "published_year": "1994",
              "copies_available": 4,
              "ISBN": "978-0316548182"
            }
          ]
        }
      ]
    }
  ],
  "staff": [
    {
      "staff_id": "ST001",
      "name": "Mary Johnson",
      "position": "Librarian",
      "email": "mary.johnson@citylibrary.com",
      "phone": "555-1234",
      "availability": {
        "monday": "9am-5pm",
        "tuesday": "9am-5pm",
        "wednesday": "9am-5pm",
        "thursday": "9am-5pm",
        "friday": "9am-5pm",
        "saturday": "10am-2pm",
        "sunday": null
      }
    },
    {
      "staff_id": "ST002",
      "name": "John Doe",
      "position": "Assistant Librarian",
      "email": "john.doe@citylibrary.com",
      "phone": "555-5678",
      "availability": {
        "monday": "1pm-9pm",
        "tuesday": "1pm-9pm",
        "wednesday": "1pm-9pm",
        "thursday": "1pm-9pm",
        "friday": "1pm-9pm",
        "saturday": null,
        "sunday": "12pm-5pm"
      }
    }
  ],
  "events": [
    {
      "event_id": "E001",
      "name": "Book Reading: The Great Gatsby",
      "date": "2024-08-15",
      "time": "3pm",
      "location": "Main Hall",
      "organizer": "Mary Johnson"
    },
    {
      "event_id": "E002",
      "name": "Science Fiction Film Screening",
      "date": "2024-09-10",
      "time": "6pm",
      "location": "Conference Room",
      "organizer": "John Doe"
    }
  ],
  "membership": {
    "total_members": 5000,
    "active_members": 4500,
    "inactive_members": 500,
    "membership_types": [
      {
        "type": "Adult",
        "fee": 30,
        "validity_years": 1
      },
      {
        "type": "Child",
        "fee": 15,
        "validity_years": 1
      },
      {
        "type": "Senior",
        "fee": 20,
        "validity_years": 1
      }
    ]
  }
}