JSON DB Schema #178
Replies: 1 comment
-
JSON DB Schema
For the API class we use it to tell the JSON DB Schema to validate our JSON with this particular schema. We use the JSONSchema package to validate our JSON with the DB Schema. CRIPT JSON DB SchemaThere is a naming convention throughout the code of “ProjectPost” that is used for validation when sending an HTTP POST request to create a new project, and “ProjectPatch” that is used for validation when sending an HTTP Patch request to update a project. Feel free to look into the official JSON Schema documentation to learn more. |
Beta Was this translation helpful? Give feedback.
-
Not quite sure what “$ref” and “$def” means in line 483.
Beta Was this translation helpful? Give feedback.
All reactions