FakerAPI · Schema
Book
A fake book record produced by FakerAPI /api/v1/books.
Test DataFake DataMockingDeveloper ToolsOpen SourcePublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Position within the response collection. |
| title | string | Book title. |
| author | string | Book author full name. |
| genre | string | Genre label. |
| description | string | Short description / blurb. |
| isbn | string | International Standard Book Number. |
| image | string | Placeholder cover image URL. |
| published | string | Publication date in YYYY-MM-DD format. |
| publisher | string | Publisher name. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://fakerapi.it/schemas/book.json",
"title": "Book",
"description": "A fake book record produced by FakerAPI /api/v1/books.",
"type": "object",
"properties": {
"id": { "type": "integer", "description": "Position within the response collection.", "example": 1 },
"title": { "type": "string", "description": "Book title.", "example": "Mock Turtle in the." },
"author": { "type": "string", "description": "Book author full name.", "example": "Gladyce Ortiz" },
"genre": { "type": "string", "description": "Genre label.", "example": "Et" },
"description": { "type": "string", "description": "Short description / blurb.", "example": "Mock Turtle replied, counting off the fire." },
"isbn": { "type": "string", "description": "International Standard Book Number.", "example": "9797826980333" },
"image": { "type": "string", "format": "uri", "description": "Placeholder cover image URL.", "example": "http://placeimg.com/480/640/any" },
"published": { "type": "string", "format": "date", "description": "Publication date in YYYY-MM-DD format.", "example": "2003-10-05" },
"publisher": { "type": "string", "description": "Publisher name.", "example": "Optio Aut" }
},
"required": ["id", "title", "author", "isbn", "published"]
}