<?xml version="1.0" encoding="UTF-8"?>
<!--
     Electronic Court Filing Version 5.01
     Committee Specification 01
     29 September 2023
     Copyright (c) OASIS Open 2023. All Rights Reserved.
     Source: https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.01/cs01/examples/
     Latest version of narrative specification: https://docs.oasis-open.org/legalxml-courtfiling/ecf/v5.01/ecf-v5.01.html
     TC IPR Statement: https://www.oasis-open.org/committees/legalxml-courtfiling/ipr.php
-->
<!--
	civil-complaint-017-GetDocumentResponse-Complaint-04.xml

	A response for a request to get/view the file stamped Complaint document rendition filed in case CV-2017-010110 in 'Civil Court' (10).

	This xml example is from a series of examples that illustrate a full life cycle sequence use case for a minimalist illustration of  
	Barabara Holmes' Test Case # 300 (Case Initiation Civil Complaint).

	The Document Request (i.e. civil-complaint-015-GetDocumentRequest-Complaint-04.xml) was for the file stamped rendition of the complaint document.

	The requester is also requesting the exhibit document connected to the complaint document. The request for the exhibit is in a 
	separate request message (i.e. civil-complaint-016-GetDocumentRequest-Exhibit-04.xml).

	Since a GetDocumentResponse can only deliver a single nc:Document, then two GetDocumentResponses are required to return both
	requested documents (one response for each individual request).

	05-21-2018	Updated for Wd31.
	08-03-2018	Updated for WD35 as version 03.
	09-13-2018	Updated for WD36 as version 04.

