Klaviyo · Schema
DataSourceRecordCreateJobCreateQueryResourceObject
MarketingEmailSMSCustomer DataEcommerceAutomation
Properties
| Name | Type | Description |
|---|---|---|
| type | object | |
| attributes | object | |
| relationships | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/DataSourceRecordCreateJobCreateQueryResourceObject",
"title": "DataSourceRecordCreateJobCreateQueryResourceObject",
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/DataSourceRecordCreateJobEnum"
},
"attributes": {
"type": "object",
"properties": {
"data-source-record": {
"description": "The records to ingest.",
"type": "object",
"example": {
"data": {
"type": "data-source-record",
"attributes": {
"record": {
"key1": "value1",
"key2": "value2"
}
}
}
},
"properties": {
"data": {
"$ref": "#/components/schemas/DataSourceRecordResourceObject"
}
},
"required": [
"data"
]
}
},
"required": [
"data-source-record"
]
},
"relationships": {
"type": "object",
"properties": {
"data-source": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/DataSourceEnum"
},
"id": {
"description": "The data source to which the records belong.",
"type": "string",
"example": "01J7C23V8XWMRG13FMD7VZN6GW"
}
},
"required": [
"type",
"id"
]
}
}
}
}
}
},
"required": [
"type",
"attributes"
]
}