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

Video property for programmes and events #88

Open
nickevansuk opened this issue Jun 1, 2018 · 3 comments
Open

Video property for programmes and events #88

nickevansuk opened this issue Jun 1, 2018 · 3 comments
Labels
gladstone proposal Proposed changes to the specification schema.org Issues relating to schema.org

Comments

@nickevansuk
Copy link
Contributor

nickevansuk commented Jun 1, 2018

Proposer

England Netball

Use Case

"as a potential participant, I want to see a video that shows what I can expect to see at an event"

Why is this not covered by existing properties?

There is currently no property to specify a video

Please provide a link to example data

Explainer for Back to Netball:
https://www.youtube.com/watch?v=N268gBOvnzo

Explainer for Walking Netball programme:
https://www.youtube.com/watch?v=qzQfnv7sFPg

Explainer for Netball Youth Camp programme:
https://www.youtube.com/watch?v=lvlEpaKTotQ

Proposal

video: to be added to Brand (used within "programme"), to Event and to Organization, and constrained to an array of VideoObject in line with the OpenActive profile of the image property.

Example

"programme": {
  "type": "Brand",
  "name": "Back to Netball",
  "description": "Running across England since 2010, over 60,000 women have taken part in Back to Netball and realised the benefits of getting involved.  From losing weight, developing the body’s cardiovascular system and improving muscle tone, taking part in Back to Netball is great for you in so many ways.\r\n\r\nBack to Netball sessions are running across England and provide women of all ages with a gentle re-introduction to the sport.  Run by passionate and enthusiastic coaches, sessions cover the basics of the game including passing, footwork and shooting.  Sessions finish with a friendly game to put the skills you have learnt into practice.\r\n\r\nYou don’t need any special kit, just clothes that you feel comfortable exercising in and trainers ideally that lace up. Make sure you bring some water and that you’ve had a snack a couple of hours before hand, something like our lovely sponsors Mrs Crimbles flapjacks or a banana so you’ve got plenty of energy.",
  "logo": "http://hertsnetball.co.uk/js/plugins/imagemanager/files/B2N_logo.jpg", 
  "url": "https://www.englandnetball.co.uk/backtonetball/", 
  "video": [
    {
      "type": "VideoObject",
      "description": "Video explanation of the programme",
      "url": "https://www.youtube.com/watch?v=N268gBOvnzo",
      "duration": "T1M33S",
      "name": "What is Back to Netball?",
      "thumbnail": "http://example.com/js/plugins/imagemanager/files/video.png"
    }
  ]
}

Beta property

"beta:video"

@ldodds
Copy link
Contributor

ldodds commented Aug 20, 2018

The video property is currently not defined for Brand or Thing, its for CreativeWork or variants.

subjectOf looks like the most appropriate use in Schema.org. Perhaps we can instead add this use case to schemaorg/schemaorg#1670 in order to move that forward and out of pending?

In the meantime we could add it to our context rather than defining a new custom property.

@ldodds ldodds moved this from Backlog to Under discussion in Specification revisions Aug 20, 2018
@nickevansuk
Copy link
Contributor Author

nickevansuk commented Aug 22, 2018

My comment on this would be: given that the web platform is moving towards native video in general (it's already there in HTML5), schema.org should allow video in the same way as it does image on the Thing type.

I can see why it's tempting to classify a video as a CreativeWork, and link it loosely with Event, however we should then do the same for images for consistency and use subjectOf to access both from Event... I suggest we should be looking for consistency in the other direction instead.

Also using subjectOf to access videos (or images) is much less intuitive to a data consumer.

The general consensus of schemaorg/schemaorg#1447 and with evidence here seems to be in agreement with this, and there's even a pull request that already exists to do this too.

@nickevansuk
Copy link
Contributor Author

Noting continuing discussion here: schemaorg/schemaorg#1774

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gladstone proposal Proposed changes to the specification schema.org Issues relating to schema.org
Projects
Specification revisions
  
Under discussion
Development

No branches or pull requests

2 participants