Gitea · JSON-LD Context
Gitea Context
JSON-LD context defining the semantic vocabulary for Gitea from Gitea.
0 Classes
14 Properties
6 Namespaces
Namespaces
gitea:
https://gitea.com/ns/
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
doap:
http://usefulinc.com/ns/doap#
foaf:
http://xmlns.com/foaf/0.1/
Properties
| Property | Type | Container |
|---|---|---|
| Repository | ||
| User | ||
| Organization | ||
| Team | ||
| Issue | ||
| PullRequest | ||
| Branch | ||
| Commit | ||
| Release | ||
| Hook | ||
| Package | ||
| NotificationThread | ||
| Label | ||
| Milestone |
JSON-LD Document
{
"@context": {
"@version": 1.1,
"gitea": "https://gitea.com/ns/",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"doap": "http://usefulinc.com/ns/doap#",
"foaf": "http://xmlns.com/foaf/0.1/",
"Repository": {
"@id": "doap:GitRepository",
"@context": {
"id": "schema:identifier",
"name": "schema:name",
"fullName": "schema:alternateName",
"description": "schema:description",
"owner": { "@id": "schema:author", "@type": "@id" },
"private": "gitea:private",
"fork": "gitea:fork",
"empty": "gitea:empty",
"htmlUrl": { "@id": "schema:url", "@type": "@id" },
"sshUrl": "gitea:sshUrl",
"cloneUrl": "gitea:cloneUrl",
"defaultBranch": "gitea:defaultBranch",
"starsCount": "gitea:starsCount",
"forksCount": "gitea:forksCount",
"watchersCount": "gitea:watchersCount",
"openIssuesCount": "gitea:openIssuesCount",
"createdAt": { "@id": "dcterms:created", "@type": "xsd:dateTime" },
"updatedAt": { "@id": "dcterms:modified", "@type": "xsd:dateTime" }
}
},
"User": {
"@id": "schema:Person",
"@context": {
"id": "schema:identifier",
"login": "gitea:login",
"username": "gitea:username",
"fullName": "schema:name",
"email": "schema:email",
"avatarUrl": { "@id": "schema:image", "@type": "@id" },
"isAdmin": "gitea:isAdmin",
"createdAt": { "@id": "dcterms:created", "@type": "xsd:dateTime" }
}
},
"Organization": {
"@id": "schema:Organization",
"@context": {
"id": "schema:identifier",
"username": "gitea:username",
"fullName": "schema:name",
"description": "schema:description",
"website": { "@id": "schema:url", "@type": "@id" },
"visibility": "gitea:visibility",
"avatarUrl": { "@id": "schema:image", "@type": "@id" }
}
},
"Team": {
"@id": "schema:Organization",
"@context": {
"id": "schema:identifier",
"name": "schema:name",
"description": "schema:description",
"permission": "gitea:permission",
"units": "gitea:units"
}
},
"Issue": {
"@id": "gitea:Issue",
"@context": {
"id": "schema:identifier",
"number": "gitea:number",
"title": "schema:headline",
"body": "schema:articleBody",
"state": "gitea:state",
"user": { "@id": "schema:author", "@type": "@id" },
"labels": "gitea:labels",
"assignees": "gitea:assignees",
"milestone": "gitea:milestone",
"comments": "gitea:commentsCount",
"htmlUrl": { "@id": "schema:url", "@type": "@id" },
"createdAt": { "@id": "dcterms:created", "@type": "xsd:dateTime" },
"updatedAt": { "@id": "dcterms:modified", "@type": "xsd:dateTime" }
}
},
"PullRequest": {
"@id": "gitea:PullRequest",
"@context": {
"id": "schema:identifier",
"number": "gitea:number",
"title": "schema:headline",
"body": "schema:articleBody",
"state": "gitea:state",
"head": "gitea:head",
"base": "gitea:base",
"mergeable": "gitea:mergeable",
"merged": "gitea:merged",
"mergedAt": { "@id": "gitea:mergedAt", "@type": "xsd:dateTime" },
"createdAt": { "@id": "dcterms:created", "@type": "xsd:dateTime" }
}
},
"Branch": {
"@id": "gitea:Branch",
"@context": {
"name": "schema:name",
"commit": "gitea:commit",
"protected": "gitea:protected"
}
},
"Commit": {
"@id": "gitea:Commit",
"@context": {
"sha": "gitea:sha",
"message": "schema:text",
"author": { "@id": "schema:author", "@type": "@id" },
"committer": { "@id": "schema:contributor", "@type": "@id" },
"url": { "@id": "schema:url", "@type": "@id" }
}
},
"Release": {
"@id": "gitea:Release",
"@context": {
"id": "schema:identifier",
"tagName": "gitea:tagName",
"name": "schema:name",
"body": "schema:description",
"draft": "gitea:draft",
"prerelease": "gitea:prerelease",
"createdAt": { "@id": "dcterms:created", "@type": "xsd:dateTime" },
"publishedAt": { "@id": "schema:datePublished", "@type": "xsd:dateTime" }
}
},
"Hook": {
"@id": "gitea:Webhook",
"@context": {
"id": "schema:identifier",
"type": "gitea:hookType",
"config": "gitea:config",
"events": "gitea:events",
"active": "gitea:active",
"createdAt": { "@id": "dcterms:created", "@type": "xsd:dateTime" }
}
},
"Package": {
"@id": "gitea:Package",
"@context": {
"id": "schema:identifier",
"owner": { "@id": "schema:author", "@type": "@id" },
"type": "gitea:packageType",
"name": "schema:name",
"version": "gitea:version",
"createdAt": { "@id": "dcterms:created", "@type": "xsd:dateTime" }
}
},
"NotificationThread": {
"@id": "gitea:NotificationThread",
"@context": {
"id": "schema:identifier",
"unread": "gitea:unread",
"subject": "gitea:subject",
"repository": "gitea:repository",
"updatedAt": { "@id": "dcterms:modified", "@type": "xsd:dateTime" }
}
},
"Label": {
"@id": "gitea:Label",
"@context": {
"id": "schema:identifier",
"name": "schema:name",
"color": "gitea:color",
"description": "schema:description"
}
},
"Milestone": {
"@id": "gitea:Milestone",
"@context": {
"id": "schema:identifier",
"title": "schema:name",
"description": "schema:description",
"state": "gitea:state",
"dueOn": { "@id": "schema:expires", "@type": "xsd:dateTime" }
}
}
}
}