@agent-teams/engineering-foundation 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canonical-json.d.ts +12 -0
- package/dist/canonical-json.d.ts.map +1 -0
- package/dist/canonical-json.js +151 -0
- package/dist/canonical-json.js.map +1 -0
- package/dist/document-authoring/adapters/canonical-markdown.d.ts +14 -0
- package/dist/document-authoring/adapters/canonical-markdown.d.ts.map +1 -0
- package/dist/document-authoring/adapters/canonical-markdown.js +354 -0
- package/dist/document-authoring/adapters/canonical-markdown.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js +4 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js.map +1 -1
- package/dist/document-authoring/adapters/node/read-document-authority-file.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/read-document-authority-file.js +3 -13
- package/dist/document-authoring/adapters/node/read-document-authority-file.js.map +1 -1
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts +38 -0
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js +122 -0
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js.map +1 -0
- package/dist/document-authoring/application/policies/document-contract-digests.d.ts +20 -0
- package/dist/document-authoring/application/policies/document-contract-digests.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-contract-digests.js +275 -0
- package/dist/document-authoring/application/policies/document-contract-digests.js.map +1 -0
- package/dist/document-authoring/application/policies/document-repository-path.d.ts +1 -0
- package/dist/document-authoring/application/policies/document-repository-path.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/document-repository-path.js +21 -2
- package/dist/document-authoring/application/policies/document-repository-path.js.map +1 -1
- package/dist/document-authoring/application/policies/document-temporary-path.d.ts +7 -0
- package/dist/document-authoring/application/policies/document-temporary-path.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-temporary-path.js +34 -0
- package/dist/document-authoring/application/policies/document-temporary-path.js.map +1 -0
- package/dist/document-authoring/application/ports/canonical-document-renderer.d.ts +29 -0
- package/dist/document-authoring/application/ports/canonical-document-renderer.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/canonical-document-renderer.js +2 -0
- package/dist/document-authoring/application/ports/canonical-document-renderer.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.d.ts +4 -0
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.js +30 -0
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.d.ts +5 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.js +212 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js +47 -25
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js.map +1 -1
- package/package.json +1 -1
- package/schemas/document-authoring-profile/v1.schema.json +64 -15
- package/schemas/document-command-envelope/v1.schema.json +1 -1
- package/schemas/document-intent/v1.schema.json +48 -6
- package/schemas/document-plan/v1.schema.json +20 -4
- package/schemas/document-receipt/v1.schema.json +1 -1
- package/schemas/foundation-transaction-envelope/v2.schema.json +21 -3
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"type": "string",
|
|
23
23
|
"minLength": 1,
|
|
24
24
|
"maxLength": 512,
|
|
25
|
-
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]
|
|
25
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]{1,255}(?:/[A-Za-z0-9._@-]{1,255})*$"
|
|
26
26
|
},
|
|
27
27
|
"catalog": {
|
|
28
28
|
"type": "object",
|
|
@@ -104,15 +104,7 @@
|
|
|
104
104
|
"properties": {
|
|
105
105
|
"type": { "$ref": "#/$defs/lowerId" },
|
|
106
106
|
"initialStatus": { "$ref": "#/$defs/lowerId" },
|
|
107
|
-
"identity": {
|
|
108
|
-
"type": "object",
|
|
109
|
-
"additionalProperties": false,
|
|
110
|
-
"required": ["kind", "format"],
|
|
111
|
-
"properties": {
|
|
112
|
-
"kind": { "const": "explicit" },
|
|
113
|
-
"format": { "enum": ["adr-four-digits", "open-decision-three-digits", "qualified"] }
|
|
114
|
-
}
|
|
115
|
-
},
|
|
107
|
+
"identity": { "$ref": "#/$defs/identity" },
|
|
116
108
|
"placement": {
|
|
117
109
|
"oneOf": [
|
|
118
110
|
{ "$ref": "#/$defs/collectionPlacement" },
|
|
@@ -137,6 +129,62 @@
|
|
|
137
129
|
}
|
|
138
130
|
}
|
|
139
131
|
},
|
|
132
|
+
"identity": {
|
|
133
|
+
"oneOf": [
|
|
134
|
+
{ "$ref": "#/$defs/adrIdentity" },
|
|
135
|
+
{ "$ref": "#/$defs/openDecisionIdentity" },
|
|
136
|
+
{ "$ref": "#/$defs/qualifiedIdentity" }
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"adrIdentity": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"additionalProperties": false,
|
|
142
|
+
"required": ["kind", "format"],
|
|
143
|
+
"properties": {
|
|
144
|
+
"kind": { "const": "explicit" },
|
|
145
|
+
"format": { "const": "adr-four-digits" }
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"openDecisionIdentity": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"additionalProperties": false,
|
|
151
|
+
"required": ["kind", "format"],
|
|
152
|
+
"properties": {
|
|
153
|
+
"kind": { "const": "explicit" },
|
|
154
|
+
"format": { "const": "open-decision-three-digits" }
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"qualifiedIdentity": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"additionalProperties": false,
|
|
160
|
+
"required": ["kind", "format", "grammar"],
|
|
161
|
+
"properties": {
|
|
162
|
+
"kind": { "const": "explicit" },
|
|
163
|
+
"format": { "const": "qualified" },
|
|
164
|
+
"grammar": { "$ref": "#/$defs/qualifiedIdentityGrammar" }
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"qualifiedIdentityGrammar": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"additionalProperties": false,
|
|
170
|
+
"required": ["prefixSegments", "minSuffixSegments", "maxSuffixSegments"],
|
|
171
|
+
"properties": {
|
|
172
|
+
"prefixSegments": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"minItems": 1,
|
|
175
|
+
"maxItems": 8,
|
|
176
|
+
"items": { "$ref": "#/$defs/qualifiedIdentitySegment" }
|
|
177
|
+
},
|
|
178
|
+
"minSuffixSegments": { "type": "integer", "minimum": 1, "maximum": 16 },
|
|
179
|
+
"maxSuffixSegments": { "type": "integer", "minimum": 1, "maximum": 16 }
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"qualifiedIdentitySegment": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"minLength": 1,
|
|
185
|
+
"maxLength": 80,
|
|
186
|
+
"pattern": "^[a-z][a-z0-9-]*$"
|
|
187
|
+
},
|
|
140
188
|
"collectionPlacement": {
|
|
141
189
|
"type": "object",
|
|
142
190
|
"additionalProperties": false,
|
|
@@ -150,23 +198,24 @@
|
|
|
150
198
|
"qualifiedLeafIndexPlacement": {
|
|
151
199
|
"type": "object",
|
|
152
200
|
"additionalProperties": false,
|
|
153
|
-
"required": ["kind", "
|
|
201
|
+
"required": ["kind", "root", "requiredBasename"],
|
|
154
202
|
"properties": {
|
|
155
203
|
"kind": { "const": "qualified-leaf-index" },
|
|
156
|
-
"
|
|
157
|
-
"requiredSegmentsInOrder": { "$ref": "#/$defs/pathSegmentList" },
|
|
204
|
+
"root": { "$ref": "#/$defs/repositoryPath" },
|
|
158
205
|
"requiredBasename": { "const": "README.md" }
|
|
159
206
|
}
|
|
160
207
|
},
|
|
161
208
|
"explicitPlacement": {
|
|
162
209
|
"type": "object",
|
|
163
210
|
"additionalProperties": false,
|
|
164
|
-
"required": ["kind", "allowedRoots", "requiredSegmentsInOrder", "requiredBasename"],
|
|
211
|
+
"required": ["kind", "allowedRoots", "requiredSegmentsInOrder", "requiredBasename", "minimumSegmentsBeforeRequired", "minimumSegmentsAfterRequired"],
|
|
165
212
|
"properties": {
|
|
166
213
|
"kind": { "const": "explicit" },
|
|
167
214
|
"allowedRoots": { "$ref": "#/$defs/pathList" },
|
|
168
215
|
"requiredSegmentsInOrder": { "$ref": "#/$defs/pathSegmentList" },
|
|
169
|
-
"requiredBasename": { "enum": ["README.md"] }
|
|
216
|
+
"requiredBasename": { "enum": ["README.md"] },
|
|
217
|
+
"minimumSegmentsBeforeRequired": { "type": "integer", "minimum": 0, "maximum": 16 },
|
|
218
|
+
"minimumSegmentsAfterRequired": { "type": "integer", "minimum": 0, "maximum": 16 }
|
|
170
219
|
}
|
|
171
220
|
},
|
|
172
221
|
"pathList": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"type": "string",
|
|
35
35
|
"minLength": 1,
|
|
36
36
|
"maxLength": 512,
|
|
37
|
-
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]
|
|
37
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]{1,255}(?:/[A-Za-z0-9._@-]{1,255})*$"
|
|
38
38
|
},
|
|
39
39
|
"documentDescriptor": {
|
|
40
40
|
"type": "object",
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"id": { "$ref": "#/$defs/opaqueId" },
|
|
12
12
|
"title": { "$ref": "#/$defs/title" },
|
|
13
13
|
"owner": { "$ref": "#/$defs/opaqueId" },
|
|
14
|
-
"summary": { "
|
|
14
|
+
"summary": { "$ref": "#/$defs/summary" },
|
|
15
|
+
"slug": { "$ref": "#/$defs/slug" },
|
|
16
|
+
"destination": { "$ref": "#/$defs/repositoryPath" },
|
|
15
17
|
"related": {
|
|
16
18
|
"type": "array",
|
|
17
19
|
"maxItems": 128,
|
|
@@ -24,15 +26,40 @@
|
|
|
24
26
|
"lowerId": { "type": "string", "minLength": 1, "maxLength": 160, "pattern": "^[a-z0-9][a-z0-9._/-]*$" },
|
|
25
27
|
"opaqueId": { "type": "string", "minLength": 1, "maxLength": 214, "pattern": "^[A-Za-z0-9@][A-Za-z0-9@._/-]*$" },
|
|
26
28
|
"title": { "type": "string", "minLength": 1, "maxLength": 240, "pattern": "^[^\\u0000-\\u001F\\u007F]+$" },
|
|
29
|
+
"summary": { "type": "string", "minLength": 1, "maxLength": 1000, "pattern": "^[^\\u0000-\\u001F\\u007F]+$" },
|
|
30
|
+
"slug": { "type": "string", "minLength": 1, "maxLength": 160, "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
|
|
31
|
+
"repositoryPath": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1,
|
|
34
|
+
"maxLength": 512,
|
|
35
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]{1,255}(?:/[A-Za-z0-9._@-]{1,255})*$"
|
|
36
|
+
},
|
|
37
|
+
"metadataKey": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"maxLength": 64,
|
|
41
|
+
"pattern": "^(?!(?:__proto__|prototype|constructor)$)[A-Za-z_][A-Za-z0-9_-]*$"
|
|
42
|
+
},
|
|
43
|
+
"additionalMetadataKey": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"maxLength": 64,
|
|
47
|
+
"pattern": "^(?!(?:id|type|status|owner|summary|title|slug|destination|related|__proto__|prototype|constructor)$)[A-Za-z_][A-Za-z0-9_-]*$"
|
|
48
|
+
},
|
|
27
49
|
"jsonScalar": {
|
|
28
50
|
"oneOf": [
|
|
29
51
|
{ "type": "null" },
|
|
30
52
|
{ "type": "boolean" },
|
|
31
53
|
{ "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 },
|
|
32
|
-
{ "type": "string", "maxLength": 4096 }
|
|
54
|
+
{ "type": "string", "maxLength": 4096, "pattern": "^[^\\u0000-\\u001F\\u007F]*$" }
|
|
33
55
|
]
|
|
34
56
|
},
|
|
35
|
-
"jsonObject1": {
|
|
57
|
+
"jsonObject1": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"maxProperties": 64,
|
|
60
|
+
"propertyNames": { "$ref": "#/$defs/additionalMetadataKey" },
|
|
61
|
+
"additionalProperties": { "$ref": "#/$defs/jsonValue1" }
|
|
62
|
+
},
|
|
36
63
|
"jsonValue1": {
|
|
37
64
|
"oneOf": [
|
|
38
65
|
{ "$ref": "#/$defs/jsonScalar" },
|
|
@@ -40,7 +67,12 @@
|
|
|
40
67
|
{ "$ref": "#/$defs/jsonObject2" }
|
|
41
68
|
]
|
|
42
69
|
},
|
|
43
|
-
"jsonObject2": {
|
|
70
|
+
"jsonObject2": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"maxProperties": 64,
|
|
73
|
+
"propertyNames": { "$ref": "#/$defs/metadataKey" },
|
|
74
|
+
"additionalProperties": { "$ref": "#/$defs/jsonValue2" }
|
|
75
|
+
},
|
|
44
76
|
"jsonValue2": {
|
|
45
77
|
"oneOf": [
|
|
46
78
|
{ "$ref": "#/$defs/jsonScalar" },
|
|
@@ -48,12 +80,22 @@
|
|
|
48
80
|
{ "$ref": "#/$defs/jsonObject3" }
|
|
49
81
|
]
|
|
50
82
|
},
|
|
51
|
-
"jsonObject3": {
|
|
83
|
+
"jsonObject3": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"maxProperties": 64,
|
|
86
|
+
"propertyNames": { "$ref": "#/$defs/metadataKey" },
|
|
87
|
+
"additionalProperties": { "$ref": "#/$defs/jsonValue3" }
|
|
88
|
+
},
|
|
52
89
|
"jsonValue3": {
|
|
53
90
|
"oneOf": [
|
|
54
91
|
{ "$ref": "#/$defs/jsonScalar" },
|
|
55
92
|
{ "type": "array", "maxItems": 128, "items": { "$ref": "#/$defs/jsonScalar" } },
|
|
56
|
-
{
|
|
93
|
+
{
|
|
94
|
+
"type": "object",
|
|
95
|
+
"maxProperties": 64,
|
|
96
|
+
"propertyNames": { "$ref": "#/$defs/metadataKey" },
|
|
97
|
+
"additionalProperties": { "$ref": "#/$defs/jsonScalar" }
|
|
98
|
+
}
|
|
57
99
|
]
|
|
58
100
|
}
|
|
59
101
|
}
|
|
@@ -47,7 +47,13 @@
|
|
|
47
47
|
"type": "string",
|
|
48
48
|
"minLength": 1,
|
|
49
49
|
"maxLength": 512,
|
|
50
|
-
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]
|
|
50
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]{1,255}(?:/[A-Za-z0-9._@-]{1,255})*$"
|
|
51
|
+
},
|
|
52
|
+
"repositoryParentPath": {
|
|
53
|
+
"oneOf": [
|
|
54
|
+
{ "const": "." },
|
|
55
|
+
{ "$ref": "#/$defs/repositoryPath" }
|
|
56
|
+
]
|
|
51
57
|
},
|
|
52
58
|
"compiler": {
|
|
53
59
|
"type": "object",
|
|
@@ -66,7 +72,17 @@
|
|
|
66
72
|
"properties": {
|
|
67
73
|
"path": { "$ref": "#/$defs/repositoryPath" },
|
|
68
74
|
"digest": { "$ref": "#/$defs/digest" },
|
|
69
|
-
"size": { "type": "integer", "minimum": 1, "maximum":
|
|
75
|
+
"size": { "type": "integer", "minimum": 1, "maximum": 1048576 }
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"templateAuthoritySource": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"additionalProperties": false,
|
|
81
|
+
"required": ["path", "digest", "size"],
|
|
82
|
+
"properties": {
|
|
83
|
+
"path": { "$ref": "#/$defs/repositoryPath" },
|
|
84
|
+
"digest": { "$ref": "#/$defs/digest" },
|
|
85
|
+
"size": { "type": "integer", "minimum": 1, "maximum": 262144 }
|
|
70
86
|
}
|
|
71
87
|
},
|
|
72
88
|
"authority": {
|
|
@@ -77,7 +93,7 @@
|
|
|
77
93
|
"profile": { "$ref": "#/$defs/authoritySource" },
|
|
78
94
|
"metadataSchema": { "$ref": "#/$defs/authoritySource" },
|
|
79
95
|
"ownerCatalog": { "$ref": "#/$defs/authoritySource" },
|
|
80
|
-
"template": { "$ref": "#/$defs/
|
|
96
|
+
"template": { "$ref": "#/$defs/templateAuthoritySource" }
|
|
81
97
|
}
|
|
82
98
|
},
|
|
83
99
|
"selectedOwner": {
|
|
@@ -113,7 +129,7 @@
|
|
|
113
129
|
"additionalProperties": false,
|
|
114
130
|
"required": ["path", "state", "ancestry"],
|
|
115
131
|
"properties": {
|
|
116
|
-
"path": { "$ref": "#/$defs/
|
|
132
|
+
"path": { "$ref": "#/$defs/repositoryParentPath" },
|
|
117
133
|
"state": { "const": "directory" },
|
|
118
134
|
"ancestry": { "const": "real-directories" }
|
|
119
135
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"type": "string",
|
|
39
39
|
"minLength": 1,
|
|
40
40
|
"maxLength": 512,
|
|
41
|
-
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]
|
|
41
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]{1,255}(?:/[A-Za-z0-9._@-]{1,255})*$"
|
|
42
42
|
},
|
|
43
43
|
"commitObservation": {
|
|
44
44
|
"type": "object",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"type": "string",
|
|
45
45
|
"minLength": 1,
|
|
46
46
|
"maxLength": 512,
|
|
47
|
-
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]
|
|
47
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))(?!.*\\.(?:/|$))(?!.*(?:^|/)(?:[Cc][Oo][Nn]|[Pp][Rr][Nn]|[Aa][Uu][Xx]|[Nn][Uu][Ll]|[Cc][Oo][Mm][1-9]|[Ll][Pp][Tt][1-9])(?:\\.[A-Za-z0-9._@-]*)?(?:/|$))[A-Za-z0-9._@-]{1,255}(?:/[A-Za-z0-9._@-]{1,255})*$"
|
|
48
48
|
},
|
|
49
49
|
"documentJournal": {
|
|
50
50
|
"type": "object",
|
|
@@ -65,14 +65,32 @@
|
|
|
65
65
|
"ownedTemporary": {
|
|
66
66
|
"type": "object",
|
|
67
67
|
"additionalProperties": false,
|
|
68
|
-
"required": ["path", "digest"],
|
|
68
|
+
"required": ["path", "digest", "identity"],
|
|
69
69
|
"properties": {
|
|
70
70
|
"path": { "$ref": "#/$defs/repositoryPath" },
|
|
71
|
-
"digest": { "$ref": "#/$defs/digest" }
|
|
71
|
+
"digest": { "$ref": "#/$defs/digest" },
|
|
72
|
+
"identity": { "$ref": "#/$defs/nodeTemporaryIdentity" }
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
},
|
|
77
|
+
"nodeTemporaryIdentity": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"required": ["adapter", "version", "dev", "ino", "birthtimeNs"],
|
|
81
|
+
"properties": {
|
|
82
|
+
"adapter": { "const": "node-filesystem" },
|
|
83
|
+
"version": { "const": 1 },
|
|
84
|
+
"dev": { "$ref": "#/$defs/unsignedDecimal" },
|
|
85
|
+
"ino": { "$ref": "#/$defs/unsignedDecimal" },
|
|
86
|
+
"birthtimeNs": { "$ref": "#/$defs/unsignedDecimal" }
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"unsignedDecimal": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"pattern": "^(?:0|[1-9][0-9]*)$",
|
|
92
|
+
"maxLength": 32
|
|
93
|
+
},
|
|
76
94
|
"documentAuthoringEnvelope": {
|
|
77
95
|
"if": { "type": "object", "properties": { "operationKind": { "const": "document-authoring" } }, "required": ["operationKind"] },
|
|
78
96
|
"then": {
|