{"$id":"https://duskstate.dev/schemas/published-product.json","$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9-]+$"},"name":{"type":"string","minLength":1},"description":{"type":"string"},"kind":{"type":"string","enum":["service","subscription","digital","fee","plugin"]},"category":{"type":"string","enum":["templates","prompts","automations","tools","plugins","snippets","blueprints","playbooks","starter-kits"]},"subcategory":{"type":"string","minLength":1},"status":{"type":"string","const":"published"},"price":{"type":"object","properties":{"amount_minor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3},"unit":{"type":"string","minLength":1}},"required":["amount_minor","currency","unit"]},"availability":{"type":"string"},"tax_treatment":{"type":"string","enum":["vat_included","vat_excluded","outside_scope","not_vat_registered","unknown"]},"effective_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"checkout":{"type":"object","properties":{"type":{"type":"string","const":"stripe_checkout"},"url":{"type":"string","format":"uri"}},"required":["type","url"]},"intake_url":{"type":"string","format":"uri"}},"required":["id","name","description","kind","status","price","tax_treatment","effective_date","checkout"]}