Stack Exchange · Schema

SuggestedEdit

A pending edit suggested by a user.

Q And ADeveloper CommunityKnowledge GraphStack OverflowStack ExchangeReputationTagsCommunityMCPAI Grounding

Properties

Name Type Description
suggested_edit_id integer
post_id integer
post_type string
body string
title string
tags array
comment string
creation_date integer
approval_date integer
rejection_date integer
proposing_user object Lightweight user reference embedded in posts and comments.
View JSON Schema on GitHub

JSON Schema

stackexchange-api-v2-3-suggested-edit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SuggestedEdit",
  "description": "A pending edit suggested by a user.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stackexchange/refs/heads/main/json-schema/stackexchange-api-v2-3-suggested-edit-schema.json",
  "type": "object",
  "properties": {
    "suggested_edit_id": {
      "type": "integer",
      "example": 12345
    },
    "post_id": {
      "type": "integer",
      "example": 11227809
    },
    "post_type": {
      "type": "string",
      "enum": [
        "question",
        "answer"
      ],
      "example": "question"
    },
    "body": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "comment": {
      "type": "string"
    },
    "creation_date": {
      "type": "integer",
      "format": "int64"
    },
    "approval_date": {
      "type": "integer",
      "format": "int64"
    },
    "rejection_date": {
      "type": "integer",
      "format": "int64"
    },
    "proposing_user": {
      "type": "object",
      "description": "Lightweight user reference embedded in posts and comments.",
      "properties": {
        "user_id": {
          "type": "integer",
          "format": "int64",
          "example": 22656
        },
        "user_type": {
          "type": "string",
          "enum": [
            "unregistered",
            "registered",
            "moderator",
            "team_admin",
            "does_not_exist"
          ],
          "example": "registered"
        },
        "display_name": {
          "type": "string",
          "example": "Jon Skeet"
        },
        "reputation": {
          "type": "integer",
          "example": 1500000
        },
        "profile_image": {
          "type": "string",
          "format": "uri",
          "example": "https://i.sstatic.net/lLZAr.jpg?s=128"
        },
        "link": {
          "type": "string",
          "format": "uri",
          "example": "https://stackoverflow.com/users/22656/jon-skeet"
        },
        "accept_rate": {
          "type": "integer",
          "example": 92
        }
      }
    }
  }
}