{ "$schema": "http://json-schema.org/draft-04/schema#", "description" : "Collection of Import LC Issuance requests", "type" : "object", "required" : [ "lcIssuanceRequests" ], "properties" : { "lcIssuanceRequests" : { "type" : "object", "required" : [ "list" ], "properties" : { "list" : { "type" : "array", "items" : { "$ref" : "#/definitions/LCIssuanceRequest" } } } } }, "definitions" : { "LCIssuanceRequest" : { "description" : "Describes one Import LC Issuance request", "type" : "object", "required" : [ "custIdentity" ], "properties" : { "custIdentity" : { "$ref" : "#/definitions/CustIdentity" } } }, "CustIdentity" : { "type" : "object", "description" : "This is used to identify the S2B company ID. Provide either the company id, or your own erp id, which has been configured in S2B. If both are provided, then the s2bCompanyID will be considered.", "properties" : { "s2bCompanyID" : { "type" : "string", "minLength" : 7, "maxLength" : 7 }, "ownERPID" : { "$ref" : "#/definitions/erpID" } } }, "erpID" : { "type" : "string", "maxLength" : 10 } } }