Re: JSON-LD (Was:Re: Vaccination Certificate Test Suite)

On 4/26/21 10:26 AM, Nikos Fotiou wrote:
>> those values should be:
> So why this, and not e.g., 

The short answer is "history and precedence".

There are many more systems on the planet today that understand
`` than ``...
mostly because the former has existed for 20 years, and the latter has only
existed for 10 years (and is targeted at search engine optimization). The
former is used across healthcare, government, a TON of systems that are
powered by XML (retail, banking, etc.), while the latter is mostly for SEO and
is mainly used at Google, Bing, and Apple.

This is where things start transitioning towards "art" from "hard science".
There is no hard rule on this... Tobias could have used `Date`... the value
space is the same, but I expect he chose to use `XMLSchema#date` because of
the larger body of software systems that understand the property.

I think it's the right call... at the end of the day, we just need to use a
URL to identify the concept of a "date". One could even argue that
`` and `XMLSchema#date` are semantically equivalent (they are,
and they have the same value space, IIRC). We could add reasoning statements
into our software to detect both as equivalent, but that would add complexity
to software... so, we try to not do that and just use the URL that people have
been using to represent ISO-8601 dates for 20+ years now.

-- manu

Manu Sporny -
Founder/CEO - Digital Bazaar, Inc.
blog: Veres One Decentralized Identifier Blockchain Launches

Received on Monday, 26 April 2021 14:56:05 UTC