FakerAPI · Schema

Image

A fake image reference produced by FakerAPI /api/v1/images.

Test DataFake DataMockingDeveloper ToolsOpen SourcePublic APIs

Properties

Name Type Description
title string Short image title.
description string Longer image description / alt text.
url string Placeholder image URL.
View JSON Schema on GitHub

JSON Schema

fakerapi-image-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://fakerapi.it/schemas/image.json",
  "title": "Image",
  "description": "A fake image reference produced by FakerAPI /api/v1/images.",
  "type": "object",
  "properties": {
    "title": { "type": "string", "description": "Short image title.", "example": "Sunt unde delectus enim." },
    "description": { "type": "string", "description": "Longer image description / alt text.", "example": "Ut iusto et sit eaque et eum molestiae hic." },
    "url": { "type": "string", "format": "uri", "description": "Placeholder image URL.", "example": "https://picsum.photos/640/480" }
  },
  "required": ["url"]
}