afv-library/skills/platform-metadata-api-context-get/assets/metadata_api/SustnUomConversion.json

58 lines
2.5 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"declarative_metadata_sample_definition"
],
"title": "SustnUomConversion - Metadata API",
"description": "Represents information about the unit of measure (UOM) conversion for the custom fuel types defined by a customer in an org.",
"file_information": ".sustnUomConversion",
"directory_location": "sustnUomConversions",
"fields_columns": [
"type",
"required",
"description"
],
"fields": {
"conversionFactor": {
"type": "double",
"required": true,
"description": "The conversion factor that's used to convert values from one unit of measure to another for the fuel type."
},
"fuelType": {
"type": "string",
"description": "The name of the fuel type.Possible values are: AutogasLPG Biodiesel Biomass CityGas CompressedNaturalGasCNG Cooling Diesel Electricity Ethanol FuelOil Gasoline Heat HeavyOil ITElectricity JetFuel Kerosene LightOil LiquidNaturalGasLNG MobileDiesel NaturalGas Propane Refrigerant Steam"
},
"isProtected": {
"type": "boolean",
"description": "An auto-generated value that doesnt impact the behavior of the metadata type. The default value is false."
},
"masterLabel": {
"type": "string",
"description": "A user-friendly name for SustnUomConversion, which is defined when the SustnUomConversion is created."
},
"sourceUom": {
"type": "string",
"required": true,
"description": "The source unit of measure for the fuel type. Possible values are: 1000m3 GJ GWh Kiloliters Liters MJ MMBtu MWh Therms Tonnes UkGallons UsGallons ccf kG kWh kcal lbs longTons m3 shortTons"
},
"targetUom": {
"type": "string",
"required": true,
"description": "The target unit of measure for the fuel type."
},
"uomsKey": {
"type": "string",
"description": "The key associated with a unit of measure for the fuel type."
}
},
"declarative_metadata_sample_definition": [
{
"description": "The following is an example of a SustnUomConversion component.",
"code": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SustnUomConversion xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <conversionFactor>0.9</conversionFactor>\n <fuelType>Diesel</fuelType>\n <isProtected>false</isProtected>\n <masterLabel>KG_Liters</masterLabel>\n <sourceUom>KG</sourceUom>\n <targetUom>Liters</targetUom>\n <uomsKey>uomsKey</uomsKey>\n</SustnUomConversion>"
}
]
}