Comments (2)
It's not required by any specification. As long as it's not at the beginning of a JSON, the serialiser usually knows the class through the property (JSON key). However, in case several different classes (subclasses) are allowed, this approach won't work.
Options:
- Only use @type where really needed. Pro: less attributes
- Use @type in every class serialisation. Pro: consistent, simple rule. Pro: dcat:DataService, dcat:Dataset, and dcat:Resource can be distinguished.
from ids-specification.
Decision:
Option 2a: Use @type in every class serialisation, however, put the type information into the context file.
from ids-specification.
Related Issues (20)
- CatalogRequest should be CatalogRequestMessage type in Catalog request HOT 1
- Discuss impact of 'compactArrays' in JsonLD HOT 3
- ODRL PROFILE HOT 2
- dataset vs. dataSet HOT 1
- typo in catalog http bindings HOT 2
- Negotiation consumer endpoint for provider initial offer HOT 2
- `timestamp` format string or complex object? HOT 8
- Detailed explanation of different paths through states HOT 3
- Rename DataspaceAuthority to Authority and DataspaceRegistrationService to RegistrationService HOT 1
- Adopt a URL scheme for versioning Json-Ld contexts and use W3ID for redirects.
- New Binding of Dataspace Protocol to TMForum APIs HOT 2
- Transitions from after AGREED to TERMINATED might be an issue from legal perspective HOT 7
- Adopt a methodology for versioning Json-Ld contexts HOT 6
- Support for a Business Process to Notify consumers of negotiated contracts HOT 2
- A release process for the DSP is required HOT 1
- Update Readme to explain the rendering to GitBook
- Inconsistent negotiation schemas (odrl:offer & odrl:agreement) HOT 1
- Add a well-known endpoint for catalog requests HOT 4
- Remove Credential Issuer as a subtype of ParticipantAgent HOT 1
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 ids-specification.