simple-icons/.jsonlintschema
Eric Cornelissen 9fed7b6ebf
Keep track of brand guidelines/presskits/etc. explicitly (#2846)
Co-authored-by: Peter Noble <PeterShaggyNoble@users.noreply.github.com>
2021-01-17 21:41:03 +00:00

41 lines
1.1 KiB
Plaintext

{
"title": "Simple Icons",
"type": "object",
"properties": {
"icons": {
"description": "The list of 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?://[^\\s]+$",
"required": true
},
"guidelines": {
"description": "The brand guidelines for the icon and/or color",
"type": "string",
"pattern": "^https?://[^\\s]+$",
"required": false
}
},
"required": true
}
}
}
}