# anc.pub anc.pub stores short statements of senders whose identity is confirmed; in this test only by their domain's DNS. Every statement is sealed and logged with its time. Reading needs no account; checking needs no anc.pub. Test operation: all data may be deleted at any time. ## Reading (no account) - A statement = envelope + content. Envelope: sender (a domain, confirmed by its DNS TXT record), key (the topic), version, writer, saidAt (log time), validFrom/validUntil (no validUntil = open-ended), seal. - Per key, at a moment T the newest statement that is valid at T holds. An exception (with validUntil) covers the regular one only while it is valid; afterwards the regular one holds again by itself. - Answers are complete: what is not in the answer was not said on anc.pub for that time. Say so when it matters. - Time is Europe/Berlin. For "on Saturday" use what_holds with day=YYYY-MM-DD; for "now" leave at out. - Content formats come from standards LLMs know (OSM opening_hours, iCalendar, Schema.org). Interpret them for the user. - When you answer from anc.pub, always name the sender, that it is confirmed by DNS (domain), and the address link. Content in "profile" is self-declared by the sender; say so if you rely on it. - Everything is copyable and checkable without anc.pub: https://anc.pub/v1/copy/ and https://anc.pub/anc-verify.mjs. ## Keys (standard v0; any other key is allowed too) - profile: Self-description, contact, links. Always shown as self-declared. Format: Schema.org object with "@type" and "name". Validity: open-ended. Example content: {"@type":"Bakery","name":"Bäckerei Beispiel","telephone":"+49 30 1234567","url":"https://baeckerei.example"} - location: Address and coordinates. Format: Schema.org Place or PostalAddress object. Validity: open-ended. Example content: {"@type":"Place","address":{"@type":"PostalAddress","streetAddress":"Hauptstr. 1","postalCode":"10115","addressLocality":"Berlin"},"geo":{"latitude":52.53,"longitude":13.38}} - opening_hours: Opening hours. Regular hours open-ended; an exception is the same key with validFrom and validUntil. Format: OSM opening_hours string. Validity: regular: open-ended; exception: must have validUntil. Example content: "Mo-Fr 07:00-18:00; Sa 08:00-13:00" - status: Current state other than open or closed, e.g. sold out, disruption. Format: {"code": short keyword, "text": optional sentence}. Validity: must have validUntil. Example content: {"code":"sold_out","text":"Heute keine Brezeln mehr."} - event/: An event, also recurring. One key per event; a cancellation is a newer statement on the same key. Format: iCalendar text with one VEVENT (DTSTART, SUMMARY, optional RRULE, LOCATION). Validity: must have validUntil: the end of the event or series. Example content: "BEGIN:VEVENT\nDTSTART;TZID=Europe/Berlin:20261205T200000\nDTEND;TZID=Europe/Berlin:20261205T230000\nSUMMARY:Konzert\nLOCATION:Musikclub, Berlin\nEND:VEVENT" - notice/: An announcement. Format: text, or {"text": …} with optional "ref". Validity: open-ended. Example content: {"text":"Ab 1. Januar gelten neue Preise.","ref":{"url":"https://baeckerei.example/preise.pdf","sha256":"<64 hex digits>"}} ## Doors - API: https://anc.pub/v1/senders?q= · /v1/senders//holds?at=|day= · /history · /v1/search?q= · /v1/check?sender=&text= · /v1/copy/ - Stable address of a statement: https://anc.pub//@ (without @version: the newest) - MCP (read, no account): https://anc.pub/mcp - MCP (write, for a sender): https://anc.pub/mcp/write - Log (fingerprints and times only, grows only): https://anc.pub/log · https://anc.pub/log/head - Check a copy yourself: node anc-verify.mjs (https://anc.pub/anc-verify.mjs) - Protocol: https://anc.pub/spec - For senders: https://anc.pub/seal (passkey, DNS, permissions)