validate_jsonld {FAIRmaterials}R Documentation

Validate Json-ld

Description

Validate Json-ld

Usage

validate_jsonld(json_file)

Arguments

json_file

Json-ld created from the fairify_data function

Value

Returns a prompt that says whether or not a json-ld is valid

Examples

test_pass <- '{
"@context": "http://schema.org/",
"@type": "Person",
"name": "Jane Doe",
"jobTitle": "Professor",
"telephone": "(425) 123-4567",
"url": "http://www.janedoe.com"}'

#validate_jsonld(test_pass)

[Package FAIRmaterials version 0.4.1 Index]