@@ -15,14 +15,11 @@ var ExtensibleDataProperties = {
1515 fields : {
1616 type : 'array' ,
1717 items : { $ref : '#/definitions/Field' }
18- }
19- } ,
20-
21- HypermediaEnabledDataProperties = merge ( ExtensibleDataProperties , {
18+ } ,
2219 links : { $ref : '#/definitions/Links' }
23- } ) ,
20+ } ,
2421
25- ConclusionProperties = merge ( HypermediaEnabledDataProperties , {
22+ ConclusionProperties = merge ( ExtensibleDataProperties , {
2623 analysis : { $ref : '#/definitions/ResourceReference' } ,
2724 attribution : { $ref : '#/definitions/Attribution' } ,
2825 confidence : { type : 'string' } ,
@@ -85,7 +82,7 @@ module.exports = {
8582 } ,
8683 Agent : {
8784 type : 'object' ,
88- properties : merge ( HypermediaEnabledDataProperties , {
85+ properties : merge ( ExtensibleDataProperties , {
8986 identifiers : { $ref : '#/definitions/Identifiers' } ,
9087 names : {
9188 type : 'array' ,
@@ -124,7 +121,7 @@ module.exports = {
124121 } ,
125122 Coverage : {
126123 type : 'object' ,
127- properties : merge ( HypermediaEnabledDataProperties , {
124+ properties : merge ( ExtensibleDataProperties , {
128125 spatial : { $ref : '#/definitions/PlaceReference' } ,
129126 temporal : { $ref : '#/definitions/Date' } ,
130127 recordType : { type : 'string' }
@@ -174,7 +171,7 @@ module.exports = {
174171 } ,
175172 EvidenceReference : {
176173 type : 'object' ,
177- properties : merge ( HypermediaEnabledDataProperties , {
174+ properties : merge ( ExtensibleDataProperties , {
178175 resource : { type : 'string' } ,
179176 resourceId : { type : 'string' } ,
180177 attribution : { $ref : '#/definitions/Attribution' }
@@ -196,7 +193,7 @@ module.exports = {
196193 } ,
197194 GedcomX : {
198195 type : 'object' ,
199- properties : merge ( HypermediaEnabledDataProperties , {
196+ properties : merge ( ExtensibleDataProperties , {
200197 lang : { type : 'string' } ,
201198 attribution : { $ref : '#/definitions/Attribution' } ,
202199 persons : {
@@ -379,14 +376,14 @@ module.exports = {
379376 } ,
380377 SourceCitation : {
381378 type : 'object' ,
382- properties : merge ( HypermediaEnabledDataProperties , {
379+ properties : merge ( ExtensibleDataProperties , {
383380 lang : { type : 'string' } ,
384381 value : { type : 'string' }
385382 } )
386383 } ,
387384 SourceDescription : {
388385 type : 'object' ,
389- properties : merge ( HypermediaEnabledDataProperties , {
386+ properties : merge ( ExtensibleDataProperties , {
390387 resourceType : { type : 'string' } ,
391388 citations : {
392389 type : 'array' ,
@@ -428,12 +425,13 @@ module.exports = {
428425 repository : { $ref : '#/definitions/ResourceReference' } ,
429426 titleLabel : { type : 'string' } ,
430427 sortKey : { type : 'string' } ,
431- descriptor : { $ref : '#/definitions/ResourceReference' }
428+ descriptor : { $ref : '#/definitions/ResourceReference' } ,
429+ version : { type : 'string' }
432430 } )
433431 } ,
434432 SourceReference : {
435433 type : 'object' ,
436- properties : merge ( HypermediaEnabledDataProperties , {
434+ properties : merge ( ExtensibleDataProperties , {
437435 description : { type : 'string' } ,
438436 attribution : { $ref : '#/definitions/Attribution' } ,
439437 qualifiers : {
@@ -509,7 +507,7 @@ module.exports = {
509507 // GedcomX Records
510508 Collection : {
511509 type : 'object' ,
512- properties : merge ( HypermediaEnabledDataProperties , {
510+ properties : merge ( ExtensibleDataProperties , {
513511 lang : { type : 'string' } ,
514512 identifiers : { $ref : '#/definitions/Identifiers' } ,
515513 title : { type : 'string' } ,
@@ -523,7 +521,7 @@ module.exports = {
523521 } ,
524522 CollectionContent : {
525523 type : 'object' ,
526- properties : merge ( HypermediaEnabledDataProperties , {
524+ properties : merge ( ExtensibleDataProperties , {
527525 completeness : { type : 'number' } ,
528526 count : { type : 'integer' } ,
529527 resourceType : { type : 'string' }
@@ -532,7 +530,7 @@ module.exports = {
532530 } ,
533531 Field : {
534532 type : 'object' ,
535- properties : merge ( HypermediaEnabledDataProperties , {
533+ properties : merge ( ExtensibleDataProperties , {
536534 type : { type : 'string' } ,
537535 values : {
538536 type : 'array' ,
@@ -553,7 +551,7 @@ module.exports = {
553551 } ,
554552 RecordDescriptor : {
555553 type : 'object' ,
556- properties : merge ( HypermediaEnabledDataProperties , {
554+ properties : merge ( ExtensibleDataProperties , {
557555 lang : { type : 'string' } ,
558556 fields : {
559557 type : 'array' ,
@@ -563,7 +561,7 @@ module.exports = {
563561 } ,
564562 FieldDescriptor : {
565563 type : 'object' ,
566- properties : merge ( HypermediaEnabledDataProperties , {
564+ properties : merge ( ExtensibleDataProperties , {
567565 originalLabel : { type : 'string' } ,
568566 descriptions : {
569567 type : 'array' ,
@@ -577,7 +575,7 @@ module.exports = {
577575 } ,
578576 FieldValueDescriptor : {
579577 type : 'object' ,
580- properties : merge ( HypermediaEnabledDataProperties , {
578+ properties : merge ( ExtensibleDataProperties , {
581579 optional : { type : 'boolean' } ,
582580 type : { type : 'string' } ,
583581 labelId : { type : 'string' } ,
0 commit comments