-
Notifications
You must be signed in to change notification settings - Fork 52
Copying Schema.org Type Proposals to the Bioschemas Website
Alasdair Gray edited this page Jul 24, 2019
·
2 revisions
Currently the process for getting a type/property definition from the (Bioschemas)Schema.org development site to the Bioschemas website is a manual process. The styling on the Bioschemas website has been modified to use the same CSS Class definitions as are found in the Schema.org HTML table. The steps below ensure that the links within the page work correctly once deployed on the Bioschemas site.
- Copy type definition text into the YAML
description
property at top of the file - Ensure that the hierarchy is defined correctly in the YAML
hierarchy
property - Increase the version number by 0.1 in the YAML
version
property - Copy the HTML definition table from the Schema.org web page source to the body of the file
- Add bsc_type to the HTML table CSS class definition
- Search for
http://bio.localhost:8080/
(orhttp://bio.sdo-bioschemas-227516.appspot.com/
if doing this online), and perform one of the following actions:- For types, replace with
/
meaning that it becomes a link to the type, e.g.http://bio.localhost:8080/BioChemEntity
becomes/BioChemEntity
; - For properties, replace with
#
meaning that it becomes a link within the page which will not actually be defined, e.g.http://bio.localhost:8080/boundMolecule
becomes#boundMolecule
;
- For types, replace with
- Replace
http://pending.localhost:8080/
withhttp://pending.schema.org/
- Replace
./
withhttp://schema.org/
so that schema terms have the correct base URL - Replace
class="localLink" href="
withclass="localLink" href="http://schema.org
- Replace
/docs/
withhttp://schema.org/docs/