Quote Garden · JSON Structure

Quote Garden Response Envelope Structure

Structural layout of every Quote Garden v3 API response.

Type: object Properties: 5 Required: 4
QuotesInspirationOpen SourceFree APINode.jsMongoDBExpressPersonalityPublic APIs

Quote Garden Response Envelope Structure is a JSON Structure definition published by Quote Garden, describing 5 properties, of which 4 are required. It conforms to the https://json-structure.org/draft/0.1/schema meta-schema.

Properties

statusCode message pagination totalQuotes data

Meta-schema: https://json-structure.org/draft/0.1/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/0.1/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/quote-garden/refs/heads/main/json-structure/quote-garden-response-envelope-structure.json",
  "title": "ResponseEnvelope",
  "type": "object",
  "description": "Structural layout of every Quote Garden v3 API response.",
  "properties": {
    "statusCode": { "type": "integer" },
    "message":   { "type": "string" },
    "pagination": {
      "type": "object",
      "properties": {
        "currentPage": { "type": ["integer", "null"] },
        "nextPage":    { "type": ["integer", "null"] },
        "totalPages":  { "type": ["integer", "null"] }
      }
    },
    "totalQuotes": { "type": ["integer", "null"] },
    "data":        { "type": "array" }
  },
  "required": ["statusCode", "message", "pagination", "data"]
}