1065-avro_model.json 8.24 KB
Newer Older
1 2 3 4 5 6 7 8 9
{
    "enumDefs": [],
    "structDefs": [],
    "classificationDefs": [],
    "entityDefs": [
        {
            "name": "avro_type",
            "description": "Atlas Type representing Abstract Avro Type",
            "superTypes": [
10
                "DataSet"
11
            ],
12
            "serviceType": "avro",
13 14 15 16 17 18 19 20 21 22
            "typeVersion": "1.0",
            "attributeDefs": [
            ]
        },
        {
            "name": "avro_field",
            "description": "Atlas Type representing an Avro Field",
            "superTypes": [
                "avro_type"
            ],
23
            "serviceType": "avro",
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "doc",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "default",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
                }
            ]
        },
        {
            "name": "avro_record",
            "description": "Atlas Type representing Abstract Avro Schema",
            "superTypes": [
                "avro_type"
            ],
50
            "serviceType": "avro",
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "type",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "doc",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "avro_notation",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "versionId",
                    "typeName": "int",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "isLatest",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "avroClass",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                }
            ]
        },
        {
            "name": "avro_schema",
            "description": "Atlas Type representing Abstract Top-level Avro Schema",
            "superTypes": [
                "avro_record"
            ],
109
            "serviceType": "avro",
110 111 112 113 114 115 116 117 118
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "namespace",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
119
                }
120 121 122 123 124 125 126 127
            ]
        },
        {
            "name": "avro_primitive",
            "description": "Atlas Type representing an Avro primitive datatype",
            "superTypes": [
                "avro_type"
            ],
128
            "serviceType": "avro",
129
            "typeVersion": "1.0",
130
            "attributeDefs": []
131 132 133 134 135 136 137
        },
        {
            "name": "avro_fixed",
            "description": "Atlas Type representing an Avro fixed datatype",
            "superTypes": [
                "avro_type"
            ],
138
            "serviceType": "avro",
139
            "typeVersion": "1.0",
140
            "attributeDefs": []
141 142 143 144 145 146 147
        },
        {
            "name": "avro_enum",
            "description": "Atlas Type representing an Avro ENUM datatype",
            "superTypes": [
                "avro_type"
            ],
148
            "serviceType": "avro",
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "type",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "symbols",
                    "typeName": "array<string>",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": false,
                    "isUnique": false
                }
            ]
        },
        {
            "name": "avro_collection",
            "description": "Atlas Type representing an Avro Array datatype",
            "superTypes": [
                "avro_type"
            ],
175
            "serviceType": "avro",
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "type",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "items",
                    "typeName": "array<string>",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": false,
                    "isUnique": false
                }
            ]
        }
196 197 198 199
    ],
    "relationshipDefs": [
        {
            "name": "avro_schema_associatedEntities",
200
            "serviceType": "avro",
201 202
            "typeVersion": "1.0",
            "relationshipCategory": "ASSOCIATION",
203
            "relationshipLabel": "__avro_schema.associatedEntities",
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
            "endDef1": {
                "type": "avro_schema",
                "name": "associatedEntities",
                "isContainer": false,
                "cardinality": "SET",
                "isLegacyAttribute": true
            },
            "endDef2": {
                "type": "DataSet",
                "name": "schema",
                "isContainer": false,
                "cardinality": "SET"
            },
            "propagateTags": "NONE"
        },
        {
            "name": "avro_record_fields",
221
            "serviceType": "avro",
222 223
            "typeVersion": "1.0",
            "relationshipCategory": "AGGREGATION",
224
            "relationshipLabel": "__avro_record.fields",
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
            "endDef1": {
                "type": "avro_record",
                "name": "fields",
                "isContainer": true,
                "cardinality": "SET",
                "isLegacyAttribute": true
            },
            "endDef2": {
                "type": "avro_field",
                "name": "record",
                "isContainer": false,
                "cardinality": "SINGLE"
            },
            "propagateTags": "NONE"
        },
        {
            "name": "avro_field_types",
242
            "serviceType": "avro",
243 244
            "typeVersion": "1.0",
            "relationshipCategory": "ASSOCIATION",
245
            "relationshipLabel": "__avro_field.type",
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
            "endDef1": {
                "type": "avro_field",
                "name": "type",
                "isContainer": false,
                "cardinality": "SET",
                "isLegacyAttribute": true
            },
            "endDef2": {
                "type": "avro_type",
                "name": "field",
                "isContainer": false,
                "cardinality": "SINGLE"
            },
            "propagateTags": "NONE"
        }
261
    ]
262
}