{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://jackpost.ai/schemas/brand-kit.v1.json","title":"Jackpost AI brand kit","type":"object","required":["$schema","kind","id","name","version","colors","fonts","logos","wordmark","radius"],"additionalProperties":false,"properties":{"$schema":{"const":"jackpost.brand-kit/v1"},"kind":{"const":"brand-kit"},"id":{"type":"string"},"name":{"type":"string"},"version":{"type":"integer"},"colors":{"type":"object","description":"Named colours. Built-in themes read primary, primary-light, primary-deep, surface, paper, ink, muted, accent…","additionalProperties":{"$ref":"#/$defs/hex"}},"palettes":{"type":"array","items":{"type":"object","required":["name","keys"],"properties":{"name":{"type":"string"},"keys":{"type":"array","items":{"type":"string"}}}}},"fonts":{"type":"object","required":["heading"],"properties":{"heading":{"$ref":"#/$defs/fontFace"},"subheading":{"$ref":"#/$defs/fontFace"},"body":{"$ref":"#/$defs/fontFace"}},"additionalProperties":false},"logos":{"type":"object","required":["colored","white","black"],"description":"Asset ids.","properties":{"colored":{"type":"string"},"white":{"type":"string"},"black":{"type":"string"},"mark":{"type":"string"}}},"wordmark":{"type":"string"},"radius":{"type":"number"},"themes":{"type":"object","description":"Overrides of built-in themes, or new themes."},"defaultTheme":{"type":"string"}},"$defs":{"hex":{"type":"string","pattern":"^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$","description":"#RRGGBB or #RRGGBBAA"},"fontFace":{"type":"object","required":["family","weight"],"additionalProperties":false,"properties":{"family":{"type":"string"},"weight":{"type":"integer","minimum":100,"maximum":900}}}}}