{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-like-page-schema.json",
  "title": "LikePage",
  "description": "Paginated list of likes",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-feeds-api-openapi.yml#/components/schemas/LikePage",
  "type": "object",
  "properties": {
    "currentPageToken": {
      "type": "string"
    },
    "currentPageUrl": {
      "type": "string",
      "format": "uri"
    },
    "likes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Like"
      }
    },
    "nextPageToken": {
      "type": "string"
    },
    "nextPageUrl": {
      "type": "string",
      "format": "uri"
    },
    "total": {
      "type": "integer"
    }
  },
  "$defs": {
    "ActorReference": {
      "type": "object",
      "description": "Reference to a user or record",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "Like": {
      "type": "object",
      "description": "A like on a feed element or comment",
      "properties": {
        "id": {
          "type": "string"
        },
        "createdDate": {
          "type": "string",
          "format": "date-time"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "user": {
          "$ref": "#/$defs/ActorReference"
        }
      }
    }
  }
}