зеркало из https://github.com/microsoft/CDM.git
1253 строки
46 KiB
JSON
1253 строки
46 KiB
JSON
{
|
|
"jsonSchemaSemanticVersion": "1.0.0",
|
|
"imports": [
|
|
{
|
|
"corpusPath": "_allImports.1.0.cdm.json"
|
|
}
|
|
],
|
|
"definitions": [
|
|
{
|
|
"entityName": "Room",
|
|
"extendsEntity": "CdsStandard",
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Room"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"A room is where a session may be held. A single room can be used in any of several layouts, which can impact the max. occupancy of the room."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDM.entityVersion",
|
|
"arguments": [
|
|
{
|
|
"name": "versionNumber",
|
|
"value": "1.0"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hasAttributes": [
|
|
{
|
|
"attributeGroupReference": {
|
|
"attributeGroupName": "attributesAddedAtThisScope",
|
|
"members": [
|
|
{
|
|
"name": "AVSupport",
|
|
"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"
|
|
],
|
|
[
|
|
"en",
|
|
"Yes",
|
|
"100000002"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_AVSupport"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"A/V support"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Is there A/V support?"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_avsupport",
|
|
"displayName": "A/V support",
|
|
"description": "Is there A/V support?",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'AVSupport_display' is added to the 'Room' entity to provide the localized display text for the value of the listLookup attribute 'AVSupport'",
|
|
"name": "AVSupport_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "Building",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"Building/(resolvedAttributes)/buildingId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "building",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'Building'.",
|
|
"name": "buildingId",
|
|
"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",
|
|
"Building"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Link to the building"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"sourceName": "msevtmgt_building",
|
|
"displayName": "Building",
|
|
"description": "Link to the building"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "capacity",
|
|
"purpose": "hasA",
|
|
"dataType": "integer",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_Capacity"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "minimumValue",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"name": "maximumValue",
|
|
"value": "2147483647"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Capacity"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Capacity"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_capacity",
|
|
"displayName": "Capacity",
|
|
"description": "Capacity",
|
|
"maximumValue": "2147483647",
|
|
"minimumValue": "0"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"purpose": "hasA",
|
|
"dataType": "string",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_Description"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "maximumLength",
|
|
"value": "2000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Description"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Description of the room"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_description",
|
|
"displayName": "Description",
|
|
"description": "Description of the room",
|
|
"maximumLength": 2000
|
|
},
|
|
{
|
|
"name": "disabledAccess",
|
|
"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"
|
|
],
|
|
[
|
|
"en",
|
|
"Yes",
|
|
"100000002"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_DisabledAccess"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Disabled access"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Indicates whether this location provides easy access for disabled people"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_disabledaccess",
|
|
"displayName": "Disabled access",
|
|
"description": "Indicates whether this location provides easy access for disabled people",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'disabledAccess_display' is added to the 'Room' entity to provide the localized display text for the value of the listLookup attribute 'disabledAccess'",
|
|
"name": "disabledAccess_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "internetConnection",
|
|
"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"
|
|
],
|
|
[
|
|
"en",
|
|
"Yes",
|
|
"100000002"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_InternetConnection"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Internet connection"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Indicates wheter an internet connection is available at this location"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_internetconnection",
|
|
"displayName": "Internet connection",
|
|
"description": "Indicates wheter an internet connection is available at this location",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'internetConnection_display' is added to the 'Room' entity to provide the localized display text for the value of the listLookup attribute 'internetConnection'",
|
|
"name": "internetConnection_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "required"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_name",
|
|
"displayName": "Name",
|
|
"description": "The name of the custom entity",
|
|
"maximumLength": 100
|
|
},
|
|
{
|
|
"name": "other",
|
|
"purpose": "hasA",
|
|
"dataType": "string",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_Other"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.constrained",
|
|
"arguments": [
|
|
{
|
|
"name": "maximumLength",
|
|
"value": "2000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "none"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Other"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Other"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_other",
|
|
"displayName": "Other",
|
|
"description": "Other",
|
|
"maximumLength": 2000
|
|
},
|
|
{
|
|
"entity": {
|
|
"entityReference": "Contact",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.identifiedBy",
|
|
"arguments": [
|
|
"Contact/(resolvedAttributes)/contactId"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "primaryContact",
|
|
"resolutionGuidance": {
|
|
"renameFormat": "{m}",
|
|
"entityByReference": {
|
|
"allowReference": true,
|
|
"foreignKeyAttribute": {
|
|
"explanation": "Unique identifier of 'Contact'.",
|
|
"name": "primaryContactId",
|
|
"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",
|
|
"Primary contact"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"A person who is responsible for the room"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"is.linkedEntity.identifier"
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "msevtmgt_primarycontact",
|
|
"displayName": "Primary contact",
|
|
"description": "A person who is responsible for the room"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "roomId",
|
|
"purpose": "identifiedBy",
|
|
"dataType": "entityId",
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_RoomId"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "systemrequired"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Room"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Unique identifier for entity instances"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_roomid",
|
|
"displayName": "Room",
|
|
"description": "Unique identifier for entity instances"
|
|
},
|
|
{
|
|
"name": "videoConferencing",
|
|
"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"
|
|
],
|
|
[
|
|
"en",
|
|
"Yes",
|
|
"100000002"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_VideoConferencing"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Video conferencing"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Indicates wheter video conferencing is available at this location"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_videoconferencing",
|
|
"displayName": "Video conferencing",
|
|
"description": "Indicates wheter video conferencing is available at this location",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'videoConferencing_display' is added to the 'Room' entity to provide the localized display text for the value of the listLookup attribute 'videoConferencing'",
|
|
"name": "videoConferencing_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "whiteboard",
|
|
"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"
|
|
],
|
|
[
|
|
"en",
|
|
"Yes",
|
|
"100000002"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"appliedTraits": [
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msevtmgt_Whiteboard"
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.requiredAtLevel",
|
|
"arguments": [
|
|
{
|
|
"name": "level",
|
|
"value": "recommended"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Whiteboard"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Indicates whether there is a whiteboard at this location"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_whiteboard",
|
|
"displayName": "Whiteboard",
|
|
"description": "Indicates whether there is a whiteboard at this location",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'whiteboard_display' is added to the 'Room' entity to provide the localized display text for the value of the listLookup attribute 'whiteboard'",
|
|
"name": "whiteboard_display",
|
|
"purpose": "hasA",
|
|
"dataType": "localizedDisplayText",
|
|
"isReadOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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 room"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceName": "statecode",
|
|
"displayName": "Status",
|
|
"description": "Status of the room",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'stateCode_display' is added to the 'Room' 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 room"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isNullable": true,
|
|
"sourceName": "statuscode",
|
|
"displayName": "Status reason",
|
|
"description": "Reason for the status of the room",
|
|
"resolutionGuidance": {
|
|
"addSupportingAttribute": {
|
|
"explanation": "This attribute 'statusCode_display' is added to the 'Room' 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/Room.1.0.cdm.json/Room/hasAttributes/attributesAddedAtThisScope"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"sourceName": "msevtmgt_Room",
|
|
"displayName": "Room",
|
|
"description": "A room is where a session may be held. A single room can be used in any of several layouts, which can impact the max. occupancy of the room."
|
|
}
|
|
],
|
|
"documentVersion": "1.0"
|
|
} |