Mockaroo · JSON Structure

Mockaroo Field Spec Structure

Inline field specification used to describe a single column in an ad-hoc Mockaroo generation request.

Type: object Properties: 4 Required: 2
Test DataMock DataAPI MockingData GenerationDeveloper ToolsQA TestingRealistic DataSchemasDatasetsPublic APIs

MockarooFieldSpec is a JSON Structure definition published by Mockaroo, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/draft-00/schema meta-schema.

Properties

name type percentBlank formula

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft-00/schema",
  "$id": "https://www.mockaroo.com/structures/mockaroo-field-spec.json",
  "name": "MockarooFieldSpec",
  "type": "object",
  "description": "Inline field specification used to describe a single column in an ad-hoc Mockaroo generation request.",
  "properties": {
    "name": { "type": "string", "description": "Column name." },
    "type": { "type": "string", "description": "Built-in Mockaroo field type." },
    "percentBlank": { "type": "int32", "description": "Percentage of blank values to emit." },
    "formula": { "type": "string", "description": "Mockaroo formula expression." }
  },
  "required": ["name", "type"]
}