{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"author": {
"type": "string",
"description": "Author URN (e.g., urn:li:person:XXXXXX)"
},
"text": {
"type": "string",
"description": "Post text content or commentary"
},
"url": {
"type": "string",
"description": "Optional URL of the link/article to share. If provided, creates an article post; otherwise creates a text-only post"
},
"title": {
"type": "string",
"description": "Title for the shared link (only used when url is provided)"
},
"description": {
"type": "string",
"description": "Description for the shared link (only used when url is provided)"
},
"lifecycleState": {
"type": "string",
"enum": [
"PUBLISHED",
"DRAFT"
],
"default": "PUBLISHED",
"description": "Post lifecycle state"
},
"visibility": {
"type": "string",
"enum": [
"PUBLIC",
"CONNECTIONS",
"LOGGED_IN"
],
"default": "PUBLIC",
"description": "Post visibility setting"
}
},
"required": [
"PCID",
"author",
"text"
]
}