changedOutput schema / properties / result / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "properties": {
- "aiReplySuggestion": {
- "description": "Draft reply for a human to review before posting",
- "type": [
- "string",
- "null"
- ]
- },
- "author": {
- "description": "Author's public handle on that network",
- "type": [
- "string",
- "null"
- ]
- },
- "contentText": {
- "type": [
- "string",
- "null"
- ]
- },
- "createdAt": {
- "$ref": "#/properties/result/anyOf/0/properties/publishedAt"
- },
- "id": {
- "description": "Mention ID for update_mention_status and explain_mention",
- "type": "string"
- },
- "ingestedAt": {
- "$ref": "#/properties/result/anyOf/0/properties/publishedAt"
- },
- "keyword": {
- "description": "The monitored keyword this conversation matched",
- "type": [
- "string",
- "null"
- ]
- },
- "publishedAt": {
- "type": [
- "string",
- "null"
- ]
- },
- "relevanceReason": {
- "description": "Why the scorer chose that score",
- "type": [
- "string",
- "null"
- ]
- },
- "relevanceScore": {
- "description": "AI score from 0 to 100, higher means more worth a reply; null until scored",
- "type": [
- "number",
- "null"
- ]
- },
- "reviewedAt": {
- "$ref": "#/properties/result/anyOf/0/properties/publishedAt"
- },
- "source": {
- "description": "REDDIT_POST, REDDIT_COMMENT, TWITTER, BLUESKY, HACKERNEWS, FACEBOOK or FACEBOOK_GROUP",
- "type": "string"
- },
- "status": {
- "description": "NEW, APPROVED or REJECTED",
- "type": "string"
- },
- "subreddit": {
- "description": "The subreddit on Reddit, the group id on FACEBOOK_GROUP, otherwise null",
- "type": [
- "string",
- "null"
- ]
- },
- "tags": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "title": {
- "type": [
- "string",
- "null"
- ]
- },
- "updatedAt": {
- "$ref": "#/properties/result/anyOf/0/properties/publishedAt"
- },
- "url": {
- "description": "Link to the conversation; null when the platform gives no public link",
- "type": [
- "string",
- "null"
- ]
- },
- "websiteId": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "websiteId",
- "source",
- "status"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "properties": {
+ "aiReplySuggestion": {
+ "description": "Draft reply for a human to review before posting; null until generated",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "author": {
+ "description": "Author's public handle on that network",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "contentText": {
+ "description": "Text of the post or comment",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "createdAt": {
+ "description": "Record creation time, ISO 8601",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Mention ID for update_mention_status and explain_mention",
+ "type": "string"
+ },
+ "ingestedAt": {
+ "description": "When RedReplier saved it, ISO 8601; the from and to filters use this",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "keyword": {
+ "description": "The monitored keyword this conversation matched",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "publishedAt": {
+ "description": "When the author posted it, ISO 8601; null when the network gives no date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "relevanceReason": {
+ "description": "Why the scorer chose that score; null until generated",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "relevanceScore": {
+ "description": "AI score from 0 to 100, higher means more worth a reply; null until scored",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "reviewedAt": {
+ "description": "When it was last set to APPROVED or REJECTED; null while NEW",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "description": "REDDIT_POST, REDDIT_COMMENT, TWITTER, BLUESKY, HACKERNEWS, FACEBOOK or FACEBOOK_GROUP",
+ "type": "string"
+ },
+ "status": {
+ "description": "Triage status: NEW, APPROVED or REJECTED",
+ "type": "string"
+ },
+ "subreddit": {
+ "description": "The subreddit on Reddit, the group id on FACEBOOK_GROUP, otherwise null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tags": {
+ "description": "Tags the AI attached when explaining the mention",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "description": "Post title; null when the post has none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "updatedAt": {
+ "description": "Record update time, ISO 8601",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "Link to the conversation; null when the platform gives no public link",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "websiteId": {
+ "description": "Website whose keyword matched",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "websiteId",
+ "source",
+ "keyword",
+ "title",
+ "contentText",
+ "url",
+ "author",
+ "subreddit",
+ "status",
+ "relevanceScore",
+ "relevanceReason",
+ "aiReplySuggestion",
+ "tags",
+ "publishedAt",
+ "ingestedAt",
+ "reviewedAt",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]