{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-get-all-comments-response-schema.json",
  "title": "An GetAllCommentsResponse model.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-comments-api-openapi.yml#/components/schemas/GetAllCommentsResponse",
  "type": "object",
  "properties": {
    "_links": {
      "$ref": "#/$defs/PaginationLink"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/comment"
      },
      "x-go-name": "Results"
    },
    "total_count": {
      "type": "integer",
      "format": "int32",
      "x-go-name": "TotalCount"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models",
  "$defs": {
    "LHObjType": {
      "title": "LHObjType generated on 2024-06-14T11:01:04+05:30. DO NOT EDIT.",
      "type": "string",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/mdb-maps/entity"
    },
    "PaginationLink": {
      "type": "object",
      "properties": {
        "next": {
          "type": "string",
          "x-go-name": "Next"
        },
        "prev": {
          "type": "string",
          "x-go-name": "Prev"
        },
        "self": {
          "type": "string",
          "x-go-name": "Self"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    },
    "comment": {
      "title": "Comment",
      "type": "object",
      "properties": {
        "base_type": {
          "type": "string",
          "x-go-name": "BaseType"
        },
        "commented_by": {
          "type": "string",
          "x-go-name": "CommentedBy"
        },
        "created_by": {
          "type": "string",
          "x-go-name": "CreatedBy"
        },
        "created_on": {
          "type": "string",
          "format": "date-time",
          "x-go-name": "CreatedOn"
        },
        "id": {
          "type": "string",
          "x-go-name": "CommentID"
        },
        "message": {
          "type": "string",
          "x-go-name": "Message"
        },
        "object_type": {
          "$ref": "#/$defs/LHObjType"
        },
        "properties": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {}
          },
          "x-go-name": "Properties"
        },
        "ref_base_type": {
          "type": "string",
          "x-go-name": "RefBaseType"
        },
        "ref_id": {
          "type": "string",
          "x-go-name": "RefID"
        },
        "ref_object_type": {
          "$ref": "#/$defs/LHObjType"
        },
        "type": {
          "type": "string",
          "x-go-name": "Type"
        },
        "updated_by": {
          "type": "string",
          "x-go-name": "UpdatedBy"
        },
        "updated_on": {
          "type": "string",
          "format": "date-time",
          "x-go-name": "UpdatedOn"
        },
        "version": {
          "type": "string",
          "x-go-name": "Version"
        }
      },
      "description": "This is a comment model.",
      "x-go-name": "Comment",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models"
    }
  }
}