{
  "enumDefs": [
    {
      "name": "atlas_operation",
      "description": "Defines audit operations in Atlas",
      "typeVersion": "1.0",
      "serviceType": "atlas_core",
      "elementDefs": [
        {
          "ordinal": 0,
          "value": "OTHERS"
        },
        {
          "ordinal": 1,
          "value": "PURGE"
        },
        {
          "ordinal": 2,
          "value": "EXPORT"
        },
        {
          "ordinal": 3,
          "value": "IMPORT"
        },
        {
          "ordinal": 4,
          "value": "IMPORT_DELETE_REPL"
        },
        {
          "ordinal": 5,
          "value": "TYPE_DEF_CREATE"
        },
        {
          "ordinal": 6,
          "value": "TYPE_DEF_UPDATE"
        },
        {
          "ordinal": 7,
          "value": "TYPE_DEF_DELETE"
        },
        {
          "ordinal": 8,
          "value": "SERVER_START"
        },
        {
          "ordinal": 9,
          "value": "SERVER_STATE_ACTIVE"
        }
      ]
    }
  ],
  "structDefs": [],
  "classificationDefs": [],
  "entityDefs": [
    {
      "name": "Referenceable",
      "superTypes": [],
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "attributeDefs": [
        {
          "name": "qualifiedName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": true
        }
      ]
    },
    {
      "name": "__internal",
      "superTypes": [],
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "attributeDefs": []
    },
    {
      "name": "Asset",
      "superTypes": [
        "Referenceable"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.1",
      "attributeDefs": [
        {
          "name": "name",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false,
          "indexType": "STRING"
        },
        {
          "name": "displayName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "indexType": "STRING"
        },
        {
          "name": "description",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "userDescription",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "indexType": "STRING"
        },
        {
          "name": "owner",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "indexType": "STRING"
        }
      ]
    },
    {
      "name": "ddl",
      "superTypes": [
        "Referenceable"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "attributeDefs": [
        {
          "name": "queryText",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "execTime",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "userName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "serviceType",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        }
      ]
    },
    {
      "name": "DataSet",
      "superTypes": [
        "Asset"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.1",
      "attributeDefs": []
    },
    {
      "name": "Infrastructure",
      "description": "Infrastructure can be IT infrastructure, which contains hosts and servers. Infrastructure might not be IT orientated, such as 'Car' for IoT applications.",
      "superTypes": [
        "Asset"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.1",
      "attributeDefs": []
    },
    {
      "name": "Process",
      "superTypes": [
        "Asset"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.1",
      "attributeDefs": [
        {
          "name": "inputs",
          "typeName": "array<DataSet>",
          "cardinality": "SET",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "outputs",
          "typeName": "array<DataSet>",
          "cardinality": "SET",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        }
      ]
    },
    {
      "name": "AtlasServer",
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "superTypes": [
      ],
      "attributeDefs": [
        {
          "name": "name",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "displayName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "fullName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": true
        },
        {
          "name": "urls",
          "typeName": "array<string>",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "additionalInfo",
          "typeName": "map<string,string>",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        }
      ]
    },
    {
      "name": "__AtlasUserProfile",
      "superTypes": [
        "__internal"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "attributeDefs": [
        {
          "name": "name",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": true
        },
        {
          "name": "fullName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "savedSearches",
          "typeName": "array<__AtlasUserSavedSearch>",
          "cardinality": "SET",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false,
          "constraints": [
            {
              "type": "ownedRef"
            }
          ]
        }
      ]
    },
    {
      "name": "__AtlasUserSavedSearch",
      "superTypes": [
        "__internal"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "attributeDefs": [
        {
          "name": "name",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "ownerName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "searchType",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "uniqueName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": true
        },
        {
          "name": "searchParameters",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "uiParameters",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        }
      ]
    },
    {
      "name": "__ExportImportAuditEntry",
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "superTypes": [
        "__internal"
      ],
      "attributeDefs": [
        {
          "name": "userName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "operation",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "sourceServerName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "targetServerName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "operationParams",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "operationStartTime",
          "typeName": "long",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "operationEndTime",
          "typeName": "long",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "resultSummary",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        }
      ]
    },
    {
      "name": "__AtlasAuditEntry",
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "superTypes": [
        "__internal"
      ],
      "attributeDefs": [
        {
          "name": "userName",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "operation",
          "typeName": "atlas_operation",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "startTime",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": false,
          "isUnique": false
        },
        {
          "name": "endTime",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "clientId",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "params",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "result",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": false,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "resultCount",
          "typeName": "long",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        }
      ]
    },
    {
      "name": "ProcessExecution",
      "superTypes": [
        "Asset"
      ],
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "attributeDefs": []
    }
  ],
  "relationshipDefs": [
    {
      "name": "dataset_process_inputs",
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "relationshipCategory": "AGGREGATION",
      "endDef1": {
        "type": "Process",
        "name": "inputs",
        "isContainer": true,
        "cardinality": "SET",
        "isLegacyAttribute": true
      },
      "endDef2": {
        "type": "DataSet",
        "name": "inputToProcesses",
        "isContainer": false,
        "cardinality": "SET"
      },
      "propagateTags": "TWO_TO_ONE"
    },
    {
      "name": "process_dataset_outputs",
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "relationshipCategory": "AGGREGATION",
      "endDef1": {
        "type": "Process",
        "name": "outputs",
        "isContainer": true,
        "cardinality": "SET",
        "isLegacyAttribute": true
      },
      "endDef2": {
        "type": "DataSet",
        "name": "outputFromProcesses",
        "isContainer": false,
        "cardinality": "SET"
      },
      "propagateTags": "ONE_TO_TWO"
    },
    {
      "name": "__AtlasUserProfile_savedsearches",
      "serviceType": "atlas_core",
      "typeVersion": "1.0",
      "relationshipCategory": "COMPOSITION",
      "endDef1": {
        "type": "__AtlasUserProfile",
        "name": "savedSearches",
        "isContainer": true,
        "cardinality": "SET",
        "isLegacyAttribute": true
      },
      "endDef2": {
        "type": "__AtlasUserSavedSearch",
        "name": "userProfile",
        "isContainer": false,
        "cardinality": "SINGLE"
      },
      "propagateTags": "NONE"
    }
  ]
}
