Skip to content

Latest commit

 

History

History
152 lines (87 loc) · 3.38 KB

checkouts.schema.md

File metadata and controls

152 lines (87 loc) · 3.38 KB

Checkouts Schema

https://ns.adobe.com/xdm/data/metrics/checkouts

Number of actions during a checkout process of a product list, there can be more than one checkout event if there are multiple steps in a checkout process. If there are multiple steps the event time information and referenced page or experience is used to identify the step individual events represent in order.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental No Forbidden Permitted data/checkouts.schema.json

Schema Hierarchy

  • Checkouts https://ns.adobe.com/xdm/data/metrics/checkouts

Checkouts Example

{
  "schema:name": "commerce metric: checkouts",
  "@id": "xdm:checkouts",
  "xdm:measurement": "count",
  "xdm:unit": ""
}

Checkouts Properties

Property Type Required Defined by
@id string Required Metric Definition
schema:name string Required Metric Definition
xdm:measurement string Required Metric Definition
xdm:unit string Required Metric Definition
* any Additional this schema allows additional properties

@id

The unique identifier of this metric.

@id

@id Type

string

  • format: uri-reference – URI Reference (according to RFC3986)

schema:name

The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique.

schema:name

schema:name Type

string

xdm:measurement

How to take measures of this metric.

xdm:measurement

xdm:measurement Type

string

xdm:measurement Examples

"distance"
"time"
"price"
"count"

xdm:unit

The unit that this metric is measured in. Whenever possible, metrics should follow the SI base units or be ISO 4217 currency codes.For metric that are counts, the xdm:unit must be empty string (equivalent to null)

xdm:unit

xdm:unit Type

string

xdm:unit Examples

"m"
"kg"
"s"
"USD"