Skip to content

Commit 6d26ea0

Browse files
katacekTC-MO
andauthored
Update sources/platform/actors/development/actor_definition/dataset_schema/validation.md
Co-authored-by: Michał Olender <[email protected]>
1 parent df06398 commit 6d26ea0

File tree

1 file changed

+1
-1
lines changed
  • sources/platform/actors/development/actor_definition/dataset_schema

1 file changed

+1
-1
lines changed

sources/platform/actors/development/actor_definition/dataset_schema/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Dataset schema needs to be a valid JSON schema draft-07, so the `$schema` line i
8282

8383
When you define a schema of your default dataset, the schema is then always used when you insert data into the dataset to perform validation (we use [AJV](https://ajv.js.org/)).
8484

85-
If the validation succeeds, nothing changes from the current behavior, data is stored and an empty response with status code 201 is returned.
85+
If the validation succeeds, nothing changes from the current behavior, data is stored and an empty response with status code `201` is returned.
8686

8787
**If the data you attempt to store in the dataset is invalid** (meaning any of the items received by the API fails the validation), **the whole request is discarded** and the API will return a response with status code 400 and the following JSON response:
8888

0 commit comments

Comments
 (0)