From 5d44e13804ebc4efaad94f544ef6b68535d7609f Mon Sep 17 00:00:00 2001 From: Vinay Mistry Date: Fri, 1 Jul 2022 12:16:23 +0100 Subject: [PATCH] Update to PR #747 to resolve conflicts with Master --- .../schemas/next/interaction.schema.json | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 website/static/schemas/next/interaction.schema.json diff --git a/website/static/schemas/next/interaction.schema.json b/website/static/schemas/next/interaction.schema.json new file mode 100644 index 000000000..f0cc2d312 --- /dev/null +++ b/website/static/schemas/next/interaction.schema.json @@ -0,0 +1,37 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://fdc3.finos.org/schemas/next/interaction.schema.json", + "type": "object", + "title": "Interaction", + "allOf": [{ "$ref": "context.schema.json#" }], + "properties": { + "type": { "const": "fdc3.interaction" }, + "participants": { + "$ref": "contactList.schema.json#" + }, + "timeRange": { + "$ref": "timerange.schema.json#" + }, + "interactionType": { + "anyOf": [ + { + "type": "string", + "enum": ["Instant Message", "Email", "Call", "Meeting"] + }, + { + "type": "string" + } + ] + }, + "description": { + "type": "string" + }, + "initiator": { + "$ref": "contact.schema.json#" + }, + "origin": { + "type": "string" + } + }, + "required": ["contacts", "timeRange", "interactionType", "description"] +} \ No newline at end of file