-
Notifications
You must be signed in to change notification settings - Fork 0
/
TrustFrameworkPolicy_0.3.0.0.xsd
3811 lines (3643 loc) · 152 KB
/
TrustFrameworkPolicy_0.3.0.0.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://schemas.microsoft.com/online/cpim/schemas/2013/06" targetNamespace="http://schemas.microsoft.com/online/cpim/schemas/2013/06" xmlns:tfp="http://schemas.microsoft.com/online/cpim/schemas/2013/06" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<!-- <xs:schema xmlns="http://schemas.microsoft.com/online/cpim/schemas/2014/07" targetNamespace="http://schemas.microsoft.com/online/cpim/schemas/2014/07" xmlns:tfp="http://schemas.microsoft.com/online/cpim/schemas/2014/07" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> -->
<!--
The top-level definition of a trust framework policy. Each section is defined by type elsewhere.
-->
<xs:element name="TrustFrameworkPolicy">
<xs:annotation>
<xs:documentation>
The root element within which a Trust Framework Policy is defined.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="BasePolicy" type="tfp:BasePolicy" />
<xs:element minOccurs="0" maxOccurs="1" name="PolicyConstraints">
<xs:annotation>
<xs:documentation>
This section contains the policy constraints controlling which tenants and policies
can inherit from it.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="Inheritance" type="tfp:Inheritance" />
<xs:element minOccurs="0" maxOccurs="1" name="RerouteRules" type="tfp:RerouteRules" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Contacts">
<xs:annotation>
<xs:documentation>
Contains a list of contacts who can be communicated with for notifications and issues regarding the Policy.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Contact" type="tfp:Contact" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="DocumentReferences">
<xs:annotation>
<xs:documentation>
Contains a list of references to documents for the Policy.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="DocumentReference" type="tfp:DocumentReference" />
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueDocumentReferenceId">
<xs:selector xpath="tfp:DocumentReference"/>
<xs:field xpath="@Id"/>
</xs:key>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="BuildingBlocks" type="tfp:BuildingBlocks" />
<xs:element minOccurs="0" maxOccurs="1" name="ClaimsProviders">
<xs:annotation>
<xs:documentation>
This section contains the Claims Providers and their Technical Profiles that may be used in the various User Journeys.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="ClaimsProvider" type="tfp:ClaimsProvider"/>
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueTechnicalProfileId">
<xs:selector xpath="tfp:ClaimsProvider/tfp:TechnicalProfiles/tfp:TechnicalProfile"/>
<xs:field xpath="@Id"/>
</xs:key>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="UserJourneys">
<xs:annotation>
<xs:documentation>
The User Journeys through which a user is taken to retrieve the claims that are to be presented to the relying party.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="UserJourney" type="tfp:UserJourney" />
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueUserJourneyId">
<xs:selector xpath="tfp:UserJourney"/>
<xs:field xpath="@Id"/>
</xs:key>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="SubJourneys">
<xs:annotation>
<xs:documentation>
The SubJourneys that are components of UserJourneys and are executed as part of a User Journey.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="SubJourney" type="tfp:SubJourney" />
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueSubJourney">
<xs:selector xpath="tfp:SubJourney" />
<xs:field xpath="@Id" />
</xs:key>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="RelyingParty">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="DefaultUserJourney">
<xs:annotation>
<xs:documentation>
An identifier of the User Journey which the orchestration engine will begin with. A merged trust framework policy
can contain multiple user journeys and relying parties select one of them as the starting point.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" name="ReferenceId" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Endpoints">
<xs:annotation>
<xs:documentation>
Defines different endpoints exposed by the policy and maps to UserJourneys to invoke.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Endpoint" type="tfp:Endpoint" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueEndpoint">
<xs:selector xpath="tfp:Endpoint" />
<xs:field xpath="@Id" />
</xs:key>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="UserJourneyBehaviors">
<xs:annotation>
<xs:documentation>
Controls the scope of various user journey behaviors.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SingleSignOn" type="tfp:SingleSignOn" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Controls the scope of the single sign on behavior of a user journey.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SessionExpiryType" type="tfp:SessionExpiryTypeTYPE" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Controls the whether the session is rolling or absolute.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SessionExpiryInSeconds" type="xs:int" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Controls the time of the session expiry in seconds.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AzureApplicationInsights" type="tfp:AzureApplicationInsights" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
DEPRECATED - Use JourneyInsights indicating ApplicationInsights as the telemetry engine.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="JourneyInsights" type="tfp:JourneyInsights" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Specifies the details required for journey insights.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContentDefinitionParameters" type="tfp:ContentDefinitionParameters" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Specifies the a list of key value pairs to be appended to the content definition load uri.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="JourneyFraming" type="tfp:JourneyFraming" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Specifies whether journey framing is enabled and for what sources.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ScriptExecution" type="tfp:ScriptExecutionType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Controls the whether script execution is allowed for the journey.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OnError" type="tfp:JourneyOnError" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Specifies the error handling behavior of a journey.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="TechnicalProfile" type="tfp:TechnicalProfile"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute use="required" name="PolicySchemaVersion" type="tfp:FourPartVersionNumber">
<xs:annotation>
<xs:documentation>
Determines the schema version published by Microsoft using which this Policy is to be executed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="TenantId" type="tfp:TenantId">
<xs:annotation>
<xs:documentation>
The unique identifier of the tenant to which this policy belongs.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="TenantObjectId" type="tfp:TenantObjectId">
<xs:annotation>
<xs:documentation>
The unique identifier of the object ID of the Azure tenant.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="PolicyId" type="tfp:PolicyId">
<xs:annotation>
<xs:documentation>
The unique identifier of this policy.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="PublicPolicyUri" type="xs:anyURI">
<xs:annotation>
<xs:documentation>
The URI for the policy which is an appropriate name of the policy outside of the CPIM system.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="StateTableName" type="xs:string">
<xs:annotation>
<xs:documentation>
The name of the StateTable that should execute this policy.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="DeploymentMode" type="tfp:DeploymentModeType">
<xs:annotation>
<xs:documentation>
The mode under which the policy should be deployed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="UserJourneyRecorderEndpoint" type="xs:string">
<xs:annotation>
<xs:documentation>
The Url in the format http://{host}?stream={guid} (where the braces are omitted)
of a service able to receive http posts documenting user journey progress
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:complexType name="BasePolicy">
<xs:annotation>
<xs:documentation>
This section defines the base policy from which this Policy is derived.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="TenantId" type="tfp:TenantId">
<xs:annotation>
<xs:documentation>
The identifier of the tenant that published the base policy. The base policy is looked up inside the tenant
specified here.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="PolicyId" type="tfp:PolicyId">
<xs:annotation>
<xs:documentation>
The identifier of the base policy. The policy is looked up using this identifier within the tenant specified
by the preceding element.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Inheritance">
<xs:annotation>
<xs:documentation>
This section defines the constraints for policies inheriting from this policy.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0">
<xs:element minOccurs="0" maxOccurs="1" name="Tenants" type="tfp:TenantListType">
<xs:annotation>
<xs:documentation>
A list of tenant references used when the inheritance rule is an allow or deny list.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="ConstraintHandler" type="tfp:ConstraintHandler">
<xs:annotation>
<xs:documentation>
A handler implementing the IConstraintHandler interface for applying more complex inheritance rules.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute use="required" name="DerivingPolicies" type="xs:string" />
</xs:complexType>
<xs:complexType name="RerouteRules">
<xs:annotation>
<xs:documentation>
This section defines policy rerouting rules.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="RerouteRule" type="tfp:RerouteRule">
<xs:annotation>
<xs:documentation>
A list of reroute rules
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute use="required" name="Type" type="xs:string" />
</xs:complexType>
<xs:complexType name="RerouteRule">
<xs:annotation>
<xs:documentation>
This section defines details of a rerouting rule
</xs:documentation>
</xs:annotation>
<xs:attribute use="required" name="PolicyId" type="tfp:PolicyIdPattern">
<xs:annotation>
<xs:documentation>
The unique identifier of this policy.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="Weight" type="tfp:Weight">
<xs:annotation>
<xs:documentation>
The weight for a policy in case of A/B testing.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="Match" type="tfp:Match">
<xs:annotation>
<xs:documentation>
Defines an attribute that can be passed into the query string, that will match the policy to be redirected to.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ConstraintHandler">
<xs:annotation>
<xs:documentation>
This section defines the constraints for policies inheriting from this policy.
</xs:documentation>
</xs:annotation>
<xs:attribute use="required" name="Id" type="xs:string">
<xs:annotation>
<xs:documentation>
A machine understandable identifier that is used to uniquely identify this particular constraint handler.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="Handler" type="xs:string">
<xs:annotation>
<xs:documentation>
A fully-qualified name of the assembly that will be used by CPIM to determine the constraint handler.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="TechnicalProfile">
<xs:annotation>
<xs:documentation>
Every Claims Provider must have one or more Technical Profiles which determines the end points and the protocols needed
to communicate with that Claims Provider. In fact, in CPIM, it is the Technical Profile that is referenced elsewhere for
communication with a particular Claims Provider.
A Claims Provider can have multiple Technical Profiles for various reasons. For example, multiple Technical Profiles may
be defined because the Claims Provider supports multiple protocols, various endpoints with different capabilities, or
releases different claims at different assurance levels. It may be acceptable to release
sensitive claims in one User Journey, but not in another one. A Technical Profile is usually certified for
a Level of Assurance and thus one Claims Provider may have multiple Technical Profiles for different Levels of Assurance.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="Domains">
<xs:annotation>
<xs:documentation>
The human understandable domain names for the technical profile.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="Domain" type="tfp:nonemptystring">
<xs:annotation>
<xs:documentation>
The human understandable domain name for the technical profile.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Domain" type="xs:string">
<xs:annotation>
<xs:documentation>
The human understandable domain name for the technical profile.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="DisplayName" type="xs:string">
<xs:annotation>
<xs:documentation>
The human understandable name of the Technical Profile that can be displayed to the users.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Description" type="xs:string">
<xs:annotation>
<xs:documentation>
Provides detailed user understandable text to explain the Technical Profile.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Protocol">
<xs:annotation>
<xs:documentation>
The protocol used for federation.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" name="Name" type="tfp:ProtocolName">
<xs:annotation>
<xs:documentation>
Name of the protocol used by CPIM for claims exchange with the claims provider.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="Handler" type="xs:string">
<xs:annotation>
<xs:documentation>
A fully-qualified name of the assembly that will be used by CPIM to determine the protocol handler if the protocol
name is "Proprietary". It is invalid to provide this attribute with any other protocol name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="InputTokenFormat" type="tfp:TokenFormat">
<xs:annotation>
<xs:documentation>
Format of the input token
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="OutputTokenFormat" type="tfp:TokenFormat">
<xs:annotation>
<xs:documentation>
Format of the output token
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="AssuranceLevelOfOutputClaims" type="xs:string">
<xs:annotation>
<xs:documentation>
Lists the assurance level of the claims that are retrieved from the Technical Profile.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="RequiredAssuranceLevelsOfInputClaims">
<xs:annotation>
<xs:documentation>
Lists the assurance levels that a claim must have in order for it to be used as an input claim to the Technical Profile.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="RequiredAssuranceLevelOfInputClaims" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="SubjectAuthenticationRequirements">
<xs:annotation>
<xs:documentation>
Requirements regarding the conscious and active participation of the subject in authentication
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" name="TimeToLive" type="xs:int">
<xs:annotation>
<xs:documentation>
The maximum number of minutes cached credentials can be used following an active authentication by the subject.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="ResetExpiryWhenTokenIssued" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Default is False. If True then whenever a token is issued
(even using a cached credential) the expiry time is set to the current time plus the TimeToLive
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Metadata" type="tfp:metadataTYPE">
<xs:annotation>
<xs:documentation>
This is the data utilized by the protocol for communicating with the endpoint.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="CryptographicKeys" type="tfp:CryptographicKeys">
<xs:annotation>
<xs:documentation>
A list of cryptographic keys used in this technical profile.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Suppressions" type="tfp:ItemGroup">
<xs:annotation>
<xs:documentation>
A list of suppressions supported by the protocol.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="PreferredBinding" type="xs:string">
<xs:annotation>
<xs:documentation>
If the protocol supports multiple bindings, this represents binding preferred by the protocol, for example HTTP POST or HTTP GET
in the case of SAML.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="IncludeInSso" type="xs:boolean">
<xs:annotation>
<xs:documentation>
A value indicating whether usage of this technical profile should apply
single-signon behavior for the session and instead require explicit interaction
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="InputTokenSources" type="tfp:InputTokenSources">
<xs:annotation>
<xs:documentation>
CPIM can send the original token from one claims provider to another claims provider. InputTokenSources are
the list of technical profiles of the claims providers from which the original tokens are to be sent.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="InputClaimsTransformations">
<xs:annotation>
<xs:documentation>
ClaimsTransformations can be used to modify existing ClaimsSchema claims or generate new ones. This element contains the
list of references to ClaimsTransformations that should be executed before any claims are sent to the claims provider or the
relying party.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="InputClaimsTransformation" type="tfp:ClaimsTransformationReference" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="InputClaims">
<xs:annotation>
<xs:documentation>
A list of the ClaimsSchema claim types that are sent as input to the claims provider or the relying party.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="InputClaim" type="tfp:ClaimsSchemaClaimTypeReference" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DisplayClaims" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Defines a list of display claims for user interface controls.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DisplayClaim" type="DisplayClaimReference" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="PersistedClaims">
<xs:annotation>
<xs:documentation>
A list of the ClaimsSchema claim types that are persisted by the claims provider.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="PersistedClaim" type="tfp:PersistedClaim" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="OutputClaims">
<xs:annotation>
<xs:documentation>
A list of the ClaimsSchema claim types that are received as output from the claims provider.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="OutputClaim" type="tfp:ClaimsSchemaClaimTypeReference" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="OutputClaimsTransformations">
<xs:annotation>
<xs:documentation>
ClaimsTransformations can be used to modify existing ClaimsSchema claims or generate new ones. This element contains the
list of references to ClaimsTransformations that should be executed after claims are received from the claims provider.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="OutputClaimsTransformation" type="tfp:ClaimsTransformationReference" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="ValidationTechnicalProfiles">
<xs:annotation>
<xs:documentation>
A TechnicalProfile can have a set of other TechnicalProfiles that it uses for validation purposes. This section lists all
such technical profiles.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="ValidationTechnicalProfile">
<xs:complexType>
<xs:annotation>
<xs:documentation>
The technical profile to be used for validating some or all of the output claims of the referencing technical profile.
Therefore, all the input claims of the referenced technical profile must appear in the output claims of the
referencing technical profile.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Preconditions" type="tfp:Preconditions">
<xs:annotation>
<xs:documentation>
A list of preconditions that must be satisfied for the validation technical profile to execute.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute use="required" name="ReferenceId" type="xs:string" />
<xs:attribute use="optional" name="ContinueOnSuccess" type="xs:boolean">
<xs:annotation>
<xs:documentation>
A boolean indicating whether validation of any subsequent validation profiles should continue if this
profile succeeds. The default is true, meaning that the processing of further validation profiles will continue.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="ContinueOnError" type="xs:boolean">
<xs:annotation>
<xs:documentation>
A boolean indicating whether validation of any subsequent validation profiles should continue if this
profile errors. The default is false, meaning that processing of further validation profiles will stop and
an error returned.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueTechnicalProfileReferenceId">
<xs:selector xpath="tfp:ValidationTechnicalProfile"/>
<xs:field xpath="@ReferenceId"/>
</xs:key>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="SubjectNamingInfo">
<xs:annotation>
<xs:documentation>
Information that controls production of the subject name in tokens (e.g. SAML) where subject name is specified separately
from claims.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" name="ClaimType" type="xs:string" />
<xs:attribute use="optional" name="NameQualifier" type="xs:string" />
<xs:attribute use="optional" name="SPNameQualifier" type="xs:string" />
<xs:attribute use="optional" name="Format" type="xs:string" />
<xs:attribute use="optional" name="SPProvidedID" type="xs:string" />
<xs:attribute use="optional" name="ExcludeAsClaim" type="xs:boolean" />
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="Extensions" type="tfp:Extensions">
<xs:annotation>
<xs:documentation>
An element for including additional information specific to a particular technical profile
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="IncludeClaimsFromTechnicalProfile" type="xs:string">
<xs:annotation>
<xs:documentation>
A id of different technical profile. All input and output claims from referenced technical profile will be
added to this technical profile. Referenced technical profile must be defined in the same trust framework policy.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="IncludeTechnicalProfile">
<xs:complexType>
<xs:annotation>
<xs:documentation>
A id of different technical profile. All data from referenced technical profile will be
added to this technical profile. Referenced technical profile must exists in trust framework policy.
</xs:documentation>
</xs:annotation>
<xs:attribute use="required" name="ReferenceId" type="xs:string" />
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="UseTechnicalProfileForSessionManagement">
<xs:complexType>
<xs:annotation>
<xs:documentation>
An id of a technical profile to be used for session managemetn.
</xs:documentation>
</xs:annotation>
<xs:attribute use="required" name="ReferenceId" type="xs:string" />
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="ErrorHandlers">
<xs:annotation>
<xs:documentation>
Error handlers to take action based on different error responses.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="ErrorHandler">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="ErrorResponseFormat" type="tfp:ErrorResponseFormat" >
<xs:annotation>
<xs:documentation>
Format of error response. Used to indicate the reader of the error response for path matching. Default is json.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="ResponseMatch" type="xs:string" >
<xs:annotation>
<xs:documentation>
Match path for the response to trigger the action. JSONPath is used for json response. XPath is used for XML response.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="Action" type="tfp:ErrorHandlingAction" >
<xs:annotation>
<xs:documentation>
Action to perform when the error response matches the pattern.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="AdditionalRequestParameters">
<xs:complexType>
<xs:annotation>
<xs:documentation>
Additional query string to send for reauthentication action.
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Key" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="EnabledForUserJourneys" type="tfp:EnabledForUserJourneysValues">
<xs:annotation>
<xs:documentation>
A boolean indicating if the technical provile should be used within a user journey, this includes ClaimProviderSelections.
If this value is set to true, it will disable the selection.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute use="required" name="Id" type="xs:string">
<xs:annotation>
<xs:documentation>
A machine understandable identifier that is used to uniquely identify this particular TechnicalProfile,
and reference it from other sections of the document, for example OrchestrationSteps and InputTokenSources.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!--
Describes a particular user journey, which may refer to sections defined elsewhere.
-->
<xs:complexType name="UserJourney">
<xs:annotation>
<xs:documentation>
A User Journey defines all the constructs necessary for a complete user flow.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="AssuranceLevel" type="xs:string">
<xs:annotation>
<xs:documentation>
Specifies a measurement of identity assurance when the claims are presented to the Relying
Party at the conclusion of the orchestration steps contained in the User Journey.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="PreserveOriginalAssertion" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Claims are presented to the Relying Party Application in a token generated by CPIM. However, a Technical
Policy may state, using a true or a false for this element, that the original assertion which was returned from
the Claims Provider(s) must also be preserved so that if needed, it can be looked at by Relying Party for auditing
or diagnostic purposes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Authorization">
<xs:annotation>
<xs:documentation>
Specifies relevent information required for the Authorization elements of a UserJourney. This can point to other
element references in policy for validating information about the request in order to assert the request is allowed.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="AuthorizationTechnicalProfiles">
<xs:annotation>
<xs:documentation>
A TechnicalProfile can be used to extract information from a request and perform authorization of the request. This section lists all
such technical profiles.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="AuthorizationTechnicalProfile">
<xs:complexType>
<xs:annotation>
<xs:documentation>
The technical profile to be used for validating/authorizing incoming data to assert the information is valid for the UserJourney. If
the information is invalid, the UserJourney will not execute and the request is Forbidden.
</xs:documentation>
</xs:annotation>
<xs:attribute use="required" name="ReferenceId" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueAuthorizationTechnicalProfileReferenceId">
<xs:selector xpath="tfp:AuthorizationTechnicalProfile"/>
<xs:field xpath="@ReferenceId"/>
</xs:key>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="OrchestrationSteps">
<xs:annotation>
<xs:documentation>
This section lists the orchestration sequence that must be followed through for a successful transaction (i.e. a
complete user flow). Thus, every User Journey consists of an ordered list of Orchestration Steps (OS) that are
executed in sequence. If any step fails, the transaction fails.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="OrchestrationStep" type="tfp:OrchestrationStep" />
</xs:sequence>
</xs:complexType>
<xs:key name="UniqueOrchestrationStepOrder">
<xs:selector xpath="tfp:OrchestrationStep"/>
<xs:field xpath="@Order"/>
</xs:key>
<xs:key name="UniqueClaimsExchangeId">
<xs:selector xpath="tfp:OrchestrationStep/tfp:ClaimsExchanges/tfp:ClaimsExchange"/>
<xs:field xpath="@Id"/>
</xs:key>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="ClientDefinition">
<xs:annotation>
<xs:documentation>
References settings definition section that determines the client behavior.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ReferenceId" type="xs:string">
<xs:annotation>
<xs:documentation>
The identifier of the policy to use.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="CryptographicKeys" type="tfp:CryptographicKeys">
<xs:annotation>
<xs:documentation>
A list of cryptographic keys used in this User Journey.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute use="required" name="Id" type="xs:string">
<xs:annotation>
<xs:documentation>
A machine understandable identifier that is used to uniquely identify this particular User Journey.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="NonInteractive" type="xs:boolean">
<xs:annotation>
<xs:documentation>
A boolean that is used to indicate whether this particular User Journey is non interactive.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="optional" name="DefaultCpimIssuerTechnicalProfileReferenceId" type="xs:string">
<xs:annotation>
<xs:documentation>
The default Issuer TechnicalProfileId of the claims provider that will mint the token for the relyingParty.
If absent then CpimIssuerTechicalProfileReferenceId from first SendClaims step would be considered as default.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="SubJourney">