зеркало из https://github.com/microsoft/CDM.git
94 строки
2.1 KiB
JSON
94 строки
2.1 KiB
JSON
{
|
|
"jsonSchemaSemanticVersion": "1.0.0",
|
|
"imports": [
|
|
{
|
|
"corpusPath": "cdm:/foundations.4.7.cdm.json"
|
|
}
|
|
],
|
|
"definitions": [
|
|
{
|
|
"entityName": "SurveyResponse",
|
|
"extendsEntity": "CdmEntity",
|
|
"hasAttributes": [
|
|
{
|
|
"name": "AccountId",
|
|
"dataType": "guid"
|
|
},
|
|
{
|
|
"name": "ContactId",
|
|
"dataType": "guid"
|
|
},
|
|
{
|
|
"name": "CustomerJourneyId",
|
|
"dataType": "guid"
|
|
},
|
|
{
|
|
"name": "InteractionType",
|
|
"dataType": "string"
|
|
},
|
|
{
|
|
"name": "Score",
|
|
"dataType": "double"
|
|
},
|
|
{
|
|
"name": "SurveyId",
|
|
"dataType": "guid"
|
|
},
|
|
{
|
|
"name": "BusinessUnitId",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.linkedEntity.identifier",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "entityGroupSet",
|
|
"constantValues": [
|
|
[
|
|
"BusinessUnit.cdm.json/BusinessUnit",
|
|
"businessUnitId"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "InternalMarketingInteractionId",
|
|
"dataType": "string"
|
|
},
|
|
{
|
|
"name": "OrganizationId",
|
|
"dataType": "guid"
|
|
},
|
|
{
|
|
"name": "Timestamp",
|
|
"dataType": "dateTime"
|
|
},
|
|
{
|
|
"name": "Version",
|
|
"dataType": "integer"
|
|
},
|
|
{
|
|
"name": "SourceSystem",
|
|
"dataType": "integer"
|
|
}
|
|
],
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.CDM.entityVersion",
|
|
"arguments": [
|
|
{
|
|
"name": "versionNumber",
|
|
"value": "1.0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"documentVersion": "1.0"
|
|
} |