зеркало из https://github.com/microsoft/CDM.git
1668 строки
60 KiB
JSON
1668 строки
60 KiB
JSON
|
{
|
||
|
"jsonSchemaSemanticVersion": "1.1.0",
|
||
|
"imports": [
|
||
|
{
|
||
|
"corpusPath": "cdm:/core/cdsConcepts.1.0.1.cdm.json"
|
||
|
},
|
||
|
{
|
||
|
"corpusPath": "Facility.1.0.cdm.json"
|
||
|
},
|
||
|
{
|
||
|
"corpusPath": "FuelType.1.0.cdm.json"
|
||
|
},
|
||
|
{
|
||
|
"corpusPath": "IndustrialProcessType.1.0.cdm.json"
|
||
|
},
|
||
|
{
|
||
|
"corpusPath": "OrganizationalUnit.1.0.cdm.json"
|
||
|
},
|
||
|
{
|
||
|
"corpusPath": "Unit.1.0.cdm.json"
|
||
|
},
|
||
|
{
|
||
|
"corpusPath": "GlobalOptionsets.1.0.cdm.json"
|
||
|
}
|
||
|
],
|
||
|
"definitions": [
|
||
|
{
|
||
|
"entityName": "StationaryCombustion",
|
||
|
"extendsEntity": "CdmEntity",
|
||
|
"displayName": "Stationary combustion",
|
||
|
"description": "Combustion that occurs in a fixed asset, such as a boiler or furnace.",
|
||
|
"sourceName": "msdyn_stationarycombustion",
|
||
|
"exhibitsTraits": [
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Combustion that occurs in a fixed asset, such as a boiler or furnace."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Stationary combustion"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDM.entityVersion",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "versionNumber",
|
||
|
"value": "1.0"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"hasAttributes": [
|
||
|
{
|
||
|
"attributeGroupReference": {
|
||
|
"attributeGroupName": "attributesAddedAtThisScope",
|
||
|
"members": [
|
||
|
{
|
||
|
"name": "stationarycombustionId",
|
||
|
"sourceName": "msdyn_stationarycombustionid",
|
||
|
"sourceOrdering": 1,
|
||
|
"description": "Unique identifier for entity instances",
|
||
|
"displayName": "Stationary combustion",
|
||
|
"isNullable": false,
|
||
|
"purpose": "identifiedBy",
|
||
|
"dataType": "entityId",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "systemrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Unique identifier for entity instances"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Stationary combustion"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDS.sourceNamed",
|
||
|
"arguments": [
|
||
|
"msdyn_stationarycombustionid"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "TTLInSeconds",
|
||
|
"sourceName": "ttlinseconds",
|
||
|
"sourceOrdering": 2,
|
||
|
"description": "Time to live in seconds.",
|
||
|
"displayName": "Time to live",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "integer",
|
||
|
"maximumValue": "2147483647",
|
||
|
"minimumValue": "1",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Time to live in seconds."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Time to live"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumValue",
|
||
|
"value": "2147483647"
|
||
|
},
|
||
|
{
|
||
|
"name": "minimumValue",
|
||
|
"value": "1"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "partitionId",
|
||
|
"sourceName": "partitionid",
|
||
|
"sourceOrdering": 3,
|
||
|
"description": "Logical partition id. A logical partition consists of a set of records with same partition id.",
|
||
|
"displayName": "Partition Id",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "string",
|
||
|
"maximumLength": "100",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Logical partition id. A logical partition consists of a set of records with same partition id."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Partition Id"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumLength",
|
||
|
"value": "100"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "createdOn",
|
||
|
"sourceName": "createdon",
|
||
|
"sourceOrdering": 4,
|
||
|
"description": "Date and time when the record was created.",
|
||
|
"displayName": "Created On",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "dateTime",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Date and time when the record was created."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Created On"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "modifiedOn",
|
||
|
"sourceName": "modifiedon",
|
||
|
"sourceOrdering": 6,
|
||
|
"description": "Date and time when the record was modified.",
|
||
|
"displayName": "Modified On",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "dateTime",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Date and time when the record was modified."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Modified On"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "importSequenceNumber",
|
||
|
"sourceName": "importsequencenumber",
|
||
|
"sourceOrdering": 28,
|
||
|
"description": "Sequence number of the import that created this record.",
|
||
|
"displayName": "Import Sequence Number",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "integer",
|
||
|
"maximumValue": "2147483647",
|
||
|
"minimumValue": "-2147483648",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Sequence number of the import that created this record."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Import Sequence Number"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumValue",
|
||
|
"value": "2147483647"
|
||
|
},
|
||
|
{
|
||
|
"name": "minimumValue",
|
||
|
"value": "-2147483648"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "overriddenCreatedOn",
|
||
|
"sourceName": "overriddencreatedon",
|
||
|
"sourceOrdering": 29,
|
||
|
"description": "Date and time that the record was migrated.",
|
||
|
"displayName": "Record Created On",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "dateTime",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Date and time that the record was migrated."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Record Created On"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"sourceName": "msdyn_name",
|
||
|
"sourceOrdering": 30,
|
||
|
"description": "The name of the custom entity.",
|
||
|
"displayName": "Name",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "string",
|
||
|
"maximumLength": "255",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"The name of the custom entity."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Name"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumLength",
|
||
|
"value": "255"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "consumptionenddate",
|
||
|
"sourceName": "msdyn_consumptionenddate",
|
||
|
"sourceOrdering": 31,
|
||
|
"description": "End date of activity consumption.",
|
||
|
"displayName": "Consumption End Date",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "dateTime",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"End date of activity consumption."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Consumption End Date"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "consumptionstartdate",
|
||
|
"sourceName": "msdyn_consumptionstartdate",
|
||
|
"sourceOrdering": 32,
|
||
|
"description": "Start date of activity consumption.",
|
||
|
"displayName": "Consumption Start Date",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "dateTime",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Start date of activity consumption."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Consumption Start Date"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "cost",
|
||
|
"sourceName": "msdyn_cost",
|
||
|
"sourceOrdering": 33,
|
||
|
"description": "Cost associated with the activity data.",
|
||
|
"displayName": "Cost",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "decimal",
|
||
|
"maximumValue": "100000000000",
|
||
|
"minimumValue": "-100000000000",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Cost associated with the activity data."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Cost"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumValue",
|
||
|
"value": "100000000000"
|
||
|
},
|
||
|
{
|
||
|
"name": "minimumValue",
|
||
|
"value": "-100000000000"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "costunit",
|
||
|
"sourceName": "msdyn_costunit",
|
||
|
"sourceOrdering": 34,
|
||
|
"description": "Unit associated with the cost quantity.",
|
||
|
"displayName": "Cost unit",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "entityId",
|
||
|
"entity": {
|
||
|
"source": "Unit",
|
||
|
"operations": [
|
||
|
{
|
||
|
"$type": "replaceAsForeignKey",
|
||
|
"condition": "referenceOnly",
|
||
|
"reference": "unitId",
|
||
|
"replaceWith": {
|
||
|
"name": "costunit",
|
||
|
"dataType": "entityId",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Unit associated with the cost quantity."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Cost unit"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDS.lookup",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "style",
|
||
|
"value": "single"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "dataqualitytype",
|
||
|
"sourceName": "msdyn_dataqualitytype",
|
||
|
"sourceOrdering": 35,
|
||
|
"description": "Description of the data quality which identifies if the data is actual, estimated, or other descriptors of the data.",
|
||
|
"displayName": "Data Quality Type",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": {
|
||
|
"dataTypeReference": "listLookup",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "does.haveDefault",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": "DataQualityTypeValues"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"projections": {
|
||
|
"operations": [
|
||
|
{
|
||
|
"$type": "addSupportingAttribute",
|
||
|
"condition": "virtual",
|
||
|
"supportingAttribute": {
|
||
|
"explanation": "This attribute 'dataqualitytype_display' is added to the 'StationaryCombustion' entity to provide the localized display text for the value of the listLookup attribute 'dataqualitytype'",
|
||
|
"name": "dataqualitytype_display",
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "localizedDisplayText",
|
||
|
"isReadOnly": true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Description of the data quality which identifies if the data is actual, estimated, or other descriptors of the data."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Data Quality Type"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "description",
|
||
|
"sourceName": "msdyn_description",
|
||
|
"sourceOrdering": 37,
|
||
|
"description": "Optional description that provides additional detail about the entity or attribute.",
|
||
|
"displayName": "Description",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "string",
|
||
|
"maximumLength": "100",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Optional description that provides additional detail about the entity or attribute."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Description"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumLength",
|
||
|
"value": "100"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "evidence",
|
||
|
"sourceName": "msdyn_evidence",
|
||
|
"sourceOrdering": 38,
|
||
|
"description": "Optional field where evidence can be linked to the entity or attribute, if required.",
|
||
|
"displayName": "Evidence",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "string",
|
||
|
"maximumLength": "255",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Optional field where evidence can be linked to the entity or attribute, if required."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Evidence"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumLength",
|
||
|
"value": "255"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "facilityid",
|
||
|
"sourceName": "msdyn_facilityid",
|
||
|
"sourceOrdering": 39,
|
||
|
"description": "Unique identifier for the facility associated with stationary combustion.",
|
||
|
"displayName": "Facility",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "entityId",
|
||
|
"entity": {
|
||
|
"source": "Facility",
|
||
|
"operations": [
|
||
|
{
|
||
|
"$type": "replaceAsForeignKey",
|
||
|
"condition": "referenceOnly",
|
||
|
"reference": "facilityId",
|
||
|
"replaceWith": {
|
||
|
"name": "facilityid",
|
||
|
"dataType": "entityId",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Unique identifier for the facility associated with stationary combustion."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Facility"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDS.lookup",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "style",
|
||
|
"value": "single"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "fueltypeid",
|
||
|
"sourceName": "msdyn_fueltypeid",
|
||
|
"sourceOrdering": 40,
|
||
|
"description": "Unique identifier for the fuel type associated with combustion or supply chain fuel usage.",
|
||
|
"displayName": "Fuel Type",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "entityId",
|
||
|
"entity": {
|
||
|
"source": "FuelType",
|
||
|
"operations": [
|
||
|
{
|
||
|
"$type": "replaceAsForeignKey",
|
||
|
"condition": "referenceOnly",
|
||
|
"reference": "fueltypeId",
|
||
|
"replaceWith": {
|
||
|
"name": "fueltypeid",
|
||
|
"dataType": "entityId",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Unique identifier for the fuel type associated with combustion or supply chain fuel usage."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Fuel Type"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDS.lookup",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "style",
|
||
|
"value": "single"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "industrialprocesstypeid",
|
||
|
"sourceName": "msdyn_industrialprocesstypeid",
|
||
|
"sourceOrdering": 41,
|
||
|
"description": "Unique identifier for the industrial process type associated with stationary combustion.",
|
||
|
"displayName": "Industrial Process Type",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "entityId",
|
||
|
"entity": {
|
||
|
"source": "IndustrialProcessType",
|
||
|
"operations": [
|
||
|
{
|
||
|
"$type": "replaceAsForeignKey",
|
||
|
"condition": "referenceOnly",
|
||
|
"reference": "industrialprocesstypeId",
|
||
|
"replaceWith": {
|
||
|
"name": "industrialprocesstypeid",
|
||
|
"dataType": "entityId",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Unique identifier for the industrial process type associated with stationary combustion."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Industrial Process Type"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDS.lookup",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "style",
|
||
|
"value": "single"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "meternumber",
|
||
|
"sourceName": "msdyn_meternumber",
|
||
|
"sourceOrdering": 42,
|
||
|
"description": "Field representing meter number for stationary combustion entity.",
|
||
|
"displayName": "Meter number",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "string",
|
||
|
"maximumLength": "100",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Field representing meter number for stationary combustion entity."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Meter number"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumLength",
|
||
|
"value": "100"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "organizationalunitid",
|
||
|
"sourceName": "msdyn_organizationalunitid",
|
||
|
"sourceOrdering": 43,
|
||
|
"description": "Unique identifier for the organizational unit associated with the stationary combustion.",
|
||
|
"displayName": "Organizational Unit",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "entityId",
|
||
|
"entity": {
|
||
|
"source": "OrganizationalUnit",
|
||
|
"operations": [
|
||
|
{
|
||
|
"$type": "replaceAsForeignKey",
|
||
|
"condition": "referenceOnly",
|
||
|
"reference": "sustainabilityorganizationalunitId",
|
||
|
"replaceWith": {
|
||
|
"name": "organizationalunitid",
|
||
|
"dataType": "entityId",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Unique identifier for the organizational unit associated with the stationary combustion."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Organizational Unit"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDS.lookup",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "style",
|
||
|
"value": "single"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "quantity",
|
||
|
"sourceName": "msdyn_quantity",
|
||
|
"sourceOrdering": 44,
|
||
|
"description": "Generic quanity field associated with activity entities.",
|
||
|
"displayName": "Quantity",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "decimal",
|
||
|
"maximumValue": "100000000000",
|
||
|
"minimumValue": "-100000000000",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Generic quanity field associated with activity entities."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Quantity"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumValue",
|
||
|
"value": "100000000000"
|
||
|
},
|
||
|
{
|
||
|
"name": "minimumValue",
|
||
|
"value": "-100000000000"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "origincorrelationid",
|
||
|
"sourceName": "msdyn_origincorrelationid",
|
||
|
"sourceOrdering": 45,
|
||
|
"description": "An optional identifier to correlate record with data origin.",
|
||
|
"displayName": "Origin correlation ID",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "string",
|
||
|
"maximumLength": "100",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"An optional identifier to correlate record with data origin."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Origin correlation ID"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.constrained",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "maximumLength",
|
||
|
"value": "100"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "transactiondate",
|
||
|
"sourceName": "msdyn_transactiondate",
|
||
|
"sourceOrdering": 46,
|
||
|
"description": "Date associated with the actual date when the transaction occurred.",
|
||
|
"displayName": "Transaction Date",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "dateTime",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "none"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Date associated with the actual date when the transaction occurred."
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Transaction Date"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "quantityunit",
|
||
|
"sourceName": "msdyn_quantityunit",
|
||
|
"sourceOrdering": 47,
|
||
|
"description": "Unit associated with the quantity field ",
|
||
|
"displayName": "Quantity unit",
|
||
|
"isNullable": true,
|
||
|
"purpose": "hasA",
|
||
|
"dataType": "entityId",
|
||
|
"entity": {
|
||
|
"source": "Unit",
|
||
|
"operations": [
|
||
|
{
|
||
|
"$type": "replaceAsForeignKey",
|
||
|
"condition": "referenceOnly",
|
||
|
"reference": "unitId",
|
||
|
"replaceWith": {
|
||
|
"name": "quantityunit",
|
||
|
"dataType": "entityId",
|
||
|
"appliedTraits": [
|
||
|
{
|
||
|
"traitReference": "is.requiredAtLevel",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "level",
|
||
|
"value": "applicationrequired"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.describedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Unit associated with the quantity field "
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.localized.displayedAs",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "localizedTable",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"en",
|
||
|
"Quantity unit"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"traitReference": "is.CDS.lookup",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "style",
|
||
|
"value": "single"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"exhibitsTraits": [
|
||
|
{
|
||
|
"traitReference": "is.CDM.attributeGroup",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"entityReference": {
|
||
|
"entityShape": "attributeGroupSet",
|
||
|
"constantValues": [
|
||
|
[
|
||
|
"/Sustainability/StationaryCombustion.1.0.cdm.json/StationaryCombustion/hasAttributes/attributesAddedAtThisScope"
|
||
|
]
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"documentVersion": "1.0"
|
||
|
}
|