Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
feat(jsonld): use configs instead of descriptions for JSON-LD output
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Feb 25, 2021
1 parent 76e9f84 commit b6f1e9c
Show file tree
Hide file tree
Showing 39 changed files with 7,822 additions and 13 deletions.
163 changes: 163 additions & 0 deletions src/routes/helpers/jsonld/Action.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
{
"head": {
"@type": [
"https://schema.org/DigitalDocument"
]
},
"properties": {
"identifier": [
"http://purl.org/dc/terms/identifier",
"https://schema.org/identifier"
],
"contributor": [
"http://purl.org/dc/terms/contributor",
"https://schema.org/contributor"
],
"coverage": [
"http://purl.org/dc/terms/coverage"
],
"creator": [
"http://purl.org/dc/terms/creator"
],
"date": [
"http://purl.org/dc/terms/date"
],
"description": [
"http://purl.org/dc/terms/description",
"https://schema.org/description"
],
"disambiguatingDescription": [
"https://schema.org/disambiguatingDescription"
],
"format": [
"http://purl.org/dc/terms/format"
],
"language": [
"http://purl.org/dc/terms/language"
],
"publisher": [
"http://purl.org/dc/terms/publisher"
],
"relation": [
"http://purl.org/dc/terms/relation"
],
"rights": [
"http://purl.org/dc/terms/rights"
],
"source": [
"http://purl.org/dc/terms/source"
],
"subject": [
"http://purl.org/dc/terms/subject"
],
"title": [
"http://purl.org/dc/terms/title"
],
"type": [
"http://purl.org/dc/terms/type",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
],
"created": [
"http://purl.org/dc/terms/created"
],
"modified": [
"http://purl.org/dc/terms/modified"
],
"additionalType": [
"https://schema.org/additionalType"
],
"additionalProperty": [
"https://schema.org/additionalProperty"
],
"alternateName": [
"https://schema.org/alternateName"
],
"image": [
"https://schema.org/image"
],
"mainEntityOfPage": [
"https://schema.org/mainEntityOfPage"
],
"name": [
"https://schema.org/name"
],
"potentialAction": [
"https://schema.org/potentialAction"
],
"sameAs": [
"https://schema.org/sameAs"
],
"subjectOf": [
"https://schema.org/subjectOf"
],
"url": [
"https://schema.org/url"
],
"broadMatch": [
"http://www.w3.org/2004/02/skos/core#broadMatch"
],
"closeMatch": [
"http://www.w3.org/2004/02/skos/core#closeMatch"
],
"exactMatch": [
"http://www.w3.org/2004/02/skos/core#exactMatch"
],
"narrowMatch": [
"http://www.w3.org/2004/02/skos/core#narrowMatch"
],
"relatedMatch": [
"http://www.w3.org/2004/02/skos/core#relatedMatch"
],
"wasGeneratedBy": [
"http://www.w3.org/ns/prov#wasGeneratedBy"
],
"wasDerivedFrom": [
"http://www.w3.org/ns/prov#wasDerivedFrom"
],
"wasAttributedTo": [
"http://www.w3.org/ns/prov#wasAttributedTo"
],
"used": [
"http://www.w3.org/ns/prov#used"
],
"startedAtTime": [
"http://www.w3.org/ns/prov#startedAtTime"
],
"wasInformedBy": [
"http://www.w3.org/ns/prov#wasInformedBy"
],
"endedAtTime": [
"http://www.w3.org/ns/prov#endedAtTime"
],
"actionStatus": [
"https://schema.org/actionStatus"
],
"agent": [
"https://schema.org/agent"
],
"endTime": [
"https://schema.org/endTime"
],
"error": [
"https://schema.org/error"
],
"instrument": [
"https://schema.org/instrument"
],
"location": [
"https://schema.org/location"
],
"object": [
"https://schema.org/object"
],
"participant": [
"https://schema.org/participant"
],
"result": [
"https://schema.org/result"
],
"startTime": [
"https://schema.org/startTime"
]
}
}
166 changes: 166 additions & 0 deletions src/routes/helpers/jsonld/AddAction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"head": {
"@type": [
"https://schema.org/DigitalDocument"
]
},
"properties": {
"identifier": [
"http://purl.org/dc/terms/identifier",
"https://schema.org/identifier"
],
"contributor": [
"http://purl.org/dc/terms/contributor",
"https://schema.org/contributor"
],
"coverage": [
"http://purl.org/dc/terms/coverage"
],
"creator": [
"http://purl.org/dc/terms/creator"
],
"date": [
"http://purl.org/dc/terms/date"
],
"description": [
"http://purl.org/dc/terms/description",
"https://schema.org/description"
],
"disambiguatingDescription": [
"https://schema.org/disambiguatingDescription"
],
"format": [
"http://purl.org/dc/terms/format"
],
"language": [
"http://purl.org/dc/terms/language"
],
"publisher": [
"http://purl.org/dc/terms/publisher"
],
"relation": [
"http://purl.org/dc/terms/relation"
],
"rights": [
"http://purl.org/dc/terms/rights"
],
"source": [
"http://purl.org/dc/terms/source"
],
"subject": [
"http://purl.org/dc/terms/subject"
],
"title": [
"http://purl.org/dc/terms/title"
],
"type": [
"http://purl.org/dc/terms/type",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
],
"created": [
"http://purl.org/dc/terms/created"
],
"modified": [
"http://purl.org/dc/terms/modified"
],
"additionalType": [
"https://schema.org/additionalType"
],
"additionalProperty": [
"https://schema.org/additionalProperty"
],
"alternateName": [
"https://schema.org/alternateName"
],
"image": [
"https://schema.org/image"
],
"mainEntityOfPage": [
"https://schema.org/mainEntityOfPage"
],
"name": [
"https://schema.org/name"
],
"potentialAction": [
"https://schema.org/potentialAction"
],
"sameAs": [
"https://schema.org/sameAs"
],
"subjectOf": [
"https://schema.org/subjectOf"
],
"url": [
"https://schema.org/url"
],
"wasGeneratedBy": [
"http://www.w3.org/ns/prov#wasGeneratedBy"
],
"wasDerivedFrom": [
"http://www.w3.org/ns/prov#wasDerivedFrom"
],
"wasAttributedTo": [
"http://www.w3.org/ns/prov#wasAttributedTo"
],
"used": [
"http://www.w3.org/ns/prov#used"
],
"startedAtTime": [
"http://www.w3.org/ns/prov#startedAtTime"
],
"wasInformedBy": [
"http://www.w3.org/ns/prov#wasInformedBy"
],
"endedAtTime": [
"http://www.w3.org/ns/prov#endedAtTime"
],
"broadMatch": [
"http://www.w3.org/2004/02/skos/core#broadMatch"
],
"closeMatch": [
"http://www.w3.org/2004/02/skos/core#closeMatch"
],
"exactMatch": [
"http://www.w3.org/2004/02/skos/core#exactMatch"
],
"narrowMatch": [
"http://www.w3.org/2004/02/skos/core#narrowMatch"
],
"relatedMatch": [
"http://www.w3.org/2004/02/skos/core#relatedMatch"
],
"actionStatus": [
"https://schema.org/actionStatus"
],
"agent": [
"https://schema.org/agent"
],
"endTime": [
"https://schema.org/endTime"
],
"error": [
"https://schema.org/error"
],
"instrument": [
"https://schema.org/instrument"
],
"location": [
"https://schema.org/location"
],
"object": [
"https://schema.org/object"
],
"participant": [
"https://schema.org/participant"
],
"result": [
"https://schema.org/result"
],
"startTime": [
"https://schema.org/startTime"
],
"targetCollection": [
"https://schema.org/targetCollection"
]
}
}
Loading

0 comments on commit b6f1e9c

Please sign in to comment.