{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://deepdrive.app/schemas/import.json","title":"DeepDrive topic import","description":"A short list of topics an assistant can hand to a person. Import the file in DeepDrive Settings, or POST the same JSON to /api/topics/bulk with a personal API token. A good topic is open-ended, personal, and decision-oriented. Confirm the list with the person before uploading it.","type":"object","additionalProperties":false,"required":["format","topics"],"properties":{"format":{"const":"deepdrive-topics"},"topics":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","minLength":1,"maxLength":300,"description":"A question or decision in the person's own words."},"why":{"type":"string","maxLength":2000,"description":"Why this matters to them. One or two sentences."},"category":{"type":"string","minLength":1,"maxLength":60,"description":"Personal (the default), Business & side projects, Money, Home, Travel & planning, Health & habits, Relationships & family, Learning, Career, or a short custom label."},"tags":{"type":"array","maxItems":12,"description":"Short labels. DeepDrive stores them in notes as a line beginning with Tags:.","items":{"type":"string","minLength":1,"maxLength":40}},"rating":{"type":"integer","minimum":0,"maximum":5,"description":"0 means unrated. Set only when the person states a preference."},"status":{"type":"string","enum":["new","active","parked","done"],"description":"Defaults to new."},"minutes":{"type":"integer","minimum":1,"maximum":240,"description":"Suggested length of one drive. Defaults to 10."},"opening_prompt":{"type":"string","maxLength":8000,"description":"Optional. If omitted, DeepDrive writes one from the title and why."},"notes":{"type":"string","maxLength":20000}}}}}}