-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatasource.schema.json
50 lines (50 loc) · 2.16 KB
/
datasource.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"meta:license": [
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/data/datasource",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Data Source",
"type": "object",
"description":
"The Datasource acts as a namespace or unique identifier associated with a collection of data. Each EndUserID is associated with a given Datasource. A user can create and obtain information about a Datasource during the solution onboarding.\n",
"definitions": {
"datasource": {
"properties": {
"@id": {
"title": "Identifier",
"type": "string",
"format": "uri",
"description":
"The unique ID of this data source. This would be provided by the individual or system that created the Datasource.\n"
},
"xdm:code": {
"title": "Code",
"type": "string",
"description":
"The code is a shortcut to the full @id and at least one of the code or @id can be used. Sometimes, this code is referred to as the data source integration code."
},
"xdm:tags": {
"title": "Tags",
"type": "array",
"description":
"Tags are used to indicate how the aliases represented by a given data\nsource should be interpreted by applications using those aliases.\n\nExamples:\n\n* `isAVID`: data sources representing Analytics visitor IDs.\n* `isCRSKey`: data sources representing aliases that should be used as keys in CRS.\n\nTags are set when the data source is created but they are also included in\npipeline messages when referencing a given data source.\n",
"uniqueItems": true,
"items": {
"type": "string"
}
}
},
"required": ["@id"]
}
},
"allOf": [
{
"$ref": "#/definitions/datasource"
}
],
"meta:status": "stabilizing"
}