diff --git a/UCR/index.html b/UCR/index.html index 19fb653..e8b67fc 100644 --- a/UCR/index.html +++ b/UCR/index.html @@ -1,5 +1,5 @@ - + YAML-LD Use Cases and Requirements @@ -47,20 +47,20 @@

Introduction

and issues of the community's GitHub repository. -
-

Contributing Use Cases and Requirements

-

- Create a GitHub issue following the dedicated template. The suggested form is: -

-
-        WHO:  As an <actor>
-        WHAT: I want a <feature>
-        WHY:  So that <benefit>
-      
-

- This is not mandatory. -

-
+
+

Contributing Use Cases and Requirements

+

+ Create a GitHub issue following the dedicated template. The suggested form is: +

+
+          WHO:  As an <actor>
+          WHAT: I want a <feature>
+          WHY:  So that <benefit>
+        
+

+ This is not mandatory. +

+
@@ -70,12 +70,31 @@

Submitted Use Cases

Compatibility with existing libraries

Submitted Use Case

- As a developer of YAML-LD processors. I want to be able to use off-the-shelf libraries for converting between JSON-LD and YAML-LD serialization formats. So that data produced in JSON-LD can be easily represented in YAML-LD and visa-versa. + As a developer of YAML-LD processors, I want to be able to use off-the-shelf libraries for converting between JSON-LD and YAML-LD serialization formats. So that data produced in JSON-LD can be easily represented in YAML-LD and visa-versa.

There seems to be general compatibility between YAML libraries that produce equivalent results when serializing data originally parsed from JSON. This should be verified, but indicates an easy way of providing a YAML-LD serialization fully round-trippable with JSON-LD.

+ +
+

Distinguish "plain" YAML-LD from "ideomatic" YAML-LD

+

Submitted Use Case

+

As a processor. I want to easily distinguish between "plain" YAML-LD and "ideomatic" YAML-LD based on the use of local tags (or similar) which may require post-parsing processing to be interpreted using the JSON-LD processig algorithms. So that more complicated processing steps can be avoided.

+
+          !yaml-ld
+          $context: http://schema.org/
+          $type: Person
+          name: Pierre-Antoine Champin
+        
+
+

The previous example uses two such mechanisms:

+ +
+
\ No newline at end of file