{"allOf":[{"description":"Base type for all events in the system","allOf":[{"type":"object","description":"Base message type that all commands and events inherit from","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the message, typically a UUID","default":"UUID generated string","x-parser-schema-id":"<anonymous-schema-1>"}},"x-parser-schema-id":"Message"}],"x-parser-schema-id":"Event"},{"type":"object","description":"Event published when a user successfully logs into the system","required":["partyDetails"],"properties":{"partyDetails":{"type":"array","description":"List of party details associated with the logged-in user","items":{"type":"object","description":"Contains identifying details about a party associated with the system","required":["partyId","usage","originParties"],"properties":{"partyId":{"type":"string","description":"The unique identifier for the party","x-parser-schema-id":"<anonymous-schema-126>"},"usage":{"type":"string","description":"Identifies whether the account is for an individual or an organization","enum":["INDIVIDUAL","ORGANISATION"],"example":"INDIVIDUAL","x-parser-schema-id":"AccountUsage"},"originParties":{"type":"array","description":"List of origin system parties associated with the party","items":{"type":"object","description":"Contains identifying details about a party associated with the system","required":["qualifiedOriginPartyId","originPartyDomain"],"properties":{"qualifiedOriginPartyId":{"type":"string","format":"uri","description":"The qualified origin system identifier for the party","x-parser-schema-id":"<anonymous-schema-128>"},"originPartyDomain":{"type":"string","description":"Domain for which the origin system party is used","enum":["PARTIES","ACCOUNTS"],"x-parser-schema-id":"<anonymous-schema-129>"}},"x-parser-schema-id":"OriginParty"},"x-parser-schema-id":"<anonymous-schema-127>"}},"x-parser-schema-id":"PartyDetails"},"x-parser-schema-id":"<anonymous-schema-125>"}},"x-parser-schema-id":"<anonymous-schema-124>"}],"x-parser-schema-id":"UserLoggedIn"}