зеркало из https://github.com/microsoft/CDM.git
1327 строки
47 KiB
JSON
1327 строки
47 KiB
JSON
{
|
|
"jsonSchemaSemanticVersion": "1.0.0",
|
|
"imports": [
|
|
{
|
|
"corpusPath": "_allImports.1.0.cdm.json"
|
|
}
|
|
],
|
|
"definitions": [
|
|
{
|
|
"entityName": "WebinarConsent",
|
|
"extendsEntity": "CdmEntity",
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Webinar Consent"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDM.entityVersion",
|
|
"arguments": [
|
|
{
|
|
"name": "versionNumber",
|
|
"value": "1.0"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hasAttributes": [
|
|
{
|
|
"attributeGroupReference": {
|
|
"attributeGroupName": "attributesAddedAtThisScope",
|
|
"members": [
|
|
{
|
|
"entity": {
|
|
"entityReference": "User",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"User/(resolvedAttributes)/systemUserId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "createdBy",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'User'.",
|
|
"name": "createdBy",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Created by"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier of the user who created the record"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "createdby",
|
|
"displayName": "Created by",
|
|
"description": "Unique identifier of the user who created the record"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "createdOn",
|
|
"purpose": "createdOn",
|
|
"dataType": "dateTime",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"CreatedOn"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Created on"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The date and time when the record was created"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "createdon",
|
|
"displayName": "Created on",
|
|
"description": "The date and time when the record was created"
|
|
},
|
|
{
|
|
"name": "createdOnBehalfBy",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"CreatedOnBehalfBy"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Created by (delegate)"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier of the delegate user who created the record"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "createdonbehalfby",
|
|
"displayName": "Created by (delegate)",
|
|
"description": "Unique identifier of the delegate user who created the record"
|
|
},
|
|
{
|
|
"name": "importSequenceNumber",
|
|
"purpose": "hasA",
|
|
"dataType": "integer",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"ImportSequenceNumber"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "minimumValue",
|
|
"value": "-2147483648"
|
|
},
|
|
{
|
|
"name": "maximumValue",
|
|
"value": "2147483647"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Import sequence number"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The sequence number of the import that created this record"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "importsequencenumber",
|
|
"displayName": "Import sequence number",
|
|
"description": "The sequence number of the import that created this record",
|
|
"maximumValue": "2147483647",
|
|
"minimumValue": "-2147483648"
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "User",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"User/(resolvedAttributes)/systemUserId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "modifiedBy",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'User'.",
|
|
"name": "modifiedBy",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Modified by"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier of the user who modified the record"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "modifiedby",
|
|
"displayName": "Modified by",
|
|
"description": "Unique identifier of the user who modified the record"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "modifiedOn",
|
|
"purpose": "modifiedOn",
|
|
"dataType": "dateTime",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"ModifiedOn"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Modified on"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The date and time when the record was modified"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "modifiedon",
|
|
"displayName": "Modified on",
|
|
"description": "The date and time when the record was modified"
|
|
},
|
|
{
|
|
"name": "modifiedOnBehalfBy",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"ModifiedOnBehalfBy"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Modified by (delegate)"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier of the delegate user who modified the record"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "modifiedonbehalfby",
|
|
"displayName": "Modified by (delegate)",
|
|
"description": "Unique identifier of the delegate user who modified the record"
|
|
},
|
|
{
|
|
"name": "consentProvided",
|
|
"purpose": "hasA",
|
|
"dataType": "boolean",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_ConsentProvided"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Consent provided"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_consentprovided",
|
|
"displayName": "Consent provided",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "name",
|
|
"purpose": "hasA",
|
|
"dataType": "name",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_name"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "maximumLength",
|
|
"value": "100"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Name"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The name of the custom entity"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_name",
|
|
"displayName": "Name",
|
|
"description": "The name of the custom entity",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"name": "webinarConsentId",
|
|
"purpose": "identifiedBy",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_webinarconsentId"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "systemrequired"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Webinar consent"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier for entity instances"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_webinarconsentid",
|
|
"displayName": "Webinar consent",
|
|
"description": "Unique identifier for entity instances"
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "WebinarProvider",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"WebinarProvider/(resolvedAttributes)/webinarProviderId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "webinarProvider",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'WebinarProvider'.",
|
|
"name": "webinarProviderId",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Webinar provider"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"sourceName": "msevtmgt_webinarprovider",
|
|
"displayName": "Webinar provider",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "Organization",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"Organization/(resolvedAttributes)/organizationId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "organizationID",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'Organization'.",
|
|
"name": "organizationIDId",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Organization ID"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier for the organization"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "organizationid",
|
|
"displayName": "Organization ID",
|
|
"description": "Unique identifier for the organization"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "overriddenCreatedOn",
|
|
"purpose": "createdOn",
|
|
"dataType": "dateTime",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"OverriddenCreatedOn"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Record created on"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The date and time when the record was migrated"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "overriddencreatedon",
|
|
"displayName": "Record created on",
|
|
"description": "The date and time when the record was migrated"
|
|
},
|
|
{
|
|
"name": "stateCode",
|
|
"purpose": "representsStateWith",
|
|
"dataType": {
|
|
"dataTypeReference": "listLookup",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "does.haveDefault",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"explanation": "The constantValues below correspond to the attributes of the 'listLookupValues' entityShape which are: {languageTag, displayText, attributeValue, displayOrder}",
|
|
"entityShape": "listLookupValues",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Active",
|
|
"0",
|
|
"0"
|
|
],
|
|
[
|
|
"en",
|
|
"Inactive",
|
|
"1",
|
|
"1"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"statecode"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "systemrequired"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Status"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Status of the webinar consent"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "statecode",
|
|
"displayName": "Status",
|
|
"description": "Status of the webinar consent",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'stateCode_display' is added to the 'WebinarConsent' entity to provide the localized display text for the value of the listLookup attribute 'stateCode'",
|
|
"name": "stateCode_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "statusCode",
|
|
"purpose": {
|
|
"purposeReference": "representsCorrelatedStatusWith",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.correlatedWith",
|
|
"arguments": [
|
|
"stateCode"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.correlatedWith",
|
|
"arguments": [
|
|
"stateCode"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.correlatedWith",
|
|
"arguments": [
|
|
"stateCode"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"dataType": {
|
|
"dataTypeReference": "listLookup",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "does.haveDefault",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"explanation": "The constantValues below correspond to the attributes of the 'listLookupCorrelatedValues' entityShape which are: {languageTag, displayText, attributeValue, displayOrder, correlatedValue}",
|
|
"entityShape": "listLookupCorrelatedValues",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Active",
|
|
"1",
|
|
"0",
|
|
"0"
|
|
],
|
|
[
|
|
"en",
|
|
"Inactive",
|
|
"2",
|
|
"1",
|
|
"1"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"statuscode"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Status reason"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Reason for the status of the webinar consent"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "statuscode",
|
|
"displayName": "Status reason",
|
|
"description": "Reason for the status of the webinar consent",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'statusCode_display' is added to the 'WebinarConsent' entity to provide the localized display text for the value of the listLookup attribute 'statusCode'",
|
|
"name": "statusCode_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true,
|
|
"isNullable": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "timeZoneRuleVersionNumber",
|
|
"purpose": "hasA",
|
|
"dataType": "integer",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"TimeZoneRuleVersionNumber"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "minimumValue",
|
|
"value": "-1"
|
|
},
|
|
{
|
|
"name": "maximumValue",
|
|
"value": "2147483647"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Time zone rule version number"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"For internal use only"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "timezoneruleversionnumber",
|
|
"displayName": "Time zone rule version number",
|
|
"description": "For internal use only",
|
|
"maximumValue": "2147483647",
|
|
"minimumValue": "-1"
|
|
},
|
|
{
|
|
"name": "UTCConversionTimeZoneCode",
|
|
"purpose": "hasA",
|
|
"dataType": "integer",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"UTCConversionTimeZoneCode"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "minimumValue",
|
|
"value": "-1"
|
|
},
|
|
{
|
|
"name": "maximumValue",
|
|
"value": "2147483647"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"UTC conversion time zone code"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The time zone code that was in use when the record was created"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "utcconversiontimezonecode",
|
|
"displayName": "UTC conversion time zone code",
|
|
"description": "The time zone code that was in use when the record was created",
|
|
"maximumValue": "2147483647",
|
|
"minimumValue": "-1"
|
|
}
|
|
],
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.CDM.attributeGroup",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "attributeGroupSet",
|
|
"constantValues": [
|
|
[
|
|
"/Marketing/EventManagement/WebinarConsent.1.0.cdm.json/WebinarConsent/hasAttributes/attributesAddedAtThisScope"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_webinarconsent",
|
|
"displayName": "Webinar Consent"
|
|
}
|
|
],
|
|
"documentVersion": "1.0"
|
|
} |