chmac
01/25/2022, 12:14 PMseadude
01/25/2022, 2:41 PMorganization
and individual
contacts. Was going to work at turning it into Dendron templates next.seadude
01/25/2022, 2:46 PMseadude
01/25/2022, 2:47 PMchmac
01/25/2022, 2:52 PMname: Jane Doe
phone:
type: mobile
value: +12345
email:
type: work
value: jd@
I figured I'd add that to the frontmatter, along with some kind of unique ID which is compatible with the VCF spec, and then sync the two.chmac
01/25/2022, 2:53 PMseadude
01/25/2022, 2:55 PMseadude
01/25/2022, 2:59 PMperson
to my notes
- stored under the person.md
node
- Dendron Lookup Note. person.md
- Summon a User Snippet to act as a "form" of sorts
- Fill in the blanks
- Save
- At some point, my (Python) parser would scrape the most recent People in person.md
and upload it into a SQL DBchmac
01/25/2022, 3:00 PMseadude
01/25/2022, 3:01 PMseadude
01/25/2022, 3:02 PMchmac
01/25/2022, 3:02 PMchmac
01/25/2022, 3:02 PMseadude
01/25/2022, 3:03 PMchmac
01/25/2022, 3:03 PMseadude
01/25/2022, 3:04 PMseadude
01/25/2022, 3:04 PMchmac
01/25/2022, 3:04 PMseadude
01/25/2022, 3:05 PMseadude
01/25/2022, 3:05 PMchmac
01/25/2022, 3:05 PMchmac
01/25/2022, 3:05 PMchmac
01/25/2022, 3:06 PMpeople.jane-doe.md
- contains both the data for that person, and potentially notes, history, or any other writing I fancy.seadude
01/25/2022, 3:07 PMseadude
01/25/2022, 3:07 PMseadude
01/25/2022, 3:08 PMchmac
01/25/2022, 3:09 PMseadude
01/25/2022, 3:09 PMchmac
01/25/2022, 3:09 PMchmac
01/25/2022, 3:10 PMchmac
01/25/2022, 3:11 PMseadude
01/25/2022, 3:11 PMchmac
01/25/2022, 3:12 PMseadude
01/25/2022, 3:12 PMchmac
01/25/2022, 3:13 PMseadude
01/25/2022, 3:15 PMseadude
01/25/2022, 3:15 PMchmac
01/25/2022, 3:15 PMchmac
01/25/2022, 3:16 PMseadude
01/25/2022, 3:16 PMseadude
01/25/2022, 3:18 PMchmac
01/25/2022, 3:18 PMchmac
01/25/2022, 3:19 PMchmac
01/25/2022, 3:20 PMchmac
01/25/2022, 3:20 PMchmac
01/25/2022, 3:20 PMseadude
01/25/2022, 3:21 PMchmac
01/25/2022, 3:45 PMchmac
01/25/2022, 3:45 PMchmac
01/25/2022, 3:46 PMchmac
01/25/2022, 3:56 PMyaml
company: JD Inc
full_name: Jane Doe
name:
prefix: Dr
suffix: MsC
first: Jane
additional: Middleton
family: Doe
phones:
- type: mobile
phone: +1 234 567 1234
emails:
- type: work
email: jd@jd.com
addresses:
- type: home
line1: 8 51st St
line2: apt 405
city: New York
postcode: 10111
state: NY
country: DE
urls:
- type: github
url: https://github.com/jd
- type: twitter
url: https://twitter.com/jd
chmac
01/25/2022, 3:57 PMfull_name
and company
fields inside the name
object. A contact record must have 1 name I'm thinking, and so it would make validation a little easier to check for at least one of first, last, full, or company name.chmac
01/25/2022, 3:57 PMchmac
01/25/2022, 3:59 PMtel
and not phone
, so maybe that would make more sense. I'm thinking that each of the phones
, emails
could be a single string instead of a type / value tuple. That way the syntax could be shorter in yaml.seadude
01/25/2022, 4:37 PMseadude
01/25/2022, 4:40 PMtype
, nevermind, I see nowseadude
01/25/2022, 4:44 PMchmac
01/25/2022, 6:26 PMphones
, addresses
and urls
are arrays of objects (in JavaScript terms). So multiple addresses would be supported. But a single address couldn't be shared between multiple contacts, which would be possible in your schema.chmac
01/25/2022, 6:33 PMseadude
01/25/2022, 7:05 PMseadude
01/25/2022, 7:07 PMchmac
01/25/2022, 7:49 PMseadude
01/25/2022, 7:54 PMchmac
01/26/2022, 7:26 AMseadude
01/26/2022, 5:53 PMchmac
01/26/2022, 6:38 PMchmac
01/26/2022, 6:39 PMchmac
01/26/2022, 6:39 PMseadude
01/26/2022, 7:04 PMseadude
01/28/2022, 7:14 PMseadude
01/28/2022, 7:15 PM