Commentary · Schema
ReviewThread
CompanyAI AgentsHuman-in-the-loopCode ReviewDocument ReviewMarkdownPull RequestsMCPDeveloper ToolsCollaboration
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| filePath | string | |
| status | string | |
| anchorStatus | string | |
| blockId | string | |
| nodeType | string | |
| sourceLineStart | integer | |
| sourceLineEnd | integer | |
| selectedText | stringnull | |
| prefixText | stringnull | |
| suffixText | stringnull | |
| artifactKind | string | |
| visualTarget | object | |
| feedbackSignals | array | |
| feedbackSummary | objectnull | |
| consensus | objectnull | |
| comments | array | |
| createdAt | string | |
| updatedAt | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-review-thread-schema.json",
"title": "ReviewThread",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/commentary-dev-draft-reviews-api-openapi.yml#/components/schemas/ReviewThread",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"filePath": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"open",
"resolved"
]
},
"anchorStatus": {
"type": "string"
},
"blockId": {
"type": "string"
},
"nodeType": {
"type": "string"
},
"sourceLineStart": {
"type": "integer"
},
"sourceLineEnd": {
"type": "integer"
},
"selectedText": {
"type": [
"string",
"null"
]
},
"prefixText": {
"type": [
"string",
"null"
]
},
"suffixText": {
"type": [
"string",
"null"
]
},
"artifactKind": {
"type": "string",
"enum": [
"markdown",
"html",
"form",
"image",
"svg",
"mermaid"
]
},
"visualTarget": {
"oneOf": [
{
"$ref": "#/$defs/ReviewVisualTarget"
},
{
"type": "null"
}
]
},
"feedbackSignals": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"feedbackSummary": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"consensus": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"comments": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": true,
"$defs": {
"ReviewVisualTarget": {
"type": "object",
"required": [
"surfaceKind",
"surfaceId",
"occurrenceId",
"sourceKind",
"sourceLanguage",
"region",
"hostArtifactKind",
"hostFilePath",
"hostBlockId",
"editable"
],
"properties": {
"surfaceKind": {
"type": "string",
"enum": [
"raster_image",
"svg",
"mermaid"
]
},
"surfaceId": {
"type": "string",
"maxLength": 256
},
"occurrenceId": {
"type": "string",
"maxLength": 256
},
"sourceKind": {
"type": "string",
"enum": [
"repository",
"draft",
"embedded",
"external"
]
},
"sourcePath": {
"type": [
"string",
"null"
],
"maxLength": 2048
},
"sourceRef": {
"type": [
"string",
"null"
],
"maxLength": 512
},
"sourceHash": {
"type": [
"string",
"null"
],
"maxLength": 256
},
"sourceLanguage": {
"type": "string",
"enum": [
"binary",
"svg",
"mermaid",
"markdown",
"html"
]
},
"intrinsicWidth": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"intrinsicHeight": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"viewBox": {
"type": [
"string",
"null"
],
"maxLength": 128
},
"region": {
"$ref": "#/$defs/VisualRegion"
},
"hostArtifactKind": {
"type": "string",
"enum": [
"markdown",
"html",
"form",
"image",
"svg",
"mermaid"
]
},
"hostFilePath": {
"type": "string",
"maxLength": 2048
},
"hostBlockId": {
"type": "string",
"maxLength": 256
},
"sourceLineStart": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"sourceLineEnd": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"slideId": {
"type": [
"string",
"null"
],
"maxLength": 256
},
"elementHint": {
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"id": {
"type": [
"string",
"null"
],
"maxLength": 256
},
"tagName": {
"type": [
"string",
"null"
],
"maxLength": 64
},
"accessibleName": {
"type": [
"string",
"null"
],
"maxLength": 512
},
"title": {
"type": [
"string",
"null"
],
"maxLength": 512
}
}
},
"editable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"VisualRegion": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
}
},
"additionalProperties": false
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/commentary-dev-review-thread"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.