diff --git a/.jsonlintschema b/.jsonlintschema new file mode 100644 index 000000000..148c094f3 --- /dev/null +++ b/.jsonlintschema @@ -0,0 +1,34 @@ +{ + "title": "SimpleIcons icons", + "type": "object", + "properties": { + "icons": { + "description": "The actual icons", + "type": "array", + "items": { + "description": "A single icon", + "type": "object", + "properties": { + "title": { + "description": "The icons name", + "type": "string", + "required": true + }, + "hex": { + "description": "The icons color, as HEX (without #)", + "type": "string", + "pattern": "^[0-9A-F]{6}$", + "required": true + }, + "source": { + "description": "The website from which the icon originated", + "type": "string", + "pattern": "^https?://", + "required": true + } + }, + "required": true + } + } + } +} diff --git a/_data/simple-icons.json b/_data/simple-icons.json index 18073373b..f81776e1d 100644 --- a/_data/simple-icons.json +++ b/_data/simple-icons.json @@ -123,7 +123,7 @@ { "title": "Bath ASU", "hex": "00A3E0", - "source": "" + "source": "https://bathasu.com/press/" }, { "title": "Bebo", @@ -203,12 +203,12 @@ { "title": "Codecademy", "hex": "204056", - "source": "" + "source": "https://www.codecademy.com/" }, { "title": "Codeforces", "hex": "1F8ACB", - "source": "" + "source": "http://codeforces.com/" }, { "title": "CodeIgniter", @@ -448,7 +448,7 @@ { "title": "Gauges", "hex": "339966", - "source": "" + "source": "http://get.gaug.es/" }, { "title": "Geeklist", @@ -488,7 +488,7 @@ { "title": "Gitter", "hex": "FF0064", - "source": "" + "source": "https://gitter.im/" }, { "title": "Glassdoor", @@ -513,7 +513,7 @@ { "title": "Goodreads", "hex": "663300", - "source": "" + "source": "https://www.goodreads.com/about/press" }, { "title": "Google", @@ -673,7 +673,7 @@ { "title": "Instapaper", "hex": "1F1F1F", - "source": "" + "source": "https://www.instapaper.com/" }, { "title": "Intel", @@ -873,7 +873,7 @@ { "title": "Meetup", "hex": "E2373C", - "source": "" + "source": "https://www.meetup.com/help/customer/portal/articles/1802998-promotional-materials-for-your-meetup/" }, { "title": "Messenger", @@ -888,7 +888,7 @@ { "title": "Microgenetics", "hex": "FF0000", - "source": "" + "source": "http://microgenetics.co.uk/" }, { "title": "Microsoft", @@ -928,7 +928,7 @@ { "title": "Minecraft", "hex": "62B74A", - "source": "" + "source": "https://minecraft.net/" }, { "title": "Minutemailer", @@ -1133,7 +1133,7 @@ { "title": "Podcasts", "hex": "9933CC", - "source": "" + "source": "https://www.apple.com/itunes/marketing-on-podcasts/identity-guidelines.html#apple-podcasts-icon" }, { "title": "Prismic", @@ -1223,7 +1223,7 @@ { "title": "Ruby", "hex": "CC342D", - "source": "" + "source": "https://www.ruby-lang.org/en/about/logo/" }, { "title": "Runkeeper", @@ -1243,7 +1243,7 @@ { "title": "Sauce Labs", "hex": "E2231A", - "source": "" + "source": "https://saucelabs.com/" }, { "title": "Scribd", @@ -1263,7 +1263,7 @@ { "title": "Sentia Yoga", "hex": "4CAF50", - "source": "" + "source": "http://sentiayoga.com/" }, { "title": "Sentry", @@ -1288,7 +1288,7 @@ { "title": "Simple Icons", "hex": "111111", - "source": "" + "source": "https://simpleicons.org/" }, { "title": "Sina Weibo", @@ -1333,7 +1333,7 @@ { "title": "Smashing Magazine", "hex": "E85C33", - "source": "" + "source": "https://www.smashingmagazine.com/" }, { "title": "Snapchat", @@ -1368,7 +1368,7 @@ { "title": "Speaker Deck", "hex": "339966", - "source": "" + "source": "https://speakerdeck.com/" }, { "title": "Spotify", @@ -1418,7 +1418,7 @@ { "title": "Stitcher", "hex": "000000", - "source": "" + "source": "https://www.stitcher.com/" }, { "title": "Storify", @@ -1518,7 +1518,7 @@ { "title": "Topcoder", "hex": "29A8E0", - "source": "" + "source": "http://topcoder.com/" }, { "title": "Toptal", diff --git a/package.json b/package.json index 4c5c22269..ef951902c 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,6 @@ "jsonlint": "^1.6.2" }, "scripts": { - "jsonlint": "jsonlint _data/simple-icons.json -q" + "jsonlint": "jsonlint _data/simple-icons.json -q -V .jsonlintschema" } }