-->
<wrapper:GetDocumentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:structures="http://release.niem.gov/niem/structures/4.0/" xmlns:nc="http://release.niem.gov/niem/niem-core/4.0/" xmlns:j="http://release.niem.gov/niem/domains/jxdm/6.1/" xmlns:filing="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/filing" xmlns:wrapper="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.01/wrappers" xmlns:payment="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/payment" xsi:schemaLocation="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.01/wrappers ../schema/wrappers.xsd">

	<documentresponse:GetDocumentResponseMessage xmlns:nc="http://release.niem.gov/niem/niem-core/4.0/" xmlns:j="http://release.niem.gov/niem/domains/jxdm/6.1/" xmlns:ecf="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/ecf" xmlns:documentresponse="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/documentresponse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cbrn="http://release.niem.gov/niem/domains/cbrn/4.1/" xsi:schemaLocation="https://docs.oasis-open.org/legalxml-courtfiling/ns/v5.0/documentresponse ../schema/documentresponse.xsd http://release.niem.gov/niem/domains/cbrn/4.1/ ../schema/niem/domains/cbrn/4.1/cbrn.xsd">
		<!-- This is the Message ID for this response -->
		<nc:DocumentIdentification>
			<nc:IdentificationID>8795673901</nc:IdentificationID>
			<nc:IdentificationCategoryDescriptionText>messageID</nc:IdentificationCategoryDescriptionText>
			<nc:IdentificationSourceText>CourtRecord</nc:IdentificationSourceText>
		</nc:DocumentIdentification>
		
		<nc:DocumentIdentification>
		<!-- This is the Message ID from the Request Message-->
			<nc:IdentificationID>ab1e-1234-56A-BC05</nc:IdentificationID>
			<nc:IdentificationCategoryDescriptionText>messageID</nc:IdentificationCategoryDescriptionText>
			<nc:IdentificationSourceText>FilingAssembly</nc:IdentificationSourceText>
		</nc:DocumentIdentification>
		<nc:DocumentSubmitter>
			<!-- This is the person who made the document request (i.e. the requester). -->
			<nc:EntityPerson>
				<nc:PersonName>
					<nc:PersonGivenName>Ralph</nc:PersonGivenName>
					<nc:PersonMiddleName>K.</nc:PersonMiddleName>
					<nc:PersonSurName>Williams</nc:PersonSurName>
				</nc:PersonName>
				<ecf:PersonAugmentation>
					<ecf:ParticipantID>
						<nc:IdentificationID>107</nc:IdentificationID>
					</ecf:ParticipantID>
				</ecf:PersonAugmentation>
			</nc:EntityPerson>		
		</nc:DocumentSubmitter>		

		<!-- URL of the responding MDE; i.e. Court Record MDE -->
		<ecf:SendingMDELocationID>
			<nc:IdentificationID>http://example.com/court</nc:IdentificationID>
		</ecf:SendingMDELocationID>
		<ecf:ServiceInteractionProfileCode>urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:WebServicesMessaging-5.0</ecf:ServiceInteractionProfileCode>
		<j:CaseCourt>
			<nc:OrganizationIdentification>
				<nc:IdentificationID>10</nc:IdentificationID>
			</nc:OrganizationIdentification>
			<nc:OrganizationUnitName>Civil Court</nc:OrganizationUnitName>
		</j:CaseCourt>
		<!-- Date and time of the response -->
		<nc:DocumentPostDate>
			<nc:DateTime>2008-07-07T14:23:27.0Z</nc:DateTime>
		</nc:DocumentPostDate>
		
		<!-- cbrn:MessageStatus should only be used when an error has occurred and needs to be reported to the requester. -->
		<!--
		<cbrn:MessageStatus cbrn:systemSimulatedIndicator="">
			<cbrn:SystemEventDateTime></cbrn:SystemEventDateTime>
			<cbrn:SystemOperatingModeCode></cbrn:SystemOperatingModeCode>
			<cbrn:CredentialsAuthenticatedCode></cbrn:CredentialsAuthenticatedCode>
			<cbrn:MessageStatusCode></cbrn:MessageStatusCode>
			<cbrn:MessageHandlingError>
				<cbrn:ErrorCodeText></cbrn:ErrorCodeText>
			</cbrn:MessageHandlingError>
			<cbrn:ResendRequestIndicator></cbrn:ResendRequestIndicator>
		</cbrn:MessageStatus>
		-->		
		
		<!-- In the response context, the court may provide both a CaseTrackingID and a Case Number. -->
		<ecf:CaseTrackingID>
			<nc:IdentificationID>7876934321007</nc:IdentificationID>
			<nc:IdentificationCategoryDescriptionText>ACME Case Management System</nc:IdentificationCategoryDescriptionText> 
			<nc:IdentificationSourceText>CourtRecord</nc:IdentificationSourceText>
		</ecf:CaseTrackingID>		
		<j:CaseNumberText>CV-2017-010110</j:CaseNumberText>
		
		<nc:Document structures:metadata="Document1Metadata">
		
			<nc:DocumentCategoryText>Complaint</nc:DocumentCategoryText>
			<nc:DocumentSoftwareName>Adobe Acrobat</nc:DocumentSoftwareName>
			<nc:DocumentDescriptionText>Complaint</nc:DocumentDescriptionText>
			<nc:DocumentEffectiveDate>
				<!-- Date Docketed (i.e. date that docketing occurred). -->
				<nc:Date>2008-07-07</nc:Date>
				<!-- If nc:DocumentEffectiveDate is that date upon which the docketing occurred, then which element contains that date
					 that is considered the official filing date. For example, consider a court that upon docketing will consider a filing
					 to be offically filed upon the date submitted. If the filing was submitted on Monday, but not clerk reviewed and 
					 docketed until Tuesday, then nc:DocumentEffectiveDate will be Tuesday's date, but which element contains Monday's date? 
					 Answer: nc:DocumentFiledDate (below) -->
			</nc:DocumentEffectiveDate>
			<nc:DocumentFiledDate>
				<!-- Docket Date  (i.e. date the document was officially filed in the court). -->
				<nc:Date>2008-07-06</nc:Date>
			</nc:DocumentFiledDate>
					
			<!-- nc:DocumentIdentification is a mandatory element but left empty since nc:DocumentFileControlID is specified below. -->
			<nc:DocumentIdentification/>

			<!-- Since only a single document can be returned in this response, it may not make sense to return a document sequence number.
				 If multiple documents were returned, then it may make sense to identify the order in which the documents should appear.
			<nc:DocumentSequenceID>1</nc:DocumentSequenceID>
			-->
			<nc:DocumentTitleText>Plaintiff's Complaint</nc:DocumentTitleText>
			
			<ecf:DocumentAugmentation>
				<ecf:DocumentFiler>
					<!-- The document filer is John W Doe (Person1), a Plaintiff on case CV-2017-010110 at Court 10. -->
					<nc:EntityPerson structures:id="Person1">
						<nc:PersonName>
							<nc:PersonGivenName>John</nc:PersonGivenName>
							<nc:PersonMiddleName>W.</nc:PersonMiddleName>
							<nc:PersonSurName>Doe</nc:PersonSurName>
						</nc:PersonName>
						<!-- Participant Matching Info - see civil-complaint-012-GetFilingListResponse-03.xml -->
						<nc:PersonOtherIdentification>
							<nc:IdentificationID>147699</nc:IdentificationID>
							<ecf:PersonIdentificationCategoryCode>SourceParticipantID</ecf:PersonIdentificationCategoryCode>
							<nc:IdentificationSourceText>PartyID</nc:IdentificationSourceText>
						</nc:PersonOtherIdentification>
						<ecf:PersonAugmentation>
							<ecf:CaseParticipantRoleCode>Plaintiff</ecf:CaseParticipantRoleCode>
							<ecf:CasePartySelfRepresentationIndicator>true</ecf:CasePartySelfRepresentationIndicator>
							<ecf:ParticipantID>
								<nc:IdentificationID>10</nc:IdentificationID>
							</ecf:ParticipantID>
						</ecf:PersonAugmentation>
					</nc:EntityPerson>			
				</ecf:DocumentFiler>
				
				<!-- This is the file stamped rendition of the complaint. -->			
				<ecf:DocumentRendition>
					<!--
						Per 6.2.6 nc:DocumentFileControlID is a reference to a unique document in the Court Record system and is assigned
						by the Court Record MDE with values unique to the court.
		
						In this example, the nc:DocumentFileControlID value is the document storage index number for the document rendition
						within the Court's electronic document managment system (EDMS).	
					-->
					<nc:DocumentFileControlID>1234567889</nc:DocumentFileControlID>			
					<!-- nc:DocumentIdentification is a mandatory element but left empty since nc:DocumentFileControlID is specified above. -->
					<nc:DocumentIdentification/>				

					<!-- In this example, the Hash is provided by the CRMDE and is therefore not present in the RecordDocketingRequest -->
					<ecf:DocumentRenditionHash>mnd8vnrgdhna743ed42gspf9fmnao</ecf:DocumentRenditionHash>
					<nc:Attachment structures:id="Attachment1">
						<nc:BinaryDescriptionText>Adobe Acrobat</nc:BinaryDescriptionText>
						<nc:BinaryFormatText>application/pdf</nc:BinaryFormatText>
						<nc:BinaryURI>cid://Payload1</nc:BinaryURI>
						<nc:BinarySizeValue>35000</nc:BinarySizeValue>
					</nc:Attachment>
				</ecf:DocumentRendition>
				
				<!-- Document Type code for Complaint. -->
				<ecf:DocumentTypeCode>ABC</ecf:DocumentTypeCode>
				
				<!-- Schema definition: "The docket code used by the court for the type of document submitted. Allowable values set forth in Court Policy."-->
				<ecf:RegisterActionDescriptionCode>ABCF</ecf:RegisterActionDescriptionCode>
				
				<nc:Metadata structures:id="Document1Metadata">
					<nc:SensitivityText>public</nc:SensitivityText>
					<nc:LanguageCode>eng</nc:LanguageCode>
				</nc:Metadata>			
			
			</ecf:DocumentAugmentation>
			
		</nc:Document>
				
	</documentresponse:GetDocumentResponseMessage>
</wrapper:GetDocumentResponse>
