From 33c4d5e226d3fba3e8b45c6204ffff8f9fa83224 Mon Sep 17 00:00:00 2001 From: Chuck McCallum Date: Tue, 23 Jun 2026 10:54:19 -0400 Subject: [PATCH] rename "product" -> "basic" --- .../apple_iconic_scenes_photo_selections_2023.yaml | 2 +- deployments/apple_popular_emojis.yaml | 2 +- deployments/assistive_ai.yaml | 2 +- deployments/audience_engagement.yaml | 2 +- deployments/autoplay_intent.yaml | 2 +- deployments/birth_dataset.yaml | 2 +- deployments/broadband_coverage.yaml | 2 +- deployments/census_demographic_and_housing.yaml | 2 +- .../census_detailed_demographic_and_housing_a.yaml | 2 +- .../census_detailed_demographic_and_housing_b.yaml | 2 +- deployments/census_redistricting_data.yaml | 2 +- ...ensus_supplemental_demographic_and_housing.yaml | 2 +- deployments/county_business_patterns.yaml | 2 +- deployments/covid19_notifications.yaml | 2 +- deployments/covid19_search_trends_symptoms.yaml | 2 +- deployments/employment_outcomes.yaml | 2 +- deployments/google_mobility.yaml | 2 +- deployments/healthkit.yaml | 2 +- deployments/korean_statistics_datahub.yaml | 2 +- deployments/linkedin_hiring_reports.yaml | 2 +- deployments/lookup_hints.yaml | 2 +- ...victim_perpertartor_synthetic_dataset_2023.yaml | 2 +- deployments/mobility_trends_hurricane.yaml | 2 +- deployments/movement_ranges_maps.yaml | 2 +- deployments/on_device_browser_rec.yaml | 2 +- deployments/private_third_party_audits.yaml | 2 +- deployments/recurve_energy_dp.yaml | 2 +- deployments/safari_energy_drain.yaml | 2 +- deployments/safety_classifier.yaml | 2 +- deployments/sas_data_maker_vulnerable_persons.yaml | 2 +- deployments/shared_mobility_dataset.yaml | 2 +- deployments/spanish_language_next_word.yaml | 2 +- deployments/synth_data_public_use.yaml | 2 +- deployments/telemetry_collection_windows.yaml | 2 +- deployments/uber.yaml | 2 +- deployments/user_url_privacy.yaml | 2 +- deployments/vaccine_search_insights.yaml | 2 +- deployments/wikimedia_current_usage_data.yaml | 2 +- .../wikimedia_editor_activity_statistics_2023.yaml | 2 +- deployments/wikimedia_historical_usage_data.yaml | 2 +- ...ia_russian_editor_activity_statistics_2023.yaml | 2 +- schemas/deployments-schema.yaml | 4 ++-- scripts/update_slug.py | 8 ++++---- ...tespace_in_these_collapse_hurts_markdown_n.yaml | 2 +- ...es_are_not_allowed_surprise_was_unexpected.yaml | 2 +- ...c_publication_date_1_1_2026_is_not_a_date.yaml} | 2 +- ...etime_date_2026_1_1_is_not_of_type_string.yaml} | 2 +- ...check_schema_status_is_a_required_property.yaml | 2 +- .../check_schema_tier_0_is_not_one_of_1_2_3.yaml | 2 +- tests/good_deployments/google_tier_1.yaml | 2 +- tests/good_deployments/google_tier_2.yaml | 2 +- tests/good_deployments/google_tier_3.yaml | 2 +- tests/good_deployments/template.yaml | 2 +- tests/test_schema.py | 14 +++++++------- ui-hints/deployments-hints.yaml | 10 +++++----- 55 files changed, 69 insertions(+), 69 deletions(-) rename tests/bad_deployments/{check_schema_deployment_product_publication_date_1_1_2026_is_not_a_date.yaml => check_schema_deployment_basic_publication_date_1_1_2026_is_not_a_date.yaml} (96%) rename tests/bad_deployments/{check_schema_deployment_product_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml => check_schema_deployment_basic_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml} (96%) diff --git a/deployments/apple_iconic_scenes_photo_selections_2023.yaml b/deployments/apple_iconic_scenes_photo_selections_2023.yaml index 9df72aa..d92156c 100644 --- a/deployments/apple_iconic_scenes_photo_selections_2023.yaml +++ b/deployments/apple_iconic_scenes_photo_selections_2023.yaml @@ -2,7 +2,7 @@ url_slug: iconic-scenes-and-photo-sections-for-ios-apps-apple-2023 status: Draft tier: 3 deployment: - product: + basic: # Tier 1: name: Iconic scenes and photo sections for iOS apps data_curators: diff --git a/deployments/apple_popular_emojis.yaml b/deployments/apple_popular_emojis.yaml index d6a4d54..e9b1d62 100644 --- a/deployments/apple_popular_emojis.yaml +++ b/deployments/apple_popular_emojis.yaml @@ -2,7 +2,7 @@ url_slug: popular-emojis-apple-2017 status: Pending tier: 3 deployment: - product: + basic: name: Popular Emojis data_curators: - Apple diff --git a/deployments/assistive_ai.yaml b/deployments/assistive_ai.yaml index d7b3fc3..a801855 100644 --- a/deployments/assistive_ai.yaml +++ b/deployments/assistive_ai.yaml @@ -2,7 +2,7 @@ url_slug: assistive-ai-microsoft-2020 status: Pending tier: 2 deployment: - product: + basic: name: Assistive AI data_curators: - Microsoft diff --git a/deployments/audience_engagement.yaml b/deployments/audience_engagement.yaml index 83f42ee..f82fb04 100644 --- a/deployments/audience_engagement.yaml +++ b/deployments/audience_engagement.yaml @@ -2,7 +2,7 @@ url_slug: audience-engagement-api-linkedin-2020 status: Pending tier: 1 deployment: - product: + basic: name: Audience Engagement API data_curators: - LinkedIn diff --git a/deployments/autoplay_intent.yaml b/deployments/autoplay_intent.yaml index c1b3351..18cf047 100644 --- a/deployments/autoplay_intent.yaml +++ b/deployments/autoplay_intent.yaml @@ -2,7 +2,7 @@ url_slug: autoplay-intent-apple-2017 status: Pending tier: 1 deployment: - product: + basic: name: AutoPlay Intent data_curators: - Apple diff --git a/deployments/birth_dataset.yaml b/deployments/birth_dataset.yaml index d747a59..1b0d9cf 100644 --- a/deployments/birth_dataset.yaml +++ b/deployments/birth_dataset.yaml @@ -2,7 +2,7 @@ url_slug: israel-s-national-registry-of-live-births-of-2014-israeli-ministry-of- status: Pending tier: 1 deployment: - product: + basic: name: Israel's National Registry of Live Births of 2014 data_curators: - Israeli Ministry of Health diff --git a/deployments/broadband_coverage.yaml b/deployments/broadband_coverage.yaml index a3a2527..af86977 100644 --- a/deployments/broadband_coverage.yaml +++ b/deployments/broadband_coverage.yaml @@ -2,7 +2,7 @@ url_slug: broadband-coverage-microsoft-2021 status: Pending tier: 3 deployment: - product: + basic: name: Broadband Coverage data_curators: - Microsoft diff --git a/deployments/census_demographic_and_housing.yaml b/deployments/census_demographic_and_housing.yaml index 877d46f..4b91cc4 100644 --- a/deployments/census_demographic_and_housing.yaml +++ b/deployments/census_demographic_and_housing.yaml @@ -2,7 +2,7 @@ url_slug: disclosure-avoidance-system-for-demographic-and-housing-data-u-s-censu status: Pending tier: 3 deployment: - product: + basic: name: Disclosure Avoidance System for Demographic and Housing Data data_curators: - U.S. Census Bureau diff --git a/deployments/census_detailed_demographic_and_housing_a.yaml b/deployments/census_detailed_demographic_and_housing_a.yaml index 296b4c2..5becdc2 100644 --- a/deployments/census_detailed_demographic_and_housing_a.yaml +++ b/deployments/census_detailed_demographic_and_housing_a.yaml @@ -2,7 +2,7 @@ url_slug: disclosure-avoidance-system-for-detailed-demographic-and-housing-chara status: Pending tier: 3 deployment: - product: + basic: name: Disclosure Avoidance System for Detailed Demographic and Housing Characteristics File A data_curators: - U.S. Census Bureau diff --git a/deployments/census_detailed_demographic_and_housing_b.yaml b/deployments/census_detailed_demographic_and_housing_b.yaml index 83487a5..3d5106b 100644 --- a/deployments/census_detailed_demographic_and_housing_b.yaml +++ b/deployments/census_detailed_demographic_and_housing_b.yaml @@ -2,7 +2,7 @@ url_slug: disclosure-avoidance-system-for-detailed-demographic-and-housing-chara status: Pending tier: 3 deployment: - product: + basic: name: Disclosure Avoidance System for Detailed Demographic and Housing Characteristics File B data_curators: - U.S. Census Bureau diff --git a/deployments/census_redistricting_data.yaml b/deployments/census_redistricting_data.yaml index fdf616c..85fc66d 100644 --- a/deployments/census_redistricting_data.yaml +++ b/deployments/census_redistricting_data.yaml @@ -2,7 +2,7 @@ url_slug: disclosure-avoidance-system-for-redistricting-data-u-s-census-bureau-2 status: Pending tier: 3 deployment: - product: + basic: name: Disclosure Avoidance System for Redistricting Data data_curators: - U.S. Census Bureau diff --git a/deployments/census_supplemental_demographic_and_housing.yaml b/deployments/census_supplemental_demographic_and_housing.yaml index 8356ca3..66bd47f 100644 --- a/deployments/census_supplemental_demographic_and_housing.yaml +++ b/deployments/census_supplemental_demographic_and_housing.yaml @@ -2,7 +2,7 @@ url_slug: disclosure-avoidance-system-for-supplemental-demographic-and-housing-c status: Pending tier: 3 deployment: - product: + basic: name: Disclosure Avoidance System for Supplemental Demographic and Housing Characteristics File data_curators: - U.S. Census Bureau diff --git a/deployments/county_business_patterns.yaml b/deployments/county_business_patterns.yaml index 217d200..1b93b97 100644 --- a/deployments/county_business_patterns.yaml +++ b/deployments/county_business_patterns.yaml @@ -2,7 +2,7 @@ url_slug: census-county-business-patterns-u-s-census-bureau-2023 status: Pending tier: 1 deployment: - product: + basic: name: Census County Business Patterns data_curators: - U.S. Census Bureau diff --git a/deployments/covid19_notifications.yaml b/deployments/covid19_notifications.yaml index 1e87362..6f135c4 100644 --- a/deployments/covid19_notifications.yaml +++ b/deployments/covid19_notifications.yaml @@ -2,7 +2,7 @@ url_slug: covid-19-exposure-notification-framework-google-apple-2021 status: Pending tier: 1 deployment: - product: + basic: name: COVID-19 Exposure Notification Framework data_curators: - Google diff --git a/deployments/covid19_search_trends_symptoms.yaml b/deployments/covid19_search_trends_symptoms.yaml index ea3b05c..64bda81 100644 --- a/deployments/covid19_search_trends_symptoms.yaml +++ b/deployments/covid19_search_trends_symptoms.yaml @@ -2,7 +2,7 @@ url_slug: covid-19-search-trends-symptoms-google-2020 status: Pending tier: 3 deployment: - product: + basic: name: COVID-19 Search Trends Symptoms data_curators: - Google diff --git a/deployments/employment_outcomes.yaml b/deployments/employment_outcomes.yaml index f1ed4b5..6049412 100644 --- a/deployments/employment_outcomes.yaml +++ b/deployments/employment_outcomes.yaml @@ -2,7 +2,7 @@ url_slug: post-secondary-employment-outcomes-u-s-census-bureau-2019 status: Pending tier: 2 deployment: - product: + basic: name: Post-Secondary Employment Outcomes data_curators: - U.S. Census Bureau diff --git a/deployments/google_mobility.yaml b/deployments/google_mobility.yaml index b076f62..3109556 100644 --- a/deployments/google_mobility.yaml +++ b/deployments/google_mobility.yaml @@ -2,7 +2,7 @@ url_slug: community-mobility-place-visits-google-2020 status: Pending tier: 3 deployment: - product: + basic: name: Community Mobility Place Visits data_curators: - Google diff --git a/deployments/healthkit.yaml b/deployments/healthkit.yaml index 3163602..c607792 100644 --- a/deployments/healthkit.yaml +++ b/deployments/healthkit.yaml @@ -2,7 +2,7 @@ url_slug: healthkit-usage-statistics-apple-2017 status: Pending tier: 1 deployment: - product: + basic: name: HealthKit Usage Statistics data_curators: - Apple diff --git a/deployments/korean_statistics_datahub.yaml b/deployments/korean_statistics_datahub.yaml index 677c3ef..da32efb 100644 --- a/deployments/korean_statistics_datahub.yaml +++ b/deployments/korean_statistics_datahub.yaml @@ -2,7 +2,7 @@ url_slug: korean-government-statistical-data-hub-platform-kostat-national-statis status: Pending tier: 1 deployment: - product: + basic: name: Korean Government Statistical Data Hub Platform data_curators: - KOSTAT (National Statistics Office of Korea) diff --git a/deployments/linkedin_hiring_reports.yaml b/deployments/linkedin_hiring_reports.yaml index b400bee..dd9ca76 100644 --- a/deployments/linkedin_hiring_reports.yaml +++ b/deployments/linkedin_hiring_reports.yaml @@ -2,7 +2,7 @@ url_slug: linkedin-hiring-reports-linkedin-2020 status: Pending tier: 1 deployment: - product: + basic: name: LinkedIn Hiring Reports data_curators: - LinkedIn diff --git a/deployments/lookup_hints.yaml b/deployments/lookup_hints.yaml index ff64312..5a03dbb 100644 --- a/deployments/lookup_hints.yaml +++ b/deployments/lookup_hints.yaml @@ -2,7 +2,7 @@ url_slug: lookup-hints-apple-2016 status: Pending tier: 1 deployment: - product: + basic: name: Lookup Hints data_curators: - Apple diff --git a/deployments/microsoft_ctdc_victim_perpertartor_synthetic_dataset_2023.yaml b/deployments/microsoft_ctdc_victim_perpertartor_synthetic_dataset_2023.yaml index c55cd90..cad13a9 100644 --- a/deployments/microsoft_ctdc_victim_perpertartor_synthetic_dataset_2023.yaml +++ b/deployments/microsoft_ctdc_victim_perpertartor_synthetic_dataset_2023.yaml @@ -2,7 +2,7 @@ url_slug: ctdc-global-victim-perpetrator-synthetic-dataset-microsoft-internation status: Draft tier: 3 deployment: - product: + basic: # Tier 1: name: CTDC Global Victim-Perpetrator Synthetic Dataset data_curators: diff --git a/deployments/mobility_trends_hurricane.yaml b/deployments/mobility_trends_hurricane.yaml index 035f970..f8cebd0 100644 --- a/deployments/mobility_trends_hurricane.yaml +++ b/deployments/mobility_trends_hurricane.yaml @@ -2,7 +2,7 @@ url_slug: mobility-trends-during-hurricane-spectus-2022 status: Pending tier: 1 deployment: - product: + basic: name: Mobility Trends During Hurricane data_curators: - Spectus diff --git a/deployments/movement_ranges_maps.yaml b/deployments/movement_ranges_maps.yaml index 8116b23..b4881eb 100644 --- a/deployments/movement_ranges_maps.yaml +++ b/deployments/movement_ranges_maps.yaml @@ -2,7 +2,7 @@ url_slug: movement-ranges-map-meta-2020 status: Pending tier: 1 deployment: - product: + basic: name: Movement Ranges Map data_curators: - Meta diff --git a/deployments/on_device_browser_rec.yaml b/deployments/on_device_browser_rec.yaml index d3f67c2..c8e8dfc 100644 --- a/deployments/on_device_browser_rec.yaml +++ b/deployments/on_device_browser_rec.yaml @@ -2,7 +2,7 @@ url_slug: on-device-browser-recommendations-brave-2021 status: Pending tier: 1 deployment: - product: + basic: name: On-device browser recommendations data_curators: - Brave diff --git a/deployments/private_third_party_audits.yaml b/deployments/private_third_party_audits.yaml index 1f5338f..bf538f3 100644 --- a/deployments/private_third_party_audits.yaml +++ b/deployments/private_third_party_audits.yaml @@ -2,7 +2,7 @@ url_slug: private-third-party-audits-twitter-openmined-2022 status: Pending tier: 1 deployment: - product: + basic: name: Private Third Party Audits data_curators: - Twitter diff --git a/deployments/recurve_energy_dp.yaml b/deployments/recurve_energy_dp.yaml index b3bd96f..6eba36f 100644 --- a/deployments/recurve_energy_dp.yaml +++ b/deployments/recurve_energy_dp.yaml @@ -2,7 +2,7 @@ url_slug: energy-differential-privacy-for-ohmconnect-virtual-power-plant-measure status: Pending tier: 3 deployment: - product: + basic: name: Energy Differential Privacy for OhmConnect Virtual Power Plant Measurement data_curators: - Recurve diff --git a/deployments/safari_energy_drain.yaml b/deployments/safari_energy_drain.yaml index 56b5dbf..62b9dce 100644 --- a/deployments/safari_energy_drain.yaml +++ b/deployments/safari_energy_drain.yaml @@ -2,7 +2,7 @@ url_slug: safari-energy-draining-and-crashing-domains-apple-2017 status: Pending tier: 3 deployment: - product: + basic: name: Safari Energy Draining and Crashing Domains data_curators: - Apple diff --git a/deployments/safety_classifier.yaml b/deployments/safety_classifier.yaml index 1316d19..806eac6 100644 --- a/deployments/safety_classifier.yaml +++ b/deployments/safety_classifier.yaml @@ -2,7 +2,7 @@ url_slug: safety-classifier-google-2024 status: Pending tier: 2 deployment: - product: + basic: name: Safety Classifier data_curators: - Google diff --git a/deployments/sas_data_maker_vulnerable_persons.yaml b/deployments/sas_data_maker_vulnerable_persons.yaml index d9b3c18..e32b7c1 100644 --- a/deployments/sas_data_maker_vulnerable_persons.yaml +++ b/deployments/sas_data_maker_vulnerable_persons.yaml @@ -2,7 +2,7 @@ url_slug: synthetic-data-to-test-third-party-solutions-in-financial-services-nat status: Pending tier: 2 # TODO: or possibly 3? deployment: - product: + basic: name: Synthetic data to test third-party solutions in financial services data_curators: - Nationwide Building Society diff --git a/deployments/shared_mobility_dataset.yaml b/deployments/shared_mobility_dataset.yaml index 81a9528..5f72078 100644 --- a/deployments/shared_mobility_dataset.yaml +++ b/deployments/shared_mobility_dataset.yaml @@ -2,7 +2,7 @@ url_slug: shared-mobility-dataset-google-2022 status: Pending tier: 1 deployment: - product: + basic: name: Shared Mobility Dataset data_curators: - Google diff --git a/deployments/spanish_language_next_word.yaml b/deployments/spanish_language_next_word.yaml index 391bbcd..0a2f32e 100644 --- a/deployments/spanish_language_next_word.yaml +++ b/deployments/spanish_language_next_word.yaml @@ -2,7 +2,7 @@ url_slug: spanish-next-word-prediction-google-2022 status: Pending tier: 3 deployment: - product: + basic: name: Spanish Next Word Prediction data_curators: - Google diff --git a/deployments/synth_data_public_use.yaml b/deployments/synth_data_public_use.yaml index f344838..2ebadf4 100644 --- a/deployments/synth_data_public_use.yaml +++ b/deployments/synth_data_public_use.yaml @@ -2,7 +2,7 @@ url_slug: synthetic-data-for-public-use-office-of-national-statistics-uk-2020 status: Pending tier: 1 deployment: - product: + basic: name: Synthetic Data for Public Use data_curators: - Office of National Statistics UK diff --git a/deployments/telemetry_collection_windows.yaml b/deployments/telemetry_collection_windows.yaml index 78bb4b7..1019a50 100644 --- a/deployments/telemetry_collection_windows.yaml +++ b/deployments/telemetry_collection_windows.yaml @@ -2,7 +2,7 @@ url_slug: telemetry-collection-in-windows-microsoft-2017 status: Pending tier: 1 deployment: - product: + basic: name: Telemetry Collection in Windows data_curators: - Microsoft diff --git a/deployments/uber.yaml b/deployments/uber.yaml index deab5c0..8f5cb8b 100644 --- a/deployments/uber.yaml +++ b/deployments/uber.yaml @@ -2,7 +2,7 @@ url_slug: flex-uber-2018 status: Pending tier: 2 deployment: - product: + basic: name: FLEX data_curators: - Uber diff --git a/deployments/user_url_privacy.yaml b/deployments/user_url_privacy.yaml index 7b108f2..9434d54 100644 --- a/deployments/user_url_privacy.yaml +++ b/deployments/user_url_privacy.yaml @@ -2,7 +2,7 @@ url_slug: user-url-privacy-dataset-meta-2020 status: Pending tier: 1 deployment: - product: + basic: name: User-URL Privacy Dataset data_curators: - Meta diff --git a/deployments/vaccine_search_insights.yaml b/deployments/vaccine_search_insights.yaml index f70b1b0..a9c156e 100644 --- a/deployments/vaccine_search_insights.yaml +++ b/deployments/vaccine_search_insights.yaml @@ -2,7 +2,7 @@ url_slug: vaccine-search-insights-google-2021 status: Pending tier: 1 deployment: - product: + basic: name: Vaccine Search Insights data_curators: - Google diff --git a/deployments/wikimedia_current_usage_data.yaml b/deployments/wikimedia_current_usage_data.yaml index 8554811..27457c1 100644 --- a/deployments/wikimedia_current_usage_data.yaml +++ b/deployments/wikimedia_current_usage_data.yaml @@ -2,7 +2,7 @@ url_slug: current-pageviews-wikimedia-foundation-2023 status: Pending tier: 3 deployment: - product: + basic: name: Current Pageviews data_curators: - Wikimedia Foundation diff --git a/deployments/wikimedia_editor_activity_statistics_2023.yaml b/deployments/wikimedia_editor_activity_statistics_2023.yaml index 07afa38..79d67ca 100644 --- a/deployments/wikimedia_editor_activity_statistics_2023.yaml +++ b/deployments/wikimedia_editor_activity_statistics_2023.yaml @@ -2,7 +2,7 @@ url_slug: wikipedia-geoeditors-activity-statistics-wikimedia-foundation-2023 status: Draft tier: 3 deployment: - product: + basic: # Tier 1: name: Wikipedia Geoeditors Activity Statistics data_curators: diff --git a/deployments/wikimedia_historical_usage_data.yaml b/deployments/wikimedia_historical_usage_data.yaml index ac5fc17..4937968 100644 --- a/deployments/wikimedia_historical_usage_data.yaml +++ b/deployments/wikimedia_historical_usage_data.yaml @@ -2,7 +2,7 @@ url_slug: historical-pageviews-wikimedia-foundation-2023 status: Pending tier: 3 deployment: - product: + basic: name: Historical Pageviews data_curators: - Wikimedia Foundation diff --git a/deployments/wikimedia_russian_editor_activity_statistics_2023.yaml b/deployments/wikimedia_russian_editor_activity_statistics_2023.yaml index c7dd374..f087da6 100644 --- a/deployments/wikimedia_russian_editor_activity_statistics_2023.yaml +++ b/deployments/wikimedia_russian_editor_activity_statistics_2023.yaml @@ -2,7 +2,7 @@ url_slug: wikipedia-russian-editor-activity-statistics-wikimedia-foundation-2023 status: Draft tier: 3 deployment: - product: + basic: # Tier 1: name: Wikipedia Russian Editor Activity Statistics data_curators: diff --git a/schemas/deployments-schema.yaml b/schemas/deployments-schema.yaml index d7dc366..20798d4 100644 --- a/schemas/deployments-schema.yaml +++ b/schemas/deployments-schema.yaml @@ -46,9 +46,9 @@ properties: type: object additionalProperties: False required: - - product + - basic properties: - product: + basic: type: object additionalProperties: False required: diff --git a/scripts/update_slug.py b/scripts/update_slug.py index 99cb0f4..847029f 100644 --- a/scripts/update_slug.py +++ b/scripts/update_slug.py @@ -8,12 +8,12 @@ def clean(messy): def make_slug(data): - product = data["deployment"]["product"] + basic = data["deployment"]["basic"] return "_".join( [ - clean(product["name"]), - clean("-".join(product["data_curators"])), - clean(product["publication_date"].split("-")[0]), + clean(basic["name"]), + clean("-".join(basic["data_curators"])), + clean(basic["publication_date"].split("-")[0]), ] ).replace("_", "-") diff --git a/tests/bad_deployments/check_quoting_instead_of_use_to_preserve_whitespace_in_these_collapse_hurts_markdown_n.yaml b/tests/bad_deployments/check_quoting_instead_of_use_to_preserve_whitespace_in_these_collapse_hurts_markdown_n.yaml index f7d9004..a0d6d84 100644 --- a/tests/bad_deployments/check_quoting_instead_of_use_to_preserve_whitespace_in_these_collapse_hurts_markdown_n.yaml +++ b/tests/bad_deployments/check_quoting_instead_of_use_to_preserve_whitespace_in_these_collapse_hurts_markdown_n.yaml @@ -2,7 +2,7 @@ url_slug: bad status: Draft tier: 1 deployment: - product: + basic: name: ... data_curators: - U.S. Census Bureau diff --git a/tests/bad_deployments/check_schema_additional_properties_are_not_allowed_surprise_was_unexpected.yaml b/tests/bad_deployments/check_schema_additional_properties_are_not_allowed_surprise_was_unexpected.yaml index 3b1425a..52d3698 100644 --- a/tests/bad_deployments/check_schema_additional_properties_are_not_allowed_surprise_was_unexpected.yaml +++ b/tests/bad_deployments/check_schema_additional_properties_are_not_allowed_surprise_was_unexpected.yaml @@ -3,7 +3,7 @@ surprise: ... status: Draft tier: 1 deployment: - product: + basic: name: ... data_curators: - U.S. Census Bureau diff --git a/tests/bad_deployments/check_schema_deployment_product_publication_date_1_1_2026_is_not_a_date.yaml b/tests/bad_deployments/check_schema_deployment_basic_publication_date_1_1_2026_is_not_a_date.yaml similarity index 96% rename from tests/bad_deployments/check_schema_deployment_product_publication_date_1_1_2026_is_not_a_date.yaml rename to tests/bad_deployments/check_schema_deployment_basic_publication_date_1_1_2026_is_not_a_date.yaml index 79e6fff..f2933c1 100644 --- a/tests/bad_deployments/check_schema_deployment_product_publication_date_1_1_2026_is_not_a_date.yaml +++ b/tests/bad_deployments/check_schema_deployment_basic_publication_date_1_1_2026_is_not_a_date.yaml @@ -2,7 +2,7 @@ url_slug: bad status: Draft tier: 1 deployment: - product: + basic: name: ... data_curators: - U.S. Census Bureau diff --git a/tests/bad_deployments/check_schema_deployment_product_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml b/tests/bad_deployments/check_schema_deployment_basic_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml similarity index 96% rename from tests/bad_deployments/check_schema_deployment_product_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml rename to tests/bad_deployments/check_schema_deployment_basic_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml index de98740..936ae9d 100644 --- a/tests/bad_deployments/check_schema_deployment_product_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml +++ b/tests/bad_deployments/check_schema_deployment_basic_publication_date_datetime_date_2026_1_1_is_not_of_type_string.yaml @@ -2,7 +2,7 @@ url_slug: bad status: Draft tier: 1 deployment: - product: + basic: name: ... data_curators: - U.S. Census Bureau diff --git a/tests/bad_deployments/check_schema_status_is_a_required_property.yaml b/tests/bad_deployments/check_schema_status_is_a_required_property.yaml index 76b99f3..6147d0e 100644 --- a/tests/bad_deployments/check_schema_status_is_a_required_property.yaml +++ b/tests/bad_deployments/check_schema_status_is_a_required_property.yaml @@ -1,7 +1,7 @@ url_slug: bad tier: 1 deployment: - product: + basic: name: ... data_curators: - U.S. Census Bureau diff --git a/tests/bad_deployments/check_schema_tier_0_is_not_one_of_1_2_3.yaml b/tests/bad_deployments/check_schema_tier_0_is_not_one_of_1_2_3.yaml index f128906..2be8ab7 100644 --- a/tests/bad_deployments/check_schema_tier_0_is_not_one_of_1_2_3.yaml +++ b/tests/bad_deployments/check_schema_tier_0_is_not_one_of_1_2_3.yaml @@ -2,7 +2,7 @@ url_slug: bad status: Draft tier: 0 deployment: - product: + basic: name: ... data_curators: - U.S. Census Bureau diff --git a/tests/good_deployments/google_tier_1.yaml b/tests/good_deployments/google_tier_1.yaml index 39b5dd5..48db6ba 100644 --- a/tests/good_deployments/google_tier_1.yaml +++ b/tests/good_deployments/google_tier_1.yaml @@ -2,7 +2,7 @@ url_slug: google_tier_1 status: Draft tier: 1 deployment: - product: + basic: name: Placeholder data_curators: - Google diff --git a/tests/good_deployments/google_tier_2.yaml b/tests/good_deployments/google_tier_2.yaml index e3d36a7..e4e5ce9 100644 --- a/tests/good_deployments/google_tier_2.yaml +++ b/tests/good_deployments/google_tier_2.yaml @@ -2,7 +2,7 @@ url_slug: google_tier_2 status: Draft tier: 2 deployment: - product: + basic: name: Placeholder data_curators: - Google diff --git a/tests/good_deployments/google_tier_3.yaml b/tests/good_deployments/google_tier_3.yaml index 6914cac..c6e3b01 100644 --- a/tests/good_deployments/google_tier_3.yaml +++ b/tests/good_deployments/google_tier_3.yaml @@ -2,7 +2,7 @@ url_slug: google_tier_3 status: Draft tier: 3 deployment: - product: + basic: name: Placeholder data_curators: - Google diff --git a/tests/good_deployments/template.yaml b/tests/good_deployments/template.yaml index f36fccd..5a05c59 100644 --- a/tests/good_deployments/template.yaml +++ b/tests/good_deployments/template.yaml @@ -2,7 +2,7 @@ url_slug: template status: Draft tier: 3 deployment: - product: + basic: # Tier 1: name: '' data_curators: diff --git a/tests/test_schema.py b/tests/test_schema.py index ff96445..eb3b437 100644 --- a/tests/test_schema.py +++ b/tests/test_schema.py @@ -28,7 +28,7 @@ def get_path_templates(path, template): def test_node_has_description(path, node): if path in [ "/deployment", - "/deployment/product", + "/deployment/basic", "/deployment/dp_flavor", "/deployment/privacy_loss", "/deployment/privacy_loss/privacy_parameters/epsilon", @@ -55,12 +55,12 @@ def test_node_has_description_long(path, node): "/status", "/registry_authors", "/deployment", - "/deployment/product", - "/deployment/product/name", - "/deployment/product/description", - "/deployment/product/intended_use", - "/deployment/product/data_product_region", - "/deployment/product/data_product_sector", + "/deployment/basic", + "/deployment/basic/name", + "/deployment/basic/description", + "/deployment/basic/intended_use", + "/deployment/basic/data_product_region", + "/deployment/basic/data_product_sector", "/deployment/dp_flavor", "/deployment/dp_flavor/data_domain", "/deployment/dp_flavor/unprotected_quantities", diff --git a/ui-hints/deployments-hints.yaml b/ui-hints/deployments-hints.yaml index 66114c9..24d8170 100644 --- a/ui-hints/deployments-hints.yaml +++ b/ui-hints/deployments-hints.yaml @@ -1,10 +1,10 @@ short_fields: # Default is long format: These are the exceptions. - - /deployment/product/name - - /deployment/product/data_product_type - - /deployment/product/data_product_region - - /deployment/product/data_product_sector - - /deployment/product/publication_date + - /deployment/basic/name + - /deployment/basic/data_product_type + - /deployment/basic/data_product_region + - /deployment/basic/data_product_sector + - /deployment/basic/publication_date - /deployment/dp_flavor/name - /deployment/privacy_loss/privacy_unit - /deployment/privacy_loss/privacy_parameters/epsilon