What is the Book Inventory mock data preset useful for?
The Book Inventory preset provides book identifiers, titles, authors, publishers, categories, prices, stock quantities, and publication dates for bookstores, libraries, and inventory systems.
Generate API-ready mock data from this preset schema using the hosted mocking.dev faker API.
Edit, reorder, add, or remove fields before generating mock data from this preset.
This preview always requests one generated item from faker.mocking.dev, regardless of the download count.
The Book Inventory preset provides book identifiers, titles, authors, publishers, categories, prices, stock quantities, and publication dates for bookstores, libraries, and inventory systems.
The Book Inventory preset includes these top-level fields: id, isbn, title, author, publisher, category, unitPrice, stockQuantity, publishedAt. You can rename, remove, or extend the fields before generating data, including nested objects and arrays where supported.
Use it to test inventory tables, stock warnings, price formatting, catalog search, category filters, publication date sorting, CSV workflows, and bulk import screens.
Customize the fields, row count, seed, and locale in the editor. The preview updates as you make changes, and you can download the generated records as a JSON file when the schema is ready.
Yes. mocking.dev uses Faker.js through its mock data API to generate names, emails, dates, numbers, locations, commerce data, and other realistic values. The seed makes results repeatable, while the locale controls regional data.
No. The records are synthetic and intended for development, demos, fixtures, and automated tests. Generated values can resemble real information by coincidence, so do not treat them as verified identities or use them to contact people.
{
id: string;
productId: string;
authorName: string;
authorAvatarUrl: string;
rating: number;
title: string;
comment: string;
isVerifiedPurchase: boolean;
helpfulCount: number;
createdAt: string;
}{
id: string;
code: string;
discountPercent: number;
minimumOrderAmount: string;
usageLimit: number;
redemptionCount: number;
isActive: boolean;
startsAt: string;
expiresAt: string;
}{
id: string;
title: string;
url: string;
displayUrl: string;
snippet: string;
relevanceScore: number;
publishedAt: string;
}