|
130 | 130 | "datasetDomain": { |
131 | 131 | "type": "string", |
132 | 132 | "description": "Name of the logical domain dataset the contract describes. This field is only required for output data contracts.", |
133 | | - "examples": ["imdb_ds_aggregate", "receiver_profile_out", "transaction_profile_out"] |
| 133 | + "examples": ["imdb_ds_aggregate", "receiver_profile_out", "transaction_profile_out"] |
134 | 134 | }, |
135 | 135 | "database": { |
136 | 136 | "type": "string", |
|
196 | 196 | } |
197 | 197 | }, |
198 | 198 | "authoritativeDefinitions": { |
199 | | - "type": "array", |
200 | | - "description": "List of links to sources that provide more details on the table; examples would be a link to an external definition, a training video, a GitHub repo, Collibra, or another tool. Authoritative definitions follow the same structure in the standard.", |
201 | | - "items": { |
202 | | - "type": "object", |
203 | | - "properties": { |
204 | | - "url": { |
205 | | - "type": "string", |
206 | | - "description": "URL to the authority." |
207 | | - }, |
208 | | - "type": { |
209 | | - "type": "string", |
210 | | - "description": "Type of definition for authority: v2.3 adds standard values: `businessDefinition`, `transformationImplementation`, `videoTutorial`, `tutorial`, and `implementation`.", |
211 | | - "examples": ["businessDefinition", "transformationImplementation", "videoTutorial", "tutorial", "implementation"] |
212 | | - } |
213 | | - }, |
214 | | - "required": ["url", "type"] |
215 | | - } |
| 199 | + "$ref": "#/$defs/AuthoritativeDefinitions" |
216 | 200 | }, |
217 | 201 | "dataGranularity": { |
218 | 202 | "type": "string", |
|
304 | 288 | "examples": ["confidential", "restricted", "public"] |
305 | 289 | }, |
306 | 290 | "authoritativeDefinitions": { |
307 | | - "type": "string", |
308 | | - "description": "List of links to sources that provide more detail on column logic or values; examples would be URL to a GitHub repo, Collibra, on another tool." |
| 291 | + "$ref": "#/$defs/AuthoritativeDefinitions" |
309 | 292 | }, |
310 | 293 | "encryptedColumnName": { |
311 | 294 | "type": "string", |
|
409 | 392 | }, |
410 | 393 | "required": ["templateName", "toolName"] |
411 | 394 | }, |
| 395 | + "AuthoritativeDefinitions": { |
| 396 | + "type": "array", |
| 397 | + "description": "List of links to sources that provide more details on the table; examples would be a link to an external definition, a training video, a GitHub repo, Collibra, or another tool. Authoritative definitions follow the same structure in the standard.", |
| 398 | + "items": { |
| 399 | + "type": "object", |
| 400 | + "properties": { |
| 401 | + "url": { |
| 402 | + "type": "string", |
| 403 | + "description": "URL to the authority." |
| 404 | + }, |
| 405 | + "type": { |
| 406 | + "type": "string", |
| 407 | + "description": "Type of definition for authority: v2.3 adds standard values: `businessDefinition`, `transformationImplementation`, `videoTutorial`, `tutorial`, and `implementation`.", |
| 408 | + "examples": ["businessDefinition", "transformationImplementation", "videoTutorial", "tutorial", "implementation"] |
| 409 | + } |
| 410 | + }, |
| 411 | + "required": ["url", "type"] |
| 412 | + } |
| 413 | + }, |
412 | 414 | "Pricing": { |
413 | 415 | "type": "object", |
414 | 416 | "properties": { |
|
0 commit comments