simple-icons/.jsonlintschema

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-09-13 17:21:34 +03:00
{
2017-09-13 22:44:59 +03:00
"title": "Simple Icons",
2017-09-13 17:21:34 +03:00
"type": "object",
"properties": {
"icons": {
2017-09-13 22:44:59 +03:00
"description": "The list of icons",
2017-09-13 17:21:34 +03:00
"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
}
}
}
}