You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/python/json_schema.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,15 +35,16 @@ By the end of this tutorial, you will:
35
35
36
36
Derived annotations allow you to define default values for annotations based on schema rules, ensuring consistency and reducing manual input errors. As you can see here, you could use derived annotations to prescribe default annotation values. Please read more about derived annotations [here](https://help.synapse.org/docs/JSON-Schemas.3107291536.html#JSONSchemas-DerivedAnnotations).
37
37
38
-
Note: If you make an update to your schema, you can re-register your schema with the organization and give it a new version number:
@@ -52,7 +53,7 @@ After creating the organization, you can now bind your json schema to a test fol
52
53
When you bind the schema, you may also include the boolean property `enable_derived_annos` to have Synapse automatically calculate derived annotations based on the schema:
@@ -104,12 +105,12 @@ JSON Schema was retrieved successfully. Please see details below:
104
105
## 6. Add Invalid Annotations to the Folder and Store, and Validate the Folder against the Schema
105
106
Try adding invalid annotations to your folder: This step and the step below demonstrate how the system handles invalid annotations and how the schema validation process works.
@@ -145,12 +146,12 @@ This step is only relevant for container entities, such as a folder or a project
145
146
146
147
Try creating a test file locally and store the file in the folder that we created earlier. Then, try adding invalid annotations to a file. This step demonstrates how the files inside a folder also inherit the schema from the parent entity.
@@ -169,7 +170,7 @@ Validation statistics were retrieved successfully. Please see details below:
169
170
170
171
You could also use `get_invalid_validation` to see more detailed results of all the children inside a container, which includes all validation messages and validation exception details.
0 commit comments