This repository was archived by the owner on May 22, 2024. It is now read-only.
File tree 3 files changed +16
-4
lines changed
3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ SOFTWARE.
43
43
<created >2016-12-29T09:03:21.684Z</created >
44
44
<token >user;yegor256</token >
45
45
</claim >
46
- <claim id =" 2722301000 " >
46
+ <claim id =" e5241c4e-e47d-4b85-b07f-27afbeba090c " >
47
47
<type >bootstrap the project</type >
48
48
<created >2016-12-29T09:03:21.684Z</created >
49
49
<token >github;yegor256</token >
50
50
</claim >
51
- <claim id =" 2722301077 " >
51
+ <claim id =" 83199f5d-d808-4136-b918-b871537fb96e " >
52
52
<type >Notify</type >
53
53
<created >2016-12-29T09:03:21.684Z</created >
54
54
<token >project;C99998888</token >
Original file line number Diff line number Diff line change @@ -53,7 +53,14 @@ SOFTWARE.
53
53
</xs : complexType >
54
54
</xs : element >
55
55
</xs : all >
56
- <xs : attribute name =" id" type =" xs:long" use =" required" />
56
+ <!--
57
+ @todo #388:30min Restrict id type as uuid.
58
+ Claim id was changed from long to uuid, but to keep
59
+ system working the migration should be done in two steps:
60
+ change claim id from long to string to accept both types
61
+ (numbers and uuids), then change this type to uuid (see types.xsd).
62
+ -->
63
+ <xs : attribute name =" id" type =" xs:string" use =" required" />
57
64
</xs : complexType >
58
65
<xs : element name =" claims" >
59
66
<xs : complexType >
@@ -64,7 +71,7 @@ SOFTWARE.
64
71
<xs : attribute name =" version" use =" required" type =" version" />
65
72
<xs : attribute name =" busy" use =" optional" type =" xs:dateTime" />
66
73
</xs : complexType >
67
- <xs : unique name =" uniqueID " >
74
+ <xs : unique name =" claimID " >
68
75
<xs : selector xpath =" claim" />
69
76
<xs : field xpath =" @id" />
70
77
</xs : unique >
Original file line number Diff line number Diff line change @@ -51,4 +51,9 @@ SOFTWARE.
51
51
<xs : pattern value =" [A-Za-z\d\-]{1,39}/[A-Za-z\d\-]{1,39}" />
52
52
</xs : restriction >
53
53
</xs : simpleType >
54
+ <xs : simpleType name =" uuid" >
55
+ <xs : restriction base =" xs:string" >
56
+ <xs : pattern value =" [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}" />
57
+ </xs : restriction >
58
+ </xs : simpleType >
54
59
</xs : schema >
You can’t perform that action at this time.
0 commit comments