{"allOf":[{"description":"Base type for all commands 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":"Command"},{"type":"object","description":"Command to create a new team under an organisation, with an initial owner","required":["owner","teamName","organisationPartyId"],"properties":{"owner":{"type":"object","description":"Represents the initial owner of a team being created","required":["userId","name"],"properties":{"userId":{"type":"string","description":"The identifier of the user who will own the team","x-parser-schema-id":"<anonymous-schema-3>"},"name":{"type":"string","description":"The display name of the owner","x-parser-schema-id":"<anonymous-schema-4>"},"roleId":{"type":"string","description":"The role id to be assigned to the owner user. If not provided, the default role OWNER will be used.","x-parser-schema-id":"<anonymous-schema-5>"}},"x-parser-schema-id":"Owner"},"teamName":{"type":"string","description":"The name of the team to be created","x-parser-schema-id":"<anonymous-schema-6>"},"organisationPartyId":{"type":"string","description":"The identifier of the organisation party under which the team is being created","x-parser-schema-id":"<anonymous-schema-7>"}},"x-parser-schema-id":"<anonymous-schema-2>"}],"x-parser-schema-id":"CreateTeam"}