w3c / poe

Permissions & Obligations Expression WG
Other
23 stars 18 forks source link

Invalid json-ld syntax in EXAMPLE 29 #310

Open riannella opened 7 months ago

riannella commented 7 months ago

The json-ld instance presented in EXAMPLE 29 in section https://www.w3.org/TR/odrl-model/#composition-compact is invalid. There is a trailing ',' (comma) after the second "action: : "play". This was checked using json-lint and rdf-converter. The former reported

Invalid JSON! Error: Parse error on line 16: ...n": "play", }]}
----------------------^ Expecting 'STRING', got '}'

From @ksridhar

riannella commented 1 month ago

Summary: In Section 2.7.1 the json-ld instance presented in EXAMPLE 29 is invalid. There is a trailing ',' (comma) after the second "action" : "play".