usawa

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | Submodules | LICENSE

commit fc2d125562a7315afc13043f2324886ae383f089
parent f08af83dc29999999e2b737799cd697b14b74fcd
Author: lash <dev@holbrook.no>
Date:   Thu, 12 Feb 2026 10:06:13 +0000

Update schema for attachment digest

Diffstat:
Mdummy/usawa/data/schema.xsd | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dummy/usawa/data/schema.xsd b/dummy/usawa/data/schema.xsd @@ -8,15 +8,17 @@ <xs:element name="ledger"> <xs:complexType> <xs:sequence> - <xs:element name="uuid" type="xs:string" minOccurs="0" maxOccurs="1" /> - <xs:element name="topic" type="xs:string" /> <xs:element name="generated" type="xs:dateTime" /> <xs:element name="src" type="xs:string" minOccurs="1" maxOccurs="1" /> - <xs:element name="units" type="Units" minOccurs="1" maxOccurs="1" /> + <xs:element name="topic" type="xs:string" /> + <xs:element name="generated" type="xs:dateTime" /> + <xs:element name="src" type="xs:string" /> + <xs:element name="units" type="Units" /> <xs:element name="resolver" type="Resolver" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="identity" type="Identity" minOccurs="1" maxOccurs="unbounded" /> <xs:element name="incoming" type="Incoming" minOccurs="0" maxOccurs="1" /> <xs:element name="entry" type="Entry" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> <xs:attribute name="version" type="xs:integer" /> + <xs:attribute name="uuid" type="xs:string" /> </xs:complexType> </xs:element> @@ -127,12 +129,12 @@ <xs:element name="data" type="EntryData" /> <xs:element name="sig" type="Signature" minOccurs="1" maxOccurs="unbounded" /> </xs:sequence> + <xs:attribute name="uuid" type="xs:string" /> </xs:complexType> <xs:complexType name="EntryData"> <xs:sequence> <xs:element name="parent" type="xs:string" /> - <xs:element name="uuid" type="xs:string" minOccurs="0" maxOccurs="1" /> <xs:element name="ref" type="xs:string" /> <xs:element name="serial" type="xs:positiveInteger" /> <xs:element name="date" type="xs:date" /> @@ -155,12 +157,12 @@ <xs:complexType name="Attachment"> <xs:sequence> <xs:element name="digest" type="Digest" /> - <xs:element name="uuid" type="xs:string" minOccurs="0" maxOccurs="1" /> <xs:element name="slug" type="xs:string" /> <xs:element name="description" type="xs:string" /> <xs:element name="lookup" type="Lookup" /> </xs:sequence> <xs:attribute name="mime" type="xs:string" /> + <xs:attribute name="uuid" type="xs:string" /> </xs:complexType> <xs:simpleType name="accountType" final="restriction">