diff --git a/schema/360-giving-schema.json b/schema/360-giving-schema.json index 5f1cc863..04985793 100644 --- a/schema/360-giving-schema.json +++ b/schema/360-giving-schema.json @@ -267,6 +267,7 @@ "UZS", "VEB", "VEF", + "VES", "VNC", "VND", "VUV", @@ -322,8 +323,12 @@ }, "transactionDate": { "oneOf": [ - {"format": "date-time"}, - {"pattern":"^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"} + { + "format": "date-time" + }, + { + "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$" + } ], "type": "string", "description": "When did this transaction take place? The date should be written as YYYY-MM-DD, or in full date-time format.", @@ -341,8 +346,12 @@ }, "valueDate": { "oneOf": [ - {"format": "date-time"}, - {"pattern":"^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"} + { + "format": "date-time" + }, + { + "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$" + } ], "type": [ "string", @@ -1011,16 +1020,21 @@ "properties": { "title": { "type": "string", - "title":"Title", + "title": "Title", "description": "The title of this event", - "weight": 1.05, - "title": "Title" + "weight": 1.05 }, "startDate": { "oneOf": [ - {"format": "date-time"}, - {"pattern":"^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"}, - {"pattern":"^[0-9]{4}(-(0[1-9]|1[012]))?$"} + { + "format": "date-time" + }, + { + "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$" + }, + { + "pattern": "^[0-9]{4}(-(0[1-9]|1[012]))?$" + } ], "type": "string", "description": "All events should have a start date. Dates should be in YYYY-MM-DD or date-time format. If the month or day are not available, these may be omitted.", @@ -1029,9 +1043,15 @@ }, "endDate": { "oneOf": [ - {"format": "date-time"}, - {"pattern":"^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"}, - {"pattern":"^[0-9]{4}(-(0[1-9]|1[012]))?$"} + { + "format": "date-time" + }, + { + "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$" + }, + { + "pattern": "^[0-9]{4}(-(0[1-9]|1[012]))?$" + } ], "type": "string", "description": "An end date for the grant. Dates should be in YYYY-MM-DD or date-time format. If the month or day are not available, these may be omitted.", @@ -1113,8 +1133,12 @@ }, "awardDate": { "oneOf": [ - {"format": "date-time"}, - {"pattern":"^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$"} + { + "format": "date-time" + }, + { + "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$" + } ], "type": "string", "description": "When was the decision to award this grant made. The date should be written as YYYY-MM-DD, or in full date-time format.", @@ -1135,7 +1159,7 @@ "type": "array", "weight": 5.041, "title": "Planned Dates", - "description":"When the recipient organisation intends this activity to take place. A date range can include a start date and duration in months, or a start and end date.", + "description": "When the recipient organisation intends this activity to take place. A date range can include a start date and duration in months, or a start and end date.", "rollUp": [ "startDate", "endDate", @@ -1159,7 +1183,7 @@ "type": "array", "weight": 5, "title": "Recipient Org", - "description":"Details of the recipient of this grant.", + "description": "Details of the recipient of this grant.", "rollUp": [ "id", "name", @@ -1308,4 +1332,4 @@ "title": "Data Source" } } -} +} \ No newline at end of file