Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended general purpose schemas #54

Closed
denisnazarov opened this issue Oct 31, 2016 · 12 comments
Closed

Recommended general purpose schemas #54

denisnazarov opened this issue Oct 31, 2016 · 12 comments
Assignees

Comments

@denisnazarov
Copy link
Contributor

For mediachain-first data.

@denisnazarov
Copy link
Contributor Author

denisnazarov commented Oct 31, 2016

If your data is mediachain-first, then presumably it wont have any WKIs at all. What's the best practice here?

EDIT: rfc answers this:

Works that are mediachain-first and require an identifier can either generate one or receive it from a ticket server. This ID will be treated the same way as any other.

@parkan
Copy link
Contributor

parkan commented Oct 31, 2016

Yeah, we haven't built this part yet. Basically we need either

  • blockchain-based id generation of some kind (blockchain ticket server)
  • provably unique nothing-shared ID generation scheme as juan suggested (UUID-like)

Re: schemas, we should think about the ultimate purpose of the data. A first-pass answer may be just using schema.org schemas.

@denisnazarov
Copy link
Contributor Author

denisnazarov commented Nov 1, 2016

Def. some good stuff on schema.org like http://schema.org/ImageObject

Can we suggest using schema.org and generating UUIDs for now?

@parkan
Copy link
Contributor

parkan commented Nov 1, 2016

I think recommending schema.org as baseline is fine.

For IDs I am not 100% sure UUID is ideal; something like https://github.com/boundary/flake that uses peerIds instead of MACs could be a better choice (though we should think about what information we want to leak)

@parkan parkan added this to the v1.2 milestone Nov 3, 2016
@denisnazarov
Copy link
Contributor Author

denisnazarov commented Nov 3, 2016

ID genrator/flake #57

@parkan
Copy link
Contributor

parkan commented Nov 30, 2016

@yusefnapora this probably falls under documentation scope?

@yusefnapora
Copy link
Contributor

Yup, sounds good.

@parkan
Copy link
Contributor

parkan commented Dec 7, 2016

@yusefnapora what's the status here?

@yusefnapora
Copy link
Contributor

So far I've just got a few paragraphs that amount to "use JSON-LD with schema.org types". I haven't pushed that section to the docs site yet, but I'm planning to get that done today.

@parkan
Copy link
Contributor

parkan commented Dec 7, 2016

@yusefnapora let's try to get this wrapped ASAP, doesn't have to be detailed at this point.

@yusefnapora
Copy link
Contributor

@parkan I just pushed an update to the docs site: https://mediachain.github.io/mediachain-docs/publishing/schema-recommendations#using-json-ld

I think it does a decent job of covering the basics, given the current state of support in the code so far.

@parkan
Copy link
Contributor

parkan commented Dec 7, 2016

Great, that's more than sufficient 😄

@parkan parkan closed this as completed Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants