JSON Schema Standard

The JSON Schema standard has been used as a basis for the SUDSJS schema. The main difference from the standard is that the SUDSJS schema is normally JavaScript code, not JSON.  However the system will accept JSON instead. See for example the Javascript version of the subjects schema and the JSON version.  However the JSON version cannot include functions, so does not handle more advanced schema.

If you have a legacy database and have records expressed as JSON, you can use a tool such as ExtendsCless validator to generate a basic schema and then modifiy it manually  either into Javascript or JSON code (normally Javascript).  .

Some JSON Schema features are not implented.  For example: