Comments (5)
@MikeThacker1 I might be misunderstanding you, but why don't the Schema.org types and properties give us that model?
We can use the Schema.org model to publish data structured as JSON-LD. And this also gives us an RDF interpretation and cross-walk to other formats. This gives us a way to publish and embed data in web pages, and also via (JSON) APIs
After getting some agreement with the model outlined in this document, I was also going to recommend some simple CSV format(s) for publishing the data. CSV on the Web can then map that to the Schema.org model?
from modelling-opportunity-data.
Thanks Leigh. The schema types and properties may give us that model. I'm used to dealing with UML class diagrams or data entity relation diagrams. What I can't see here is how we get the cardinality rules (eg one event must have one and only one location; it can have one or many startDates; OR one event can have multiple combinations of location and startDate; it can relate to 0, 1 or many types of PhysicalActivity; ...).
The JSON-LD might make it clear - especially if that can be converted to a diagrammatic representation.
Sorry if I'm misunderstanding anything. I'm trying to relate this to the approach taken by another project I'm involved in.
from modelling-opportunity-data.
Ah ok, I see what you mean. My plan is, if people are happy with the model and mapping, then to define some conformance criteria that can be used to say things like "this must have a location", etc. That would cover what you're looking for I think.
But you're right that a diagram would be useful too. I'll add one to the specification.
from modelling-opportunity-data.
I'll incorporate this into the specification after I've had comments next week, but here's a initial schema diagram that shows the relationships between the items.
The Activity/Programme stuff is still to be decided, but included for reference for now.
from modelling-opportunity-data.
Thanks Leigh. Looks good and helps me. It's simpler than I expected.
As a minor point, I guess Event should have two joins on itself to deal with subEvent and superEvent relationships. Not sure how recurring events would complicate it.
from modelling-opportunity-data.
Related Issues (20)
- "2nd Thursday of the month" is unrepresentable
- Add lastModifed (or similar) attribute to Opportunity data HOT 1
- `startDate` and `endDate` should never be inherited
- Addition of a what3words field HOT 2
- Making idTemplate a required property
- Adding Space Hire to the Activity List
- Clubs information as open data. HOT 3
- Properties specifically for social prescribing HOT 3
- Proposal: Support for Block Bookings HOT 3
- Ticketing / Density Party / High Frequency sessions HOT 10
- Proposal: Property to showcase inclusive sessions HOT 1
- Clarification on EventSeries vs SessionSeries HOT 1
- Proposal to switch from ISO 8601 to IETF RFC 3339
- Reconsider use of ISO 8601 in OpenActive standards HOT 2
- Virtual Tours HOT 1
- Places feed HOT 3
- `email` should be included alongside `telephone` in `Place`
- Sellers feed HOT 1
- Constrain `containsPlace`
- Proposal: Enabling 'Club Finder' capability HOT 6
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 modelling-opportunity-data.