зеркало из https://github.com/microsoft/CDM.git
1625 строки
59 KiB
JSON
1625 строки
59 KiB
JSON
{
|
|
"jsonSchemaSemanticVersion": "1.1.0",
|
|
"imports": [
|
|
{
|
|
"corpusPath": "cdm:/core/cdsConcepts.1.0.1.cdm.json"
|
|
},
|
|
{
|
|
"corpusPath": "Facility.1.0.cdm.json"
|
|
},
|
|
{
|
|
"corpusPath": "GreenhouseGas.1.0.cdm.json"
|
|
},
|
|
{
|
|
"corpusPath": "IndustrialProcessType.1.0.cdm.json"
|
|
},
|
|
{
|
|
"corpusPath": "OrganizationalUnit.1.0.cdm.json"
|
|
},
|
|
{
|
|
"corpusPath": "Unit.1.0.1.cdm.json"
|
|
}
|
|
],
|
|
"definitions": [
|
|
{
|
|
"entityName": "FugitiveEmission",
|
|
"extendsEntity": "CdmEntity",
|
|
"displayName": "Fugitive emission",
|
|
"description": "Greenhouse gas emissions that cannot reasonably be expected to be captured. Typically includes refrigerants.",
|
|
"sourceName": "msdyn_fugitiveemission",
|
|
"exhibitsTraits": [
|
|
{
|
|
"traitReference": "is.localized.describedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Greenhouse gas emissions that cannot reasonably be expected to be captured. Typically includes refrigerants."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Fugitive emission"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDM.entityVersion",
|
|
"arguments": [
|
|
{
|
|
"name": "versionNumber",
|
|
"value": "1.0.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hasAttributes": [
|
|
{
|
|
"attributeGroupReference": {
|
|
"attributeGroupName": "attributesAddedAtThisScope",
|
|
"members": [
|
|
{
|
|
"name": "fugitiveemissionId",
|
|
"sourceName": "msdyn_fugitiveemissionid",
|
|
"sourceOrdering": 1,
|
|
"description": "Unique identifier for entity instances",
|
|
"displayName": "Fugitive emission",
|
|
"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",
|
|
"Fugitive emission"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDS.sourceNamed",
|
|
"arguments": [
|
|
"msdyn_fugitiveemissionid"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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 the activity consumption.",
|
|
"displayName": "Consumption end 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",
|
|
"End date of the 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 the activity consumption.",
|
|
"displayName": "Consumption start 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",
|
|
"Start date of the 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": "costunitid",
|
|
"sourceName": "msdyn_costunitid",
|
|
"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": "costunitid",
|
|
"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": {
|
|
"explanation": "The constantValues below correspond to the attributes of the 'listLookupValues' entityShape which are: {languageTag, displayText, attributeValue, displayOrder}",
|
|
"entityShape": "listLookupValues",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Actual",
|
|
"700610000",
|
|
"1"
|
|
],
|
|
[
|
|
"en",
|
|
"Estimated",
|
|
"700610001",
|
|
"2"
|
|
],
|
|
[
|
|
"en",
|
|
"Metered",
|
|
"700610002",
|
|
"3"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"projections": {
|
|
"operations": [
|
|
{
|
|
"$type": "addSupportingAttribute",
|
|
"condition": "virtual",
|
|
"supportingAttribute": {
|
|
"explanation": "This attribute 'dataqualitytype_display' is added to the 'FugitiveEmission' 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 the fugitive emission.",
|
|
"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 the fugitive emission."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Facility"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "greenhousegas",
|
|
"sourceName": "msdyn_greenhousegas",
|
|
"sourceOrdering": 40,
|
|
"description": "Unique identifier for the greenhouse gas associated with the fugitive emission.",
|
|
"displayName": "Greenhouse gas",
|
|
"isNullable": true,
|
|
"purpose": "hasA",
|
|
"dataType": "entityId",
|
|
"entity": {
|
|
"source": "GreenhouseGas",
|
|
"operations": [
|
|
{
|
|
"$type": "replaceAsForeignKey",
|
|
"condition": "referenceOnly",
|
|
"reference": "greenhousegasId",
|
|
"replaceWith": {
|
|
"name": "greenhousegas",
|
|
"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 greenhouse gas associated with the fugitive emission."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Greenhouse gas"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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 the fugitive emission.",
|
|
"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 the fugitive emission."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.localized.displayedAs",
|
|
"arguments": [
|
|
{
|
|
"entityReference": {
|
|
"entityShape": "localizedTable",
|
|
"constantValues": [
|
|
[
|
|
"en",
|
|
"Industrial process type"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"traitReference": "is.CDS.lookup",
|
|
"arguments": [
|
|
{
|
|
"name": "style",
|
|
"value": "single"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "organizationalunitid",
|
|
"sourceName": "msdyn_organizationalunitid",
|
|
"sourceOrdering": 42,
|
|
"description": "Unique identifier for the organizational unit associated with the fugitive emission.",
|
|
"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 fugitive emission."
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": 43,
|
|
"description": "Generic quanity field associated with the 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 the 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": 44,
|
|
"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": 45,
|
|
"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": "applicationrequired"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": 46,
|
|
"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/FugitiveEmission.1.0.1.cdm.json/FugitiveEmission/hasAttributes/attributesAddedAtThisScope"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"documentVersion": "1.0.1"
|
|
} |