The following is a sample JSON file with the mandatory mappings for default
types:
[
{
"filename": "ASY-0000075-Product1.CATProduct",
"filepath": "D:\\CATFiles\\ASY-0000075-Product1.CATProduct",
"revision": "A",
"maturity": "In Work",
"document_type": "VPMReference",
"custom_attributes": [
{
"name": "RevisionComment",
"value": "First revision",
"type": "String"
},
{
"name": "BoolCustomAttr",
"value": "TRUE",
"type": "Boolean"
},
{
"name": "AuthorizedString",
"value": "Some value for assembly",
"type": "String"
}
]
},
{
"filename": "PRT-0000306-Part1.CATPart",
"filepath": "D:\\CATFiles\\PRT-0000306-Part1.CATPart",
"revision": "A",
"maturity": "In Work",
"document_type": "VPMReference",
"custom_attributes": [
{
"name": "RevisionComment",
"value": "First revision",
"type": "String"
},
{
"name": "BoolCustomAttr",
"value": "TRUE",
"type": "Boolean"
},
{
"name": "AuthorizedString",
"value": "Some value for assembly",
"type": "String"
}
]
}
]
The following is a sample mapping for
subtypes:
"customattributes": [
{
"name": "AttributeID",
"value": "100",
"type": “AttributeIDType”
}
]
The following is a sample mapping for subtypes with
extensions:
"customattributes": [
{
"name": "SubtypeID.Extension’sAttributeID",
"value": "100",
"type": “ExtensionType”
}
],
The following is a sample CSV file with the mandatory mappings:
