You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/fdc3-schema/schemas/api/api.schema.json
+14-37Lines changed: 14 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -267,10 +267,10 @@
267
267
"type"
268
268
]
269
269
},
270
-
"ContextMetadataFields": {
271
-
"description": "Metadata relating to a context or intent and context received through the\n`addContextListener` and `addIntentListener` functions.",
272
-
"title": "ContextMetadataFields",
270
+
"ContextMetadata": {
273
271
"type": "object",
272
+
"description": "Metadata relating to a broadcastEvent or intentEvent, which may include metadata provided by the Desktop Agent or the App that initiated the broadcast, raise intent or open request.",
273
+
"title": "Context Metadata",
274
274
"properties": {
275
275
"source": {
276
276
"$ref": "#/definitions/AppIdentifier",
@@ -295,39 +295,22 @@
295
295
"description": "Custom metadata that can be used to provide additional information about the context or intent. This allows for individuals to use metadata fields that have yet to be standardized."
296
296
}
297
297
},
298
-
"additionalProperties": false
299
-
},
300
-
"ContextMetadata": {
301
-
"description": "Metadata relating to a context or intent and context received through the\n`addContextListener` and `addIntentListener` functions.",
302
-
"title": "ContextMetadata",
303
-
"allOf": [
304
-
{
305
-
"$ref": "#/definitions/ContextMetadataFields"
306
-
}
307
-
],
308
-
"properties": {
309
-
"source": true,
310
-
"traceId": true,
311
-
"timestamp": true,
312
-
"custom": true
313
-
},
314
298
"required": [
315
299
"source",
316
-
"timestamp"
317
-
]
300
+
"timestamp",
301
+
"traceId"
302
+
],
303
+
"additionalProperties": false
318
304
},
319
305
"AppProvidableContextMetadata": {
320
-
"description": "Metadata that can be provided by an app.",
321
-
"title": "AppProvidableContextMetadata",
322
-
"allOf": [
323
-
{
324
-
"$ref": "#/definitions/ContextMetadataFields"
325
-
}
326
-
],
306
+
"type": "object",
307
+
"description": "Metadata that can be provided by an app as part of a broadcast, raise intent or open API call.",
"description": "Identifies a particular Desktop Agent in Desktop Agent Bridging scenarios\nwhere a request needs to be directed to a Desktop Agent rather than a specific app, or a\nresponse message is returned by the Desktop Agent (or more specifically its resolver)\nrather than a specific app. Used as a substitute for `AppIdentifier` in cases where no\napp details are available or are appropriate.",
@@ -434,11 +417,6 @@
434
417
"description": "Metadata indicating whether the Desktop Agent implements optional features of\nthe Desktop Agent API.",
435
418
"type": "object",
436
419
"properties": {
437
-
"OriginatingAppMetadata": {
438
-
"description": "Used to indicate whether the exposure of 'originating app metadata' for\ncontext and intent messages is supported by the Desktop Agent.",
439
-
"type": "boolean",
440
-
"title": "OriginatingAppMetadata"
441
-
},
442
420
"UserChannelMembershipAPIs": {
443
421
"description": "Used to indicate whether the optional `fdc3.joinUserChannel`,\n`fdc3.getCurrentChannel` and `fdc3.leaveCurrentChannel` are implemented by\nthe Desktop Agent.",
"description": "If a Context object is passed in, this object will be provided to the opened application via a contextListener. The Context argument is functionally equivalent to opening the target app with no context and broadcasting the context directly to it."
0 commit comments