You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schemas-core/src/main/resources/avro/psi/analysis.avsc
+64Lines changed: 64 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,15 @@
76
76
"default": null,
77
77
"doc": "Indicates if the analyzed record has a hierarchy level name"
78
78
},
79
+
{
80
+
"name": "isGranule",
81
+
"type": [
82
+
"null",
83
+
"boolean"
84
+
],
85
+
"default": null,
86
+
"doc": "Resolves to true if metadata content indicates a record is a granule. That is, a parent identifier is present and the hierarchy level name is 'granule'."
87
+
},
79
88
{
80
89
"name": "matchesIdentifiers",
81
90
"type": [
@@ -90,6 +99,61 @@
90
99
],
91
100
"default": null
92
101
},
102
+
{
103
+
"name": "relationships",
104
+
"doc": "Assessment of the relationships identified in the metadata.",
105
+
"type": [
106
+
"null",
107
+
{
108
+
"type": "record",
109
+
"name": "RelationshipAnalysis",
110
+
"fields": [
111
+
{
112
+
"name": "hasRelationships",
113
+
"type": [
114
+
"null",
115
+
"boolean"
116
+
],
117
+
"default": null,
118
+
"doc": "Indicates if a record has any identified relationships"
119
+
},
120
+
{
121
+
"name": "relationships",
122
+
"doc": "Summary of associated relationship RecordTypes and corresponding counts"
123
+
"type": {
124
+
"type": "array",
125
+
"items": {
126
+
"name": "RelationshipAnalysisElement",
127
+
"type": "record",
128
+
"fields": [
129
+
{
130
+
"name": "type",
131
+
"type": [
132
+
null,
133
+
"RelationshipType"
134
+
],
135
+
"default": null,
136
+
"doc": "RecordType of associated relationship(s)."
137
+
},
138
+
{
139
+
"name": "count",
140
+
"type": [
141
+
"null",
142
+
"int"
143
+
],
144
+
"default": null,
145
+
"doc": "Count of associated relationships for the given RecordType."
146
+
}
147
+
]
148
+
}
149
+
},
150
+
"default": []
151
+
}
152
+
]
153
+
}
154
+
],
155
+
"default": null
156
+
},
93
157
{
94
158
"name": "titles",
95
159
"doc": "Assessment of the titles in the metadata.",
0 commit comments