From b7a381ee41a8e646eeda5fca3ab536201a506e3f Mon Sep 17 00:00:00 2001 From: Arthur Smith Date: Thu, 6 Jan 2022 10:08:29 -0500 Subject: [PATCH 1/2] Update schema.json Established date should be a year - integer value, and no decimal points! --- src/jsonSchema/rorSchema/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsonSchema/rorSchema/schema.json b/src/jsonSchema/rorSchema/schema.json index 72618aa..81be60d 100644 --- a/src/jsonSchema/rorSchema/schema.json +++ b/src/jsonSchema/rorSchema/schema.json @@ -381,7 +381,7 @@ } }, "established": { - "type": ["null", "number"], + "type": ["null", "integer"], "default": null }, "relationships": { From 469024ca14531e5a64ad463cbaf33924c764494f Mon Sep 17 00:00:00 2001 From: Arthur Smith Date: Thu, 6 Jan 2022 15:23:00 -0500 Subject: [PATCH 2/2] Update schema.json Moving the "city" string property up above "lat" makes it the first non-object property for addresses and so the default label. There's supposed to be another way to designate this but I couldn't get that to work; this seems to work though! --- src/jsonSchema/rorSchema/schema.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jsonSchema/rorSchema/schema.json b/src/jsonSchema/rorSchema/schema.json index 81be60d..4a19393 100644 --- a/src/jsonSchema/rorSchema/schema.json +++ b/src/jsonSchema/rorSchema/schema.json @@ -222,6 +222,10 @@ } } }, + "city": { + "type": "string", + "readOnly": true + }, "lat": { "type": "number", "readOnly": true @@ -230,10 +234,6 @@ "type": "number", "readOnly": true }, - "city": { - "type": "string", - "readOnly": true - }, "state_code": { "type": [ "null",