FakerAPI · JSON Structure

Fakerapi Person Structure

A fake person profile produced by FakerAPI /api/v1/persons.

Type: object Properties: 10 Required: 4
Test DataFake DataMockingDeveloper ToolsOpen SourcePublic APIs

Person is a JSON Structure definition published by FakerAPI, describing 10 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id firstname lastname email phone birthday gender website image address

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://fakerapi.it/structures/person.json",
  "name": "Person",
  "description": "A fake person profile produced by FakerAPI /api/v1/persons.",
  "type": "object",
  "properties": {
    "id": { "type": "int32" },
    "firstname": { "type": "string" },
    "lastname": { "type": "string" },
    "email": { "type": "string" },
    "phone": { "type": "string" },
    "birthday": { "type": "date" },
    "gender": { "type": "string", "enum": ["male", "female"] },
    "website": { "type": "uri" },
    "image": { "type": "uri" },
    "address": { "$ref": "fakerapi-address-structure.json" }
  },
  "required": ["id", "firstname", "lastname", "email"]
}