diff options
-rw-r--r-- | freedesktop.org.xml.in | 8 | ||||
-rw-r--r-- | tests/list | 2 | ||||
-rw-r--r-- | tests/webfinger.jrd | 10 |
3 files changed, 20 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 33877e80..9ce40210 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -2212,6 +2212,14 @@ command to generate the output files. <generic-icon name="text-x-script"/> <glob pattern="*.json"/> </mime-type> + <mime-type type="application/jrd+json"> + <_comment>JRD document</_comment> + <acronym>JRD</acronym> + <expanded-acronym>JSON Resource Descriptor</expanded-acronym> + <sub-class-of type="application/json"/> + <generic-icon name="text-x-script"/> + <glob pattern="*.jrd"/> + </mime-type> <mime-type type="application/ld+json"> <_comment>JSON-LD document</_comment> <acronym>JSON-LD</acronym> @@ -222,6 +222,8 @@ Utils.jsm application/javascript ox # The following two copied from RFC 4627. json_object.json application/json ox json_array.json application/json ox +# Copied from RFC 7033 +webfinger.jrd application/jrd+json ox # Copied from http://www.w3.org/TR/json-ld/ json-ld-full-iri.jsonld application/ld+json ox test.cs text/x-csharp ox diff --git a/tests/webfinger.jrd b/tests/webfinger.jrd new file mode 100644 index 00000000..a514ea66 --- /dev/null +++ b/tests/webfinger.jrd @@ -0,0 +1,10 @@ +{ + "subject" : "acct:carol@example.com", + "links" : + [ + { + "rel" : "http://openid.net/specs/connect/1.0/issuer", + "href" : "https://openid.example.com" + } + ] +} |