# TMFTMForumCategoryRequestTransform

This Data Mapper is used in the [TMFTMForumCreateCategory](/docs/industries/communications/guide/TMFTMForumCreateCategory.md) IP.

## Input JSON

```@json
{
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/Category.schema.json",
"@type": "Category",
"description": "A category to hold all available cloud service offers",
"isRoot": true,
"lifecycleStatus": "Active",
"name": "Cloud Services retest",
"subCategory": [
{
"@referredType": "Category",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/CategoryRef.schema.json",
"@type": "CategoryRef",
"href": "https://mycsp.com:8080/tmf-api/productCatalogManagement/v4/category/6087",
"id": "6087",
"name": "Software as a Service",
"version": "2.0"
}
],
"validFor": {
"endDateTime": "2024-03-25T00:00:00Z",
"startDateTime": "2020-08-24T00:00:00Z"
},
"version": "1.0"
}
```

## Output JSON

```@json
{
"validFor": {
"startDateTime": "2020-08-24T00:00:00Z",
"endDateTime": "2024-03-25T00:00:00Z"
},
"subCategory": [
{
"version": "2.0",
"name": "Software as a Service",
"id": "6087",
"href": "https://mycsp.com:8080/tmf-api/productCatalogManagement/v4/category/6087",
"@type": "CategoryRef",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/CategoryRef.schema.json",
"@referredType": "Category"
}
],
"version": "1.0",
"name": "Cloud Services retest",
"lifecycleStatus": "Active",
"isRoot": true,
"description": "A category to hold all available cloud service offers",
"@type": "Category",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schemas/Product/Category.schema.json"
}
```
