[ https://issues.apache.org/jira/browse/ATLAS-2960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nixon Rodrigues resolved ATLAS-2960. ------------------------------------ Resolution: Information Provided > Custom attribute inside an Attibute Definition > ----------------------------------------------- > > Key: ATLAS-2960 > URL: https://issues.apache.org/jira/browse/ATLAS-2960 > Project: Atlas > Issue Type: Wish > Components: atlas-core > Reporter: Mayur Maheshwari > Priority: Major > > How we can add custom attributes while creating a Type using Rest API: > { > "enumTypes": [], > "structTypes": [], > "traitTypes": [], > "classTypes": [{ > "superTypes": ["Process"], > "hierarchicalMetaTypeName": > "org.apache.atlas.typesystem.types.ClassType", > "typeName": "ResearchPaperAccessDataset_Process", > "typeDescription": null, > "attributeDefinitions": [{ > "name": "resourceSetID", > "dataTypeName": "int", > "multiplicity": "required", > "isComposite": false, > "isUnique": false, > "isIndexable": true, > "reverseAttributeName": null, > *"sources":[{* > *"name":"hdfs",* > *"originalName":"ID"* > *}* > *]* > }, > { > "name": "researchPaperGroupName", > "dataTypeName": "string", > "multiplicity": "required", > "isComposite": false, > "isUnique": false, > "isIndexable": true, > "reverseAttributeName": null > }] > }] > } > > Wanted to add '*sources*' marked in bold while creating a type. -- This message was sent by Atlassian JIRA (v7.6.3#76005)