summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzPlus <zplus@peers.community>2020-05-15 08:04:53 +0200
committerzPlus <zplus@peers.community>2020-05-15 08:04:53 +0200
commitb7277d233ce9b6cc5065f4369421ef779c44ed09 (patch)
tree59d94a82b930e76dbe0c77e03a75c8ca99f727f9
parent029e3987e24711f7b196c38d3e1365cc4c7c89f7 (diff)
Add ontology file.
This commit adds classes and properties to the ontology file such that the @context can be retrieved by JSON-LD processors for those activities that do not define the context inline.
-rw-r--r--rdf/context.jsonld75
1 files changed, 73 insertions, 2 deletions
diff --git a/rdf/context.jsonld b/rdf/context.jsonld
index 06bbb35..f45e311 100644
--- a/rdf/context.jsonld
+++ b/rdf/context.jsonld
@@ -1,4 +1,75 @@
-{ "@context":
- { "forge": "https://forgefed.peers.community/ns#
+{
+ "@context":
+ {
+ "@vocab": "_:",
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "as": "https://www.w3.org/ns/activitystreams#",
+ "forge": "https://forgefed.peers.community/ns#",
+ "sec": "https://w3id.org/security#",
+
+ "Branch": "forge:Branch",
+ "Commit": "forge:Commit",
+ "Push": "forge:Push",
+ "Repository": "forge:Repository",
+ "Ticket": "forge:Ticket",
+ "TicketDependency": "forge:TicketDependency",
+
+ "earlyItems": {
+ "@id": "forge:earlyItems",
+ "@type": "@id" },
+ "assignedTo": {
+ "@id": "forge:assignedTo",
+ "@type": "@id" },
+ "isResolved": {
+ "@id": "forge:isResolved",
+ "@type": "xsd:boolean" },
+ "dependsOn": {
+ "@id": "forge:dependsOn",
+ "@type": "@id" },
+ "dependedBy": {
+ "@id": "forge:dependedBy",
+ "@type": "@id" },
+ "dependencies": {
+ "@id": "forge:dependencies",
+ "@type": "@id" },
+ "dependants": {
+ "@id": "forge:dependants",
+ "@type": "@id" },
+ "description": {
+ "@id": "forge:description",
+ "@type": "@id" },
+ "committedBy": {
+ "@id": "forge:committedBy",
+ "@type": "@id" },
+ "hash": {
+ "@id": "forge:hash",
+ "@type": "xsd:string" },
+ "committed": {
+ "@id": "forge:committed",
+ "@type": "xsd:dateTime" },
+ "filesAdded": {
+ "@id": "forge:filesAdded",
+ "@type": "xsd:string" },
+ "filesModified": {
+ "@id": "forge:filesModified",
+ "@type": "xsd:string" },
+ "filesRemoved": {
+ "@id": "forge:filesRemoved",
+ "@type": "xsd:string" },
+ "ref": {
+ "@id": "forge:ref",
+ "@type": "xsd:string" },
+ "team": {
+ "@id": "forge:team",
+ "@type": "@id" },
+ "ticketsTrackedBy": {
+ "@id": "forge:ticketsTrackedBy",
+ "@type": "@id" },
+ "tracksTicketsFor": {
+ "@id": "forge:tracksTicketsFor",
+ "@type": "@id" },
+ "forks": {
+ "@id": "forge:forks",
+ "@type": "@id" }
}
}