From 0e63873a053efe4e3c68ad52fb753c57dba5b785 Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Fri, 13 Mar 2026 01:20:46 -0400 Subject: [PATCH 1/8] 531-Add OpenAPI based test for Site changes --- schema/site.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/schema/site.yml b/schema/site.yml index ba55eab..eb9898d 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -420,6 +420,20 @@ components: For Polygon: array of linear rings, each containing an array of [longitude, latitude] coordinate pairs. In this case, only one exterior ring exists (no holes). + crs: + type: object + nullable: true + description: Coordinate Reference System object (optional in GeoJSON) + properties: + type: + type: string + example: "name" + properties: + type: object + properties: + name: + type: string + example: "EPSG:4326" example: type: Polygon coordinates: From 929e300a9a2590b1f849c4aa745fbead7d6633b5 Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Thu, 19 Mar 2026 11:40:09 -0400 Subject: [PATCH 2/8] 534-Add geographic name information to site OpenAPI changes --- schema/site.yml | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/schema/site.yml b/schema/site.yml index eb9898d..f98580b 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -459,6 +459,62 @@ components: desc: type: string description: the description + dwcCountry: + type: string + nullable: true + + dwcCountryCode: + type: string + nullable: true + + dwcStateProvince: + type: string + nullable: true + + geographicPlaceNameSource: + type: string + nullable: true + enum: [OSM] + + geographicPlaceNameSourceDetail: + type: object + nullable: true + properties: + sourceUrl: + type: string + format: url + nullable: true + + customGeographicPlace: + type: string + nullable: true + + selectedGeographicPlace: + $ref: '#/components/schemas/SourceAdministrativeLevel' + + higherGeographicPlaces: + type: array + nullable: true + items: + $ref: '#/components/schemas/SourceAdministrativeLevel' + + stateProvince: + $ref: '#/components/schemas/SourceAdministrativeLevel' + + country: + type: object + properties: + code: + type: string + nullable: true + name: + type: string + nullable: true + + recordedOn: + type: string + format: date-time + nullable: true SiteRelationships: type: object @@ -485,3 +541,16 @@ components: format: uuid description: Unique identifier of the metadata/attachment example: 8f68a05f-937d-4d40-88b4-ed92720d9c3f + + SourceAdministrativeLevel: + type: object + nullable: true + properties: + id: + type: string + element: + type: string + placeType: + type: string + name: + type: string From 3deb5b8abc2baf63e6d12e44cfb58c928cff1df6 Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Thu, 19 Mar 2026 13:26:11 -0400 Subject: [PATCH 3/8] changes --- schema/site.yml | 56 +------------------------------------------------ 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/schema/site.yml b/schema/site.yml index f98580b..9af3bb2 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -471,50 +471,7 @@ components: type: string nullable: true - geographicPlaceNameSource: - type: string - nullable: true - enum: [OSM] - - geographicPlaceNameSourceDetail: - type: object - nullable: true - properties: - sourceUrl: - type: string - format: url - nullable: true - - customGeographicPlace: - type: string - nullable: true - - selectedGeographicPlace: - $ref: '#/components/schemas/SourceAdministrativeLevel' - - higherGeographicPlaces: - type: array - nullable: true - items: - $ref: '#/components/schemas/SourceAdministrativeLevel' - stateProvince: - $ref: '#/components/schemas/SourceAdministrativeLevel' - - country: - type: object - properties: - code: - type: string - nullable: true - name: - type: string - nullable: true - - recordedOn: - type: string - format: date-time - nullable: true SiteRelationships: type: object @@ -542,15 +499,4 @@ components: description: Unique identifier of the metadata/attachment example: 8f68a05f-937d-4d40-88b4-ed92720d9c3f - SourceAdministrativeLevel: - type: object - nullable: true - properties: - id: - type: string - element: - type: string - placeType: - type: string - name: - type: string + From 2e8edc2ab2d2f841b215c1593ff6467e919bebf5 Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Thu, 19 Mar 2026 13:48:28 -0400 Subject: [PATCH 4/8] changes --- schema/site.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/schema/site.yml b/schema/site.yml index 9af3bb2..61e3f00 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -471,6 +471,10 @@ components: type: string nullable: true + geographicPlaceNameSource: + type: string + nullable: true + enum: [OSM] SiteRelationships: @@ -499,4 +503,4 @@ components: description: Unique identifier of the metadata/attachment example: 8f68a05f-937d-4d40-88b4-ed92720d9c3f - + From 272e582acb43aeb3d36b81fb8c258f5c93e9b3f2 Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Thu, 19 Mar 2026 14:07:27 -0400 Subject: [PATCH 5/8] change --- schema/site.yml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/schema/site.yml b/schema/site.yml index 61e3f00..f98580b 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -476,6 +476,45 @@ components: nullable: true enum: [OSM] + geographicPlaceNameSourceDetail: + type: object + nullable: true + properties: + sourceUrl: + type: string + format: url + nullable: true + + customGeographicPlace: + type: string + nullable: true + + selectedGeographicPlace: + $ref: '#/components/schemas/SourceAdministrativeLevel' + + higherGeographicPlaces: + type: array + nullable: true + items: + $ref: '#/components/schemas/SourceAdministrativeLevel' + + stateProvince: + $ref: '#/components/schemas/SourceAdministrativeLevel' + + country: + type: object + properties: + code: + type: string + nullable: true + name: + type: string + nullable: true + + recordedOn: + type: string + format: date-time + nullable: true SiteRelationships: type: object @@ -503,4 +542,15 @@ components: description: Unique identifier of the metadata/attachment example: 8f68a05f-937d-4d40-88b4-ed92720d9c3f - + SourceAdministrativeLevel: + type: object + nullable: true + properties: + id: + type: string + element: + type: string + placeType: + type: string + name: + type: string From 61aef8a664e33693593fbbcf916f2813d0222fbf Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Mon, 23 Mar 2026 09:29:48 -0400 Subject: [PATCH 6/8] changes --- schema/site.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/schema/site.yml b/schema/site.yml index f98580b..d1bfa91 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -482,40 +482,38 @@ components: properties: sourceUrl: type: string - format: url nullable: true - + format: url + description: the source's url customGeographicPlace: type: string nullable: true - selectedGeographicPlace: $ref: '#/components/schemas/SourceAdministrativeLevel' - higherGeographicPlaces: - type: array nullable: true + type: array items: $ref: '#/components/schemas/SourceAdministrativeLevel' - stateProvince: $ref: '#/components/schemas/SourceAdministrativeLevel' - country: type: object properties: code: - type: string nullable: true - name: type: string + minLength: 2 + maxLength: 2 + description: 2 character country code + name: nullable: true - + type: string recordedOn: type: string format: date-time nullable: true - + description: The date and time the geographic place name source detail record was recorded on. SiteRelationships: type: object nullable: true From f8545cdd0039abfda5ab100340ec0c9e05a72263 Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Thu, 26 Mar 2026 17:08:34 -0400 Subject: [PATCH 7/8] 536-Add managed attribute support to Site changes --- schema/site.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schema/site.yml b/schema/site.yml index d1bfa91..eeca0ea 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -514,6 +514,12 @@ components: format: date-time nullable: true description: The date and time the geographic place name source detail record was recorded on. + managedAttributes: + type: object + nullable: true + description: Map of managed attribute key/value pairs + additionalProperties: + type: string SiteRelationships: type: object nullable: true From ecfdd4fe9665dbaf3f7125d9e1962a1def22e732 Mon Sep 17 00:00:00 2001 From: Praveen Yalamanchli Date: Fri, 27 Mar 2026 12:40:08 -0400 Subject: [PATCH 8/8] merge conflict changes --- schema/site.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/schema/site.yml b/schema/site.yml index 11990db..831a83d 100644 --- a/schema/site.yml +++ b/schema/site.yml @@ -573,15 +573,4 @@ components: name: type: string - SourceAdministrativeLevel: - type: object - nullable: true - properties: - id: - type: string - element: - type: string - placeType: - type: string - name: - type: string +