diff --git a/sources/platform/actors/development/actor_definition/dataset_schema/validation.md b/sources/platform/actors/development/actor_definition/dataset_schema/validation.md index 745c48db6..a4d10edb0 100644 --- a/sources/platform/actors/development/actor_definition/dataset_schema/validation.md +++ b/sources/platform/actors/development/actor_definition/dataset_schema/validation.md @@ -185,12 +185,22 @@ Enabling fields to be `null` : ```json { "name": { - "type": "string", - "nullable": true + "type": ["string", "null"] } } ``` +In case of enums `null` needs to be within the set of allowed values: + +```json +{ + "type": { + "enum": ["list", "detail", null] + } +} +``` + + Define type of objects in array: ```json