specifications icon indicating copy to clipboard operation
specifications copied to clipboard

New approach for developing type proposals

Open AlasdairGray opened this issue 3 years ago • 2 comments

New type approach is looking promising. the screenshot below is made from a slightly modified version of the JSON-LD representation grabbed from the view-source of a type on the schema.org site (plus some manipulation see below) :) Just need to extend the logic to grab the types in the hierarchy. Screen Shot 2021-06-10 at 17 00 42

Changes that are needed to the json-ld are:

  • Convert using playground to expanded version
  • Remove all @ signs
  • Remove all namespaces from json keys

Originally posted by @AlasdairGray in https://github.com/BioSchemas/specifications/issues/468#issuecomment-858748092

AlasdairGray avatar Jun 17 '21 09:06 AlasdairGray

This approach for types, while promising has some challenges, e.g. how to deal with parent types changing at different rates and keep things in sync with Schema.org evolutions.

I'm going to separate out this development of a new types process from the updates to the Protein type so that the publishing of the draft profiles and types is not delayed.

Originally posted by @AlasdairGray in https://github.com/BioSchemas/specifications/issues/468#issuecomment-863058547

AlasdairGray avatar Jun 17 '21 09:06 AlasdairGray

New approach for developing types can be found on the branch new-approach-for-types.

AlasdairGray avatar Jun 17 '21 09:06 AlasdairGray