{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentItem",
  "title": "ContentItem",
  "type": "object",
  "description": "Represents a content item in the SAP Analytics Cloud Content Network. Content items are shareable artifacts such as stories, models, and packages.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the content item"
    },
    "name": {
      "type": "string",
      "description": "The display name of the content item"
    },
    "description": {
      "type": "string",
      "description": "A text description of the content item"
    },
    "type": {
      "type": "string",
      "description": "The type of content item (e.g., STORY, MODEL, PACKAGE)"
    },
    "visibility": {
      "type": "string",
      "description": "The visibility scope (PRIVATE or PUBLIC)",
      "enum": [
        "PRIVATE",
        "PUBLIC"
      ]
    },
    "version": {
      "type": "string",
      "description": "The version of the content item"
    },
    "createdTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the item was published"
    },
    "modifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the item was last modified"
    },
    "owner": {
      "type": "string",
      "description": "The tenant that published the content item"
    }
  }
}