{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reddit/json-schema/reddit-components-schema-post-schema.json",
  "title": "Post",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reddit-posts-api-openapi.yml#/components/schemas/components_schema_post",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "allow_comments": {
      "type": "boolean",
      "description": "Whether comments are allowed on the post. See how to [manage comments](https://business.reddithelp.com/s/article/Managing-ads-with-comments-on)."
    },
    "body": {
      "type": "string",
      "description": "The content for text posts.",
      "maxLength": 40000
    },
    "content": {
      "type": "array",
      "maxItems": 40,
      "description": "The post's content. Image, video, and text posts support only 1 item.",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "call_to_action": {
            "$ref": "#/$defs/components_enums_call_to_action"
          },
          "caption": {
            "type": [
              "string",
              "null"
            ],
            "description": "A carousel image's caption.",
            "maxLength": 180
          },
          "destination_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The URL to navigate users to on click. Required for image and carousel posts."
          },
          "display_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shows instead of the destination URL. Must match the destination URL domain."
          },
          "media_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "The post's media URL. Required for image, video and carousel posts."
          }
        }
      }
    },
    "created_at": {
      "$ref": "#/$defs/components_schema_created_at"
    },
    "headline": {
      "type": "string",
      "description": "The post's title."
    },
    "id": {
      "type": "string",
      "description": "The post ID.",
      "pattern": "^t3_.*",
      "readOnly": true
    },
    "is_richtext": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether the text post body uses richtext."
    },
    "post_url": {
      "type": "string",
      "description": "The post URL.",
      "readOnly": true
    },
    "profile_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The post's profile ID.",
      "pattern": "^t2_.*",
      "readOnly": true
    },
    "thumbnail_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "The post's thumbnail URL. Required for video posts. See the [thumbnail requirements for your ad type](https://business.reddithelp.com/s/article/Reddit-Ad-Unit-Specifications#ad-types)."
    },
    "type": {
      "type": "string",
      "description": "The [post type](https://business.reddithelp.com/s/article/Reddit-Ad-Unit-Specifications#ad-types).",
      "enum": [
        "CAROUSEL",
        "IMAGE",
        "TEXT",
        "VIDEO"
      ]
    }
  },
  "$defs": {
    "components_enums_call_to_action": {
      "type": [
        "string",
        "null"
      ],
      "description": "The call to action text.",
      "enum": [
        "Apply Now",
        "Contact Us",
        "Download",
        "Get a Quote",
        "Get Showtimes",
        "Install",
        "Learn More",
        "Order Now",
        "Play Now",
        "Pre-order Now",
        "See Menu",
        "Shop Now",
        "Sign Up",
        "View More",
        "Watch Now",
        "Book Now",
        "Buy Tickets",
        "Get Directions",
        "Listen Now",
        "Read More",
        "Subscribe",
        "Visit Store",
        "Donate Now",
        "Remind Me",
        null
      ]
    },
    "components_schema_created_at": {
      "description": "When this entity was created ([ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html)).",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  }
}