mirror of
https://github.com/braver/programmingfonts.git
synced 2024-10-31 21:11:06 +01:00
50 lines
888 B
JSON
50 lines
888 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type":"array",
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"alias": {
|
|
"type":"string",
|
|
"pattern": "^[a-z][a-z0-9-]+$"
|
|
},
|
|
"name": { "type":"string" },
|
|
"author": { "type":"string" },
|
|
"year": { "type":"integer" },
|
|
"website": {
|
|
"type":"string",
|
|
"format":"uri"
|
|
},
|
|
"ligatures": { "type":"boolean" },
|
|
"style": {
|
|
"type":"string",
|
|
"enum": ["serif", "sans"]
|
|
},
|
|
"rendering": {
|
|
"type":"string",
|
|
"enum": ["bitmap", "vector"]
|
|
},
|
|
"variants": {
|
|
"type":"array",
|
|
"items": {
|
|
"type": "string",
|
|
"pattern": "^[a-z-]+$"
|
|
},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"alias",
|
|
"name",
|
|
"author",
|
|
"year",
|
|
"website",
|
|
"ligatures",
|
|
"style",
|
|
"rendering"
|
|
]
|
|
}
|
|
}
|