Coder Social home page Coder Social logo

Comments (3)

cwebber avatar cwebber commented on May 25, 2024 1

We talked more or less about this on the call today. The above isn't too far off from what was said on the call... while there were a variety of points raised, most seemed to converge on "we don't want people overwhelmed with the -LD side of things if all they're familiar with is JSON, but we also don't want to drop the -LD". (We didn't formally reach consensus on this though, I'm just summarizing some discussion.)

One option discussed is how ActivityStreams, ActivityPub, and Web Annotations to a lesser extent have taken the "this can be understood as just JSON" approach, and at least as in the former two you can pass in an implied context so that even more naively written JSON can be read as JSON-LD. Maybe mentioning how to apply the context can happen later in the document, or as more of a side-note earlier, and have a section at the end explaining how to read it as JSON-LD, as well as some other formats.

from vc-data-model.

BigBlueHat avatar BigBlueHat commented on May 25, 2024

Just said similar things over at #23 (comment)

from vc-data-model.

msporny avatar msporny commented on May 25, 2024

I think we more or less do what the original issue raised said to do. Lead with JSON, soft pedal JSON-LD (although probably not as much as you may have wanted us to @jtibbetts, but only because people wanted to see full JSON-LD examples):

vc-data-model/index.html

Lines 973 to 980 in 700263a

<pre class="example" title="A simple verifiable credential">{
"id": "http://example.gov/credentials/3732",
"type": ["Credential", "ProofOfAgeCredential"],
"issuer": "https://dmv.example.gov",
"issued": "2010-01-01",
"claim": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"ageOver": 21

There is still a bit of repetition, but I don't quite know what to do about that.

I'm closing this issue. Please re-open it or raise a new issue with more specific requests if you don't agree.

from vc-data-model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.