Don't need to pander to Google's buggy schema validator

Even if required fields are missing, pleasing Google is not the aim here
main
Bob Mottram 2021-05-16 18:19:34 +01:00
parent 98f62dccb9
commit c08b418184
1 changed files with 1 additions and 21 deletions

View File

@ -777,27 +777,7 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
skillsMarkup += ' "@type": "Occupation",\n'
skillsMarkup += ' "name": "' + ocName + '",\n'
skillsMarkup += \
' "skills": ' + skillsListStr + ',\n'
skillsMarkup += ' "estimatedSalary": {\n'
skillsMarkup += \
' "@type": "MonetaryAmountDistribution",\n'
skillsMarkup += ' "name": "volunteer",\n'
skillsMarkup += ' "duration": "P1Y",\n'
skillsMarkup += ' "currency": "USD",\n'
skillsMarkup += ' "percentile10": 0,\n'
skillsMarkup += ' "percentile25": 0,\n'
skillsMarkup += ' "median": 0,\n'
skillsMarkup += ' "percentile75": 0,\n'
skillsMarkup += ' "percentile90": 0\n'
skillsMarkup += ' },\n'
skillsMarkup += \
' "occupationLocation": {\n'
skillsMarkup += \
' "@type": "Country",\n'
skillsMarkup += \
' "name": "fediverse"\n'
skillsMarkup += \
' }\n'
' "skills": ' + skillsListStr + '\n'
skillsMarkup += ' }'
firstEntry = False
skillsMarkup += '\n ],\n'