Modly · JSON-LD Context
Modly Cc Context
JSON-LD context defining the semantic vocabulary for Modly Cc from Modly.
11 Classes
38 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
modly:
https://modly.cc/schema#
Classes
ConfigUpdate
Guild
ErrorEnvelope
ApiError
ApiErrorCode
ModuleSummary
ModuleSchema
ModuleConfig
LeaderboardEntry
PageMeta
ModerationCase
Properties
| Property | Type | Container |
|---|---|---|
| config | ||
| enabled | boolean | |
| expectedRevision | integer | |
| id | string | |
| name | string | |
| icon | string | |
| locale | string | |
| tier | string | |
| success | boolean | |
| data | ||
| error | reference | |
| meta | ||
| code | reference | |
| message | string | |
| details | ||
| availability | string | |
| moduleId | string | |
| schemaVersion | integer | |
| revision | integer | |
| valid | boolean | |
| rank | integer | |
| userId | string | |
| xp | integer | |
| level | integer | |
| messages | integer | |
| voiceSeconds | integer | |
| page | integer | |
| limit | integer | |
| total | integer | |
| caseNumber | integer | |
| action | string | |
| targetId | string | |
| moderatorId | string | |
| reason | string | |
| durationSeconds | ||
| expiresAt | ||
| createdAt | dateTime | |
| revokedAt |
JSON-LD Document
{
"@context": {
"@vocab": "https://modly.cc/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"modly": "https://modly.cc/schema#",
"ConfigUpdate": "modly:ConfigUpdate",
"config": {
"@id": "modly:config"
},
"enabled": {
"@id": "modly:enabled",
"@type": "xsd:boolean"
},
"expectedRevision": {
"@id": "modly:expectedRevision",
"@type": "xsd:integer"
},
"Guild": "modly:Guild",
"id": {
"@id": "modly:id",
"@type": "xsd:string"
},
"name": {
"@id": "modly:name",
"@type": "xsd:string"
},
"icon": {
"@id": "modly:icon",
"@type": "xsd:string"
},
"locale": {
"@id": "modly:locale",
"@type": "xsd:string"
},
"tier": {
"@id": "modly:tier",
"@type": "xsd:string"
},
"ErrorEnvelope": "modly:ErrorEnvelope",
"success": {
"@id": "modly:success",
"@type": "xsd:boolean"
},
"data": {
"@id": "modly:data"
},
"error": {
"@id": "modly:error",
"@type": "@id"
},
"meta": {
"@id": "modly:meta"
},
"ApiError": "modly:ApiError",
"code": {
"@id": "modly:code",
"@type": "@id"
},
"message": {
"@id": "modly:message",
"@type": "xsd:string"
},
"details": {
"@id": "modly:details"
},
"ApiErrorCode": "modly:ApiErrorCode",
"ModuleSummary": "modly:ModuleSummary",
"availability": {
"@id": "modly:availability",
"@type": "xsd:string"
},
"ModuleSchema": "modly:ModuleSchema",
"moduleId": {
"@id": "modly:moduleId",
"@type": "xsd:string"
},
"schemaVersion": {
"@id": "modly:schemaVersion",
"@type": "xsd:integer"
},
"ModuleConfig": "modly:ModuleConfig",
"revision": {
"@id": "modly:revision",
"@type": "xsd:integer"
},
"valid": {
"@id": "modly:valid",
"@type": "xsd:boolean"
},
"LeaderboardEntry": "modly:LeaderboardEntry",
"rank": {
"@id": "modly:rank",
"@type": "xsd:integer"
},
"userId": {
"@id": "modly:userId",
"@type": "xsd:string"
},
"xp": {
"@id": "modly:xp",
"@type": "xsd:integer"
},
"level": {
"@id": "modly:level",
"@type": "xsd:integer"
},
"messages": {
"@id": "modly:messages",
"@type": "xsd:integer"
},
"voiceSeconds": {
"@id": "modly:voiceSeconds",
"@type": "xsd:integer"
},
"PageMeta": "modly:PageMeta",
"page": {
"@id": "modly:page",
"@type": "xsd:integer"
},
"limit": {
"@id": "modly:limit",
"@type": "xsd:integer"
},
"total": {
"@id": "modly:total",
"@type": "xsd:integer"
},
"ModerationCase": "modly:ModerationCase",
"caseNumber": {
"@id": "modly:caseNumber",
"@type": "xsd:integer"
},
"action": {
"@id": "modly:action",
"@type": "xsd:string"
},
"targetId": {
"@id": "modly:targetId",
"@type": "xsd:string"
},
"moderatorId": {
"@id": "modly:moderatorId",
"@type": "xsd:string"
},
"reason": {
"@id": "modly:reason",
"@type": "xsd:string"
},
"durationSeconds": {
"@id": "modly:durationSeconds"
},
"expiresAt": {
"@id": "modly:expiresAt"
},
"createdAt": {
"@id": "modly:createdAt",
"@type": "xsd:dateTime"
},
"revokedAt": {
"@id": "modly:revokedAt"
}
},
"@type": "schema:Dataset",
"schema:name": "Modly API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Modly'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-19) from openapi/modly-cc-openapi.json.",
"dcterms:created": "2026-11-19",
"dcterms:source": [
"openapi/modly-cc-openapi.json"
]
}