# PostDetailsData

Exact schema from the public v1 contract. Resolve component references using the links below.

```json
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "format": "uri"
    },
    "text": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 10000
        },
        {
          "type": "null"
        }
      ]
    },
    "author": {
      "$ref": "#/components/schemas/PostDetailsAuthor"
    },
    "contentType": {
      "type": "string",
      "enum": [
        "text",
        "image",
        "video",
        "document",
        "article",
        "other"
      ]
    },
    "isRepost": {
      "type": "boolean"
    },
    "reactionCount": {
      "$ref": "#/components/schemas/NonNegativeSafeInteger"
    },
    "commentCount": {
      "$ref": "#/components/schemas/NonNegativeSafeInteger"
    },
    "repostCount": {
      "$ref": "#/components/schemas/NonNegativeSafeInteger"
    },
    "reactions": {
      "maxItems": 6,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PostReactionCount"
      }
    }
  },
  "required": [
    "url",
    "text",
    "author",
    "contentType",
    "isRepost",
    "reactionCount",
    "commentCount",
    "repostCount",
    "reactions"
  ],
  "additionalProperties": false
}
```

## Referenced schemas

* [PostDetailsAuthor](https://docs.envoapi.com/api/schemas/PostDetailsAuthor.md)
* [NonNegativeSafeInteger](https://docs.envoapi.com/api/schemas/NonNegativeSafeInteger.md)
* [PostReactionCount](https://docs.envoapi.com/api/schemas/PostReactionCount.md)

[Documentation index](https://docs.envoapi.com/llms.txt) · [All endpoints](https://docs.envoapi.com/api/index.md)
