{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Feed de banners dinâmicos","type":"object","required":["items"],"properties":{"version":{"type":"string","const":"1.0"},"items":{"type":"array","maxItems":500,"items":{"type":"object","required":["id","title","image_url","url"],"properties":{"id":{"type":"string","maxLength":100},"title":{"type":"string","maxLength":80},"image_url":{"type":"string","format":"uri","pattern":"^https://"},"url":{"type":"string","format":"uri","pattern":"^https://"},"price":{"type":"number","minimum":0},"sale_price":{"type":"number","minimum":0},"currency":{"type":"string","minLength":3,"maxLength":3,"default":"BRL"},"description":{"type":"string","maxLength":150},"badge":{"type":"string","maxLength":20},"available":{"type":"boolean","default":true},"priority":{"type":"integer","default":0},"attributes":{"type":"array","maxItems":4,"items":{"type":"object","required":["label","value"],"properties":{"label":{"type":"string","maxLength":20},"value":{"type":"string","maxLength":30}}}}}}}}}