Skip to content

Commit

Permalink
updated github api service + mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
smisidjan committed Nov 14, 2023
1 parent e7ed4b0 commit 2672347
Show file tree
Hide file tree
Showing 5 changed files with 694 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"title": "GithubOpenCatalogiYamlToOrganisation",
"$id": "https://api.github.com/oc.githubOpenCatalogiYamlToOrg.mapping.json",
"$schema": "https://docs.commongateway.nl/schemas/Mapping.schema.json",
"version": "0.0.3",
"version": "0.0.4",
"passTrough": false,
"mapping": {
"name": "name",
"github": "github",
"description": "description",
"logo": "logo",
"website": "website",
Expand All @@ -16,6 +17,7 @@
},
"cast": {
"name": "unsetIfValue==name",
"github": "unsetIfValue==github",
"description": "unsetIfValue==description",
"logo": "unsetIfValue==logo",
"website": "unsetIfValue==website",
Expand Down
26 changes: 20 additions & 6 deletions Installation/Mapping/oc.githubPubliccodeComponent.mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "GithubPubliccodeToComponent",
"$id": "https://api.github.com/oc.githubPubliccodeComponent.mapping.json",
"$schema": "https://docs.commongateway.nl/schemas/Mapping.schema.json",
"version": "0.0.1",
"version": "0.0.3",
"passTrough": false,
"mapping": {
"softwareVersion": "publiccodeYmlVersion",
Expand All @@ -18,6 +18,8 @@
"outputTypes": "outputTypes",
"platforms": "platforms",
"categories": "categories",
"applicationSuite.name": "applicationSuite",
"applicationSuite._sourceId": "applicationSuite",
"description.shortDescription": "description.nl.shortDescription",
"description.longDescription": "description.nl.longDescription",
"description.documentation": "description.nl.documentation",
Expand All @@ -27,6 +29,12 @@
"intendedAudience.scope": "intendedAudience.scope",
"legal.license": "legal.license",
"legal.authorsFile": "legal.authorsFile",
"legal.mainCopyrightOwner._sourceId": "legal.mainCopyrightOwner",
"legal.mainCopyrightOwner._onlySetIfPreExisting": "true",
"legal.mainCopyrightOwner.name": "legal.mainCopyrightOwner",
"legal.repoOwner._sourceId": "legal.repoOwner",
"legal.repoOwner._onlySetIfPreExisting": "true",
"legal.repoOwner.name": "legal.repoOwner",
"maintenance.type": "maintenance.type",
"localisation.localisationReady": "localisation.localisationReady",
"localisation.availableLanguages": "localisation.availableLanguages",
Expand Down Expand Up @@ -60,10 +68,10 @@
"platforms": "keyCantBeValue",
"categories": "keyCantBeValue",
"usedBy": "keyCantBeValue",
"description.shortDescription": "keyCantBeValue",
"description.longDescription": "keyCantBeValue",
"description.documentation": "keyCantBeValue",
"description.apiDocumentation": "keyCantBeValue",
"description.shortDescription": "unsetIfValue==description.nl.shortDescription",
"description.longDescription": "unsetIfValue==description.nl.longDescription",
"description.documentation": "unsetIfValue==description.nl.documentation",
"description.apiDocumentation": "unsetIfValue==description.nl.apiDocumentation",
"intendedAudience.countries": "keyCantBeValue",
"intendedAudience.unsupportedCountries": "keyCantBeValue",
"intendedAudience.scope": "keyCantBeValue",
Expand All @@ -81,6 +89,12 @@
"nl.gemma.model": "keyCantBeValue",
"nl.gemma.referentieComponenten": "keyCantBeValue",
"nl.apm": "keyCantBeValue",
"nl.upl": "keyCantBeValue"
"nl.upl": "keyCantBeValue",
"applicationSuite.name": "unsetIfValue==applicationSuite",
"applicationSuite._id": "unsetIfValue==applicationSuite",
"legal.mainCopyrightOwner._id": "unsetIfValue==legal.mainCopyrightOwner",
"legal.mainCopyrightOwner.name": "unsetIfValue==legal.mainCopyrightOwner",
"legal.repoOwner._id": "unsetIfValue==legal.repoOwner",
"legal.repoOwner.name": "unsetIfValue==legal.repoOwner"
}
}
Loading

0 comments on commit 2672347

Please sign in to comment.