#import "/src/lib.typ" as z

#let test-dictionary = (
  string: "world",
  number: 1.2,
  email: "<EMAIL>",
  ip: "172.16.31.10",
)

#z.parse(
  test-dictionary,
  z.dictionary((
    string: z.string(assertions: (z.assert.length.min(5),), optional: true),
    number: z.number(optional: true),
    email: z.email(optional: true),
    ip: z.ip(optional: true),
  )),
)
