Closed bengibaykal closed 4 years ago
When a request received, before save, check and validate data regarding the requested JSONLD Schema.
{ "@context": "http://www.w3.org/ns/anno.jsonld", "id": "http://example.org/anno4", "type": "Annotation", "body": "http://example.org/description1", "target": "http://example.com/", "created": "2017-11-28T18:56:04.889815+00:00" }
Here several methods we could achieve this validation.
When a request received, before save, check and validate data regarding the requested JSONLD Schema.
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno4",
"type": "Annotation",
"body": "http://example.org/description1",
"target": "http://example.com/", "created": "2017-11-28T18:56:04.889815+00:00" }