From 973516eb260966285ccc5c93116609ccd53e5c0a Mon Sep 17 00:00:00 2001 From: Chas Nelson Date: Fri, 12 May 2023 15:06:44 +0100 Subject: [PATCH] fix: don't upgrade unused table schemas --- .../csavr/2_csavr_frictionlessv5.json | 87 ------------------- ..._geographic_facilities_frictionlessv5.json | 60 ------------- 2 files changed, 147 deletions(-) delete mode 100644 table_schemas/csavr/2_csavr_frictionlessv5.json delete mode 100644 table_schemas/geographic_facilities/2_geographic_facilities_frictionlessv5.json diff --git a/table_schemas/csavr/2_csavr_frictionlessv5.json b/table_schemas/csavr/2_csavr_frictionlessv5.json deleted file mode 100644 index 76d0940..0000000 --- a/table_schemas/csavr/2_csavr_frictionlessv5.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "fields": [ - { - "name": "area_id", - "title": "Area ID", - "description": "An area_id from the specified area hierarchy.", - "type": "string", - "constraints": { - "required": true - } - }, - { - "name": "area_name", - "title": "Area Name", - "description": "Area name corresponding to area_id (optional).", - "type": "string" - }, - { - "name": "indicator_id", - "title": "Indicator ID", - "description": "The indicator that the value represents.", - "type": "string", - "constraints": { - "required": true, - "enum": ["new_hiv_diagnoses", "aids_deaths"] - } - }, - { - "name": "year", - "title": "Year", - "description": "The calendar year.", - "type": "integer", - "constraints": { - "required": true, - "minimum": 1970, - "maximum": 2021 - } - }, - { - "name": "sex", - "title": "Sex", - "description": "Biological sex. Must be \"male\", \"female\", or \"both\" where sex stratification is not available.", - "type": "string", - "constraints": { - "required": true, - "enum": ["male", "female", "both"] - } - }, - { - "name": "age_group", - "title": "Age Group", - "description": "The age group", - "type": "string", - "constraints": { - "required": true - } - }, - { - "name": "sub_population", - "title": "Sub Population", - "description": "The sub population the value corresponds to e.g. all, fsw, msm, idu", - "type": "string", - "constraints": { - "required": true - } - }, - { - "name": "value", - "title": "Value", - "description": "The value", - "type": "number", - "constraints": { - "required": true, - "minimum": 0 - } - } - ], - "require_field_order": false, - "primaryKey": [ - "area_id", - "indicator_id", - "year", - "age_group", - "sex", - "sub_population" - ] -} diff --git a/table_schemas/geographic_facilities/2_geographic_facilities_frictionlessv5.json b/table_schemas/geographic_facilities/2_geographic_facilities_frictionlessv5.json deleted file mode 100644 index bbafb0f..0000000 --- a/table_schemas/geographic_facilities/2_geographic_facilities_frictionlessv5.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "fields": [ - { - "name": "facility_id", - "title": "Facility ID", - "type": "string", - "constraints": { - "required": true - } - }, - { - "name": "facility_name", - "title": "Facility Name", - "type": "string" - }, - { - "name": "parent_area_id", - "title": "Area ID", - "type": "string", - "constraints": { - "required": true - } - }, - { - "name": "lat", - "title": "Latitude", - "type": "number", - "decimalChar": ".", - "constraints": { - "minimum": -90, - "maximum": 90 - } - }, - { - "name": "long", - "title": "Longitude", - "type": "number", - "decimalChar": ".", - "constraints": { - "minimum": -180, - "maximum": 180 - } - }, - { - "name": "type", - "title": "Facility Type", - "type": "string" - } - ], - "primaryKey": "facility_id", - "foreignKeys": [ - { - "fields": "parent_area_id", - "reference": { - "resource": "geographic_location_hierachy", - "fields": "area_id" - } - } - ] -}