{ "jsonSchemaSemanticVersion": "1.0.0", "imports": [ { "corpusPath": "_allImports.1.0.cdm.json" } ], "definitions": [ { "entityName": "WaitlistItem", "extendsEntity": "CdsStandard", "exhibitsTraits": [ { "traitReference": "is.localized.displayedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "Waitlist Item" ] ] } } ] }, { "traitReference": "is.CDM.entityVersion", "arguments": [ { "name": "versionNumber", "value": "1.0" } ] } ], "hasAttributes": [ { "attributeGroupReference": { "attributeGroupName": "attributesAddedAtThisScope", "members": [ { "entity": { "entityReference": "Contact", "appliedTraits": [ { "traitReference": "is.identifiedBy", "arguments": [ "Contact/(resolvedAttributes)/contactId" ] } ] }, "name": "addedBy", "resolutionGuidance": { "renameFormat": "{m}", "entityByReference": { "allowReference": true, "foreignKeyAttribute": { "explanation": "Unique identifier of 'Contact'.", "name": "addedById", "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", "Added by" ] ] } } ] }, { "traitReference": "is.localized.describedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "A lookup to the contact who created this waitlist item" ] ] } } ] }, "is.linkedEntity.identifier" ], "isNullable": true, "sourceName": "msevtmgt_addedby", "displayName": "Added by", "description": "A lookup to the contact who created this waitlist item" } } } }, { "name": "autoregister", "purpose": "hasA", "dataType": "boolean", "appliedTraits": [ { "traitReference": "is.CDS.sourceNamed", "arguments": [ "msevtmgt_autoregister" ] }, { "traitReference": "is.requiredAtLevel", "arguments": [ { "name": "level", "value": "none" } ] }, { "traitReference": "is.localized.displayedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "Automatically register" ] ] } } ] }, { "traitReference": "is.localized.describedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "" ] ] } } ] } ], "isNullable": true, "sourceName": "msevtmgt_autoregister", "displayName": "Automatically register", "description": "" }, { "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_contact", "displayName": "Contact", "description": "" } } } }, { "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", "" ] ] } } ] }, "is.linkedEntity.identifier" ], "isNullable": true, "sourceName": "msevtmgt_event", "displayName": "Event", "description": "" } } } }, { "name": "invited", "purpose": "hasA", "dataType": "boolean", "appliedTraits": [ { "traitReference": "is.CDS.sourceNamed", "arguments": [ "msevtmgt_invited" ] }, { "traitReference": "is.requiredAtLevel", "arguments": [ { "name": "level", "value": "required" } ] }, { "traitReference": "is.localized.displayedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "Invited" ] ] } } ] }, { "traitReference": "is.localized.describedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "" ] ] } } ] } ], "sourceName": "msevtmgt_invited", "displayName": "Invited", "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": "reserved", "purpose": "hasA", "dataType": "boolean", "appliedTraits": [ { "traitReference": "is.CDS.sourceNamed", "arguments": [ "msevtmgt_reserved" ] }, { "traitReference": "is.requiredAtLevel", "arguments": [ { "name": "level", "value": "none" } ] }, { "traitReference": "is.localized.displayedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "Reserved" ] ] } } ] }, { "traitReference": "is.localized.describedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "" ] ] } } ] } ], "isNullable": true, "sourceName": "msevtmgt_reserved", "displayName": "Reserved", "description": "" }, { "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": "none" } ] }, { "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 waitlist item." ] ] } } ] }, "is.linkedEntity.identifier" ], "isNullable": true, "sourceName": "msevtmgt_session", "displayName": "Session", "description": "Unique identifier for the session associated with the waitlist item." } } } }, { "name": "waitlistItemId", "purpose": "identifiedBy", "dataType": "entityId", "appliedTraits": [ { "traitReference": "is.CDS.sourceNamed", "arguments": [ "msevtmgt_waitlistitemId" ] }, { "traitReference": "is.requiredAtLevel", "arguments": [ { "name": "level", "value": "systemrequired" } ] }, { "traitReference": "is.localized.displayedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "Waitlist item" ] ] } } ] }, { "traitReference": "is.localized.describedAs", "arguments": [ { "entityReference": { "entityShape": "localizedTable", "constantValues": [ [ "en", "Unique identifier for entity instances" ] ] } } ] } ], "sourceName": "msevtmgt_waitlistitemid", "displayName": "Waitlist item", "description": "Unique identifier for entity instances" }, { "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 waitlist item" ] ] } } ] } ], "sourceName": "statecode", "displayName": "Status", "description": "Status of the waitlist item", "resolutionGuidance": { "addSupportingAttribute": { "explanation": "This attribute 'stateCode_display' is added to the 'WaitlistItem' 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 waitlist item" ] ] } } ] } ], "isNullable": true, "sourceName": "statuscode", "displayName": "Status reason", "description": "Reason for the status of the waitlist item", "resolutionGuidance": { "addSupportingAttribute": { "explanation": "This attribute 'statusCode_display' is added to the 'WaitlistItem' 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/WaitlistItem.1.0.cdm.json/WaitlistItem/hasAttributes/attributesAddedAtThisScope" ] ] } } ] } ] } } ], "sourceName": "msevtmgt_waitlistitem", "displayName": "Waitlist Item" } ], "documentVersion": "1.0" }