Comments (8)
I am fine you trying:-)
from scribejs.
@BigBlueHat
I looked at this, but it is not obvious what schema.org snippet to add. Here is what I've come up with, which strikes the balance between what may be meaningful in schema.org land and may be easily generated based on the information that is available for the script without the need to add additional configuration entries:
{
"@context": "http://schema.org/",
"@type": "CreativeWork",
"name": "JSON-LD Working Group Telco โ Minutes",
"about": "JSON-LD Working Group Telco",
"dateCreated": "2019-03-29",
"genre": "Meeting Minutes",
"publisher": {
"@type": "Organization",
"name": "World Wide Web Consortium",
"url": "https://www.w3.org"
},
"recordedAt": {
"type": "Event",
"name": "JSON-LD Working Group Telco",
"startDate": "2019-03-29",
"endDate": "2019-03-29",
"attendee": [{
"type": "Person",
"name": "Rob Sanderson",
"description": "chair, scribe"
}, {
"type": "Person",
"name": "Gregg Kellogg"
}, {
"type": "Person",
"name": "Adam Soroka"
}, {
"type": "Person",
"name": "Pierre-Antoine Champin",
"description": "scribe"
}]
}
}
Do you have anything better?
I know there this Role
thing in schema (you have used it for the WG) but, I must admit, I do not really grasp how to use that:-(
from scribejs.
Looks like a great start overall, @iherman!
You can think of the Role stuff a bit like "stand-ins" for the Real Thing that fills the role--and then the Real Thing (human, organization, etc) "fills" that role by being a member of it.
So, our meetings potentially include roles with names like scribe
, chair
, and guest
, so the above becomes:
"attendee": [{
"type": "OrganizationRole",
"roleName": "chair",
"attendee": {
"type": "Person",
"name": "Rob Sanderson"
}
}, {
"type": "Role",
"roleName": "scribe",
"attendee": [{
"type": "Person",
"name": "Rob Sanderson"
}, {
"type": "Person",
"name": "Pierre-Antoine Champin"
}]
}, {
"type": "Person",
"name": "Gregg Kellogg"
}, {
"type": "Person",
"name": "Adam Soroka"
}]
Essentially, chair
and scribe
are always present in the attendee
list, and they get filled later (and can even keep the startDate
/endDate
timestamps if we wanted). Everyone else would simply be a direct attendee of the event.
The modeling advantage is that we could collect data around who scribed when without describing Rob personally has a "chair, scribe." ๐
from scribejs.
@BigBlueHat that of course makes sense, but... the specification of attendee claims that the value must be a Person
or an Organization
. Is it understood that a Role
can take the place of any other type? Or should we consider that type of requirement as suggestion only?
from scribejs.
Yeah...it's not spelled out in their documentation, but it seems that "Role" can replace any Person
or Organization
(at least). For example, here's the description of https://schema.org/hasOccupation:
The Person's occupation. For past professions, use Role for expressing dates.
The Structured Data Testing Tool (fwiw) doesn't seem to care if there's a Role in place of a person. Amusingly, though, it seems to think Event's MUST have locations...which isn't expressed anywhere either.
Perhaps a means to express these sorts of requirements should be explored by a certain JSON-LD WG? ๐
from scribejs.
@BigBlueHat sigh... yes, I found out the issue around Events, actually, which made my original proposal questionable. As for the role of Role (sic!): well, let us say, no comments...
I will go for your version. At some point, because my day today is full...
from scribejs.
@BigBlueHat I have made a version with the json-ld preamble; it was fairly easy after all. It is in the schema-data-to-minutes
branch; the files you may want to look at are:
- https://github.com/w3c/scribejs/blob/schema-data-to-minutes/lib/schema.js : the code implementing that stuff
- Two examples for minutes generated with that preamble:
The fact that the Event
does not have a location is just a pain, but I am not sure we can do anything about it. In theory, I could add something like:
"location" : "Teleconference bridge"
but, strangely enough, this is not accepted by the playground either, asking for a full-blown location object, although the definition of location
allows for Text
...
Maybe we can just ignore this.
Any comments are welcome!
from scribejs.
Incorporated into the latest release.
from scribejs.
Related Issues (20)
- Hide config from version control HOT 4
- Do we need package 'node-fetch'? HOT 2
- Refactor "convert.io" using regex'es instead? HOT 2
- Do we need "CGI/protocol.js"? HOT 2
- CGI: add option to commit to w3.org space instead of GH repo? HOT 5
- Review input sanitisation HOT 4
- Prevent form against inadequate use HOT 7
- Use npm package 'octocat' instead of interacting directly with the GH API? HOT 2
- Remove the latest ES dependencies from preset.js HOT 1
- Publish scribejs in npm HOT 6
- Do we need field โfilesโ in โpackage.jsonโ? HOT 2
- Whitespace and coding style? HOT 5
- Markdown id format HOT 1
- GitHub Pages Hosting of new BrowserView HOT 6
- Integrate BrowserView editor with GitHub's Personal Token & API HOT 4
- Validate nickname files in BrowserView HOT 1
- security holding package HOT 3
- Browserify the tool? HOT 3
- Security alert on marked version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribejs.