Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion components/fieldgroups/product/product-brand.example.1.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{
"xdm:brandPageURL": "https://www.adobe.com/acrobat.html",
"xdm:brandImageURL": "video products"
"xdm:brandImageURL": "video products",
"xdm:brandLogoURL": "https://www.adobe.com/acrobat.html",
"xdm:brandCardBackgroundColor": "red",
"xdm:learningResourceURL": "https://www.adobe.com/acrobat.html",
"xdm:brandDetails": ["video products"],
"xdm:actions": [
{
"xdm:name": "buy",
"xdm:type": "primary",
"xdm:title": "Buy Now",
"xdm:url": "https://www.adobe.com/acrobat.html"
},
{
"xdm:name": "learn",
"xdm:type": "secondary",
"xdm:title": "Learn More",
"xdm:url": "https://www.adobe.com/acrobat.html"
}
]
}
57 changes: 57 additions & 0 deletions components/fieldgroups/product/product-brand.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,63 @@
"type": "string",
"format": "uri",
"description": "The URL for the primary product image of the product."
},
"xdm:productLogoURL": {
"title": "Product Logo URL",
"type": "string",
"format": "uri",
"description": "The URL for the product logo associated with the product."
},
"xdm:productCardBackgroundColor": {
"title": "Product Card Background Color",
"type": "string",
"description": "The primary product card background color, typically in hex format."
},
"xdm:learningResourceURL": {
"title": "Learning Resource URL",
"type": "string",
"format": "uri",
"description": "The URL for educational or training resources related to the product."
},
"xdm:productDetails": {
"title": "Product Details",
"type": "array",
"items": {
"type": "string"
},
"description": "Additional descriptive details about the product, such as pricing, features, or specifications."
},
"xdm:actions": {
"title": "Product Actions",
"description": "Array of actions available for the product",
"type": "array",
"items": {
"type": "object",
"properties": {
"xdm:name": {
"title": "Action Name",
"type": "string",
"description": "Internal identifier for the action."
},
"xdm:type": {
"title": "Action Type",
"type": "string",
"description": "Action type (e.g., 'Primary', 'Secondary')."
},
"xdm:title": {
"title": "Action Title",
"type": "string",
"description": "Display text shown to users."
},
"xdm:url": {
"title": "Action URL",
"type": "string",
"format": "uri",
"description": "The URL for the action."
}
},
"required": ["xdm:name", "xdm:type", "xdm:title", "xdm:url"]
}
}
}
}
Expand Down