Check a schema validates a payload

If you want to check if a schema validates a payload  through this API call Call: https://smartdatamodels.org/extra/validate_payload.php Parameters: (Mandatories) payloadUrl: The url of the payload in RAW version schemaUrl: The link to the RAW version of the json schema (see example) Example: https://smartdatamodels.org/extra/validate_payload.php?payloadUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.Battery/master/Battery/examples/example.json&schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.Battery/master/Battery/schema.json Output: A json payload with these properties… More…

updated the contribution manual

The contribution manual (link in the upper menu of main page) is updated due to the change in the approach for documenting the data models. Main changes: Properties’ definitions are now included as an attribute in the json schema The specification is generated automatically based on the json schema Json… More…

Create automatically the specification of your data model

The new version of the smart data models specification is on progress (most of the /doc directories of the data models have a version). If you want to check how this would look like you can have through this API call Call: https://smartdatamodels.org/extra/create_spec.php Parameters: (Mandatories) dataModel: The name of the… More…

Data Models Contribution API

The schemas to be accepted in the Smart Data Model initiative need to include a description for every property. In order to review your data models before submission, it should pass this test. Call: https://smartdatamodels.org/extra/check_schema.php Parameters: (Mandatories) schemaUrl: The link to the RAW version of the schema (see example) mail:… More…

French translation of data models available

Most of the data models have a new file into its /doc directory name spec_FR.md. It contains a specification generated automatically based on the schema.json with all its texts translated into French. (With the deepL tool, so you can expect some ‘incorrect’ translated elements). The official spec remains to be… More…