From 1c020ad02092be87ccf1ec2a6e208727c82c5d48 Mon Sep 17 00:00:00 2001 From: MelKori Date: Fri, 12 Jun 2020 01:23:27 +0300 Subject: [PATCH] added registry_of=transfer value --- .../fms_contragent_announcement.json | 39 +++++++++++++++---- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/edi/json-schema/fms_contragent_announcement.json b/edi/json-schema/fms_contragent_announcement.json index d1d48e7..9704acd 100644 --- a/edi/json-schema/fms_contragent_announcement.json +++ b/edi/json-schema/fms_contragent_announcement.json @@ -3,14 +3,20 @@ "type": "object", "description": "FMS contragent events", "required": [ - "sender", "timestamp", "contragent_id", - "contragent_reg_id", "action", "reason" + "sender", + "timestamp", + "contragent_id", + "contragent_reg_id", + "action", + "reason" ], "properties": { "sender": { "type": "string", "description": "Sender name", - "enum": ["tbt"] + "enum": [ + "tbt" + ] }, "timestamp": { "description": "Send time", @@ -29,16 +35,35 @@ "action": { "type": "string", "description": "action", - "enum": ["created","deleted","updated","blocked","disabled"] + "enum": [ + "created", + "deleted", + "updated", + "blocked", + "disabled" + ] }, "reason": { "type": "string", "description": "reason", - "enum": ["self","requisites","fraud","disaster","other"] + "enum": [ + "self", + "requisites", + "fraud", + "disaster", + "other" + ] }, "merchant_id": { - "type": "string", - "description": "Payment system contragent identifier" + "anyOf": [ + { + "type": "string", + "description": "Payment system contragent identifier" + }, + { + "type": "null" + } + ] }, "comment": { "type": "string",