зеркало из https://github.com/microsoft/CDM.git
1392 строки
50 KiB
JSON
1392 строки
50 KiB
JSON
{
|
|
"jsonSchemaSemanticVersion": "1.0.0",
|
|
"imports": [
|
|
{
|
|
"corpusPath": "_allImports.1.1.cdm.json"
|
|
}
|
|
],
|
|
"definitions": [
|
|
{
|
|
"entityName": "SessionRegistration",
|
|
"extendsEntity": "CdsStandard",
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Session Registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDM.entityVersion",
|
|
"arguments": [
|
|
{
|
|
"name": "versionNumber",
|
|
"value": "1.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hasAttributes": [
|
|
{
|
|
"attributeGroupReference": {
|
|
"attributeGroupName": "attributesAddedAtThisScope",
|
|
"members": [
|
|
{
|
|
"entity": {
|
|
"entityReference": "Contact",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"Contact/(resolvedAttributes)/contactId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "Contact",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'Contact'.",
|
|
"name": "contactId",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "required"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Contact"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"sourceName": "msevtmgt_contactid",
|
|
"displayName": "Contact",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "createdFromApi",
|
|
"purpose": "hasA",
|
|
"dataType": "boolean",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_createdFromApi"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"createdFromApi"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"A flag that indicates the origin of the registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_createdfromapi",
|
|
"displayName": "createdFromApi",
|
|
"description": "A flag that indicates the origin of the registration"
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "Event",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"Event/(resolvedAttributes)/eventId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "event",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'Event'.",
|
|
"name": "eventId",
|
|
"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",
|
|
"Event"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Active events records"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_event",
|
|
"displayName": "Event",
|
|
"description": "Active events records"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "isCanceled",
|
|
"purpose": "hasA",
|
|
"dataType": "boolean",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_iscanceled"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Is canceled"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_iscanceled",
|
|
"displayName": "Is canceled",
|
|
"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",
|
|
"Registration ID"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The name of the custom entity"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_name",
|
|
"displayName": "Registration ID",
|
|
"description": "The name of the custom entity",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"name": "publishingState",
|
|
"purpose": "hasA",
|
|
"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",
|
|
"Pending",
|
|
"100000000",
|
|
"0"
|
|
],
|
|
[
|
|
"en",
|
|
"Published",
|
|
"100000001",
|
|
"1"
|
|
],
|
|
[
|
|
"en",
|
|
"Parent webinar failed",
|
|
"100000002",
|
|
"2"
|
|
],
|
|
[
|
|
"en",
|
|
"Failed to publish",
|
|
"100000003",
|
|
"3"
|
|
],
|
|
[
|
|
"en",
|
|
"Webinar provider error",
|
|
"100000004",
|
|
"4"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_publishingstate"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Publishing state"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_publishingstate",
|
|
"displayName": "Publishing state",
|
|
"description": "",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'publishingState_display' is added to the 'SessionRegistration' entity to provide the localized display text for the value of the listLookup attribute 'publishingState'",
|
|
"name": "publishingState_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true,
|
|
"isNullable": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "EventRegistration",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"EventRegistration/(resolvedAttributes)/eventRegistrationId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "registrationID",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'EventRegistration'.",
|
|
"name": "registrationIDId",
|
|
"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",
|
|
"Event registration ID"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_registrationid",
|
|
"displayName": "Event registration ID",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "registrationNotificationSeen",
|
|
"purpose": "hasA",
|
|
"dataType": "boolean",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_registrationnotificationseen"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Registration notification seen"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_registrationnotificationseen",
|
|
"displayName": "Registration notification seen",
|
|
"description": ""
|
|
},
|
|
{
|
|
"name": "registrationOperation",
|
|
"purpose": "hasA",
|
|
"dataType": "string",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_registrationoperation"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"Registration operation"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_registrationoperation",
|
|
"displayName": "Registration operation",
|
|
"description": "",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"name": "registrationStatus",
|
|
"purpose": "hasA",
|
|
"dataType": "string",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_registrationstatus"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"Registration status"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_registrationstatus",
|
|
"displayName": "Registration status",
|
|
"description": "",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "Session",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"Session/(resolvedAttributes)/sessionId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "session",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'Session'.",
|
|
"name": "sessionId",
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "required"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Session"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier for the session associated with the session registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"sourceName": "msevtmgt_sessionid",
|
|
"displayName": "Session",
|
|
"description": "Unique identifier for the session associated with the session registration"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "sessionRegistrationId",
|
|
"purpose": "identifiedBy",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_SessionRegistrationId"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "systemrequired"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Session registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier for entity instances"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_sessionregistrationid",
|
|
"displayName": "Session registration",
|
|
"description": "Unique identifier for entity instances"
|
|
},
|
|
{
|
|
"name": "syncedWithProvider",
|
|
"purpose": "hasA",
|
|
"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",
|
|
"No",
|
|
"100000001",
|
|
"0010"
|
|
],
|
|
[
|
|
"en",
|
|
"Yes",
|
|
"100000002",
|
|
"0020"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_SyncedWithProvider"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Synced with provider"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"A flag that indicates that the registration was synced with the provider"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_syncedwithprovider",
|
|
"displayName": "Synced with provider",
|
|
"description": "A flag that indicates that the registration was synced with the provider",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'syncedWithProvider_display' is added to the 'SessionRegistration' entity to provide the localized display text for the value of the listLookup attribute 'syncedWithProvider'",
|
|
"name": "syncedWithProvider_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true,
|
|
"isNullable": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "timesCheckedIn",
|
|
"purpose": "hasA",
|
|
"dataType": "integer",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_TimesCheckedIn"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "minimumValue",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "maximumValue",
|
|
"value": "2147483647"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Times checked-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_timescheckedin",
|
|
"displayName": "Times checked-in",
|
|
"description": "",
|
|
"maximumValue": "2147483647",
|
|
"minimumValue": "0"
|
|
},
|
|
{
|
|
"name": "webinarRegistrationID",
|
|
"purpose": "hasA",
|
|
"dataType": "string",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_WebinarRegistrationID"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"Webinar registration ID"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Webinar ID of the session registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_webinarregistrationid",
|
|
"displayName": "Webinar registration ID",
|
|
"description": "Webinar ID of the session registration",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"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 session registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "statecode",
|
|
"displayName": "Status",
|
|
"description": "Status of the session registration",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'stateCode_display' is added to the 'SessionRegistration' 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"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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 session registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "statuscode",
|
|
"displayName": "Status reason",
|
|
"description": "Reason for the status of the session registration",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'statusCode_display' is added to the 'SessionRegistration' 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
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.CDM.attributeGroup",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "attributeGroupSet",
|
|
"constantValues": [
|
|
[
|
|
"/Marketing/EventManagement/SessionRegistration.1.1.cdm.json/SessionRegistration/hasAttributes/attributesAddedAtThisScope"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_SessionRegistration",
|
|
"displayName": "Session Registration"
|
|
}
|
|
],
|
|
"documentVersion": "1.1"
|
|
} |