{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://q1z3.com/discovery-engine/schemas/request.schema.json","title":"Q1Z3 minimized discovery request","description":"Discovery accepts only intent and structured public filters; no photos, private context, attachments or exact addresses. Runtime validation additionally normalizes handles and city names.","type":"object","properties":{"requesterHandle":{"type":"string","minLength":3,"maxLength":64},"intent":{"type":"string","minLength":3,"maxLength":600},"location":{"oneOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"object","properties":{"city":{"type":"string","minLength":1,"maxLength":80},"distanceKm":{"type":"number","minimum":0,"maximum":1000}},"required":["city"],"additionalProperties":false}]},"modalities":{"type":"array","items":{"enum":["text","image","document","audio","video","structured"]},"minItems":0,"maxItems":6},"languages":{"type":"array","items":{"type":"string","minLength":1,"maxLength":35},"minItems":0,"maxItems":8},"constraints":{"type":"object","properties":{"acceptingRequests":{"type":"boolean"},"capabilities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":0,"maxItems":12},"excludeRestrictions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"minItems":0,"maxItems":8}},"required":[],"additionalProperties":false},"limit":{"type":"integer","minimum":1,"maximum":5}},"required":["requesterHandle","intent"],"additionalProperties":false}