Codebase · JSON-LD Context

Codebase Design Context

JSON-LD context defining the semantic vocabulary for Codebase Design from Codebase.

19 Classes 61 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
codebase: https://codebase.design/schema#

Classes

BuildFailure BuildHandoff CommunityLeaderboardRow CommunityFeaturedBuild CommunityLeaderboardResponse CommunityVoteSet CreateChatRoomRequest SendChatMessageRequest EditChatMessageRequest ChatReactionRequest InviteChatMemberRequest TypingRequest ReadReceiptRequest BuildChatLink PrivateBotThread PrivateBotMessage PrivateBotCommandRequest PrivateBotCommandResponse SharePrivateBotMessageRequest

Properties

Property Type Container
code string
message string
retryable boolean
detail string
previewUrl string
previewExpiresAt integer
workspaceUrl string
sourceUrl string
failure reference
rank integer
builderId string
alias string
planId string
voteWeight integer
tokensUsed integer
completedProjects integer
publishedBuilds integer
weightedUpvotes integer
upvoteCount integer
score integer
featuredBuild reference
projectId string
title string
description string
tags list
publishedAt integer
viewCount integer
forkCount integer
viewerHasVoted boolean
rows list
totals
weights list
viewerVoteWeight integer
projectIds list
name string
topic string
workspaceUuid string
inviteUserIds list
body string
msgtype string
clientMessageId string
replyToEventId string
emoji string
inviteeUserId string
inviteeDisplayName string
typing boolean
eventId string
id string
roomId string
builderChatId string
builderSessionId string
createdAt integer
updatedAt integer
threadId string
role string
command string
args string
clientInvocationId string
private boolean
thread reference
summaryBody string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://codebase.design/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "codebase": "https://codebase.design/schema#",
    "BuildFailure": "codebase:BuildFailure",
    "code": {
      "@id": "codebase:code",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "codebase:message",
      "@type": "xsd:string"
    },
    "retryable": {
      "@id": "codebase:retryable",
      "@type": "xsd:boolean"
    },
    "detail": {
      "@id": "codebase:detail",
      "@type": "xsd:string"
    },
    "BuildHandoff": "codebase:BuildHandoff",
    "previewUrl": {
      "@id": "codebase:previewUrl",
      "@type": "xsd:string"
    },
    "previewExpiresAt": {
      "@id": "codebase:previewExpiresAt",
      "@type": "xsd:integer"
    },
    "workspaceUrl": {
      "@id": "codebase:workspaceUrl",
      "@type": "xsd:string"
    },
    "sourceUrl": {
      "@id": "codebase:sourceUrl",
      "@type": "xsd:string"
    },
    "failure": {
      "@id": "codebase:failure",
      "@type": "@id"
    },
    "CommunityLeaderboardRow": "codebase:CommunityLeaderboardRow",
    "rank": {
      "@id": "codebase:rank",
      "@type": "xsd:integer"
    },
    "builderId": {
      "@id": "codebase:builderId",
      "@type": "xsd:string"
    },
    "alias": {
      "@id": "codebase:alias",
      "@type": "xsd:string"
    },
    "planId": {
      "@id": "codebase:planId",
      "@type": "xsd:string"
    },
    "voteWeight": {
      "@id": "codebase:voteWeight",
      "@type": "xsd:integer"
    },
    "tokensUsed": {
      "@id": "codebase:tokensUsed",
      "@type": "xsd:integer"
    },
    "completedProjects": {
      "@id": "codebase:completedProjects",
      "@type": "xsd:integer"
    },
    "publishedBuilds": {
      "@id": "codebase:publishedBuilds",
      "@type": "xsd:integer"
    },
    "weightedUpvotes": {
      "@id": "codebase:weightedUpvotes",
      "@type": "xsd:integer"
    },
    "upvoteCount": {
      "@id": "codebase:upvoteCount",
      "@type": "xsd:integer"
    },
    "score": {
      "@id": "codebase:score",
      "@type": "xsd:integer"
    },
    "featuredBuild": {
      "@id": "codebase:featuredBuild",
      "@type": "@id"
    },
    "CommunityFeaturedBuild": "codebase:CommunityFeaturedBuild",
    "projectId": {
      "@id": "codebase:projectId",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "codebase:title",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "codebase:description",
      "@type": "xsd:string"
    },
    "tags": {
      "@id": "codebase:tags",
      "@container": "@list"
    },
    "publishedAt": {
      "@id": "codebase:publishedAt",
      "@type": "xsd:integer"
    },
    "viewCount": {
      "@id": "codebase:viewCount",
      "@type": "xsd:integer"
    },
    "forkCount": {
      "@id": "codebase:forkCount",
      "@type": "xsd:integer"
    },
    "viewerHasVoted": {
      "@id": "codebase:viewerHasVoted",
      "@type": "xsd:boolean"
    },
    "CommunityLeaderboardResponse": "codebase:CommunityLeaderboardResponse",
    "rows": {
      "@id": "codebase:rows",
      "@container": "@list"
    },
    "totals": {
      "@id": "codebase:totals"
    },
    "weights": {
      "@id": "codebase:weights",
      "@container": "@list"
    },
    "viewerVoteWeight": {
      "@id": "codebase:viewerVoteWeight",
      "@type": "xsd:integer"
    },
    "CommunityVoteSet": "codebase:CommunityVoteSet",
    "projectIds": {
      "@id": "codebase:projectIds",
      "@container": "@list"
    },
    "CreateChatRoomRequest": "codebase:CreateChatRoomRequest",
    "name": {
      "@id": "codebase:name",
      "@type": "xsd:string"
    },
    "topic": {
      "@id": "codebase:topic",
      "@type": "xsd:string"
    },
    "workspaceUuid": {
      "@id": "codebase:workspaceUuid",
      "@type": "xsd:string"
    },
    "inviteUserIds": {
      "@id": "codebase:inviteUserIds",
      "@container": "@list"
    },
    "SendChatMessageRequest": "codebase:SendChatMessageRequest",
    "body": {
      "@id": "codebase:body",
      "@type": "xsd:string"
    },
    "msgtype": {
      "@id": "codebase:msgtype",
      "@type": "xsd:string"
    },
    "clientMessageId": {
      "@id": "codebase:clientMessageId",
      "@type": "xsd:string"
    },
    "replyToEventId": {
      "@id": "codebase:replyToEventId",
      "@type": "xsd:string"
    },
    "EditChatMessageRequest": "codebase:EditChatMessageRequest",
    "ChatReactionRequest": "codebase:ChatReactionRequest",
    "emoji": {
      "@id": "codebase:emoji",
      "@type": "xsd:string"
    },
    "InviteChatMemberRequest": "codebase:InviteChatMemberRequest",
    "inviteeUserId": {
      "@id": "codebase:inviteeUserId",
      "@type": "xsd:string"
    },
    "inviteeDisplayName": {
      "@id": "codebase:inviteeDisplayName",
      "@type": "xsd:string"
    },
    "TypingRequest": "codebase:TypingRequest",
    "typing": {
      "@id": "codebase:typing",
      "@type": "xsd:boolean"
    },
    "ReadReceiptRequest": "codebase:ReadReceiptRequest",
    "eventId": {
      "@id": "codebase:eventId",
      "@type": "xsd:string"
    },
    "BuildChatLink": "codebase:BuildChatLink",
    "id": {
      "@id": "codebase:id",
      "@type": "xsd:string"
    },
    "roomId": {
      "@id": "codebase:roomId",
      "@type": "xsd:string"
    },
    "builderChatId": {
      "@id": "codebase:builderChatId",
      "@type": "xsd:string"
    },
    "builderSessionId": {
      "@id": "codebase:builderSessionId",
      "@type": "xsd:string"
    },
    "PrivateBotThread": "codebase:PrivateBotThread",
    "createdAt": {
      "@id": "codebase:createdAt",
      "@type": "xsd:integer"
    },
    "updatedAt": {
      "@id": "codebase:updatedAt",
      "@type": "xsd:integer"
    },
    "PrivateBotMessage": "codebase:PrivateBotMessage",
    "threadId": {
      "@id": "codebase:threadId",
      "@type": "xsd:string"
    },
    "role": {
      "@id": "codebase:role",
      "@type": "xsd:string"
    },
    "PrivateBotCommandRequest": "codebase:PrivateBotCommandRequest",
    "command": {
      "@id": "codebase:command",
      "@type": "xsd:string"
    },
    "args": {
      "@id": "codebase:args",
      "@type": "xsd:string"
    },
    "clientInvocationId": {
      "@id": "codebase:clientInvocationId",
      "@type": "xsd:string"
    },
    "PrivateBotCommandResponse": "codebase:PrivateBotCommandResponse",
    "private": {
      "@id": "codebase:private",
      "@type": "xsd:boolean"
    },
    "thread": {
      "@id": "codebase:thread",
      "@type": "@id"
    },
    "SharePrivateBotMessageRequest": "codebase:SharePrivateBotMessageRequest",
    "summaryBody": {
      "@id": "codebase:summaryBody",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Codebase API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Codebase's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-04) from openapi/codebase-design-openapi.yml.",
  "dcterms:created": "2026-11-04",
  "dcterms:source": [
    "openapi/codebase-design-openapi.yml"
  ]
}