зеркало из https://github.com/microsoft/CDM.git
1617 строки
59 KiB
JSON
1617 строки
59 KiB
JSON
{
|
|
"jsonSchemaSemanticVersion": "1.0.0",
|
|
"imports": [
|
|
{
|
|
"corpusPath": "_allImports.1.2.cdm.json"
|
|
}
|
|
],
|
|
"definitions": [
|
|
{
|
|
"entityName": "CheckIn",
|
|
"extendsEntity": "CdsStandard",
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDM.entityVersion",
|
|
"arguments": [
|
|
{
|
|
"name": "versionNumber",
|
|
"value": "1.2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hasAttributes": [
|
|
{
|
|
"attributeGroupReference": {
|
|
"attributeGroupName": "attributesAddedAtThisScope",
|
|
"members": [
|
|
{
|
|
"name": "audienceType",
|
|
"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",
|
|
"General",
|
|
"100000000",
|
|
"0000"
|
|
],
|
|
[
|
|
"en",
|
|
"Introductory",
|
|
"100000001",
|
|
"0010"
|
|
],
|
|
[
|
|
"en",
|
|
"Intermediate",
|
|
"100000002",
|
|
"0020"
|
|
],
|
|
[
|
|
"en",
|
|
"Advanced",
|
|
"100000003",
|
|
"0030"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_AudienceType"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Audience type"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Audience type"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_audiencetype",
|
|
"displayName": "Audience type",
|
|
"description": "Audience type",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'audienceType_display' is added to the 'CheckIn' entity to provide the localized display text for the value of the listLookup attribute 'audienceType'",
|
|
"name": "audienceType_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true,
|
|
"isNullable": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "checkInId",
|
|
"purpose": "identifiedBy",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_CheckInId"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "systemrequired"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier for entity instances"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_checkinid",
|
|
"displayName": "Check-in",
|
|
"description": "Unique identifier for entity instances"
|
|
},
|
|
{
|
|
"name": "checkInTime",
|
|
"purpose": "hasA",
|
|
"dataType": "dateTime",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_Checkintime"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Check-in time"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Check-in time"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_checkintime",
|
|
"displayName": "Check-in time",
|
|
"description": "Check-in time"
|
|
},
|
|
{
|
|
"name": "checkInType",
|
|
"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",
|
|
"Session check-in",
|
|
"100000000",
|
|
"0000"
|
|
],
|
|
[
|
|
"en",
|
|
"Event check-in",
|
|
"100000001",
|
|
"0010"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_CheckInType"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "required"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Check-in type"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_checkintype",
|
|
"displayName": "Check-in type",
|
|
"description": "",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'checkInType_display' is added to the 'CheckIn' entity to provide the localized display text for the value of the listLookup attribute 'checkInType'",
|
|
"name": "checkInType_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "checkOutTime",
|
|
"purpose": "hasA",
|
|
"dataType": "dateTime",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_CheckOutTime"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Check-out time"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Check-out time"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_checkouttime",
|
|
"displayName": "Check-out time",
|
|
"description": "Check-out time"
|
|
},
|
|
{
|
|
"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": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Attendee"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Contact records of the check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_contact",
|
|
"displayName": "Attendee",
|
|
"description": "Contact records of the check-in"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"Unique identifier for the event associated with the check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_event",
|
|
"displayName": "Event",
|
|
"description": "Unique identifier for the event associated with the check-in"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"Check-in records are used to log attendance at a particular event or session."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_name",
|
|
"displayName": "Name",
|
|
"description": "Check-in records are used to log attendance at a particular event or session.",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"name": "numberOfQuestionsAsked",
|
|
"purpose": "hasA",
|
|
"dataType": "integer",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_NumberOfQuestionsAsked"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"Number of interactions"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_numberofquestionsasked",
|
|
"displayName": "Number of interactions",
|
|
"description": "",
|
|
"maximumValue": "2147483647",
|
|
"minimumValue": "-2147483648"
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "AttendeePass",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"AttendeePass/(resolvedAttributes)/attendeePassId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "purchasedPasses",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'AttendeePass'.",
|
|
"name": "purchasedPassesId",
|
|
"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",
|
|
"Purchased passes"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier for the attendee pass associated with the check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_purchasedpassesid",
|
|
"displayName": "Purchased passes",
|
|
"description": "Unique identifier for the attendee pass associated with the check-in"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "EventRegistration",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"EventRegistration/(resolvedAttributes)/eventRegistrationId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "registration",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'EventRegistration'.",
|
|
"name": "registrationId",
|
|
"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",
|
|
"Event registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"sourceName": "msevtmgt_registrationid",
|
|
"displayName": "Event registration",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "registrationidfromqr",
|
|
"purpose": "hasA",
|
|
"dataType": "string",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_registrationidfromqr"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_registrationidfromqr",
|
|
"displayName": "Registration ID",
|
|
"description": "",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "Session",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"Session/(resolvedAttributes)/sessionId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "sessionAttended",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'Session'.",
|
|
"name": "sessionAttendedId",
|
|
"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",
|
|
"Session attended"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"The session attended"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"sourceName": "msevtmgt_sessionattended",
|
|
"displayName": "Session attended",
|
|
"description": "The session attended"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "sessionCode",
|
|
"purpose": "hasA",
|
|
"dataType": "string",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_SessionCode"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"Session code"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_sessioncode",
|
|
"displayName": "Session code",
|
|
"description": "",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "SessionRegistration",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"SessionRegistration/(resolvedAttributes)/sessionRegistrationId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "sessionRegistration",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'SessionRegistration'.",
|
|
"name": "sessionRegistrationId",
|
|
"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",
|
|
"Session registration"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"All active session registration records for this check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_sessionregistration",
|
|
"displayName": "Session registration",
|
|
"description": "All active session registration records for this check-in"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "sessionType",
|
|
"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",
|
|
"Keynote",
|
|
"100000001",
|
|
"0000"
|
|
],
|
|
[
|
|
"en",
|
|
"Breakout",
|
|
"100000004",
|
|
"0010"
|
|
],
|
|
[
|
|
"en",
|
|
"General",
|
|
"100000002",
|
|
"0020"
|
|
],
|
|
[
|
|
"en",
|
|
"Hands-on/lab",
|
|
"100000000",
|
|
"0030"
|
|
],
|
|
[
|
|
"en",
|
|
"Training",
|
|
"100000005",
|
|
"0040"
|
|
],
|
|
[
|
|
"en",
|
|
"Brainstorming",
|
|
"100000003",
|
|
"0050"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_SessionType"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Session type"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_sessiontype",
|
|
"displayName": "Session type",
|
|
"description": "",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'sessionType_display' is added to the 'CheckIn' entity to provide the localized display text for the value of the listLookup attribute 'sessionType'",
|
|
"name": "sessionType_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true,
|
|
"isNullable": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "viewingDurationInMins",
|
|
"purpose": "hasA",
|
|
"dataType": "integer",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_ViewingDurationInMins"
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"Viewing duration in minutes"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_viewingdurationinmins",
|
|
"displayName": "Viewing duration in minutes",
|
|
"description": "",
|
|
"maximumValue": "2147483647",
|
|
"minimumValue": "0"
|
|
},
|
|
{
|
|
"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 check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "statecode",
|
|
"displayName": "Status",
|
|
"description": "Status of the check-in",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'stateCode_display' is added to the 'CheckIn' 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 check-in"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "statuscode",
|
|
"displayName": "Status reason",
|
|
"description": "Reason for the status of the check-in",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'statusCode_display' is added to the 'CheckIn' 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/CheckIn.1.2.cdm.json/CheckIn/hasAttributes/attributesAddedAtThisScope"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_CheckIn",
|
|
"displayName": "Check-in"
|
|
}
|
|
],
|
|
"documentVersion": "1.2"
|
|
} |