Schema Properties
High-level overview of JSON Schemas returned from Merge
Overview
Merge uses JSON Schema conventions in schemas returned from Merge (e.g., the request_schema returned from a /meta endpoint) for scalable schemas and programmatic convenience.
In these schemas:
- Shared Properties specify type definitions with fields like “type” and “description”
- Object, Array and Enum Fields will have additional schema properties as described further below
For example, when you receive a request_schema from a /meta endpoint, the schema fields specify valid inputs in a POST request to Merge.
Learn more in our guide to Programmatic Writes with /meta.
For programmatic validation of these schema properties, we encourage you to refer to the JSON Schema specification.
Shared Properties
All fields in JSON Schemas returned from Merge have basic properties like “type” and “description” that specify field types.
Object Fields
In addition to shared properties, object fields in JSON Schemas returned from Merge will have these additional properties:
Array Fields
In addition to shared properties, array fields in JSON Schemas returned from Merge will have these additional properties:
Enum Fields
In addition to shared properties, enum fields that have a limited array of string choices will have these additional properties: