@@ -139,28 +139,7 @@ Defaults to WAIT_FOR_CALLBACK if omitted.
139139 <xs : complexType >
140140 <xs : sequence >
141141 <xs : element name =" signature-job-id" minOccurs =" 1" maxOccurs =" 1" type =" signature-job-id" />
142- <xs : element name =" status" minOccurs =" 1" maxOccurs =" 1" type =" xs:string" >
143- <xs : annotation >
144- <xs : documentation >
145- Textual field which describes the job status. Note that this field might contain new, unknown statuses in the future.
146-
147- Currently known values:
148- * REJECTED
149- The user decided to reject to sign the document, and has been redirected to the
150- rejection-url provided in the direct-signature-job-request's exit-urls.
151- * EXPIRED
152- The user didn't sign the document before the job expired.
153- * SIGNED
154- The document has been signed, and the signer has been redirected to the
155- completion-url provided in the direct-signature-job-request's exit-urls.
156- The signed document artifacts can be downloaded by following the appropriate
157- urls in the direct-signature-job-status-response.
158- * FAILED
159- An unexpected error occured during the signing ceremony, and the user has been redirected to the
160- error-url provided in the direct-signature-job-request's exit-urls.
161- </xs : documentation >
162- </xs : annotation >
163- </xs : element >
142+ <xs : element name =" status" minOccurs =" 1" maxOccurs =" 1" type =" direct-signature-job-status" />
164143 <xs : element name =" confirmation-url" minOccurs =" 0" maxOccurs =" 1" type =" url" >
165144 <xs : annotation >
166145 <xs : documentation >
@@ -182,4 +161,42 @@ though the status has not changed.
182161 </xs : complexType >
183162 </xs : element >
184163
164+ <xs : simpleType name =" direct-signature-job-status" >
165+ <xs : restriction base =" xs:string" >
166+ <xs : enumeration value =" SIGNED" >
167+ <xs : annotation >
168+ <xs : documentation >
169+ The document has been signed, and the signer has been redirected to the
170+ completion-url provided in the direct-signature-job-request's exit-urls.
171+ The signed document artifacts can be downloaded by following the appropriate
172+ urls in the direct-signature-job-status-response.
173+ </xs : documentation >
174+ </xs : annotation >
175+ </xs : enumeration >
176+ <xs : enumeration value =" REJECTED" >
177+ <xs : annotation >
178+ <xs : documentation >
179+ The user decided to reject to sign the document, and has been redirected to the
180+ rejection-url provided in the direct-signature-job-request's exit-urls.
181+ </xs : documentation >
182+ </xs : annotation >
183+ </xs : enumeration >
184+ <xs : enumeration value =" FAILED" >
185+ <xs : annotation >
186+ <xs : documentation >
187+ An unexpected error occured during the signing ceremony, and the user has been redirected to the
188+ error-url provided in the direct-signature-job-request's exit-urls.
189+ </xs : documentation >
190+ </xs : annotation >
191+ </xs : enumeration >
192+ <xs : enumeration value =" EXPIRED" >
193+ <xs : annotation >
194+ <xs : documentation >
195+ The user didn't sign the document before the job expired.
196+ </xs : documentation >
197+ </xs : annotation >
198+ </xs : enumeration >
199+ </xs : restriction >
200+ </xs : simpleType >
201+
185202</xs : schema >
0 commit comments