From e721d95a7e9328d582e7d2b0388d3bcfec98a2f9 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Sat, 20 Jul 2024 17:20:55 +0200 Subject: [PATCH] test: "eng" is not a valid BCP language (#199) Change the tests so there's no invalid BCP "eng" language. We don't catch that as an error yet because of #47. --- parser_test.go | 90 ++++++------- .../invalid/applicationSuite_wrong_type.yml | 4 +- testdata/v0/invalid/categories_empty.yml | 4 +- testdata/v0/invalid/categories_invalid.yml | 4 +- testdata/v0/invalid/categories_missing.yml | 4 +- testdata/v0/invalid/categories_nil.yml | 4 +- .../dependsOn_open_name_wrong_type.yml | 4 +- .../dependsOn_open_optional_wrong_type.yml | 4 +- .../dependsOn_open_versionMax_wrong_type.yml | 4 +- .../dependsOn_open_versionMin_wrong_type.yml | 4 +- .../dependsOn_open_version_wrong_type.yml | 4 +- ...scription_en_apiDocumentation_invalid.yml} | 4 +- ...iption_en_apiDocumentation_wrong_type.yml} | 4 +- ...l => description_en_awards_wrong_type.yml} | 4 +- ... description_en_documentation_invalid.yml} | 4 +- ...scription_en_documentation_wrong_type.yml} | 4 +- ....yml => description_en_features_empty.yml} | 4 +- ...ml => description_en_features_missing.yml} | 4 +- ...> description_en_genericName_too_long.yml} | 4 +- ...scription_en_localisedName_wrong_type.yml} | 4 +- ...escription_en_longDescription_missing.yml} | 4 +- ...scription_en_longDescription_too_long.yml} | 4 +- ...cription_en_longDescription_too_short.yml} | 4 +- ...scription_too_short_grapheme_clusters.yml} | 4 +- ...scription_en_screenshots_missing_file.yml} | 4 +- ...scription_en_shortDescription_missing.yml} | 4 +- ....yml => description_en_videos_invalid.yml} | 4 +- ... description_en_videos_invalid_oembed.yml} | 4 +- .../invalid/description_invalid_language.yml | 2 +- .../v0/invalid/developmentStatus_invalid.yml | 4 +- .../v0/invalid/developmentStatus_missing.yml | 4 +- .../invalid/developmentStatus_wrong_type.yml | 4 +- testdata/v0/invalid/file_encoding.yml | 4 +- testdata/v0/invalid/inputTypes_invalid.yml | 4 +- testdata/v0/invalid/inputTypes_wrong_type.yml | 4 +- ...ndedAudience_countries_invalid_country.yml | 4 +- .../intendedAudience_countries_wrong_type.yml | 4 +- .../intendedAudience_scope_invalid_scope.yml | 4 +- .../intendedAudience_scope_wrong_type.yml | 4 +- ...e_unsupportedCountries_invalid_country.yml | 4 +- ...dience_unsupportedCountries_wrong_type.yml | 4 +- .../invalid/intendedAudience_wrong_type.yml | 4 +- testdata/v0/invalid/invalid_yaml.yml | 4 +- testdata/v0/invalid/isBasedOn_wrong_type.yml | 4 +- .../it_countryExtensionVersion_invalid.yml | 55 ++++++++ .../v0/invalid/it_riuso_codiceIPA_invalid.yml | 4 +- testdata/v0/invalid/landingURL_invalid.yml | 4 +- testdata/v0/invalid/landingURL_wrong_type.yml | 4 +- .../legal_authorsFile_missing_file.yml | 4 +- testdata/v0/invalid/legal_license_invalid.yml | 4 +- testdata/v0/invalid/legal_license_missing.yml | 4 +- testdata/v0/invalid/legal_missing.yml | 4 +- testdata/v0/invalid/legal_wrong_type.yml | 4 +- .../localisation_availableLanguages_empty.yml | 2 +- ...ocalisation_availableLanguages_invalid.yml | 2 +- ...ilableLanguages_invalid_bcp47.yml.disabled | 2 +- ...ocalisation_availableLanguages_missing.yml | 4 +- ...localisation_localisationReady_missing.yml | 4 +- testdata/v0/invalid/logo_missing_file.yml | 4 +- .../v0/invalid/logo_unsupported_extension.yml | 4 +- testdata/v0/invalid/logo_wrong_type.yml | 4 +- .../maintenance_contacts_email_invalid.yml | 4 +- ...e_contacts_missing_with_type_community.yml | 4 +- ...ce_contacts_missing_with_type_internal.yml | 4 +- .../maintenance_contacts_name_missing.yml | 4 +- .../maintenance_contractors_email_invalid.yml | 4 +- .../maintenance_contractors_invalid_type.yml | 4 +- ...contractors_missing_with_type_contract.yml | 4 +- .../maintenance_contractors_name_missing.yml | 4 +- .../maintenance_contractors_until_invalid.yml | 4 +- .../maintenance_contractors_until_missing.yml | 4 +- ...aintenance_contractors_website_invalid.yml | 4 +- .../v0/invalid/maintenance_type_invalid.yml | 4 +- .../v0/invalid/maintenance_type_missing.yml | 4 +- .../invalid/monochromeLogo_missing_file.yml | 4 +- .../monochromeLogo_unsupported_extension.yml | 4 +- .../v0/invalid/monochromeLogo_wrong_type.yml | 4 +- testdata/v0/invalid/name_missing.yml | 4 +- testdata/v0/invalid/name_nil.yml | 4 +- testdata/v0/invalid/name_wrong_type.yml | 4 +- .../invalid/no-network/landingURL_invalid.yml | 4 +- .../invalid/no-network/logo_invalid_png.yml | 4 +- .../invalid/no-network/logo_missing_file.yml | 4 +- .../no-network/monochromeLogo_invalid_png.yml | 4 +- testdata/v0/invalid/outputTypes_invalid.yml | 4 +- .../v0/invalid/outputTypes_wrong_type.yml | 4 +- testdata/v0/invalid/platforms_missing.yml | 4 +- testdata/v0/invalid/platforms_wrong_type.yml | 4 +- .../invalid/publiccodeYmlVersion_invalid.yml | 2 +- .../invalid/publiccodeYmlVersion_missing.yml | 4 +- .../publiccodeYmlVersion_wrong_type.yml | 4 +- testdata/v0/invalid/releaseDate_empty.yml | 4 +- testdata/v0/invalid/releaseDate_invalid.yml | 4 +- .../v0/invalid/releaseDate_wrong_type.yml | 4 +- testdata/v0/invalid/roadmap_invalid.yml | 4 +- testdata/v0/invalid/roadmap_wrong_type.yml | 4 +- testdata/v0/invalid/softwareType_invalid.yml | 4 +- testdata/v0/invalid/softwareType_missing.yml | 4 +- .../v0/invalid/softwareType_wrong_type.yml | 4 +- .../v0/invalid/softwareVersion_wrong_type.yml | 4 +- testdata/v0/invalid/url_invalid.yml | 4 +- testdata/v0/invalid/url_missing.yml | 4 +- testdata/v0/invalid/url_wrong_type.yml | 4 +- testdata/v0/invalid/usedBy_wrong_type.yml | 4 +- .../v0/valid/countryExtensionVersion_1.0.yml | 122 ++++++++++++++++++ testdata/v0/valid/dependsOn.yml | 4 +- .../v0/valid/maintenance_contacts_phone.yml | 4 +- testdata/v0/valid/no-network/valid.yml | 4 +- testdata/v0/valid/valid.minimal.yml | 2 +- testdata/v0/valid/valid.yml | 4 +- .../no-network/authorsFile.yml | 4 +- .../unicode_grapheme_clusters.yml | 4 +- .../valid.minimal.v0.2.yml | 4 +- .../valid.minimal.v0.3.yml | 4 +- 114 files changed, 438 insertions(+), 261 deletions(-) rename testdata/v0/invalid/{description_eng_apiDocumentation_invalid.yml => description_en_apiDocumentation_invalid.yml} (98%) rename testdata/v0/invalid/{description_eng_apiDocumentation_wrong_type.yml => description_en_apiDocumentation_wrong_type.yml} (98%) rename testdata/v0/invalid/{description_eng_awards_wrong_type.yml => description_en_awards_wrong_type.yml} (98%) rename testdata/v0/invalid/{description_eng_documentation_invalid.yml => description_en_documentation_invalid.yml} (98%) rename testdata/v0/invalid/{description_eng_documentation_wrong_type.yml => description_en_documentation_wrong_type.yml} (98%) rename testdata/v0/invalid/{description_eng_features_empty.yml => description_en_features_empty.yml} (98%) rename testdata/v0/invalid/{description_eng_features_missing.yml => description_en_features_missing.yml} (98%) rename testdata/v0/invalid/{description_eng_genericName_too_long.yml => description_en_genericName_too_long.yml} (98%) rename testdata/v0/invalid/{description_eng_localisedName_wrong_type.yml => description_en_localisedName_wrong_type.yml} (98%) rename testdata/v0/invalid/{description_eng_longDescription_missing.yml => description_en_longDescription_missing.yml} (97%) rename testdata/v0/invalid/{description_eng_longDescription_too_long.yml => description_en_longDescription_too_long.yml} (99%) rename testdata/v0/invalid/{description_eng_longDescription_too_short.yml => description_en_longDescription_too_short.yml} (98%) rename testdata/v0/invalid/{description_eng_longDescription_too_short_grapheme_clusters.yml => description_en_longDescription_too_short_grapheme_clusters.yml} (98%) rename testdata/v0/invalid/{description_eng_screenshots_missing_file.yml => description_en_screenshots_missing_file.yml} (98%) rename testdata/v0/invalid/{description_eng_shortDescription_missing.yml => description_en_shortDescription_missing.yml} (98%) rename testdata/v0/invalid/{description_eng_videos_invalid.yml => description_en_videos_invalid.yml} (98%) rename testdata/v0/invalid/{description_eng_videos_invalid_oembed.yml => description_en_videos_invalid_oembed.yml} (98%) create mode 100644 testdata/v0/invalid/it_countryExtensionVersion_invalid.yml create mode 100644 testdata/v0/valid/countryExtensionVersion_1.0.yml diff --git a/parser_test.go b/parser_test.go index d39d8ce..fa1043a 100644 --- a/parser_test.go +++ b/parser_test.go @@ -361,72 +361,72 @@ func TestInvalidTestcasesV0(t *testing.T) { "description_invalid_language.yml": ValidationResults{ ValidationError{"description", "must use a valid BCP 47 language", 18, 1}, }, - "description_eng_features_missing.yml": ValidationResults{ - ValidationError{"description.eng.features", "must be more than 0", 22, 5}, + "description_en_features_missing.yml": ValidationResults{ + ValidationError{"description.en.features", "must be more than 0", 22, 5}, }, - "description_eng_features_empty.yml": ValidationResults{ - ValidationError{"description.eng.features", "must be more than 0", 39, 5}, + "description_en_features_empty.yml": ValidationResults{ + ValidationError{"description.en.features", "must be more than 0", 39, 5}, }, - "description_eng_localisedName_wrong_type.yml": ValidationResults{ - ValidationError{"description.eng.localisedName", "wrong type for this field", 21, 1}, + "description_en_localisedName_wrong_type.yml": ValidationResults{ + ValidationError{"description.en.localisedName", "wrong type for this field", 21, 1}, }, - "description_eng_genericName_too_long.yml": ValidationResults{ - ValidationError{"description.eng.genericName", "must be less or equal than 35", 22, 5}, - ValidationWarning{"description.eng.genericName", "This key is DEPRECATED and will be removed in the future", 22, 5}, + "description_en_genericName_too_long.yml": ValidationResults{ + ValidationError{"description.en.genericName", "must be less or equal than 35", 22, 5}, + ValidationWarning{"description.en.genericName", "This key is DEPRECATED and will be removed in the future", 22, 5}, }, - "description_eng_shortDescription_missing.yml": ValidationResults{ - ValidationError{"description.eng.shortDescription", "required", 20, 5}, + "description_en_shortDescription_missing.yml": ValidationResults{ + ValidationError{"description.en.shortDescription", "required", 20, 5}, }, - "description_eng_shortDescription_too_short.yml": ValidationResults{ - ValidationError{"description.eng.shortDescription", "required", 20, 5}, + "description_en_shortDescription_too_short.yml": ValidationResults{ + ValidationError{"description.en.shortDescription", "required", 20, 5}, }, - "description_eng_longDescription_missing.yml": ValidationResults{ - ValidationError{"description.eng.longDescription", "required", 20, 5}, + "description_en_longDescription_missing.yml": ValidationResults{ + ValidationError{"description.en.longDescription", "required", 20, 5}, }, - "description_eng_longDescription_too_long.yml": ValidationResults{ - ValidationError{"description.eng.longDescription", "must be less or equal than 10000", 27, 5}, + "description_en_longDescription_too_long.yml": ValidationResults{ + ValidationError{"description.en.longDescription", "must be less or equal than 10000", 27, 5}, }, - "description_eng_longDescription_too_short.yml": ValidationResults{ - ValidationError{"description.eng.longDescription", "must be more or equal than 150", 27, 5}, + "description_en_longDescription_too_short.yml": ValidationResults{ + ValidationError{"description.en.longDescription", "must be more or equal than 150", 27, 5}, }, - "description_eng_longDescription_too_short_grapheme_clusters.yml": ValidationResults{ - ValidationError{"description.eng.longDescription", "must be more or equal than 150", 28, 5}, + "description_en_longDescription_too_short_grapheme_clusters.yml": ValidationResults{ + ValidationError{"description.en.longDescription", "must be more or equal than 150", 28, 5}, }, - "description_eng_documentation_invalid.yml": ValidationResults{ - ValidationError{"description.eng.documentation", "must be an HTTP URL", 25, 5}, - ValidationError{"description.eng.documentation", "'not_a_url' not reachable: missing URL scheme", 25, 5}, + "description_en_documentation_invalid.yml": ValidationResults{ + ValidationError{"description.en.documentation", "must be an HTTP URL", 25, 5}, + ValidationError{"description.en.documentation", "'not_a_url' not reachable: missing URL scheme", 25, 5}, }, - "description_eng_documentation_wrong_type.yml": ValidationResults{ - ValidationError{"description.eng.documentation", "wrong type for this field", 25, 1}, - ValidationError{"description.eng.documentation", "must be an HTTP URL", 25, 5}, - ValidationError{"description.eng.documentation", "'' not reachable: missing URL scheme", 25, 5}, + "description_en_documentation_wrong_type.yml": ValidationResults{ + ValidationError{"description.en.documentation", "wrong type for this field", 25, 1}, + ValidationError{"description.en.documentation", "must be an HTTP URL", 25, 5}, + ValidationError{"description.en.documentation", "'' not reachable: missing URL scheme", 25, 5}, }, - "description_eng_apiDocumentation_invalid.yml": ValidationResults{ - ValidationError{"description.eng.apiDocumentation", "must be an HTTP URL", 41, 5}, - ValidationError{"description.eng.apiDocumentation", "'abc' not reachable: missing URL scheme", 41, 5}, + "description_en_apiDocumentation_invalid.yml": ValidationResults{ + ValidationError{"description.en.apiDocumentation", "must be an HTTP URL", 41, 5}, + ValidationError{"description.en.apiDocumentation", "'abc' not reachable: missing URL scheme", 41, 5}, }, - "description_eng_apiDocumentation_wrong_type.yml": ValidationResults{ - ValidationError{"description.eng.apiDocumentation", "wrong type for this field", 43, 1}, - ValidationError{"description.eng.apiDocumentation", "must be an HTTP URL", 43, 5}, - ValidationError{"description.eng.apiDocumentation", "'' not reachable: missing URL scheme", 43, 5}, + "description_en_apiDocumentation_wrong_type.yml": ValidationResults{ + ValidationError{"description.en.apiDocumentation", "wrong type for this field", 43, 1}, + ValidationError{"description.en.apiDocumentation", "must be an HTTP URL", 43, 5}, + ValidationError{"description.en.apiDocumentation", "'' not reachable: missing URL scheme", 43, 5}, }, - "description_eng_screenshots_missing_file.yml": ValidationResults{ + "description_en_screenshots_missing_file.yml": ValidationResults{ ValidationError{ - "description.eng.screenshots[0]", + "description.en.screenshots[0]", "'no_such_file.png' is not an image: no such file : https://raw.githubusercontent.com/italia/developers.italia.it/main/no_such_file.png", 20, 5, }, }, - "description_eng_awards_wrong_type.yml": ValidationResults{ - ValidationError{"description.eng.awards", "wrong type for this field", 40, 1}, + "description_en_awards_wrong_type.yml": ValidationResults{ + ValidationError{"description.en.awards", "wrong type for this field", 40, 1}, }, - "description_eng_videos_invalid.yml": ValidationResults{ - ValidationError{"description.eng.videos[0]", "must be an HTTP URL", 20, 5}, - ValidationError{"description.eng.videos[0]", "'ABC' is not a valid video URL supporting oEmbed: invalid oEmbed link: ABC", 20, 5}, + "description_en_videos_invalid.yml": ValidationResults{ + ValidationError{"description.en.videos[0]", "must be an HTTP URL", 20, 5}, + ValidationError{"description.en.videos[0]", "'ABC' is not a valid video URL supporting oEmbed: invalid oEmbed link: ABC", 20, 5}, }, - "description_eng_videos_invalid_oembed.yml": ValidationResults{ - ValidationError{"description.eng.videos[0]", "'https://google.com' is not a valid video URL supporting oEmbed: invalid oEmbed link: https://google.com", 20, 5}, + "description_en_videos_invalid_oembed.yml": ValidationResults{ + ValidationError{"description.en.videos[0]", "'https://google.com' is not a valid video URL supporting oEmbed: invalid oEmbed link: https://google.com", 20, 5}, }, // legal @@ -586,7 +586,7 @@ func TestValidTestcasesV0(t *testing.T) { func TestValidWithWarningsTestcasesV0(t *testing.T) { expected := map[string]error{ "unicode_grapheme_clusters.yml": ValidationResults{ - ValidationWarning{"description.eng.genericName", "This key is DEPRECATED and will be removed in the future", 23, 5}, + ValidationWarning{"description.en.genericName", "This key is DEPRECATED and will be removed in the future", 23, 5}, }, "valid.minimal.v0.2.yml": ValidationResults{ ValidationWarning{"publiccodeYmlVersion", "v0.2 is not the latest version, use '0.4.0'. Parsing this file as v0.4.0.", 1, 1}, diff --git a/testdata/v0/invalid/applicationSuite_wrong_type.yml b/testdata/v0/invalid/applicationSuite_wrong_type.yml index 1bb5cf5..075da79 100644 --- a/testdata/v0/invalid/applicationSuite_wrong_type.yml +++ b/testdata/v0/invalid/applicationSuite_wrong_type.yml @@ -19,7 +19,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/categories_empty.yml b/testdata/v0/invalid/categories_empty.yml index e656593..06f91cd 100644 --- a/testdata/v0/invalid/categories_empty.yml +++ b/testdata/v0/invalid/categories_empty.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -49,4 +49,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/categories_invalid.yml b/testdata/v0/invalid/categories_invalid.yml index b0a3cee..2dd513b 100644 --- a/testdata/v0/invalid/categories_invalid.yml +++ b/testdata/v0/invalid/categories_invalid.yml @@ -17,7 +17,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/categories_missing.yml b/testdata/v0/invalid/categories_missing.yml index 6e45839..a9a8799 100644 --- a/testdata/v0/invalid/categories_missing.yml +++ b/testdata/v0/invalid/categories_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -49,4 +49,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/categories_nil.yml b/testdata/v0/invalid/categories_nil.yml index 0e025ec..577e25a 100644 --- a/testdata/v0/invalid/categories_nil.yml +++ b/testdata/v0/invalid/categories_nil.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -49,4 +49,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/dependsOn_open_name_wrong_type.yml b/testdata/v0/invalid/dependsOn_open_name_wrong_type.yml index 79b9b1a..c0521cc 100644 --- a/testdata/v0/invalid/dependsOn_open_name_wrong_type.yml +++ b/testdata/v0/invalid/dependsOn_open_name_wrong_type.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,7 +48,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en dependsOn: open: diff --git a/testdata/v0/invalid/dependsOn_open_optional_wrong_type.yml b/testdata/v0/invalid/dependsOn_open_optional_wrong_type.yml index 772cabb..b881c9b 100644 --- a/testdata/v0/invalid/dependsOn_open_optional_wrong_type.yml +++ b/testdata/v0/invalid/dependsOn_open_optional_wrong_type.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,7 +48,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en dependsOn: open: diff --git a/testdata/v0/invalid/dependsOn_open_versionMax_wrong_type.yml b/testdata/v0/invalid/dependsOn_open_versionMax_wrong_type.yml index 3efcebd..ac18bdc 100644 --- a/testdata/v0/invalid/dependsOn_open_versionMax_wrong_type.yml +++ b/testdata/v0/invalid/dependsOn_open_versionMax_wrong_type.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,7 +48,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en dependsOn: open: diff --git a/testdata/v0/invalid/dependsOn_open_versionMin_wrong_type.yml b/testdata/v0/invalid/dependsOn_open_versionMin_wrong_type.yml index 68b2aac..efbe675 100644 --- a/testdata/v0/invalid/dependsOn_open_versionMin_wrong_type.yml +++ b/testdata/v0/invalid/dependsOn_open_versionMin_wrong_type.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,7 +48,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en dependsOn: open: diff --git a/testdata/v0/invalid/dependsOn_open_version_wrong_type.yml b/testdata/v0/invalid/dependsOn_open_version_wrong_type.yml index 7c278aa..bed129f 100644 --- a/testdata/v0/invalid/dependsOn_open_version_wrong_type.yml +++ b/testdata/v0/invalid/dependsOn_open_version_wrong_type.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,7 +48,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en dependsOn: open: diff --git a/testdata/v0/invalid/description_eng_apiDocumentation_invalid.yml b/testdata/v0/invalid/description_en_apiDocumentation_invalid.yml similarity index 98% rename from testdata/v0/invalid/description_eng_apiDocumentation_invalid.yml rename to testdata/v0/invalid/description_en_apiDocumentation_invalid.yml index 0204124..2d3111c 100644 --- a/testdata/v0/invalid/description_eng_apiDocumentation_invalid.yml +++ b/testdata/v0/invalid/description_en_apiDocumentation_invalid.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -55,4 +55,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_apiDocumentation_wrong_type.yml b/testdata/v0/invalid/description_en_apiDocumentation_wrong_type.yml similarity index 98% rename from testdata/v0/invalid/description_eng_apiDocumentation_wrong_type.yml rename to testdata/v0/invalid/description_en_apiDocumentation_wrong_type.yml index 16ef4fc..3053e1e 100644 --- a/testdata/v0/invalid/description_eng_apiDocumentation_wrong_type.yml +++ b/testdata/v0/invalid/description_en_apiDocumentation_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -54,4 +54,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_awards_wrong_type.yml b/testdata/v0/invalid/description_en_awards_wrong_type.yml similarity index 98% rename from testdata/v0/invalid/description_eng_awards_wrong_type.yml rename to testdata/v0/invalid/description_en_awards_wrong_type.yml index a94acfc..4be7498 100644 --- a/testdata/v0/invalid/description_eng_awards_wrong_type.yml +++ b/testdata/v0/invalid/description_en_awards_wrong_type.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Name shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_documentation_invalid.yml b/testdata/v0/invalid/description_en_documentation_invalid.yml similarity index 98% rename from testdata/v0/invalid/description_eng_documentation_invalid.yml rename to testdata/v0/invalid/description_en_documentation_invalid.yml index 401a2d5..ed63eef 100644 --- a/testdata/v0/invalid/description_eng_documentation_invalid.yml +++ b/testdata/v0/invalid/description_en_documentation_invalid.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa # Should NOT validate: must be a valid URL @@ -55,4 +55,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_documentation_wrong_type.yml b/testdata/v0/invalid/description_en_documentation_wrong_type.yml similarity index 98% rename from testdata/v0/invalid/description_eng_documentation_wrong_type.yml rename to testdata/v0/invalid/description_en_documentation_wrong_type.yml index 7d9ed9d..412d647 100644 --- a/testdata/v0/invalid/description_eng_documentation_wrong_type.yml +++ b/testdata/v0/invalid/description_en_documentation_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa # Should NOT validate: documentation must be a string @@ -55,4 +55,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_features_empty.yml b/testdata/v0/invalid/description_en_features_empty.yml similarity index 98% rename from testdata/v0/invalid/description_eng_features_empty.yml rename to testdata/v0/invalid/description_en_features_empty.yml index 3511414..4453bba 100644 --- a/testdata/v0/invalid/description_eng_features_empty.yml +++ b/testdata/v0/invalid/description_en_features_empty.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_features_missing.yml b/testdata/v0/invalid/description_en_features_missing.yml similarity index 98% rename from testdata/v0/invalid/description_eng_features_missing.yml rename to testdata/v0/invalid/description_en_features_missing.yml index 7d30641..428b02d 100644 --- a/testdata/v0/invalid/description_eng_features_missing.yml +++ b/testdata/v0/invalid/description_en_features_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: # Should NOT validate: features is missing # features: [] localisedName: Medusa @@ -49,4 +49,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_genericName_too_long.yml b/testdata/v0/invalid/description_en_genericName_too_long.yml similarity index 98% rename from testdata/v0/invalid/description_eng_genericName_too_long.yml rename to testdata/v0/invalid/description_en_genericName_too_long.yml index a422aff..9ebe788 100644 --- a/testdata/v0/invalid/description_eng_genericName_too_long.yml +++ b/testdata/v0/invalid/description_en_genericName_too_long.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa # Should not validate: genericName is more than 35 chars genericName: 012345678901234567890123456789012345 @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_localisedName_wrong_type.yml b/testdata/v0/invalid/description_en_localisedName_wrong_type.yml similarity index 98% rename from testdata/v0/invalid/description_eng_localisedName_wrong_type.yml rename to testdata/v0/invalid/description_en_localisedName_wrong_type.yml index c4bdd35..9b34b40 100644 --- a/testdata/v0/invalid/description_eng_localisedName_wrong_type.yml +++ b/testdata/v0/invalid/description_en_localisedName_wrong_type.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: # Should NOT validate: localisedName is not a string localisedName: [] shortDescription: > @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_longDescription_missing.yml b/testdata/v0/invalid/description_en_longDescription_missing.yml similarity index 97% rename from testdata/v0/invalid/description_eng_longDescription_missing.yml rename to testdata/v0/invalid/description_en_longDescription_missing.yml index 9b07724..5148b82 100644 --- a/testdata/v0/invalid/description_eng_longDescription_missing.yml +++ b/testdata/v0/invalid/description_en_longDescription_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -38,4 +38,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_longDescription_too_long.yml b/testdata/v0/invalid/description_en_longDescription_too_long.yml similarity index 99% rename from testdata/v0/invalid/description_eng_longDescription_too_long.yml rename to testdata/v0/invalid/description_en_longDescription_too_long.yml index 8c61f16..319a160 100644 --- a/testdata/v0/invalid/description_eng_longDescription_too_long.yml +++ b/testdata/v0/invalid/description_en_longDescription_too_long.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -159,4 +159,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_longDescription_too_short.yml b/testdata/v0/invalid/description_en_longDescription_too_short.yml similarity index 98% rename from testdata/v0/invalid/description_eng_longDescription_too_short.yml rename to testdata/v0/invalid/description_en_longDescription_too_short.yml index 3324c42..0ff4e2a 100644 --- a/testdata/v0/invalid/description_eng_longDescription_too_short.yml +++ b/testdata/v0/invalid/description_en_longDescription_too_short.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -40,4 +40,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_longDescription_too_short_grapheme_clusters.yml b/testdata/v0/invalid/description_en_longDescription_too_short_grapheme_clusters.yml similarity index 98% rename from testdata/v0/invalid/description_eng_longDescription_too_short_grapheme_clusters.yml rename to testdata/v0/invalid/description_en_longDescription_too_short_grapheme_clusters.yml index 6562a12..daa0120 100644 --- a/testdata/v0/invalid/description_eng_longDescription_too_short_grapheme_clusters.yml +++ b/testdata/v0/invalid/description_en_longDescription_too_short_grapheme_clusters.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -54,4 +54,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_screenshots_missing_file.yml b/testdata/v0/invalid/description_en_screenshots_missing_file.yml similarity index 98% rename from testdata/v0/invalid/description_eng_screenshots_missing_file.yml rename to testdata/v0/invalid/description_en_screenshots_missing_file.yml index 270f6bc..06e048a 100644 --- a/testdata/v0/invalid/description_eng_screenshots_missing_file.yml +++ b/testdata/v0/invalid/description_en_screenshots_missing_file.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -53,4 +53,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_shortDescription_missing.yml b/testdata/v0/invalid/description_en_shortDescription_missing.yml similarity index 98% rename from testdata/v0/invalid/description_eng_shortDescription_missing.yml rename to testdata/v0/invalid/description_en_shortDescription_missing.yml index 6931b91..4af8112 100644 --- a/testdata/v0/invalid/description_eng_shortDescription_missing.yml +++ b/testdata/v0/invalid/description_en_shortDescription_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa # Should NOT validate: shortDescription is missing # shortDescription: "" @@ -48,4 +48,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_videos_invalid.yml b/testdata/v0/invalid/description_en_videos_invalid.yml similarity index 98% rename from testdata/v0/invalid/description_eng_videos_invalid.yml rename to testdata/v0/invalid/description_en_videos_invalid.yml index 071cf81..a36823c 100644 --- a/testdata/v0/invalid/description_eng_videos_invalid.yml +++ b/testdata/v0/invalid/description_en_videos_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Name shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_eng_videos_invalid_oembed.yml b/testdata/v0/invalid/description_en_videos_invalid_oembed.yml similarity index 98% rename from testdata/v0/invalid/description_eng_videos_invalid_oembed.yml rename to testdata/v0/invalid/description_en_videos_invalid_oembed.yml index ca4dd3c..db140e9 100644 --- a/testdata/v0/invalid/description_eng_videos_invalid_oembed.yml +++ b/testdata/v0/invalid/description_en_videos_invalid_oembed.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Name shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/description_invalid_language.yml b/testdata/v0/invalid/description_invalid_language.yml index b3dfd1f..3a1e98f 100644 --- a/testdata/v0/invalid/description_invalid_language.yml +++ b/testdata/v0/invalid/description_invalid_language.yml @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/developmentStatus_invalid.yml b/testdata/v0/invalid/developmentStatus_invalid.yml index 9e4df8d..4550366 100644 --- a/testdata/v0/invalid/developmentStatus_invalid.yml +++ b/testdata/v0/invalid/developmentStatus_invalid.yml @@ -18,7 +18,7 @@ developmentStatus: "foobar" softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/developmentStatus_missing.yml b/testdata/v0/invalid/developmentStatus_missing.yml index e68b2de..772e301 100644 --- a/testdata/v0/invalid/developmentStatus_missing.yml +++ b/testdata/v0/invalid/developmentStatus_missing.yml @@ -18,7 +18,7 @@ categories: softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/developmentStatus_wrong_type.yml b/testdata/v0/invalid/developmentStatus_wrong_type.yml index 43d1650..bcc772c 100644 --- a/testdata/v0/invalid/developmentStatus_wrong_type.yml +++ b/testdata/v0/invalid/developmentStatus_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: [] softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/file_encoding.yml b/testdata/v0/invalid/file_encoding.yml index 039c051..0fb7de3 100644 --- a/testdata/v0/invalid/file_encoding.yml +++ b/testdata/v0/invalid/file_encoding.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/inputTypes_invalid.yml b/testdata/v0/invalid/inputTypes_invalid.yml index 05c3d33..fb8dd73 100644 --- a/testdata/v0/invalid/inputTypes_invalid.yml +++ b/testdata/v0/invalid/inputTypes_invalid.yml @@ -20,7 +20,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -53,4 +53,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/inputTypes_wrong_type.yml b/testdata/v0/invalid/inputTypes_wrong_type.yml index 2d467e2..b149e26 100644 --- a/testdata/v0/invalid/inputTypes_wrong_type.yml +++ b/testdata/v0/invalid/inputTypes_wrong_type.yml @@ -19,7 +19,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/intendedAudience_countries_invalid_country.yml b/testdata/v0/invalid/intendedAudience_countries_invalid_country.yml index 3daa9bc..caf078e 100644 --- a/testdata/v0/invalid/intendedAudience_countries_invalid_country.yml +++ b/testdata/v0/invalid/intendedAudience_countries_invalid_country.yml @@ -23,7 +23,7 @@ intendedAudience: - DE description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -56,4 +56,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/intendedAudience_countries_wrong_type.yml b/testdata/v0/invalid/intendedAudience_countries_wrong_type.yml index bd469e7..a0877a1 100644 --- a/testdata/v0/invalid/intendedAudience_countries_wrong_type.yml +++ b/testdata/v0/invalid/intendedAudience_countries_wrong_type.yml @@ -19,7 +19,7 @@ intendedAudience: countries: {} description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/intendedAudience_scope_invalid_scope.yml b/testdata/v0/invalid/intendedAudience_scope_invalid_scope.yml index 9bfa5f7..e9dcee2 100644 --- a/testdata/v0/invalid/intendedAudience_scope_invalid_scope.yml +++ b/testdata/v0/invalid/intendedAudience_scope_invalid_scope.yml @@ -20,7 +20,7 @@ intendedAudience: - foobar description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -53,4 +53,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/intendedAudience_scope_wrong_type.yml b/testdata/v0/invalid/intendedAudience_scope_wrong_type.yml index c2dc6e4..e020d7f 100644 --- a/testdata/v0/invalid/intendedAudience_scope_wrong_type.yml +++ b/testdata/v0/invalid/intendedAudience_scope_wrong_type.yml @@ -19,7 +19,7 @@ intendedAudience: scope: {} description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/intendedAudience_unsupportedCountries_invalid_country.yml b/testdata/v0/invalid/intendedAudience_unsupportedCountries_invalid_country.yml index d8f1557..ab1a8ff 100644 --- a/testdata/v0/invalid/intendedAudience_unsupportedCountries_invalid_country.yml +++ b/testdata/v0/invalid/intendedAudience_unsupportedCountries_invalid_country.yml @@ -20,7 +20,7 @@ intendedAudience: - Mouseton description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -53,4 +53,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/intendedAudience_unsupportedCountries_wrong_type.yml b/testdata/v0/invalid/intendedAudience_unsupportedCountries_wrong_type.yml index 2d1ea23..e5f5083 100644 --- a/testdata/v0/invalid/intendedAudience_unsupportedCountries_wrong_type.yml +++ b/testdata/v0/invalid/intendedAudience_unsupportedCountries_wrong_type.yml @@ -19,7 +19,7 @@ intendedAudience: unsupportedCountries: {} description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/intendedAudience_wrong_type.yml b/testdata/v0/invalid/intendedAudience_wrong_type.yml index 978203a..2c409be 100644 --- a/testdata/v0/invalid/intendedAudience_wrong_type.yml +++ b/testdata/v0/invalid/intendedAudience_wrong_type.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" intendedAudience: [] description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/invalid_yaml.yml b/testdata/v0/invalid/invalid_yaml.yml index 76272df..fac66f5 100644 --- a/testdata/v0/invalid/invalid_yaml.yml +++ b/testdata/v0/invalid/invalid_yaml.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/isBasedOn_wrong_type.yml b/testdata/v0/invalid/isBasedOn_wrong_type.yml index 4df5249..ed457a2 100644 --- a/testdata/v0/invalid/isBasedOn_wrong_type.yml +++ b/testdata/v0/invalid/isBasedOn_wrong_type.yml @@ -20,7 +20,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -53,4 +53,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/it_countryExtensionVersion_invalid.yml b/testdata/v0/invalid/it_countryExtensionVersion_invalid.yml new file mode 100644 index 0000000..394c103 --- /dev/null +++ b/testdata/v0/invalid/it_countryExtensionVersion_invalid.yml @@ -0,0 +1,55 @@ +publiccodeYmlVersion: "0.4" + +name: Medusa +url: "https://github.com/italia/developers.italia.it.git" +releaseDate: "2017-04-15" + +platforms: + - web + +# Should NOT validate: invalid countryExtensionVersion +it: + countryExtensionVersion: "1.1" + +categories: + - cloud-management + +developmentStatus: development + +softwareType: "standalone/other" + +description: + en: + localisedName: Medusa + shortDescription: > + A rather short description which + is probably useless + longDescription: > + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 158 characters. + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 316 characters. + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 474 characters. + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 632 characters. + features: + - Just one feature + +legal: + license: AGPL-3.0-or-later + +maintenance: + type: "community" + + contacts: + - name: Francesco Rossi + +localisation: + localisationReady: true + availableLanguages: + - en diff --git a/testdata/v0/invalid/it_riuso_codiceIPA_invalid.yml b/testdata/v0/invalid/it_riuso_codiceIPA_invalid.yml index 9f8724a..0742a75 100644 --- a/testdata/v0/invalid/it_riuso_codiceIPA_invalid.yml +++ b/testdata/v0/invalid/it_riuso_codiceIPA_invalid.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,7 +48,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en it: riuso: diff --git a/testdata/v0/invalid/landingURL_invalid.yml b/testdata/v0/invalid/landingURL_invalid.yml index 3c82b6e..f1a774e 100644 --- a/testdata/v0/invalid/landingURL_invalid.yml +++ b/testdata/v0/invalid/landingURL_invalid.yml @@ -36,7 +36,7 @@ intendedAudience: - us description: - eng: + en: localisedName: Medusa shortDescription: "A really interesting software." longDescription: > @@ -96,7 +96,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en - ita - fra - deu diff --git a/testdata/v0/invalid/landingURL_wrong_type.yml b/testdata/v0/invalid/landingURL_wrong_type.yml index 7edf984..ba2fda2 100644 --- a/testdata/v0/invalid/landingURL_wrong_type.yml +++ b/testdata/v0/invalid/landingURL_wrong_type.yml @@ -36,7 +36,7 @@ intendedAudience: - us description: - eng: + en: localisedName: Medusa shortDescription: "A really interesting software." longDescription: > @@ -92,7 +92,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en - ita - fra - deu diff --git a/testdata/v0/invalid/legal_authorsFile_missing_file.yml b/testdata/v0/invalid/legal_authorsFile_missing_file.yml index f9f152e..5d76984 100644 --- a/testdata/v0/invalid/legal_authorsFile_missing_file.yml +++ b/testdata/v0/invalid/legal_authorsFile_missing_file.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/legal_license_invalid.yml b/testdata/v0/invalid/legal_license_invalid.yml index 296d2e2..7a65937 100644 --- a/testdata/v0/invalid/legal_license_invalid.yml +++ b/testdata/v0/invalid/legal_license_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/legal_license_missing.yml b/testdata/v0/invalid/legal_license_missing.yml index 14f4bde..383634e 100644 --- a/testdata/v0/invalid/legal_license_missing.yml +++ b/testdata/v0/invalid/legal_license_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/legal_missing.yml b/testdata/v0/invalid/legal_missing.yml index 18b6326..6a82321 100644 --- a/testdata/v0/invalid/legal_missing.yml +++ b/testdata/v0/invalid/legal_missing.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,4 +48,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/legal_wrong_type.yml b/testdata/v0/invalid/legal_wrong_type.yml index c15f434..4166aee 100644 --- a/testdata/v0/invalid/legal_wrong_type.yml +++ b/testdata/v0/invalid/legal_wrong_type.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,4 +48,4 @@ legal: [] localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/localisation_availableLanguages_empty.yml b/testdata/v0/invalid/localisation_availableLanguages_empty.yml index 9679841..096c7e2 100644 --- a/testdata/v0/invalid/localisation_availableLanguages_empty.yml +++ b/testdata/v0/invalid/localisation_availableLanguages_empty.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which diff --git a/testdata/v0/invalid/localisation_availableLanguages_invalid.yml b/testdata/v0/invalid/localisation_availableLanguages_invalid.yml index ed5ce71..94e868a 100644 --- a/testdata/v0/invalid/localisation_availableLanguages_invalid.yml +++ b/testdata/v0/invalid/localisation_availableLanguages_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which diff --git a/testdata/v0/invalid/localisation_availableLanguages_invalid_bcp47.yml.disabled b/testdata/v0/invalid/localisation_availableLanguages_invalid_bcp47.yml.disabled index d27291b..a101447 100644 --- a/testdata/v0/invalid/localisation_availableLanguages_invalid_bcp47.yml.disabled +++ b/testdata/v0/invalid/localisation_availableLanguages_invalid_bcp47.yml.disabled @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which diff --git a/testdata/v0/invalid/localisation_availableLanguages_missing.yml b/testdata/v0/invalid/localisation_availableLanguages_missing.yml index 879fca1..46ed2b4 100644 --- a/testdata/v0/invalid/localisation_availableLanguages_missing.yml +++ b/testdata/v0/invalid/localisation_availableLanguages_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ localisation: localisationReady: true # Should NOT validate: availableLanguages is missing # availableLanguages: - # - eng + # - en diff --git a/testdata/v0/invalid/localisation_localisationReady_missing.yml b/testdata/v0/invalid/localisation_localisationReady_missing.yml index d55cad7..1330cae 100644 --- a/testdata/v0/invalid/localisation_localisationReady_missing.yml +++ b/testdata/v0/invalid/localisation_localisationReady_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ localisation: # Should not validate: localisationReady is missing # localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/logo_missing_file.yml b/testdata/v0/invalid/logo_missing_file.yml index fb14be7..0626f52 100644 --- a/testdata/v0/invalid/logo_missing_file.yml +++ b/testdata/v0/invalid/logo_missing_file.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" logo: "no_such_file.png" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/logo_unsupported_extension.yml b/testdata/v0/invalid/logo_unsupported_extension.yml index 3282de0..944a379 100644 --- a/testdata/v0/invalid/logo_unsupported_extension.yml +++ b/testdata/v0/invalid/logo_unsupported_extension.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" logo: "logo.mpg" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/logo_wrong_type.yml b/testdata/v0/invalid/logo_wrong_type.yml index a2886a7..9c5ebd4 100644 --- a/testdata/v0/invalid/logo_wrong_type.yml +++ b/testdata/v0/invalid/logo_wrong_type.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" logo: [] description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contacts_email_invalid.yml b/testdata/v0/invalid/maintenance_contacts_email_invalid.yml index b818bcc..56ca1d1 100644 --- a/testdata/v0/invalid/maintenance_contacts_email_invalid.yml +++ b/testdata/v0/invalid/maintenance_contacts_email_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contacts_missing_with_type_community.yml b/testdata/v0/invalid/maintenance_contacts_missing_with_type_community.yml index 1189984..3108d5d 100644 --- a/testdata/v0/invalid/maintenance_contacts_missing_with_type_community.yml +++ b/testdata/v0/invalid/maintenance_contacts_missing_with_type_community.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contacts_missing_with_type_internal.yml b/testdata/v0/invalid/maintenance_contacts_missing_with_type_internal.yml index 3acddad..954b5ee 100644 --- a/testdata/v0/invalid/maintenance_contacts_missing_with_type_internal.yml +++ b/testdata/v0/invalid/maintenance_contacts_missing_with_type_internal.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contacts_name_missing.yml b/testdata/v0/invalid/maintenance_contacts_name_missing.yml index e906ad1..433d5d8 100644 --- a/testdata/v0/invalid/maintenance_contacts_name_missing.yml +++ b/testdata/v0/invalid/maintenance_contacts_name_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contractors_email_invalid.yml b/testdata/v0/invalid/maintenance_contractors_email_invalid.yml index f85b93e..1e81a0a 100644 --- a/testdata/v0/invalid/maintenance_contractors_email_invalid.yml +++ b/testdata/v0/invalid/maintenance_contractors_email_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contractors_invalid_type.yml b/testdata/v0/invalid/maintenance_contractors_invalid_type.yml index ff78295..ac2b5d3 100644 --- a/testdata/v0/invalid/maintenance_contractors_invalid_type.yml +++ b/testdata/v0/invalid/maintenance_contractors_invalid_type.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -49,4 +49,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contractors_missing_with_type_contract.yml b/testdata/v0/invalid/maintenance_contractors_missing_with_type_contract.yml index c657364..b980795 100644 --- a/testdata/v0/invalid/maintenance_contractors_missing_with_type_contract.yml +++ b/testdata/v0/invalid/maintenance_contractors_missing_with_type_contract.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contractors_name_missing.yml b/testdata/v0/invalid/maintenance_contractors_name_missing.yml index eaae9cf..2e16bbc 100644 --- a/testdata/v0/invalid/maintenance_contractors_name_missing.yml +++ b/testdata/v0/invalid/maintenance_contractors_name_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contractors_until_invalid.yml b/testdata/v0/invalid/maintenance_contractors_until_invalid.yml index b05b9f8..e29e033 100644 --- a/testdata/v0/invalid/maintenance_contractors_until_invalid.yml +++ b/testdata/v0/invalid/maintenance_contractors_until_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contractors_until_missing.yml b/testdata/v0/invalid/maintenance_contractors_until_missing.yml index 4882fff..4193873 100644 --- a/testdata/v0/invalid/maintenance_contractors_until_missing.yml +++ b/testdata/v0/invalid/maintenance_contractors_until_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_contractors_website_invalid.yml b/testdata/v0/invalid/maintenance_contractors_website_invalid.yml index 339038e..1b1c15f 100644 --- a/testdata/v0/invalid/maintenance_contractors_website_invalid.yml +++ b/testdata/v0/invalid/maintenance_contractors_website_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -54,4 +54,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_type_invalid.yml b/testdata/v0/invalid/maintenance_type_invalid.yml index 2989ee0..659280a 100644 --- a/testdata/v0/invalid/maintenance_type_invalid.yml +++ b/testdata/v0/invalid/maintenance_type_invalid.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/maintenance_type_missing.yml b/testdata/v0/invalid/maintenance_type_missing.yml index 732ce6d..72e115c 100644 --- a/testdata/v0/invalid/maintenance_type_missing.yml +++ b/testdata/v0/invalid/maintenance_type_missing.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/monochromeLogo_missing_file.yml b/testdata/v0/invalid/monochromeLogo_missing_file.yml index ad4c42b..a4818f0 100644 --- a/testdata/v0/invalid/monochromeLogo_missing_file.yml +++ b/testdata/v0/invalid/monochromeLogo_missing_file.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" monochromeLogo: "no_such_file.png" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/monochromeLogo_unsupported_extension.yml b/testdata/v0/invalid/monochromeLogo_unsupported_extension.yml index d9620a2..8b7694b 100644 --- a/testdata/v0/invalid/monochromeLogo_unsupported_extension.yml +++ b/testdata/v0/invalid/monochromeLogo_unsupported_extension.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" monochromeLogo: "monochromeLogo.mpg" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/monochromeLogo_wrong_type.yml b/testdata/v0/invalid/monochromeLogo_wrong_type.yml index 5ad0eb7..6954de7 100644 --- a/testdata/v0/invalid/monochromeLogo_wrong_type.yml +++ b/testdata/v0/invalid/monochromeLogo_wrong_type.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" monochromeLogo: [] description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/name_missing.yml b/testdata/v0/invalid/name_missing.yml index cbb49d4..971cba4 100644 --- a/testdata/v0/invalid/name_missing.yml +++ b/testdata/v0/invalid/name_missing.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/name_nil.yml b/testdata/v0/invalid/name_nil.yml index ecb7aff..5312194 100644 --- a/testdata/v0/invalid/name_nil.yml +++ b/testdata/v0/invalid/name_nil.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/name_wrong_type.yml b/testdata/v0/invalid/name_wrong_type.yml index 7bafbba..35b9a29 100644 --- a/testdata/v0/invalid/name_wrong_type.yml +++ b/testdata/v0/invalid/name_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/no-network/landingURL_invalid.yml b/testdata/v0/invalid/no-network/landingURL_invalid.yml index 3c82b6e..f1a774e 100644 --- a/testdata/v0/invalid/no-network/landingURL_invalid.yml +++ b/testdata/v0/invalid/no-network/landingURL_invalid.yml @@ -36,7 +36,7 @@ intendedAudience: - us description: - eng: + en: localisedName: Medusa shortDescription: "A really interesting software." longDescription: > @@ -96,7 +96,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en - ita - fra - deu diff --git a/testdata/v0/invalid/no-network/logo_invalid_png.yml b/testdata/v0/invalid/no-network/logo_invalid_png.yml index 89e0d19..a4db8b9 100644 --- a/testdata/v0/invalid/no-network/logo_invalid_png.yml +++ b/testdata/v0/invalid/no-network/logo_invalid_png.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" logo: "testdata/img/not-an-image.png" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/no-network/logo_missing_file.yml b/testdata/v0/invalid/no-network/logo_missing_file.yml index fb14be7..0626f52 100644 --- a/testdata/v0/invalid/no-network/logo_missing_file.yml +++ b/testdata/v0/invalid/no-network/logo_missing_file.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" logo: "no_such_file.png" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/no-network/monochromeLogo_invalid_png.yml b/testdata/v0/invalid/no-network/monochromeLogo_invalid_png.yml index d12a427..0b4ccb1 100644 --- a/testdata/v0/invalid/no-network/monochromeLogo_invalid_png.yml +++ b/testdata/v0/invalid/no-network/monochromeLogo_invalid_png.yml @@ -18,7 +18,7 @@ softwareType: "standalone/other" monochromeLogo: "testdata/img/not-an-image.png" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/outputTypes_invalid.yml b/testdata/v0/invalid/outputTypes_invalid.yml index 8a56734..9cbb0f3 100644 --- a/testdata/v0/invalid/outputTypes_invalid.yml +++ b/testdata/v0/invalid/outputTypes_invalid.yml @@ -20,7 +20,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -53,4 +53,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/outputTypes_wrong_type.yml b/testdata/v0/invalid/outputTypes_wrong_type.yml index ee5603c..9465612 100644 --- a/testdata/v0/invalid/outputTypes_wrong_type.yml +++ b/testdata/v0/invalid/outputTypes_wrong_type.yml @@ -19,7 +19,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/platforms_missing.yml b/testdata/v0/invalid/platforms_missing.yml index 74edd2f..6fa0fc7 100644 --- a/testdata/v0/invalid/platforms_missing.yml +++ b/testdata/v0/invalid/platforms_missing.yml @@ -17,7 +17,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/platforms_wrong_type.yml b/testdata/v0/invalid/platforms_wrong_type.yml index a8f7121..09c903e 100644 --- a/testdata/v0/invalid/platforms_wrong_type.yml +++ b/testdata/v0/invalid/platforms_wrong_type.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -49,4 +49,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/publiccodeYmlVersion_invalid.yml b/testdata/v0/invalid/publiccodeYmlVersion_invalid.yml index 0b1ad0d..a285a7e 100644 --- a/testdata/v0/invalid/publiccodeYmlVersion_invalid.yml +++ b/testdata/v0/invalid/publiccodeYmlVersion_invalid.yml @@ -49,4 +49,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/publiccodeYmlVersion_missing.yml b/testdata/v0/invalid/publiccodeYmlVersion_missing.yml index 3cb8ec0..8f91bf1 100644 --- a/testdata/v0/invalid/publiccodeYmlVersion_missing.yml +++ b/testdata/v0/invalid/publiccodeYmlVersion_missing.yml @@ -17,7 +17,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/publiccodeYmlVersion_wrong_type.yml b/testdata/v0/invalid/publiccodeYmlVersion_wrong_type.yml index 6643349..876bc1a 100644 --- a/testdata/v0/invalid/publiccodeYmlVersion_wrong_type.yml +++ b/testdata/v0/invalid/publiccodeYmlVersion_wrong_type.yml @@ -17,7 +17,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/releaseDate_empty.yml b/testdata/v0/invalid/releaseDate_empty.yml index 1f7f766..572e217 100644 --- a/testdata/v0/invalid/releaseDate_empty.yml +++ b/testdata/v0/invalid/releaseDate_empty.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/releaseDate_invalid.yml b/testdata/v0/invalid/releaseDate_invalid.yml index 8cfb4de..ac5d1cd 100644 --- a/testdata/v0/invalid/releaseDate_invalid.yml +++ b/testdata/v0/invalid/releaseDate_invalid.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/releaseDate_wrong_type.yml b/testdata/v0/invalid/releaseDate_wrong_type.yml index dbf98f3..f96f207 100644 --- a/testdata/v0/invalid/releaseDate_wrong_type.yml +++ b/testdata/v0/invalid/releaseDate_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/roadmap_invalid.yml b/testdata/v0/invalid/roadmap_invalid.yml index 1019746..ea01187 100644 --- a/testdata/v0/invalid/roadmap_invalid.yml +++ b/testdata/v0/invalid/roadmap_invalid.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/roadmap_wrong_type.yml b/testdata/v0/invalid/roadmap_wrong_type.yml index ca8aae3..86f296f 100644 --- a/testdata/v0/invalid/roadmap_wrong_type.yml +++ b/testdata/v0/invalid/roadmap_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/softwareType_invalid.yml b/testdata/v0/invalid/softwareType_invalid.yml index d485e08..3ee8e40 100644 --- a/testdata/v0/invalid/softwareType_invalid.yml +++ b/testdata/v0/invalid/softwareType_invalid.yml @@ -17,7 +17,7 @@ developmentStatus: development softwareType: "foobar" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/softwareType_missing.yml b/testdata/v0/invalid/softwareType_missing.yml index 4199a1d..ee5b253 100644 --- a/testdata/v0/invalid/softwareType_missing.yml +++ b/testdata/v0/invalid/softwareType_missing.yml @@ -17,7 +17,7 @@ developmentStatus: development # softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/softwareType_wrong_type.yml b/testdata/v0/invalid/softwareType_wrong_type.yml index 9f4fea8..35a9a1a 100644 --- a/testdata/v0/invalid/softwareType_wrong_type.yml +++ b/testdata/v0/invalid/softwareType_wrong_type.yml @@ -17,7 +17,7 @@ developmentStatus: development softwareType: [] description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -50,4 +50,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/softwareVersion_wrong_type.yml b/testdata/v0/invalid/softwareVersion_wrong_type.yml index ad40bb7..611677a 100644 --- a/testdata/v0/invalid/softwareVersion_wrong_type.yml +++ b/testdata/v0/invalid/softwareVersion_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/url_invalid.yml b/testdata/v0/invalid/url_invalid.yml index 4ddd729..a2e01bb 100644 --- a/testdata/v0/invalid/url_invalid.yml +++ b/testdata/v0/invalid/url_invalid.yml @@ -19,7 +19,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/url_missing.yml b/testdata/v0/invalid/url_missing.yml index 0e78b81..1337d74 100644 --- a/testdata/v0/invalid/url_missing.yml +++ b/testdata/v0/invalid/url_missing.yml @@ -19,7 +19,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/url_wrong_type.yml b/testdata/v0/invalid/url_wrong_type.yml index e094f16..dc604cf 100644 --- a/testdata/v0/invalid/url_wrong_type.yml +++ b/testdata/v0/invalid/url_wrong_type.yml @@ -19,7 +19,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -52,4 +52,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/invalid/usedBy_wrong_type.yml b/testdata/v0/invalid/usedBy_wrong_type.yml index 194f0a2..8e05427 100644 --- a/testdata/v0/invalid/usedBy_wrong_type.yml +++ b/testdata/v0/invalid/usedBy_wrong_type.yml @@ -18,7 +18,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -51,4 +51,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/valid/countryExtensionVersion_1.0.yml b/testdata/v0/valid/countryExtensionVersion_1.0.yml new file mode 100644 index 0000000..b64e0c9 --- /dev/null +++ b/testdata/v0/valid/countryExtensionVersion_1.0.yml @@ -0,0 +1,122 @@ +publiccodeYmlVersion: "0.4" + +name: Medusa +applicationSuite: MegaProductivitySuite +url: "https://github.com/italia/developers.italia.it.git" +landingURL: "https://developers.italia.it" + +isBasedOn: "https://github.com/italia/developers.italia.it.git" +softwareVersion: "1.0" +releaseDate: 2017-04-15 + +platforms: + - android + - ios + +categories: + - cloud-management + +usedBy: + - Comune di Firenze + - Comune di Roma + +roadmap: "https://designers.italia.it/roadmap/" + +developmentStatus: development + +softwareType: "standalone/other" + +intendedAudience: + countries: + - it + - de + unsupportedCountries: + - us + +description: + en: + localisedName: Medusa + shortDescription: "A really interesting software." + longDescription: > + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 158 characters. + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 316 characters. + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 474 characters. + Very long description of this software, also split + on multiple rows. You should note what the software + is and why one should need it. This is 632 characters. + + documentation: "https://docs.italia.it" + apiDocumentation: "https://developers.italia.it/it/api" + + features: + - Very important feature + - Will run without a problem + - Has zero bugs + - Solves all the problems of the world + videos: + - https://www.youtube.com/watch?v=RaHmGbBOP84 + awards: + - 1st Price Software of the year + +legal: + license: AGPL-3.0-or-later + mainCopyrightOwner: City of Chicago + repoOwner: City of Chicago + +maintenance: + type: "community" + contacts: + - email: mrossi@cittametropolitana.it + name: Mario Rossi + phone: '+390412501953' + +localisation: + localisationReady: true + availableLanguages: + - en + - ita + - fra + - deu + +dependsOn: + open: + - name: MySQL + versionMin: "1.1" + versionMax: "1.3" + optional: true + - name: PostgreSQL + version: "3.2" + optional: true + proprietary: + - name: Oracle + versionMin: "11.4" + hardware: + - name: NFC Reader + optional: true + - name: NFC Reader1 + optional: true + - name: NFC Reader2 + optional: true + +it: + countryExtensionVersion: "1.0" + conforme: + lineeGuidaDesign: false + modelloInteroperabilita: false + misureMinimeSicurezza: false + gdpr: false + + riuso: + codiceIPA: c_h501 + + piattaforme: + spid: false + pagopa: false + cie: false + anpr: false diff --git a/testdata/v0/valid/dependsOn.yml b/testdata/v0/valid/dependsOn.yml index 6553abc..cb6b968 100644 --- a/testdata/v0/valid/dependsOn.yml +++ b/testdata/v0/valid/dependsOn.yml @@ -35,7 +35,7 @@ intendedAudience: - us description: - eng: + en: localisedName: Medusa shortDescription: "A really interesting software." longDescription: > @@ -82,7 +82,7 @@ localisation: localisationReady: true # Languages already available availableLanguages: - - eng + - en - ita - fra - deu diff --git a/testdata/v0/valid/maintenance_contacts_phone.yml b/testdata/v0/valid/maintenance_contacts_phone.yml index 4674f8e..0972b55 100644 --- a/testdata/v0/valid/maintenance_contacts_phone.yml +++ b/testdata/v0/valid/maintenance_contacts_phone.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -59,4 +59,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/valid/no-network/valid.yml b/testdata/v0/valid/no-network/valid.yml index 7091394..587a4b9 100644 --- a/testdata/v0/valid/no-network/valid.yml +++ b/testdata/v0/valid/no-network/valid.yml @@ -139,7 +139,7 @@ intendedAudience: - us description: - eng: + en: localisedName: Medusa shortDescription: "A really interesting software." longDescription: > @@ -203,7 +203,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en - ita - fra - deu diff --git a/testdata/v0/valid/valid.minimal.yml b/testdata/v0/valid/valid.minimal.yml index d1d02c4..0bd06e0 100644 --- a/testdata/v0/valid/valid.minimal.yml +++ b/testdata/v0/valid/valid.minimal.yml @@ -47,4 +47,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/valid/valid.yml b/testdata/v0/valid/valid.yml index 49551d2..46c9a4f 100644 --- a/testdata/v0/valid/valid.yml +++ b/testdata/v0/valid/valid.yml @@ -142,7 +142,7 @@ intendedAudience: - us description: - eng: + en: localisedName: Medusa shortDescription: "A really interesting software." longDescription: > @@ -202,7 +202,7 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en - ita - fra - deu diff --git a/testdata/v0/valid_with_warnings/no-network/authorsFile.yml b/testdata/v0/valid_with_warnings/no-network/authorsFile.yml index a26c8bc..f5622ca 100644 --- a/testdata/v0/valid_with_warnings/no-network/authorsFile.yml +++ b/testdata/v0/valid_with_warnings/no-network/authorsFile.yml @@ -35,7 +35,7 @@ intendedAudience: - us description: - eng: + en: localisedName: Medusa shortDescription: "A really interesting software." longDescription: > @@ -83,7 +83,7 @@ localisation: localisationReady: true # Languages already available availableLanguages: - - eng + - en - ita - fra - deu diff --git a/testdata/v0/valid_with_warnings/unicode_grapheme_clusters.yml b/testdata/v0/valid_with_warnings/unicode_grapheme_clusters.yml index 302bce8..b1a9170 100644 --- a/testdata/v0/valid_with_warnings/unicode_grapheme_clusters.yml +++ b/testdata/v0/valid_with_warnings/unicode_grapheme_clusters.yml @@ -16,7 +16,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa # This is 14 characters long and below this field's limit of 35 characters. @@ -53,4 +53,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/valid_with_warnings/valid.minimal.v0.2.yml b/testdata/v0/valid_with_warnings/valid.minimal.v0.2.yml index 7f51ab6..0d19e68 100644 --- a/testdata/v0/valid_with_warnings/valid.minimal.v0.2.yml +++ b/testdata/v0/valid_with_warnings/valid.minimal.v0.2.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,4 +48,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en diff --git a/testdata/v0/valid_with_warnings/valid.minimal.v0.3.yml b/testdata/v0/valid_with_warnings/valid.minimal.v0.3.yml index c0a8ff6..4c1be09 100644 --- a/testdata/v0/valid_with_warnings/valid.minimal.v0.3.yml +++ b/testdata/v0/valid_with_warnings/valid.minimal.v0.3.yml @@ -15,7 +15,7 @@ developmentStatus: development softwareType: "standalone/other" description: - eng: + en: localisedName: Medusa shortDescription: > A rather short description which @@ -48,4 +48,4 @@ maintenance: localisation: localisationReady: true availableLanguages: - - eng + - en