{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-delivery-content-item-schema.json",
  "title": "DeliveryContentItem",
  "description": "A delivered CMS content item",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-content-delivery-api-openapi.yml#/components/schemas/DeliveryContentItem",
  "type": "object",
  "properties": {
    "contentKey": {
      "type": "string",
      "description": "Unique content key for the item"
    },
    "contentNodes": {
      "type": "object",
      "description": "Content field values organized as nodes",
      "additionalProperties": {
        "$ref": "#/$defs/ContentNode"
      }
    },
    "contentUrlName": {
      "type": "string",
      "description": "URL-safe name for the content"
    },
    "language": {
      "type": "string",
      "description": "Language code of this content version"
    },
    "managedContentId": {
      "type": "string",
      "description": "Salesforce record ID"
    },
    "publishedDate": {
      "type": "string",
      "format": "date-time",
      "description": "When this content was published"
    },
    "title": {
      "type": "string",
      "description": "Title of the content"
    },
    "type": {
      "type": "string",
      "description": "Content type developer name"
    },
    "typeLabel": {
      "type": "string",
      "description": "Content type display label"
    },
    "unauthenticatedUrl": {
      "type": "string",
      "format": "uri",
      "description": "Public URL for unauthenticated access"
    }
  },
  "$defs": {
    "ContentNode": {
      "type": "object",
      "description": "A content node representing a field value",
      "properties": {
        "altText": {
          "type": "string",
          "description": "Alternative text for media content"
        },
        "contentKey": {
          "type": "string",
          "description": "Content key for referenced content"
        },
        "fileName": {
          "type": "string",
          "description": "File name for media content"
        },
        "mediaType": {
          "type": "string",
          "description": "Media type classification"
        },
        "mimeType": {
          "type": "string",
          "description": "MIME type of the content"
        },
        "nodeType": {
          "type": "string",
          "description": "Type of content node",
          "enum": [
            "Media",
            "MediaSource",
            "MultilineText",
            "NameField",
            "RichText",
            "Text",
            "Url",
            "DateTime"
          ]
        },
        "referenceId": {
          "type": "string",
          "description": "Reference ID for the content"
        },
        "title": {
          "type": "string",
          "description": "Title of the node"
        },
        "unauthenticatedUrl": {
          "type": "string",
          "format": "uri",
          "description": "Public URL"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL value"
        },
        "value": {
          "type": "string",
          "description": "Text or value content"
        }
      }
    }
  }
}