JSON or XML data structures.| Type | Description |
|---|---|
| null | Represents a JSON "null" value. |
| boolean | Represents a "true" or "false" value, corresponding to the JSON "true" or "false" value. |
| object | Represents an unordered collection of key-value pairs, corresponding to the JSON "object" value. |
| array | Represents an ordered list of values, corresponding to the JSON "array" value. |
| number | Represents an arbitrary-precision, base-10 decimal number value, corresponding to the JSON "number" value. |
| string | Represents a string of Unicode characters, corresponding to the JSON "string" value. |
array data type, a sub-level ITEMS property will be automatically generated. It specifies the data type of the elements within the array.| Keyword | Description |
|---|---|
| allOf (AND) | Specifies that the property must adhere to all the schemas defined in the composition. |
| anyOf (OR) | Specifies that the property can conform to any of the schemas listed in the composition. |
| oneOf (XOR) | Specifies that the property must adhere to one and only one of the schemas defined in the composition. |
| Button | Description |
|---|---|
| * | Indicates if the property is required. |
| N | Specifies if the property allows for null values. |
| Settings | Allows you to edit advanced settings in the Type Editor. |
String, Integer, and Number types, Apidog supports enum. By toggling the enum switch, you can add enum values and descriptions. Additionally, you can perform Bulk Edit for enum values.object, and then using the additionalProperties keyword to specify the type of the values in the key-value pairs.



name and email. Now, with the system upgrade, you want to include other fields.

(0,"A",2,"C"), you can set the element type to array in the data model, then set the type of items to anyOf in the combination pattern, and then add child elements of type string and integer respectively.


| Tool | Description |
|---|---|
| Generate from JSON etc. | This tool allows you to automatically generate schemas from JSON, XML data, and other sources, or directly from database table structures. Learn more about Generate schemas from JSON etc.. |
| Preview | This tool creates mock data that adheres to the schema definition, providing a preview of the expected data. |
| Generate code | This tool can produce data structure definition code in various programming languages. Learn more about Generate code. |
| JSON Schema | This tool allows direct editing of JSON schemas for fine-tuning and customization. |