Change Schema for Comments
Introduction
Schema Overview
Structure Definition
JSON Schema (Simplified Overview)
{
"type": "object",
"properties": {
"change": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"NEW_COMMENT",
"COMMENT_THREAD_RESOLVED",
"COMMENT_THREAD_REOPENED",
"COMMENT_EDITED",
"COMMENT_DELETED"
]
},
"payload": {
"type": "object"
}
},
"required": ["type", "payload"]
},
"comments": {
"type": "object",
"additionalProperties": {
"$ref": "comment.schema.json"
}
},
"threadUsers": {
"type": "object",
"properties": {
"contributors": {
"type": "array",
"items": {
"$ref": "user.schema.json"
}
}
}
}
},
"required": ["change"]
}Field Descriptions
Usage Examples
Example: New Comment
Additional Considerations
Last updated
Was this helpful?

