Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

List booksv1.0.0 · JSON Schema

Returns a filterable collection of books with pricing, availability, relationships, and rating summaries.

1{
2	"$schema": "https://json-schema.org/draft/2020-12/schema",
3	"title": "ListBooksResponse",
4	"description": "Book collection returned by the Catalog API.",
5	"type": "array",
6	"items": {
7		"type": "object",
8		"additionalProperties": false,
9		"required": [
10			"id",
11			"name",
12			"description",
13			"imageUrl",
14			"price",
15			"priceSale",
16			"status",
17			"category",
18			"publisher",
19			"authors",
20			"averageRating",
21			"totalReviews"
22		],
23		"properties": {
24			"id": {
25				"type": "string",
26				"format": "uuid",
27				"description": "A UUID identifying the resource."
28			},
29			"name": {
30				"type": ["string", "null"]
31			},
32			"description": {
33				"type": ["string", "null"]
34			},
35			"imageUrl": {
36				"type": ["string", "null"],
37				"format": "uri"
38			},
39			"price": {
40				"type": "number"
41			},
42			"priceSale": {
43				"type": ["number", "null"]
44			},
45			"status": {
46				"type": "string",
47				"enum": ["InStock", "OutOfStock"]
48			},
49			"category": {
50				"type": ["object", "null"],
51				"properties": {
52					"id": {
53						"type": "string",
54						"format": "uuid",
55						"description": "A UUID identifying the resource."
56					},
57					"name": {
58						"type": ["string", "null"]
59					}
60				},
61				"required": ["id", "name"]
62			},
63			"publisher": {
64				"type": ["object", "null"],
65				"properties": {
66					"id": {
67						"type": "string",
68						"format": "uuid",
69						"description": "A UUID identifying the resource."
70					},
71					"name": {
72						"type": ["string", "null"]
73					}
74				},
75				"required": ["id", "name"]
76			},
77			"authors": {
78				"type": "array",
79				"items": {
80					"type": "object",
81					"properties": {
82						"id": {
83							"type": "string",
84							"format": "uuid",
85							"description": "A UUID identifying the resource."
86						},
87						"name": {
88							"type": ["string", "null"]
89						}
90					},
91					"required": ["id", "name"]
92				}
93			},
94			"averageRating": {
95				"type": "number",
96				"minimum": 0
97			},
98			"totalReviews": {
99				"type": "integer",
100				"minimum": 0
101			}
102		}
103	}
104}
105