{"version":1,"contractsPackage":"@opsregistry/contracts@0.28.0","operationGuides":"/data/operation-guides.json","liveDiscovery":"https://api.opsregistry.org/api/demo","liveMethod":"POST","liveRequestFields":["provider","operation","input","credentials"],"items":[{"code":"accounting.account.reconcile","version":"0.1.0","page":"/demo/?operation=accounting.account.reconcile","availableOnSite":"description"},{"code":"accounting.journalEntry.post","version":"0.1.0","page":"/demo/?operation=accounting.journalEntry.post","availableOnSite":"description"},{"code":"accounting.journalEntry.reverse","version":"0.1.0","page":"/demo/?operation=accounting.journalEntry.reverse","availableOnSite":"description"},{"code":"accounting.period.close","version":"0.1.0","page":"/demo/?operation=accounting.period.close","availableOnSite":"description"},{"code":"accounting.report.generate","version":"0.1.0","page":"/demo/?operation=accounting.report.generate","availableOnSite":"description"},{"code":"cad.document.inspect","version":"0.1.0","page":"/demo/?operation=cad.document.inspect","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"parentId":{"type":"string","minLength":1,"maxLength":256},"pageSize":{"default":100,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"string","minLength":1,"maxLength":256}},"required":["documentId","lengthUnit"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"nextCursor":{"type":"string","minLength":1,"maxLength":256},"supportedOperations":{"type":"array","items":{"type":"string","enum":["cad.document.inspect","cad.sketch.create","cad.sketch.entities.add","cad.sketch.constraints.add","cad.solid.extrude","cad.solid.revolve","cad.solid.boolean","cad.solid.fillet","cad.solid.chamfer"]}}},"required":["documentId","revision","lengthUnit","objects","supportedOperations"],"additionalProperties":false}},{"code":"cad.sketch.constraints.add","version":"0.1.0","page":"/demo/?operation=cad.sketch.constraints.add","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"sketchId":{"type":"string","minLength":1,"maxLength":256},"constraints":{"minItems":1,"maxItems":1000,"type":"array","items":{"oneOf":[{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"coincident"},"points":{"type":"array","prefixItems":[{"type":"object","properties":{"entityId":{"type":"string","minLength":1,"maxLength":256},"point":{"type":"string","enum":["start","end","center"]}},"required":["entityId","point"],"additionalProperties":false},{"type":"object","properties":{"entityId":{"type":"string","minLength":1,"maxLength":256},"point":{"type":"string","enum":["start","end","center"]}},"required":["entityId","point"],"additionalProperties":false}],"items":false,"minItems":2,"maxItems":2}},"required":["clientId","kind","points"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"horizontal"},"entityId":{"type":"string","minLength":1,"maxLength":256}},"required":["clientId","kind","entityId"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"vertical"},"entityId":{"type":"string","minLength":1,"maxLength":256}},"required":["clientId","kind","entityId"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"parallel"},"entityIds":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":256},{"type":"string","minLength":1,"maxLength":256}],"items":false,"minItems":2,"maxItems":2}},"required":["clientId","kind","entityIds"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"perpendicular"},"entityIds":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":256},{"type":"string","minLength":1,"maxLength":256}],"items":false,"minItems":2,"maxItems":2}},"required":["clientId","kind","entityIds"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"tangent"},"entityIds":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":256},{"type":"string","minLength":1,"maxLength":256}],"items":false,"minItems":2,"maxItems":2}},"required":["clientId","kind","entityIds"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"equal"},"entityIds":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":256},{"type":"string","minLength":1,"maxLength":256}],"items":false,"minItems":2,"maxItems":2}},"required":["clientId","kind","entityIds"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"length"},"entityId":{"type":"string","minLength":1,"maxLength":256},"value":{"type":"number","exclusiveMinimum":0}},"required":["clientId","kind","entityId","value"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"radius"},"entityId":{"type":"string","minLength":1,"maxLength":256},"value":{"type":"number","exclusiveMinimum":0}},"required":["clientId","kind","entityId","value"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"diameter"},"entityId":{"type":"string","minLength":1,"maxLength":256},"value":{"type":"number","exclusiveMinimum":0}},"required":["clientId","kind","entityId","value"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"distance"},"points":{"type":"array","prefixItems":[{"type":"object","properties":{"entityId":{"type":"string","minLength":1,"maxLength":256},"point":{"type":"string","enum":["start","end","center"]}},"required":["entityId","point"],"additionalProperties":false},{"type":"object","properties":{"entityId":{"type":"string","minLength":1,"maxLength":256},"point":{"type":"string","enum":["start","end","center"]}},"required":["entityId","point"],"additionalProperties":false}],"items":false,"minItems":2,"maxItems":2},"value":{"type":"number","exclusiveMinimum":0}},"required":["clientId","kind","points","value"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","const":"angle"},"entityIds":{"type":"array","prefixItems":[{"type":"string","minLength":1,"maxLength":256},{"type":"string","minLength":1,"maxLength":256}],"items":false,"minItems":2,"maxItems":2},"valueDegrees":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":180}},"required":["clientId","kind","entityIds","valueDegrees"],"additionalProperties":false}]}}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","sketchId","constraints"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"cad.sketch.create","version":"0.1.0","page":"/demo/?operation=cad.sketch.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"name":{"type":"string","minLength":1},"frame":{"type":"object","properties":{"origin":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"xAxis":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"yAxis":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3}},"required":["origin","xAxis","yAxis"],"additionalProperties":false}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","frame"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"cad.sketch.entities.add","version":"0.1.0","page":"/demo/?operation=cad.sketch.entities.add","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"sketchId":{"type":"string","minLength":1,"maxLength":256},"entities":{"minItems":1,"maxItems":1000,"type":"array","items":{"oneOf":[{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"construction":{"default":false,"type":"boolean"},"kind":{"type":"string","const":"line"},"start":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2},"end":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2}},"required":["clientId","kind","start","end"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"construction":{"default":false,"type":"boolean"},"kind":{"type":"string","const":"circle"},"center":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2},"radius":{"type":"number","exclusiveMinimum":0}},"required":["clientId","kind","center","radius"],"additionalProperties":false},{"type":"object","properties":{"clientId":{"type":"string","minLength":1,"maxLength":256},"construction":{"default":false,"type":"boolean"},"kind":{"type":"string","const":"arc"},"center":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2},"radius":{"type":"number","exclusiveMinimum":0},"startAngleDegrees":{"type":"number","minimum":0,"exclusiveMaximum":360},"sweepAngleDegrees":{"type":"number","exclusiveMinimum":-360,"exclusiveMaximum":360}},"required":["clientId","kind","center","radius","startAngleDegrees","sweepAngleDegrees"],"additionalProperties":false}]}}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","sketchId","entities"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"cad.solid.boolean","version":"0.1.0","page":"/demo/?operation=cad.solid.boolean","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"mode":{"type":"string","enum":["union","subtract","intersect"]},"targetBodyId":{"type":"string","minLength":1,"maxLength":256},"toolBodyIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","mode","targetBodyId","toolBodyIds"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"cad.solid.chamfer","version":"0.1.0","page":"/demo/?operation=cad.solid.chamfer","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"bodyId":{"type":"string","minLength":1,"maxLength":256},"edgeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"distance":{"type":"number","exclusiveMinimum":0}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","bodyId","edgeIds","distance"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"cad.solid.extrude","version":"0.1.0","page":"/demo/?operation=cad.solid.extrude","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"sketchId":{"type":"string","minLength":1,"maxLength":256},"direction":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"distance":{"type":"number","exclusiveMinimum":0}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","sketchId","direction","distance"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"cad.solid.fillet","version":"0.1.0","page":"/demo/?operation=cad.solid.fillet","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"bodyId":{"type":"string","minLength":1,"maxLength":256},"edgeIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"radius":{"type":"number","exclusiveMinimum":0}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","bodyId","edgeIds","radius"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"cad.solid.revolve","version":"0.1.0","page":"/demo/?operation=cad.solid.revolve","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"expectedRevision":{"type":"string","minLength":1,"maxLength":256},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"sketchId":{"type":"string","minLength":1,"maxLength":256},"axis":{"type":"object","properties":{"origin":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3},"direction":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"items":false,"minItems":3,"maxItems":3}},"required":["origin","direction"],"additionalProperties":false},"angleDegrees":{"type":"number","exclusiveMinimum":0,"maximum":360}},"required":["documentId","expectedRevision","idempotencyKey","lengthUnit","sketchId","axis","angleDegrees"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1,"maxLength":256},"previousRevision":{"type":"string","minLength":1,"maxLength":256},"revision":{"type":"string","minLength":1,"maxLength":256},"lengthUnit":{"type":"string","enum":["mm","cm","m","in"]},"objects":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":256},"kind":{"type":"string","enum":["sketch","entity","constraint","body","feature","edge","face"]},"name":{"type":"string","minLength":1},"parentId":{"type":"string","minLength":1,"maxLength":256}},"required":["id","kind"],"additionalProperties":false}},"bindings":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":256},"additionalProperties":{"type":"string","minLength":1,"maxLength":256}},"invalidatedObjectIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"warnings":{"type":"array","items":{"type":"string","minLength":1}}},"required":["documentId","previousRevision","revision","lengthUnit","objects","bindings","invalidatedObjectIds","warnings"],"additionalProperties":false}},{"code":"commerce.offer.respond","version":"0.1.0","page":"/demo/?operation=commerce.offer.respond","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"expectedDocumentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"decision":{"type":"string","enum":["accept","reject"]},"reason":{"default":"","type":"string","maxLength":1000},"documentId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revision":{"type":"number","const":1}},"required":["expectedDocumentHash","decision","documentId","revision"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"commerce.offer.respond"},"documentId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"decision":{"type":"string","enum":["accept","reject"]},"order":{"anyOf":[{"type":"object","properties":{"publicId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"number":{"type":"string","minLength":1,"maxLength":100},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["publicId","number","createdAt"],"additionalProperties":false},{"type":"null"}]}},"required":["operationCode","documentId","decision","order"],"additionalProperties":false}},{"code":"commerce.order.list","version":"0.1.0","page":"/demo/?operation=commerce.order.list","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"direction":{"type":"string","enum":["purchase","sale"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["direction"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"commerce.order.list"},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"number":{"type":"string","minLength":1,"maxLength":100},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"type":"string","enum":["purchase","sale"]},"documentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"document":{"type":"object","properties":{"documentId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revision":{"type":"number","const":1},"kind":{"type":"string","const":"sales.invoice"},"paymentInstructions":{"type":"object","properties":{"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"purpose":{"type":"string","minLength":1,"maxLength":1000,"description":"Назначение платежа, включая указание НДС по условиям поставщика"}},"required":["account","purpose"],"additionalProperties":false},"documentNumber":{"type":"string","minLength":1,"maxLength":200},"documentDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"issuer":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500},"taxId":{"type":"string","minLength":1,"maxLength":100}},"required":["name","taxId"],"additionalProperties":false},"customer":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500},"taxId":{"type":"string","minLength":1,"maxLength":100}},"required":["name","taxId"],"additionalProperties":false},"lines":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"object","properties":{"sourceLineId":{"type":"string","minLength":1,"maxLength":200},"productName":{"type":"string","minLength":1,"maxLength":500},"sku":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"},"unitCode":{"type":"string","minLength":1,"maxLength":40},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["sourceLineId","productName","sku","quantity","unitCode","amountMinor"],"additionalProperties":false}}},"required":["documentId","revision","kind","documentNumber","documentDate","currency","totalAmountMinor","issuer","customer","lines"],"additionalProperties":false},"paymentConfirmation":{"description":"Confirmed means verified payer debit, not beneficiary credit","type":"string","enum":["unverified","confirmed"]}},"required":["publicId","number","createdAt","direction","documentHash","document"],"additionalProperties":false}}},"required":["operationCode","items"],"additionalProperties":false}},{"code":"commerce.price.get","version":"0.1.0","page":"/demo/?operation=commerce.price.get","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"productId":{"type":"string","minLength":1,"maxLength":200},"quantity":{"type":"object","properties":{"value":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,17})(?:\\.\\d{1,6})?$"},"unitCode":{"type":"string","minLength":1,"maxLength":40}},"required":["value","unitCode"],"additionalProperties":false},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"locationId":{"type":"string","minLength":1,"maxLength":200}},"required":["productId","quantity"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerCode":{"type":"string","minLength":1,"maxLength":200},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"retrievedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"operationCode":{"type":"string","const":"commerce.price.get"},"request":{"type":"object","properties":{"productId":{"type":"string","minLength":1,"maxLength":200},"quantity":{"type":"object","properties":{"value":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,17})(?:\\.\\d{1,6})?$"},"unitCode":{"type":"string","minLength":1,"maxLength":40}},"required":["value","unitCode"],"additionalProperties":false},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"locationId":{"type":"string","minLength":1,"maxLength":200}},"required":["productId","quantity"],"additionalProperties":false},"priceScope":{"type":"string","enum":["public","customer","unknown"]},"price":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"available"},"amount":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,17})(?:\\.\\d{1,6})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"perQuantity":{"type":"object","properties":{"value":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,17})(?:\\.\\d{1,6})?$"},"unitCode":{"type":"string","minLength":1,"maxLength":40}},"required":["value","unitCode"],"additionalProperties":false},"taxInclusion":{"type":"string","enum":["included","excluded","unknown"]},"validUntil":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["status","amount","currency","perQuantity","taxInclusion","validUntil"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"onRequest"}},"required":["status"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","const":"unavailable"}},"required":["status"],"additionalProperties":false}]}},"required":["providerCode","accessModeUsed","retrievedAt","operationCode","request","priceScope","price"],"additionalProperties":false}},{"code":"commerce.product.get","version":"0.1.0","page":"/demo/?operation=commerce.product.get","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"productId":{"type":"string","minLength":1,"maxLength":200}},"required":["productId"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerCode":{"type":"string","minLength":1,"maxLength":200},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"retrievedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"operationCode":{"type":"string","const":"commerce.product.get"},"product":{"type":"object","properties":{"productId":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":1000},"manufacturerName":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"manufacturerPartNumber":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"gtin":{"anyOf":[{"type":"string","pattern":"^(?:\\d{8}|\\d{12}|\\d{13}|\\d{14})$"},{"type":"null"}]},"unitCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}]},"attributes":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":200},"value":{"type":"string","minLength":1,"maxLength":4000},"unitCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]}},"required":["code","name","value","unitCode"],"additionalProperties":false}},"links":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","datasheet","certificate","other"]},"url":{"type":"string","format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","url"],"additionalProperties":false}},"ordering":{"anyOf":[{"type":"object","properties":{"unitCode":{"type":"string","minLength":1,"maxLength":40},"minimumQuantity":{"anyOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,17})(?:\\.\\d{1,6})?$"},{"type":"null"}]},"quantityIncrement":{"anyOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,17})(?:\\.\\d{1,6})?$"},{"type":"null"}]}},"required":["unitCode","minimumQuantity","quantityIncrement"],"additionalProperties":false},{"type":"null"}]}},"required":["productId","name","manufacturerName","manufacturerPartNumber","gtin","unitCode","description","attributes","links","ordering"],"additionalProperties":false}},"required":["providerCode","accessModeUsed","retrievedAt","operationCode","product"],"additionalProperties":false}},{"code":"commerce.product.search","version":"0.1.0","page":"/demo/?operation=commerce.product.search","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":200},"manufacturerName":{"type":"string","minLength":1,"maxLength":200},"categoryId":{"type":"string","minLength":1,"maxLength":200},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100},"pageToken":{"type":"string","minLength":1,"maxLength":2048}},"required":["query"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerCode":{"type":"string","minLength":1,"maxLength":200},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"retrievedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"operationCode":{"type":"string","const":"commerce.product.search"},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"productId":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":1000},"manufacturerName":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"manufacturerPartNumber":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"gtin":{"anyOf":[{"type":"string","pattern":"^(?:\\d{8}|\\d{12}|\\d{13}|\\d{14})$"},{"type":"null"}]},"unitCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":40},{"type":"null"}]}},"required":["productId","name","manufacturerName","manufacturerPartNumber","gtin","unitCode"],"additionalProperties":false}},"nextPageToken":{"type":"string","minLength":1,"maxLength":2048}},"required":["providerCode","accessModeUsed","retrievedAt","operationCode","items"],"additionalProperties":false}},{"code":"documents.exchangeDocument.accept","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.accept","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"attachmentIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"signingMode":{"type":"string","enum":["withoutSignature","providerManaged","deferred","deferredWithConfirmation"]},"certificateRef":{"type":"string","minLength":1},"comment":{"type":"string","minLength":1},"confirmLegalAction":{"type":"boolean","const":true},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["signingMode","confirmLegalAction"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.accept"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"completed":{"type":"boolean"},"affectedAttachmentIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","completed","affectedAttachmentIds","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.acceptCancellation","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.acceptCancellation","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"attachmentIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"comment":{"type":"string","minLength":1},"signingMode":{"type":"string","enum":["withoutSignature","providerManaged","deferred","deferredWithConfirmation"]},"certificateRef":{"type":"string","minLength":1},"confirmLegalAction":{"type":"boolean","const":true},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["signingMode","confirmLegalAction"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.acceptCancellation"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"completed":{"type":"boolean"},"affectedAttachmentIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","completed","affectedAttachmentIds","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.completeSigning","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.completeSigning","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"actionKind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"signatures":{"minItems":1,"type":"array","items":{"type":"object","properties":{"targetId":{"type":"string","minLength":1},"fileName":{"type":"string","minLength":1},"valueBase64":{"type":"string","minLength":1},"format":{"type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]},"certificate":{"type":"object","properties":{"certificateRef":{"type":"string","minLength":1},"thumbprint":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["targetId","valueBase64","format","certificate"]}},"comment":{"type":"string","minLength":1},"confirmLegalAction":{"type":"boolean","const":true},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["actionKind","action","signatures","confirmLegalAction"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.completeSigning"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"completed":{"type":"boolean"},"signedTargetIds":{"type":"array","items":{"type":"string","minLength":1}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","completed","signedTargetIds","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.create","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clientReference":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dueAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"]},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"workflow":{"type":"object","properties":{"workflowId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"attachments":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"formatVersion":{"type":"string","minLength":1},"formatSubversion":{"type":"string","minLength":1},"mimeType":{"type":"string","minLength":1},"isService":{"default":false,"type":"boolean"},"content":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"base64"},"data":{"type":"string","minLength":1}},"required":["kind","data"]},{"type":"object","properties":{"kind":{"type":"string","const":"url"},"url":{"type":"string","format":"uri"}},"required":["kind","url"]}]},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","content"]}},"idempotencyKey":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["clientReference","documentType","attachments"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.create"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"created":{"type":"boolean"},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","created","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.get","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.get","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"includeExtendedFields":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.get"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.list","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.list","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"search":{"type":"string","minLength":1},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"pageSize":{"default":50,"type":"integer","exclusiveMinimum":0,"maximum":500},"pageToken":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.list"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"items":{"default":[],"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false}},"nextPageToken":{"type":"string","minLength":1},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","items","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.listChanges","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.listChanges","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"changedAfter":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"changedBefore":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"cursor":{"type":"string","minLength":1},"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"pageSize":{"default":50,"type":"integer","exclusiveMinimum":0,"maximum":500},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.listChanges"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"items":{"default":[],"type":"array","items":{"type":"object","properties":{"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"event":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"required":["document","event"],"additionalProperties":false}},"nextCursor":{"type":"string","minLength":1},"polledUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","items","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.prepareSigning","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.prepareSigning","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"actionKind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"attachmentIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"comment":{"type":"string","minLength":1},"certificate":{"type":"object","properties":{"certificateRef":{"type":"string","minLength":1},"thumbprint":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["actionKind","action","certificate"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.prepareSigning"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"actionKind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"targets":{"minItems":1,"type":"array","items":{"type":"object","properties":{"targetId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"digest":{"type":"object","properties":{"valueBase64":{"type":"string","minLength":1},"algorithm":{"type":"string","minLength":1},"providerAlgorithmCode":{"type":"string","minLength":1}},"required":["valueBase64"],"additionalProperties":false},"contentUrl":{"type":"string","format":"uri"},"signatureFormat":{"default":"providerDefined","type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["targetId","digest","signatureFormat","metadata"],"additionalProperties":false}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","actionKind","action","targets","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.reject","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.reject","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"attachmentIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"signingMode":{"type":"string","enum":["withoutSignature","providerManaged","deferred","deferredWithConfirmation"]},"certificateRef":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1},"confirmLegalAction":{"type":"boolean","const":true},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["signingMode","reason","confirmLegalAction"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.reject"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"completed":{"type":"boolean"},"affectedAttachmentIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","completed","affectedAttachmentIds","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.rejectCancellation","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.rejectCancellation","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"attachmentIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"reason":{"type":"string","minLength":1},"signingMode":{"type":"string","enum":["withoutSignature","providerManaged","deferred","deferredWithConfirmation"]},"certificateRef":{"type":"string","minLength":1},"confirmLegalAction":{"type":"boolean","const":true},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["reason","signingMode","confirmLegalAction"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.rejectCancellation"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"completed":{"type":"boolean"},"affectedAttachmentIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","completed","affectedAttachmentIds","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.requestCancellation","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.requestCancellation","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"action":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"attachmentIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"reason":{"type":"string","minLength":1},"signingMode":{"type":"string","enum":["withoutSignature","providerManaged","deferred","deferredWithConfirmation"]},"certificateRef":{"type":"string","minLength":1},"confirmLegalAction":{"type":"boolean","const":true},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["reason","signingMode","confirmLegalAction"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.requestCancellation"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"completed":{"type":"boolean"},"affectedAttachmentIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","completed","affectedAttachmentIds","messages","metadata"],"additionalProperties":false}},{"code":"documents.exchangeDocument.send","version":"0.1.0","page":"/demo/?operation=documents.exchangeDocument.send","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"signingMode":{"type":"string","enum":["withoutSignature","providerManaged","deferred","deferredWithConfirmation"]},"confirmLegalAction":{"type":"boolean","const":true},"certificateRef":{"type":"string","minLength":1},"comment":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["signingMode","confirmLegalAction"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.exchangeDocument.send"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"document":{"type":"object","properties":{"documentId":{"type":"string","minLength":1},"revisionId":{"type":"string","minLength":1},"number":{"type":"string","minLength":1},"issuedAt":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"documentType":{"type":"string","minLength":1},"documentSubtype":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"note":{"type":"string","minLength":1},"direction":{"default":"unknown","type":"string","enum":["incoming","outgoing","internal","unknown"]},"status":{"default":"unknown","type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"ourOrganization":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"counterparty":{"type":"object","properties":{"partyId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"taxId":{"type":"string","minLength":1},"registrationReasonCode":{"type":"string","minLength":1},"countryCode":{"type":"string","minLength":2,"maxLength":2},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"attachments":{"default":[],"type":"array","items":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"documentType":{"type":"string","minLength":1},"direction":{"type":"string","enum":["incoming","outgoing","internal","unknown"]},"mimeType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"downloadUrl":{"type":"string","format":"uri"},"downloadUrlExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"isService":{"default":false,"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","isService","externalIds","metadata"],"additionalProperties":false}},"availableActions":{"default":[],"type":"array","items":{"type":"object","properties":{"actionId":{"type":"string","minLength":1},"stageId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["send","accept","reject","sign","requestCancellation","acceptCancellation","rejectCancellation","other"]},"name":{"type":"string","minLength":1},"requiresSignature":{"type":"boolean"},"requiresComment":{"type":"boolean"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","externalIds","metadata"],"additionalProperties":false}},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"eventId":{"type":"string","minLength":1},"eventType":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["draft","pendingSignature","readyToSend","sent","delivered","received","accepted","rejected","cancellationPending","cancellationRejected","cancelled","deleted","failed","unknown"]},"statusCode":{"type":"string","minLength":1},"statusText":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["eventId","eventType","externalIds","metadata"],"additionalProperties":false}},"deleted":{"default":false,"type":"boolean"},"partialData":{"default":false,"type":"boolean"},"webUrl":{"type":"string","format":"uri"},"archiveUrl":{"type":"string","format":"uri"},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["documentId","documentType","direction","status","attachments","availableActions","events","deleted","partialData","externalIds","metadata"],"additionalProperties":false},"accepted":{"type":"boolean"},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","document","accepted","messages","metadata"],"additionalProperties":false}},{"code":"documents.invoice.recognize","version":"0.1.0","page":"/demo/?operation=documents.invoice.recognize","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pages":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"page":{"type":"integer","minimum":1,"maximum":5},"text":{"type":"string","minLength":1,"maxLength":50000},"image":{"type":"string","maxLength":6000000,"pattern":"^data:image\\/jpeg;base64,[A-Za-z0-9+/=]+$"}},"required":["page"],"additionalProperties":false}}},"required":["pages"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"documents.invoice.recognize"},"invoice":{"type":"object","properties":{"documentType":{"type":"string","enum":["supplier_invoice","other"]},"supplierName":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"supplierTaxId":{"anyOf":[{"type":"string","pattern":"^\\d{10}(?:\\d{2})?$"},{"type":"null"}]},"buyerName":{"default":null,"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"buyerTaxId":{"default":null,"anyOf":[{"type":"string","pattern":"^\\d{10}(?:\\d{2})?$"},{"type":"null"}]},"buyerTaxRegistrationCode":{"default":null,"anyOf":[{"type":"string","pattern":"^\\d{9}$"},{"type":"null"}]},"buyerAddress":{"default":null,"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"documentNumber":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"documentDate":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"null"}]},"currency":{"anyOf":[{"type":"string","pattern":"^[A-Z]{3}$"},{"type":"null"}]},"totalAmount":{"anyOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,12})(?:\\.\\d{1,2})?$"},{"type":"null"}]},"lines":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":1000},"quantity":{"anyOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,12})(?:\\.\\d{1,6})?$"},{"type":"null"}]},"unit":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"unitPrice":{"anyOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,12})(?:\\.\\d{1,2})?$"},{"type":"null"}]},"amount":{"anyOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,12})(?:\\.\\d{1,2})?$"},{"type":"null"}]},"page":{"type":"integer","minimum":1,"maximum":5}},"required":["description","quantity","unit","unitPrice","amount","page"],"additionalProperties":false}},"warnings":{"maxItems":30,"type":"array","items":{"type":"string","maxLength":500}}},"required":["documentType","supplierName","supplierTaxId","buyerName","buyerTaxId","buyerTaxRegistrationCode","buyerAddress","documentNumber","documentDate","currency","totalAmount","lines","warnings"],"additionalProperties":false},"warnings":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":500}},"costRub":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]}},"required":["operationCode","invoice","warnings","costRub"],"additionalProperties":false}},{"code":"finance.bankAccount.list","version":"0.1.0","page":"/demo/?operation=finance.bankAccount.list","availableOnSite":"description"},{"code":"finance.bankStatement.get","version":"0.1.0","page":"/demo/?operation=finance.bankStatement.get","availableOnSite":"description"},{"code":"finance.bankTransfer.createDraft","version":"0.1.0","page":"/demo/?operation=finance.bankTransfer.createDraft","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"payment":{"type":"object","properties":{"profile":{"default":"RU.domestic","type":"string","const":"RU.domestic"},"clientPaymentId":{"type":"string","minLength":1,"maxLength":64},"documentNumber":{"type":"string","pattern":"^\\d{1,6}$"},"payer":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","account"],"additionalProperties":false},"recipient":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","kpp","account"],"additionalProperties":false},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"type":"string","const":"RUB"}},"required":["amountMinor","currency"],"additionalProperties":false},"purpose":{"type":"string","minLength":1,"maxLength":210},"executionReference":{"description":"Unique application reference included as [UUID] in the bank purpose; never reused for another payment","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["clientPaymentId","documentNumber","payer","recipient","amount","purpose"],"additionalProperties":false}},"required":["payment"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.bankTransfer.createDraft"},"providerCode":{"type":"string","minLength":1},"providerDocumentId":{"type":"string","minLength":1},"status":{"type":"string","enum":["draft","awaitingAuthorization","authorized","processing","executed","cancelled","rejected","unknown"]},"authorizationUrl":{"type":"string","format":"uri"},"requestId":{"type":"string"}},"required":["operationCode","providerCode","providerDocumentId","status"],"additionalProperties":false}},{"code":"finance.bankTransfer.getStatus","version":"0.1.0","page":"/demo/?operation=finance.bankTransfer.getStatus","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerDocumentId":{"type":"string","minLength":1}},"required":["providerDocumentId"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.bankTransfer.getStatus"},"providerCode":{"type":"string"},"providerDocumentId":{"type":"string"},"status":{"type":"string","enum":["draft","awaitingAuthorization","authorized","processing","executed","cancelled","rejected","unknown"]},"rawStatus":{"type":"string"},"requestId":{"type":"string"}},"required":["operationCode","providerCode","providerDocumentId","status","rawStatus"],"additionalProperties":false}},{"code":"finance.bankTransfer.prepare","version":"0.1.0","page":"/demo/?operation=finance.bankTransfer.prepare","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"payment":{"type":"object","properties":{"profile":{"default":"RU.domestic","type":"string","const":"RU.domestic"},"clientPaymentId":{"type":"string","minLength":1,"maxLength":64},"documentNumber":{"type":"string","pattern":"^\\d{1,6}$"},"payer":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","account"],"additionalProperties":false},"recipient":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","kpp","account"],"additionalProperties":false},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"type":"string","const":"RUB"}},"required":["amountMinor","currency"],"additionalProperties":false},"purpose":{"type":"string","minLength":1,"maxLength":210},"executionReference":{"description":"Unique application reference included as [UUID] in the bank purpose; never reused for another payment","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["clientPaymentId","documentNumber","payer","recipient","amount","purpose"],"additionalProperties":false}},"required":["payment"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.bankTransfer.prepare"},"payment":{"type":"object","properties":{"profile":{"default":"RU.domestic","type":"string","const":"RU.domestic"},"clientPaymentId":{"type":"string","minLength":1,"maxLength":64},"documentNumber":{"type":"string","pattern":"^\\d{1,6}$"},"payer":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","account"],"additionalProperties":false},"recipient":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","kpp","account"],"additionalProperties":false},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"type":"string","const":"RUB"}},"required":["amountMinor","currency"],"additionalProperties":false},"purpose":{"type":"string","minLength":1,"maxLength":210},"executionReference":{"description":"Unique application reference included as [UUID] in the bank purpose; never reused for another payment","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["profile","clientPaymentId","documentNumber","payer","recipient","amount","purpose"],"additionalProperties":false},"paymentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","const":"prepared"}},"required":["operationCode","payment","paymentHash","status"],"additionalProperties":false}},{"code":"finance.bankTransfer.verifyExecution","version":"0.1.0","page":"/demo/?operation=finance.bankTransfer.verifyExecution","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerDocumentId":{"type":"string","minLength":1},"payment":{"type":"object","properties":{"profile":{"default":"RU.domestic","type":"string","const":"RU.domestic"},"clientPaymentId":{"type":"string","minLength":1,"maxLength":64},"documentNumber":{"type":"string","pattern":"^\\d{1,6}$"},"payer":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","account"],"additionalProperties":false},"recipient":{"type":"object","properties":{"name":{"type":"string","minLength":1},"taxId":{"type":"string","pattern":"^(?:\\d{10}|\\d{12})$"},"kpp":{"type":"string","pattern":"^(?:\\d{9}|0)$"},"account":{"type":"object","properties":{"account":{"type":"string","pattern":"^\\d{20}$"},"bik":{"type":"string","pattern":"^\\d{9}$"},"bankName":{"type":"string","minLength":1,"maxLength":300},"correspondentAccount":{"type":"string","pattern":"^\\d{20}$"}},"required":["account","bik","bankName"],"additionalProperties":false}},"required":["name","taxId","kpp","account"],"additionalProperties":false},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"type":"string","const":"RUB"}},"required":["amountMinor","currency"],"additionalProperties":false},"purpose":{"type":"string","minLength":1,"maxLength":210},"executionReference":{"description":"Unique application reference included as [UUID] in the bank purpose; never reused for another payment","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["clientPaymentId","documentNumber","payer","recipient","amount","purpose"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["providerDocumentId","payment","createdAt"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"operationCode":{"type":"string","const":"finance.bankTransfer.verifyExecution"},"providerCode":{"type":"string","minLength":1},"providerDocumentId":{"type":"string","minLength":1},"checkedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"requestId":{"type":"string"},"status":{"type":"string","const":"executed"},"confirmation":{"type":"string","const":"confirmed"},"evidence":{"type":"object","properties":{"source":{"type":"string","const":"bankOperation"},"providerOperationId":{"type":"string","minLength":1},"operationDate":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"documentDate":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"documentNumber":{"type":"string","minLength":1},"direction":{"type":"string","const":"debit"},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"type":"string","const":"RUB"}},"required":["amountMinor","currency"],"additionalProperties":false},"payer":{"type":"object","properties":{"account":{"type":"string"},"bik":{"type":"string"},"taxId":{"type":"string"}},"required":["account","bik","taxId"],"additionalProperties":false},"recipient":{"type":"object","properties":{"account":{"type":"string"},"bik":{"type":"string"},"taxId":{"type":"string"},"kpp":{"type":"string"}},"required":["account","bik","taxId","kpp"],"additionalProperties":false},"purpose":{"type":"string"},"executionReference":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["source","providerOperationId","operationDate","documentDate","documentNumber","direction","amount","payer","recipient","purpose","executionReference"],"additionalProperties":false}},"required":["operationCode","providerCode","providerDocumentId","checkedAt","status","confirmation","evidence"],"additionalProperties":false},{"type":"object","properties":{"operationCode":{"type":"string","const":"finance.bankTransfer.verifyExecution"},"providerCode":{"type":"string","minLength":1},"providerDocumentId":{"type":"string","minLength":1},"checkedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"requestId":{"type":"string"},"status":{"type":"string","enum":["draft","awaitingAuthorization","authorized","processing","executed","cancelled","rejected","unknown"]},"confirmation":{"type":"string","enum":["pending","mismatch","ambiguous","unavailable"]},"reason":{"type":"string","enum":["notExecuted","operationNotFound","detailsDiffer","multipleOperations","missingReference","incompleteEvidence","searchIncomplete","accessDenied","bankUnavailable"]}},"required":["operationCode","providerCode","providerDocumentId","checkedAt","status","confirmation","reason"],"additionalProperties":false}]}},{"code":"finance.fiscalReceipt.create","version":"0.1.0","page":"/demo/?operation=finance.fiscalReceipt.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"merchantReceiptId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"type":{"default":"sell","type":"string","enum":["sell","sellReturn","buy","buyReturn"]},"customer":{"type":"object","properties":{"customerId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","minLength":1}}},"taxationSystem":{"type":"string","enum":["osn","usnIncome","usnIncomeOutcome","esn","patent"]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"price":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"quantity":{"type":"number","exclusiveMinimum":0},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"vat":{"type":"string","enum":["none","vat0","vat5","vat7","vat10","vat20","vat22","vat105","vat107","vat110","vat120","vat122"]},"paymentMethod":{"default":"fullPayment","type":"string","enum":["fullPrepayment","prepayment","advance","fullPayment","partialPayment","credit","creditPayment"]},"paymentObject":{"default":"commodity","type":"string","enum":["commodity","excise","job","service","payment","agentCommission","intellectualActivity","composite","another"]},"unitCode":{"type":"string","minLength":1},"supplierInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["name","price","quantity","amount","vat"]}},"amounts":{"type":"object","properties":{"electronic":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"cash":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"advancePayment":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"credit":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"provision":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]}}},"calculationPlace":{"type":"string","minLength":1},"cashierName":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["customer","taxationSystem","items"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.fiscalReceipt.create"},"accessModeUsed":{"type":"string","enum":["authorized"]},"providerCode":{"type":"string","minLength":1},"providerReceiptId":{"type":"string","minLength":1},"merchantReceiptId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"status":{"type":"string","enum":["queued","processed","failed","unknown"]},"fiscalDetails":{"type":"object","properties":{"documentNumber":{"type":"string","minLength":1},"fiscalSign":{"type":"string","minLength":1},"fiscalNumber":{"type":"string","minLength":1},"deviceNumber":{"type":"string","minLength":1},"regNumber":{"type":"string","minLength":1},"receiptUrl":{"type":"string","format":"uri"},"qrCodeUrl":{"type":"string","format":"uri"},"issuedAt":{"type":"string","minLength":1}},"additionalProperties":false},"message":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["operationCode","accessModeUsed","providerCode","providerReceiptId","status","metadata"],"additionalProperties":false}},{"code":"finance.fiscalReceipt.createClosing","version":"0.1.0","page":"/demo/?operation=finance.fiscalReceipt.createClosing","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"merchantReceiptId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"type":{"default":"sell","type":"string","enum":["sell","sellReturn","buy","buyReturn"]},"customer":{"type":"object","properties":{"customerId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","minLength":1}}},"taxationSystem":{"type":"string","enum":["osn","usnIncome","usnIncomeOutcome","esn","patent"]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"price":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"quantity":{"type":"number","exclusiveMinimum":0},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"vat":{"type":"string","enum":["none","vat0","vat5","vat7","vat10","vat20","vat22","vat105","vat107","vat110","vat120","vat122"]},"paymentMethod":{"default":"fullPayment","type":"string","enum":["fullPrepayment","prepayment","advance","fullPayment","partialPayment","credit","creditPayment"]},"paymentObject":{"default":"commodity","type":"string","enum":["commodity","excise","job","service","payment","agentCommission","intellectualActivity","composite","another"]},"unitCode":{"type":"string","minLength":1},"supplierInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["name","price","quantity","amount","vat"]}},"amounts":{"type":"object","properties":{"electronic":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"cash":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"advancePayment":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"credit":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"provision":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]}}},"calculationPlace":{"type":"string","minLength":1},"cashierName":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["providerPaymentId","customer","taxationSystem","items"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.fiscalReceipt.createClosing"},"accessModeUsed":{"type":"string","enum":["authorized"]},"providerCode":{"type":"string","minLength":1},"providerReceiptId":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantReceiptId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"status":{"type":"string","enum":["queued","processed","failed","unknown"]},"fiscalDetails":{"type":"object","properties":{"documentNumber":{"type":"string","minLength":1},"fiscalSign":{"type":"string","minLength":1},"fiscalNumber":{"type":"string","minLength":1},"deviceNumber":{"type":"string","minLength":1},"regNumber":{"type":"string","minLength":1},"receiptUrl":{"type":"string","format":"uri"},"qrCodeUrl":{"type":"string","format":"uri"},"issuedAt":{"type":"string","minLength":1}},"additionalProperties":false},"message":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["operationCode","accessModeUsed","providerCode","providerReceiptId","providerPaymentId","status","metadata"],"additionalProperties":false}},{"code":"finance.fiscalReceipt.getStatus","version":"0.1.0","page":"/demo/?operation=finance.fiscalReceipt.getStatus","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerReceiptId":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["providerReceiptId"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.fiscalReceipt.getStatus"},"accessModeUsed":{"type":"string","enum":["authorized"]},"providerCode":{"type":"string","minLength":1},"providerReceiptId":{"type":"string","minLength":1},"status":{"type":"string","enum":["queued","processed","failed","unknown"]},"fiscalDetails":{"type":"object","properties":{"documentNumber":{"type":"string","minLength":1},"fiscalSign":{"type":"string","minLength":1},"fiscalNumber":{"type":"string","minLength":1},"deviceNumber":{"type":"string","minLength":1},"regNumber":{"type":"string","minLength":1},"receiptUrl":{"type":"string","format":"uri"},"qrCodeUrl":{"type":"string","format":"uri"},"issuedAt":{"type":"string","minLength":1}},"additionalProperties":false},"message":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["operationCode","accessModeUsed","providerCode","providerReceiptId","status","metadata"],"additionalProperties":false}},{"code":"finance.merchantPayment.cancel","version":"0.1.0","page":"/demo/?operation=finance.merchantPayment.cancel","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerPaymentId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"receipt":{"type":"object","properties":{"merchantReceiptId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"type":{"default":"sell","type":"string","enum":["sell","sellReturn","buy","buyReturn"]},"customer":{"type":"object","properties":{"customerId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","minLength":1}}},"taxationSystem":{"type":"string","enum":["osn","usnIncome","usnIncomeOutcome","esn","patent"]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"price":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"quantity":{"type":"number","exclusiveMinimum":0},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"vat":{"type":"string","enum":["none","vat0","vat5","vat7","vat10","vat20","vat22","vat105","vat107","vat110","vat120","vat122"]},"paymentMethod":{"default":"fullPayment","type":"string","enum":["fullPrepayment","prepayment","advance","fullPayment","partialPayment","credit","creditPayment"]},"paymentObject":{"default":"commodity","type":"string","enum":["commodity","excise","job","service","payment","agentCommission","intellectualActivity","composite","another"]},"unitCode":{"type":"string","minLength":1},"supplierInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["name","price","quantity","amount","vat"]}},"amounts":{"type":"object","properties":{"electronic":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"cash":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"advancePayment":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"credit":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"provision":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]}}},"calculationPlace":{"type":"string","minLength":1},"cashierName":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["customer","taxationSystem","items"]},"reason":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.merchantPayment.cancel"},"accessModeUsed":{"type":"string","enum":["authorized"]},"providerCode":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"status":{"type":"string","enum":["created","pending","authorized","confirmed","paid","cancelled","refunded","partiallyRefunded","expired","failed","unknown"]},"cancelledAmount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"rawStatus":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["operationCode","accessModeUsed","providerCode","providerPaymentId","status","metadata"],"additionalProperties":false}},{"code":"finance.merchantPayment.create","version":"0.1.0","page":"/demo/?operation=finance.merchantPayment.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"merchantOrderId":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"description":{"type":"string","minLength":1,"maxLength":140},"customer":{"type":"object","properties":{"customerId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","minLength":1}}},"allowedPaymentMethods":{"default":["sbpQr"],"minItems":1,"type":"array","items":{"type":"string","enum":["card","sbpQr","tpay","sberpay","unknown"]}},"payType":{"default":"oneStage","type":"string","enum":["oneStage","twoStage"]},"expiresAt":{"type":"string","minLength":1},"notificationUrl":{"type":"string","format":"uri"},"successUrl":{"type":"string","format":"uri"},"failUrl":{"type":"string","format":"uri"},"receipt":{"type":"object","properties":{"merchantReceiptId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"type":{"default":"sell","type":"string","enum":["sell","sellReturn","buy","buyReturn"]},"customer":{"type":"object","properties":{"customerId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","minLength":1}}},"taxationSystem":{"type":"string","enum":["osn","usnIncome","usnIncomeOutcome","esn","patent"]},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"price":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"quantity":{"type":"number","exclusiveMinimum":0},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"vat":{"type":"string","enum":["none","vat0","vat5","vat7","vat10","vat20","vat22","vat105","vat107","vat110","vat120","vat122"]},"paymentMethod":{"default":"fullPayment","type":"string","enum":["fullPrepayment","prepayment","advance","fullPayment","partialPayment","credit","creditPayment"]},"paymentObject":{"default":"commodity","type":"string","enum":["commodity","excise","job","service","payment","agentCommission","intellectualActivity","composite","another"]},"unitCode":{"type":"string","minLength":1},"supplierInn":{"type":"string","pattern":"^\\d{10}(\\d{2})?$"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["name","price","quantity","amount","vat"]}},"amounts":{"type":"object","properties":{"electronic":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"cash":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"advancePayment":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"credit":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]},"provision":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor"]}}},"calculationPlace":{"type":"string","minLength":1},"cashierName":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["customer","taxationSystem","items"]},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["merchantOrderId","amount"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.merchantPayment.create"},"accessModeUsed":{"type":"string","enum":["authorized"]},"providerCode":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"status":{"type":"string","enum":["created","pending","authorized","confirmed","paid","cancelled","refunded","partiallyRefunded","expired","failed","unknown"]},"paymentUrl":{"type":"string","format":"uri"},"expiresAt":{"type":"string","minLength":1},"rawStatus":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["operationCode","accessModeUsed","providerCode","providerPaymentId","merchantOrderId","amount","status","metadata"],"additionalProperties":false}},{"code":"finance.merchantPayment.createQr","version":"0.1.0","page":"/demo/?operation=finance.merchantPayment.createQr","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerPaymentId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"format":{"default":"payload","type":"string","enum":["payload","svg"]},"bankId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.merchantPayment.createQr"},"accessModeUsed":{"type":"string","enum":["authorized"]},"providerCode":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"format":{"type":"string","enum":["payload","svg"]},"qrPayload":{"type":"string","minLength":1},"qrImageSvg":{"type":"string","minLength":1},"paymentUrl":{"type":"string","format":"uri"},"deepLink":{"type":"string","minLength":1},"expiresAt":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["operationCode","accessModeUsed","providerCode","providerPaymentId","format","metadata"],"additionalProperties":false}},{"code":"finance.merchantPayment.getStatus","version":"0.1.0","page":"/demo/?operation=finance.merchantPayment.getStatus","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"providerPaymentId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.merchantPayment.getStatus"},"accessModeUsed":{"type":"string","enum":["authorized"]},"providerCode":{"type":"string","minLength":1},"providerPaymentId":{"type":"string","minLength":1},"merchantOrderId":{"type":"string","minLength":1},"status":{"type":"string","enum":["created","pending","authorized","confirmed","paid","cancelled","refunded","partiallyRefunded","expired","failed","unknown"]},"amount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"paidAmount":{"type":"object","properties":{"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"RUB","type":"string","minLength":3,"maxLength":3}},"required":["amountMinor","currency"],"additionalProperties":false},"paymentMethod":{"type":"string","enum":["card","sbpQr","tpay","sberpay","unknown"]},"rawStatus":{"type":"string","minLength":1},"createdAt":{"type":"string","minLength":1},"paidAt":{"type":"string","minLength":1},"expiresAt":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["operationCode","accessModeUsed","providerCode","providerPaymentId","status","metadata"],"additionalProperties":false}},{"code":"finance.payrollRegister.createDraft","version":"0.1.0","page":"/demo/?operation=finance.payrollRegister.createDraft","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"register":{"type":"object","properties":{"clientRegisterId":{"type":"string","minLength":1,"maxLength":256,"description":"Stable application identifier for this approved register"},"fundingAccountRef":{"type":"string","minLength":1,"maxLength":256},"period":{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["start","end"],"additionalProperties":false},"payoutKind":{"type":"string","enum":["salary","advance","bonus","vacationPay","finalSettlement","other"]},"currency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},"payouts":{"minItems":1,"type":"array","items":{"type":"object","properties":{"payoutId":{"type":"string","minLength":1,"maxLength":256,"description":"Stable application identifier of this payout"},"recipientRef":{"type":"string","minLength":1,"maxLength":256,"description":"Reference resolved by the configured payroll connection"},"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["payoutId","recipientRef","amountMinor"],"additionalProperties":false}}},"required":["clientRegisterId","period","payoutKind","currency","payouts"],"additionalProperties":false}},"required":["register"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"operationCode":{"type":"string","const":"finance.payrollRegister.createDraft"},"providerCode":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1},"status":{"type":"string","const":"pendingCreation"},"reference":{"type":"object","properties":{"kind":{"type":"string","const":"creation"},"id":{"type":"string","minLength":1,"maxLength":256}},"required":["kind","id"],"additionalProperties":false}},"required":["operationCode","providerCode","status","reference"],"additionalProperties":false},{"type":"object","properties":{"operationCode":{"type":"string","const":"finance.payrollRegister.createDraft"},"providerCode":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1},"status":{"type":"string","const":"draft"},"reference":{"type":"object","properties":{"kind":{"type":"string","const":"register"},"id":{"type":"string","minLength":1,"maxLength":256}},"required":["kind","id"],"additionalProperties":false}},"required":["operationCode","providerCode","status","reference"],"additionalProperties":false}]}},{"code":"finance.payrollRegister.getStatus","version":"0.1.0","page":"/demo/?operation=finance.payrollRegister.getStatus","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"creation"},"id":{"type":"string","minLength":1,"maxLength":256}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"register"},"id":{"type":"string","minLength":1,"maxLength":256}},"required":["kind","id"],"additionalProperties":false}]}},"required":["reference"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.payrollRegister.getStatus"},"providerCode":{"type":"string","minLength":1},"reference":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"creation"},"id":{"type":"string","minLength":1,"maxLength":256}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"register"},"id":{"type":"string","minLength":1,"maxLength":256}},"required":["kind","id"],"additionalProperties":false}]},"status":{"type":"string","enum":["pendingCreation","draft","awaitingAuthorization","accepted","awaitingFunding","processing","partiallyExecuted","executed","rejected","cancelled","unknown"]},"providerStatus":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1},"payoutCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"payouts":{"type":"array","items":{"type":"object","properties":{"providerPayoutId":{"type":"string","minLength":1,"maxLength":256},"payoutId":{"type":"string","minLength":1,"maxLength":256},"status":{"type":"string","enum":["pending","executed","rejected","cancelled","unknown"]},"providerStatus":{"type":"string","minLength":1}},"required":["providerPayoutId","status"],"additionalProperties":false}}},"required":["operationCode","providerCode","reference","status"],"additionalProperties":false}},{"code":"finance.payrollRegister.prepare","version":"0.1.0","page":"/demo/?operation=finance.payrollRegister.prepare","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"register":{"type":"object","properties":{"clientRegisterId":{"type":"string","minLength":1,"maxLength":256,"description":"Stable application identifier for this approved register"},"fundingAccountRef":{"type":"string","minLength":1,"maxLength":256},"period":{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["start","end"],"additionalProperties":false},"payoutKind":{"type":"string","enum":["salary","advance","bonus","vacationPay","finalSettlement","other"]},"currency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},"payouts":{"minItems":1,"type":"array","items":{"type":"object","properties":{"payoutId":{"type":"string","minLength":1,"maxLength":256,"description":"Stable application identifier of this payout"},"recipientRef":{"type":"string","minLength":1,"maxLength":256,"description":"Reference resolved by the configured payroll connection"},"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["payoutId","recipientRef","amountMinor"],"additionalProperties":false}}},"required":["clientRegisterId","period","payoutKind","currency","payouts"],"additionalProperties":false}},"required":["register"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"finance.payrollRegister.prepare"},"status":{"type":"string","const":"prepared"},"register":{"type":"object","properties":{"clientRegisterId":{"type":"string","minLength":1,"maxLength":256,"description":"Stable application identifier for this approved register"},"fundingAccountRef":{"type":"string","minLength":1,"maxLength":256},"period":{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["start","end"],"additionalProperties":false},"payoutKind":{"type":"string","enum":["salary","advance","bonus","vacationPay","finalSettlement","other"]},"currency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},"payouts":{"minItems":1,"type":"array","items":{"type":"object","properties":{"payoutId":{"type":"string","minLength":1,"maxLength":256,"description":"Stable application identifier of this payout"},"recipientRef":{"type":"string","minLength":1,"maxLength":256,"description":"Reference resolved by the configured payroll connection"},"amountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["payoutId","recipientRef","amountMinor"],"additionalProperties":false}}},"required":["clientRegisterId","period","payoutKind","currency","payouts"],"additionalProperties":false},"totalAmountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["operationCode","status","register","totalAmountMinor"],"additionalProperties":false}},{"code":"inventory.stock.adjust","version":"0.1.0","page":"/demo/?operation=inventory.stock.adjust","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"lines":{"minItems":1,"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"unitCode":{"type":"string","minLength":1},"quantityDelta":{"type":"number"},"countedQuantity":{"type":"number","minimum":0},"lotNumber":{"type":"string","minLength":1},"serialNumber":{"type":"string","minLength":1},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"reasonCode":{"type":"string","minLength":1},"evidenceReferences":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","location","unitCode","reasonCode"]}},"adjustedAt":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["lines","idempotencyKey"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"inventory.stock.adjust"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"adjustmentId":{"type":"string","minLength":1},"status":{"type":"string","enum":["completed","partial","rejected"]},"lines":{"default":[],"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"previousQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"adjustment":{"type":"object","properties":{"value":{"type":"number"},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"resultingQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}}},"required":["item","location","previousQuantity","adjustment","resultingQuantity","messages"],"additionalProperties":false}},"completedAt":{"type":"string","minLength":1},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","adjustmentId","status","lines","messages","metadata"],"additionalProperties":false}},{"code":"inventory.stock.getAvailability","version":"0.1.0","page":"/demo/?operation=inventory.stock.getAvailability","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}}},"locations":{"default":[],"type":"array","items":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}}},"lotNumbers":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"serialNumbers":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"expirationDates":{"default":[],"type":"array","items":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"ownerIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"conditionCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"includeZero":{"default":false,"type":"boolean"},"effectiveAt":{"type":"string","minLength":1},"pageSize":{"default":100,"type":"integer","exclusiveMinimum":0,"maximum":1000},"pageToken":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["items"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"inventory.stock.getAvailability"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"balances":{"default":[],"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"lotNumber":{"type":"string","minLength":1},"serialNumber":{"type":"string","minLength":1},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"onHand":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"reserved":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"available":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"inTransit":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"updatedAt":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","onHand","reserved","available","inTransit","metadata"],"additionalProperties":false}},"nextPageToken":{"type":"string","minLength":1},"asOf":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","balances","asOf","metadata"],"additionalProperties":false}},{"code":"inventory.stock.issue","version":"0.1.0","page":"/demo/?operation=inventory.stock.issue","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"lines":{"minItems":1,"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"quantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"]},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"lotNumber":{"type":"string","minLength":1},"serialNumbers":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","quantity"]}},"demandReference":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["type","id"]},"reservationIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"reasonCode":{"type":"string","minLength":1},"issuedAt":{"type":"string","minLength":1},"allowPartial":{"default":false,"type":"boolean"},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["source","lines","reasonCode","idempotencyKey"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"inventory.stock.issue"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"transactionId":{"type":"string","minLength":1},"status":{"type":"string","enum":["accepted","processing","completed","partial","rejected","cancelled"]},"lines":{"default":[],"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"requestedQuantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"processedQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"stockRefs":{"default":[],"type":"array","items":{"type":"object","properties":{"stockId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"lotNumber":{"type":"string","minLength":1},"serialNumber":{"type":"string","minLength":1},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["item","externalIds"],"additionalProperties":false}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","requestedQuantity","processedQuantity","stockRefs","messages","metadata"],"additionalProperties":false}},"completedAt":{"type":"string","minLength":1},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","transactionId","status","lines","messages","metadata"],"additionalProperties":false}},{"code":"inventory.stock.receive","version":"0.1.0","page":"/demo/?operation=inventory.stock.receive","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"destination":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"lines":{"minItems":1,"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"quantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"]},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"lotNumber":{"type":"string","minLength":1},"serialNumbers":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","quantity"]}},"sourceReference":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["type","id"]},"receiptReference":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["type","id"]},"receivedAt":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["destination","lines","idempotencyKey"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"inventory.stock.receive"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"transactionId":{"type":"string","minLength":1},"status":{"type":"string","enum":["accepted","processing","completed","partial","rejected","cancelled"]},"lines":{"default":[],"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"requestedQuantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"processedQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"stockRefs":{"default":[],"type":"array","items":{"type":"object","properties":{"stockId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"lotNumber":{"type":"string","minLength":1},"serialNumber":{"type":"string","minLength":1},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["item","externalIds"],"additionalProperties":false}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","requestedQuantity","processedQuantity","stockRefs","messages","metadata"],"additionalProperties":false}},"completedAt":{"type":"string","minLength":1},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","transactionId","status","lines","messages","metadata"],"additionalProperties":false}},{"code":"inventory.stock.release","version":"0.1.0","page":"/demo/?operation=inventory.stock.release","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reservationId":{"type":"string","minLength":1},"lines":{"minItems":1,"type":"array","items":{"type":"object","properties":{"allocationId":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"quantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"]}}}},"reasonCode":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["reservationId","reasonCode","idempotencyKey"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"inventory.stock.release"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"reservationId":{"type":"string","minLength":1},"status":{"type":"string","enum":["released","partial","notFound","rejected"]},"lines":{"default":[],"type":"array","items":{"type":"object","properties":{"allocationId":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"releasedQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"remainingQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}}},"required":["item","releasedQuantity","remainingQuantity","messages"],"additionalProperties":false}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","reservationId","status","lines","messages","metadata"],"additionalProperties":false}},{"code":"inventory.stock.reserve","version":"0.1.0","page":"/demo/?operation=inventory.stock.reserve","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"demandReference":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["type","id"]},"lines":{"minItems":1,"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"quantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"]},"locations":{"default":[],"type":"array","items":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}}},"lotNumbers":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"serialNumbers":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"expirationDates":{"default":[],"type":"array","items":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"ownerId":{"type":"string","minLength":1},"conditionCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","quantity"]}},"allocationStrategy":{"default":"providerDefault","type":"string","enum":["providerDefault","fifo","fefo","lifo","specific"]},"allowPartial":{"default":false,"type":"boolean"},"expiresAt":{"type":"string","minLength":1},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["demandReference","lines","idempotencyKey"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"inventory.stock.reserve"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"reservationId":{"type":"string","minLength":1},"status":{"type":"string","enum":["accepted","partial","rejected","expired","cancelled"]},"lines":{"default":[],"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"requestedQuantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"reservedQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"shortageQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"allocationIds":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","requestedQuantity","reservedQuantity","shortageQuantity","allocationIds","messages","metadata"],"additionalProperties":false}},"expiresAt":{"type":"string","minLength":1},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","reservationId","status","lines","messages","metadata"],"additionalProperties":false}},{"code":"inventory.stock.transfer","version":"0.1.0","page":"/demo/?operation=inventory.stock.transfer","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"destination":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"lines":{"minItems":1,"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"quantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"]},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"lotNumber":{"type":"string","minLength":1},"serialNumbers":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","quantity"]}},"transferReference":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["type","id"]},"shipmentReference":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["type","id"]},"requestedDispatchAt":{"type":"string","minLength":1},"allowPartial":{"default":false,"type":"boolean"},"idempotencyKey":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["source","destination","lines","idempotencyKey"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"inventory.stock.transfer"},"accessModeUsed":{"type":"string","const":"authorized"},"providerCode":{"type":"string","minLength":1},"transferId":{"type":"string","minLength":1},"status":{"type":"string","enum":["accepted","issued","inTransit","partiallyReceived","received","cancelled","rejected"]},"lines":{"default":[],"type":"array","items":{"type":"object","properties":{"lineId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"requestedQuantity":{"type":"object","properties":{"value":{"type":"number","exclusiveMinimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"processedQuantity":{"type":"object","properties":{"value":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1}},"required":["value","unitCode"],"additionalProperties":false},"stockRefs":{"default":[],"type":"array","items":{"type":"object","properties":{"stockId":{"type":"string","minLength":1},"item":{"type":"object","properties":{"itemId":{"type":"string","minLength":1},"variantId":{"type":"string","minLength":1},"sku":{"type":"string","minLength":1},"gtin":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"location":{"type":"object","properties":{"locationId":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"lotNumber":{"type":"string","minLength":1},"serialNumber":{"type":"string","minLength":1},"expirationDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"ownerId":{"type":"string","minLength":1},"conditionCode":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["item","externalIds"],"additionalProperties":false}},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["item","requestedQuantity","processedQuantity","stockRefs","messages","metadata"],"additionalProperties":false}},"issueTransactionId":{"type":"string","minLength":1},"receiptTransactionId":{"type":"string","minLength":1},"shipmentReference":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"lineId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["type","id","externalIds"],"additionalProperties":false},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","transferId","status","lines","messages","metadata"],"additionalProperties":false}},{"code":"it.access.authorize","version":"0.1.0","page":"/demo/?operation=it.access.authorize","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["user","serviceAccount","application","integration","providerAccount","anonymous"]},"id":{"type":"string","minLength":1},"externalId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"roles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"claims":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind"]},"action":{"type":"string","minLength":1},"resource":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"operationCode":{"type":"string","minLength":1},"attributes":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["type"]},"requiredPermissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"requiredScopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"context":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"audience":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"ipAddress":{"type":"string","minLength":1},"userAgent":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"required":["subject","action","resource"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.access.authorize"},"decision":{"type":"string","enum":["allow","deny","indeterminate"]},"reasonCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"matchedPermissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"missingPermissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"matchedScopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"missingScopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"obligations":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","decision","reasonCodes","matchedPermissions","missingPermissions","matchedScopes","missingScopes","obligations","metadata"],"additionalProperties":false}},{"code":"it.access.policy.evaluate","version":"0.1.0","page":"/demo/?operation=it.access.policy.evaluate","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["user","serviceAccount","application","integration","providerAccount","anonymous"]},"id":{"type":"string","minLength":1},"externalId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"roles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"claims":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind"]},"resources":{"default":[],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"operationCode":{"type":"string","minLength":1},"attributes":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["type"]}},"policySetId":{"type":"string","minLength":1},"context":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"audience":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"ipAddress":{"type":"string","minLength":1},"userAgent":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"required":["subject"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.access.policy.evaluate"},"decision":{"type":"string","enum":["allow","deny","indeterminate"]},"effectiveRoles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"effectivePermissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"effectiveScopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"resourceDecisions":{"default":[],"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"type":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"operationCode":{"type":"string","minLength":1},"attributes":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["type","attributes"],"additionalProperties":false},"decision":{"type":"string","enum":["allow","deny","indeterminate"]},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"reasonCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}}},"required":["resource","decision","permissions","scopes","reasonCodes"],"additionalProperties":false}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","decision","effectiveRoles","effectivePermissions","effectiveScopes","resourceDecisions","metadata"],"additionalProperties":false}},{"code":"it.aiResponse.create","version":"0.1.0","page":"/demo/?operation=it.aiResponse.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":20000},"previousResponseId":{"type":"string","minLength":1,"maxLength":200},"approvals":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":200},"approve":{"type":"boolean"}},"required":["requestId","approve"],"additionalProperties":false}}},"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.aiResponse.create"},"responseId":{"type":"string","minLength":1},"status":{"type":"string","enum":["completed","awaitingApproval","incomplete","failed"]},"text":{"type":"string"},"approvals":{"type":"array","items":{"type":"object","properties":{"requestId":{"type":"string"},"serverLabel":{"type":"string"},"toolName":{"type":"string"},"arguments":{"type":"string"}},"required":["requestId","serverLabel","toolName","arguments"],"additionalProperties":false}},"toolCalls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"toolName":{"type":"string"},"status":{"type":"string"}},"required":["id","toolName","status"],"additionalProperties":false}},"usage":{"type":"object","properties":{"inputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"outputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"cachedInputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"toolTokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"reasoningOutputTokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalTokens":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["inputTokens","outputTokens"],"additionalProperties":false}},"required":["operationCode","responseId","status","text","approvals","toolCalls"],"additionalProperties":false}},{"code":"it.dnsRecordSet.delete","version":"0.1.0","page":"/demo/?operation=it.dnsRecordSet.delete","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"zone":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":255},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"name":{"type":"string"},"type":{"type":"string","enum":["A","AAAA","CNAME","TXT"]}},"required":["zone","name","type"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.dnsRecordSet.delete"},"changed":{"type":"boolean"},"changeMode":{"type":"string","enum":["singleRequest","reconciled"],"description":"One provider mutation request or reconciliation through multiple calls; not a transaction guarantee"},"propagation":{"type":"string","const":"notChecked"},"providerOperationId":{"type":"string"}},"required":["operationCode","changed","changeMode","propagation"],"additionalProperties":false}},{"code":"it.dnsRecordSet.list","version":"0.1.0","page":"/demo/?operation=it.dnsRecordSet.list","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"zone":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":255},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"name":{"type":"string"}},"required":["zone","name"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.dnsRecordSet.list"},"recordSets":{"type":"array","items":{"type":"object","properties":{"name":{},"type":{"type":"string","pattern":"^[A-Z][A-Z0-9]{0,19}$"},"ttl":{"anyOf":[{"type":"integer","minimum":0,"maximum":2147483647},{"type":"null"}]},"values":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024}},"description":{"type":"string","maxLength":1024}},"required":["name","type","ttl","values"],"additionalProperties":false}}},"required":["operationCode","recordSets"],"additionalProperties":false}},{"code":"it.dnsRecordSet.put","version":"0.1.0","page":"/demo/?operation=it.dnsRecordSet.put","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"zone":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":255},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"recordSet":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["A","AAAA","CNAME","TXT"]},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"values":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^[^\\r\\n\\u0000]*$"}},"description":{"type":"string","maxLength":1024}},"required":["name","type","ttl","values"],"additionalProperties":false}},"required":["zone","recordSet"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.dnsRecordSet.put"},"changed":{"type":"boolean"},"changeMode":{"type":"string","enum":["singleRequest","reconciled"],"description":"One provider mutation request or reconciliation through multiple calls; not a transaction guarantee"},"propagation":{"type":"string","const":"notChecked"},"providerOperationId":{"type":"string"},"recordSet":{"type":"object","properties":{"name":{},"type":{"type":"string","pattern":"^[A-Z][A-Z0-9]{0,19}$"},"ttl":{"anyOf":[{"type":"integer","minimum":0,"maximum":2147483647},{"type":"null"}]},"values":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024}},"description":{"type":"string","maxLength":1024}},"required":["name","type","ttl","values"],"additionalProperties":false}},"required":["operationCode","changed","changeMode","propagation","recordSet"],"additionalProperties":false}},{"code":"it.eventSubscription.create","version":"0.1.0","page":"/demo/?operation=it.eventSubscription.create","availableOnSite":"description"},{"code":"it.eventSubscription.delete","version":"0.1.0","page":"/demo/?operation=it.eventSubscription.delete","availableOnSite":"description"},{"code":"it.eventSubscription.list","version":"0.1.0","page":"/demo/?operation=it.eventSubscription.list","availableOnSite":"description"},{"code":"it.identity.authenticate","version":"0.1.0","page":"/demo/?operation=it.identity.authenticate","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["user","serviceAccount","application","integration","providerAccount","anonymous"]},"id":{"type":"string","minLength":1},"externalId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"roles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"claims":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind"]},"method":{"type":"string","enum":["none","password","apiKey","basic","bearerToken","oauth2ClientCredentials","refreshToken","sessionCredential","custom"]},"credentials":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requestedAccessMode":{"default":"auto","type":"string","enum":["auto","public","authorized"]},"requestedScopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"context":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"audience":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"ipAddress":{"type":"string","minLength":1},"userAgent":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"required":["subject","method"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.identity.authenticate"},"status":{"type":"string","enum":["authenticated","anonymous","challengeRequired","failed"]},"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["user","serviceAccount","application","integration","providerAccount","anonymous"]},"id":{"type":"string","minLength":1},"externalId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"roles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"claims":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","roles","permissions","scopes","claims"],"additionalProperties":false},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"credential":{"type":"object","properties":{"kind":{"type":"string","enum":["none","accessToken","refreshToken","apiKey","session","basic","custom"]},"transport":{"default":"header","type":"string","enum":["header","query","cookie","body","none"]},"scheme":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"expiresAt":{"type":"string","minLength":1},"refreshExpiresAt":{"type":"string","minLength":1},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","transport","scopes","metadata"],"additionalProperties":false},"challenge":{"type":"object","properties":{"type":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"parameters":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["type","parameters"],"additionalProperties":false},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","status","accessModeUsed","metadata"],"additionalProperties":false}},{"code":"it.identity.token.refresh","version":"0.1.0","page":"/demo/?operation=it.identity.token.refresh","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["user","serviceAccount","application","integration","providerAccount","anonymous"]},"id":{"type":"string","minLength":1},"externalId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"roles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"claims":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind"]},"refreshCredential":{"type":"object","properties":{"kind":{"type":"string","enum":["none","accessToken","refreshToken","apiKey","session","basic","custom"]},"transport":{"default":"header","type":"string","enum":["header","query","cookie","body","none"]},"scheme":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"expiresAt":{"type":"string","minLength":1},"refreshExpiresAt":{"type":"string","minLength":1},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind"]},"requestedScopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"context":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"audience":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"ipAddress":{"type":"string","minLength":1},"userAgent":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"required":["refreshCredential"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.identity.token.refresh"},"status":{"type":"string","enum":["authenticated","anonymous","challengeRequired","failed"]},"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["user","serviceAccount","application","integration","providerAccount","anonymous"]},"id":{"type":"string","minLength":1},"externalId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"roles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"claims":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","roles","permissions","scopes","claims"],"additionalProperties":false},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"credential":{"type":"object","properties":{"kind":{"type":"string","enum":["none","accessToken","refreshToken","apiKey","session","basic","custom"]},"transport":{"default":"header","type":"string","enum":["header","query","cookie","body","none"]},"scheme":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"expiresAt":{"type":"string","minLength":1},"refreshExpiresAt":{"type":"string","minLength":1},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","transport","scopes","metadata"],"additionalProperties":false},"refreshCredential":{"type":"object","properties":{"kind":{"type":"string","enum":["none","accessToken","refreshToken","apiKey","session","basic","custom"]},"transport":{"default":"header","type":"string","enum":["header","query","cookie","body","none"]},"scheme":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"expiresAt":{"type":"string","minLength":1},"refreshExpiresAt":{"type":"string","minLength":1},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","transport","scopes","metadata"],"additionalProperties":false},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","status","accessModeUsed","credential","metadata"],"additionalProperties":false}},{"code":"it.identity.token.revoke","version":"0.1.0","page":"/demo/?operation=it.identity.token.revoke","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["user","serviceAccount","application","integration","providerAccount","anonymous"]},"id":{"type":"string","minLength":1},"externalId":{"type":"string","minLength":1},"displayName":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"roles":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"permissions":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"claims":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind"]},"credential":{"type":"object","properties":{"kind":{"type":"string","enum":["none","accessToken","refreshToken","apiKey","session","basic","custom"]},"transport":{"default":"header","type":"string","enum":["header","query","cookie","body","none"]},"scheme":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"expiresAt":{"type":"string","minLength":1},"refreshExpiresAt":{"type":"string","minLength":1},"scopes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind"]},"reason":{"default":"logout","type":"string","enum":["logout","rotation","compromised","disabled","expired","adminAction","other"]},"context":{"type":"object","properties":{"requestId":{"type":"string","minLength":1},"tenantId":{"type":"string","minLength":1},"audience":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"ipAddress":{"type":"string","minLength":1},"userAgent":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}}},"required":["credential"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"it.identity.token.revoke"},"revoked":{"type":"boolean"},"reason":{"type":"string","enum":["logout","rotation","compromised","disabled","expired","adminAction","other"]},"revokedAt":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","revoked","reason","metadata"],"additionalProperties":false}},{"code":"logistics.facility.list","version":"0.1.0","page":"/demo/?operation=logistics.facility.list","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"city":{"type":"string","minLength":2,"maxLength":200},"region":{"type":"string","minLength":2,"maxLength":200},"countryCode":{"type":"string","pattern":"^[A-Za-z]{2}$"},"providerCityId":{"type":"string","minLength":1,"maxLength":100},"facilityId":{"type":"string","minLength":1,"maxLength":100},"query":{"type":"string","minLength":1,"maxLength":200},"type":{"type":"string","enum":["terminal","pickup_point","locker","unknown"]},"purpose":{"default":"any","type":"string","enum":["shipping","delivery","any"]},"serviceCode":{"type":"string","minLength":1,"maxLength":100},"pageSize":{"default":20,"type":"integer","minimum":1,"maximum":100},"pageToken":{"type":"string","minLength":1,"maxLength":2048}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"logistics.facility.list"},"providerCode":{"type":"string","minLength":1},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"items":{"type":"array","items":{"type":"object","properties":{"facilityId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"type":{"type":"string","enum":["terminal","pickup_point","locker","unknown"]},"location":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["city","externalIds"],"additionalProperties":false},"region":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","inactive","unknown"]},"acceptsShipments":{"type":["boolean","null"]},"handsOutShipments":{"type":["boolean","null"]},"services":{"default":[],"type":"array","items":{"type":"object","properties":{"serviceCode":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"acceptsShipments":{"type":["boolean","null"]},"handsOutShipments":{"type":["boolean","null"]}},"required":["serviceCode","acceptsShipments","handsOutShipments"],"additionalProperties":false}},"limits":{"default":{},"type":"object","properties":{"maxShipmentWeightKg":{"type":"number","exclusiveMinimum":0},"maxPieceWeightKg":{"type":"number","exclusiveMinimum":0},"maxVolumeM3":{"type":"number","exclusiveMinimum":0},"maxLengthCm":{"type":"number","exclusiveMinimum":0},"maxWidthCm":{"type":"number","exclusiveMinimum":0},"maxHeightCm":{"type":"number","exclusiveMinimum":0},"maxDimensionCm":{"type":"number","exclusiveMinimum":0}},"additionalProperties":false},"workingHours":{"type":"string","minLength":1},"warnings":{"default":[],"type":"array","items":{"type":"string","minLength":1}}},"required":["facilityId","name","type","location","status","acceptsShipments","handsOutShipments","services","limits","warnings"],"additionalProperties":false}},"nextPageToken":{"type":"string","minLength":1,"maxLength":2048},"warnings":{"default":[],"type":"array","items":{"type":"string","minLength":1}}},"required":["operationCode","providerCode","accessModeUsed","items","warnings"],"additionalProperties":false}},{"code":"logistics.pickup.create","version":"0.1.0","page":"/demo/?operation=logistics.pickup.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"shipmentIds":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"packages":{"minItems":1,"type":"array","items":{"type":"object","properties":{"quantity":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"weightKg":{"type":"number","exclusiveMinimum":0},"lengthCm":{"type":"number","exclusiveMinimum":0},"widthCm":{"type":"number","exclusiveMinimum":0},"heightCm":{"type":"number","exclusiveMinimum":0},"declaredValue":{"type":"number","minimum":0},"description":{"type":"string","minLength":1},"customerReference":{"type":"string","minLength":1},"barcode":{"type":"string","minLength":1}},"required":["weightKg"]}},"serviceCode":{"type":"string","minLength":1},"location":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["city"]},"contact":{"type":"object","properties":{"kind":{"default":"organization","type":"string","enum":["person","organization"]},"name":{"type":"string","minLength":1},"contactName":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"taxId":{"type":"string","minLength":1},"registrationId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","phone"]},"readyAt":{"type":"string","minLength":1},"windowEnd":{"type":"string","minLength":1},"comment":{"type":"string","minLength":1},"requirementCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["shipmentIds","location","contact","readyAt"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"logistics.pickup.create"},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"providerCode":{"type":"string","minLength":1},"pickupId":{"type":"string","minLength":1},"status":{"type":"string","enum":["accepted","processing","scheduled","rejected"]},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","pickupId","status","messages","metadata"],"additionalProperties":false}},{"code":"logistics.shipment.create","version":"0.1.0","page":"/demo/?operation=logistics.shipment.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"customerReference":{"type":"string","minLength":1},"origin":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["city"]},"destination":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["city"]},"sender":{"type":"object","properties":{"kind":{"default":"organization","type":"string","enum":["person","organization"]},"name":{"type":"string","minLength":1},"contactName":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"taxId":{"type":"string","minLength":1},"registrationId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","phone"]},"recipient":{"type":"object","properties":{"kind":{"default":"organization","type":"string","enum":["person","organization"]},"name":{"type":"string","minLength":1},"contactName":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"taxId":{"type":"string","minLength":1},"registrationId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","phone"]},"payer":{"type":"object","properties":{"kind":{"default":"organization","type":"string","enum":["person","organization"]},"name":{"type":"string","minLength":1},"contactName":{"type":"string","minLength":1},"phone":{"type":"string","minLength":1},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"taxId":{"type":"string","minLength":1},"registrationId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","phone"]},"packages":{"minItems":1,"type":"array","items":{"type":"object","properties":{"quantity":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"weightKg":{"type":"number","exclusiveMinimum":0},"lengthCm":{"type":"number","exclusiveMinimum":0},"widthCm":{"type":"number","exclusiveMinimum":0},"heightCm":{"type":"number","exclusiveMinimum":0},"declaredValue":{"type":"number","minimum":0},"description":{"type":"string","minLength":1},"customerReference":{"type":"string","minLength":1},"barcode":{"type":"string","minLength":1}},"required":["weightKg"]}},"deliveryMode":{"default":"terminal_terminal","type":"string","enum":["terminal_terminal","terminal_address","address_terminal","address_address"]},"services":{"default":{"pickup":false,"addressDelivery":false,"fragile":false,"extraPackaging":false,"insurance":false},"type":"object","properties":{"pickup":{"default":false,"type":"boolean"},"addressDelivery":{"default":false,"type":"boolean"},"fragile":{"default":false,"type":"boolean"},"extraPackaging":{"default":false,"type":"boolean"},"insurance":{"default":false,"type":"boolean"}}},"serviceCode":{"type":"string","minLength":1},"additionalServiceCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"requestedDate":{"type":"string","minLength":1},"comment":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["customerReference","origin","destination","sender","recipient","packages"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"logistics.shipment.create"},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"providerCode":{"type":"string","minLength":1},"shipmentId":{"type":"string","minLength":1},"trackingNumber":{"type":"string","minLength":1},"status":{"type":"string","enum":["accepted","processing","created","rejected"]},"messages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","shipmentId","status","messages","metadata"],"additionalProperties":false}},{"code":"logistics.shipment.list","version":"0.1.0","page":"/demo/?operation=logistics.shipment.list","availableOnSite":"example","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"dateFrom":{"type":"string","minLength":1},"dateTo":{"type":"string","minLength":1},"pageSize":{"default":50,"type":"integer","exclusiveMinimum":0,"maximum":500},"pageToken":{"type":"string","minLength":1},"search":{"type":"string","minLength":1},"status":{"type":"string","enum":["unknown","created","accepted","in_transit","arrived","out_for_delivery","delivered","not_delivered","cancelled","returned","exception"]},"kind":{"type":"string","enum":["shipment","pickup_request","draft","unknown"]},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"logistics.shipment.list"},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"providerCode":{"type":"string","minLength":1},"items":{"default":[],"type":"array","items":{"type":"object","properties":{"providerCode":{"type":"string","minLength":1},"shipmentId":{"type":"string","minLength":1},"trackingNumber":{"type":"string","minLength":1},"providerDocumentId":{"type":"string","minLength":1},"customerReference":{"type":"string","minLength":1},"kind":{"default":"shipment","type":"string","enum":["shipment","pickup_request","draft","unknown"]},"status":{"default":"unknown","type":"string","enum":["unknown","created","accepted","in_transit","arrived","out_for_delivery","delivered","not_delivered","cancelled","returned","exception"]},"statusText":{"type":"string","minLength":1},"createdAt":{"type":"string","minLength":1},"updatedAt":{"type":"string","minLength":1},"shippedAt":{"type":"string","minLength":1},"estimatedDeliveryAt":{"type":"string","minLength":1},"origin":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"additionalProperties":false},"destination":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"additionalProperties":false},"senderName":{"type":"string","minLength":1},"recipientName":{"type":"string","minLength":1},"cargoName":{"type":"string","minLength":1},"places":{"type":"integer","minimum":0,"maximum":9007199254740991},"weightKg":{"type":"number","minimum":0},"volumeM3":{"type":"number","minimum":0},"price":{"type":"number","minimum":0},"currency":{"type":"string","minLength":3,"maxLength":3},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["providerCode","kind","status","externalIds","metadata"],"additionalProperties":false}},"nextPageToken":{"type":"string","minLength":1},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","items","metadata"],"additionalProperties":false},"exampleInput":{"pageSize":5},"exampleResult":{"operationCode":"logistics.shipment.list","accessModeUsed":"authorized","providerCode":"yandex-delivery","items":[{"providerCode":"yandex-delivery","shipmentId":"00000000000000000000000000000001","kind":"shipment","status":"in_transit"}]}},{"code":"logistics.shipment.quote","version":"0.1.0","page":"/demo/?operation=logistics.shipment.quote","availableOnSite":"example","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"origin":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["city"]},"destination":{"type":"object","properties":{"countryCode":{"type":"string","minLength":2,"maxLength":2},"postalCode":{"type":"string","minLength":1},"city":{"type":"string","minLength":1},"addressLine":{"type":"string","minLength":1},"coordinates":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"]},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["city"]},"packages":{"minItems":1,"type":"array","items":{"type":"object","properties":{"quantity":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"weightKg":{"type":"number","exclusiveMinimum":0},"lengthCm":{"type":"number","exclusiveMinimum":0},"widthCm":{"type":"number","exclusiveMinimum":0},"heightCm":{"type":"number","exclusiveMinimum":0},"declaredValue":{"type":"number","minimum":0},"description":{"type":"string","minLength":1},"customerReference":{"type":"string","minLength":1},"barcode":{"type":"string","minLength":1}},"required":["weightKg"]}},"deliveryMode":{"default":"terminal_terminal","type":"string","enum":["terminal_terminal","terminal_address","address_terminal","address_address"]},"services":{"default":{"pickup":false,"addressDelivery":false,"fragile":false,"extraPackaging":false,"insurance":false},"type":"object","properties":{"pickup":{"default":false,"type":"boolean"},"addressDelivery":{"default":false,"type":"boolean"},"fragile":{"default":false,"type":"boolean"},"extraPackaging":{"default":false,"type":"boolean"},"insurance":{"default":false,"type":"boolean"}}},"currency":{"default":"RUB","type":"string","const":"RUB"},"requestedDate":{"type":"string","minLength":1},"serviceCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"additionalServiceCodes":{"default":[],"type":"array","items":{"type":"string","minLength":1}}},"required":["origin","destination","packages"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"logistics.shipment.quote"},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"pricingScope":{"default":"unknown","type":"string","enum":["public","personal","unknown"]},"options":{"type":"array","items":{"type":"object","properties":{"providerCode":{"type":"string","minLength":1},"serviceCode":{"type":"string","minLength":1},"serviceName":{"type":"string","minLength":1},"price":{"type":"number","minimum":0},"currency":{"type":"string","const":"RUB"},"etaMinDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"etaMaxDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"notes":{"default":[],"type":"array","items":{"type":"string","minLength":1}}},"required":["providerCode","serviceCode","serviceName","price","currency","notes"],"additionalProperties":false}}},"required":["operationCode","accessModeUsed","pricingScope","options"],"additionalProperties":false},"exampleInput":{"deliveryMode":"address_address","origin":{"city":"Самара","addressLine":"ул. Ленинградская, 1"},"destination":{"city":"Самара","addressLine":"ул. Молодогвардейская, 10"},"packages":[{"weightKg":2,"lengthCm":30,"widthCm":20,"heightCm":15}],"serviceCodes":["courier","express","cargo"]},"exampleResult":{"operationCode":"logistics.shipment.quote","accessModeUsed":"authorized","pricingScope":"personal","options":[{"providerCode":"yandex-delivery","serviceCode":"courier","serviceName":"Курьер","price":450,"currency":"RUB","notes":["Учебная цена"]},{"providerCode":"yandex-delivery","serviceCode":"cargo","serviceName":"Грузовой","price":1250,"currency":"RUB","notes":["Учебная цена"]}]}},{"code":"logistics.shipment.track","version":"0.1.0","page":"/demo/?operation=logistics.shipment.track","availableOnSite":"example","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"shipmentId":{"type":"string","minLength":1},"trackingNumber":{"type":"string","minLength":1},"providerDocumentId":{"type":"string","minLength":1},"customerReference":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"logistics.shipment.track"},"accessModeUsed":{"type":"string","enum":["public","authorized"]},"providerCode":{"type":"string","minLength":1},"shipmentId":{"type":"string","minLength":1},"trackingNumber":{"type":"string","minLength":1},"status":{"default":"unknown","type":"string","enum":["unknown","created","accepted","in_transit","arrived","out_for_delivery","delivered","not_delivered","cancelled","returned","exception"]},"statusText":{"type":"string","minLength":1},"occurredAt":{"type":"string","minLength":1},"estimatedDeliveryAt":{"type":"string","minLength":1},"customerReference":{"type":"string"},"recipient":{"type":"object","properties":{"name":{"type":"string"},"phones":{"default":[],"type":"array","items":{"type":"string"}}},"required":["phones"],"additionalProperties":false},"destination":{"type":"object","properties":{"city":{"type":"string"},"address":{"type":"string"}},"additionalProperties":false},"isReturn":{"type":"boolean"},"events":{"default":[],"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1},"status":{"default":"unknown","type":"string","enum":["unknown","created","accepted","in_transit","arrived","out_for_delivery","delivered","not_delivered","cancelled","returned","exception"]},"title":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"occurredAt":{"type":"string","minLength":1},"location":{"type":"string","minLength":1},"facilityId":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["code","status","externalIds","metadata"],"additionalProperties":false}},"raw":{},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","accessModeUsed","providerCode","status","events","metadata"],"additionalProperties":false},"exampleInput":{"shipmentId":"00000000000000000000000000000001"},"exampleResult":{"operationCode":"logistics.shipment.track","accessModeUsed":"authorized","providerCode":"yandex-delivery","shipmentId":"00000000000000000000000000000001","status":"in_transit","metadata":{"providerStatusCode":"pickuped"}}},{"code":"manufacturing.operationOutput.correct","version":"0.1.0","page":"/demo/?operation=manufacturing.operationOutput.correct","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"outputId":{"type":"string","minLength":1,"maxLength":200},"expectedCorrectionRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"goodQuantity":{"type":"number","minimum":0},"scrapQuantity":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1,"maxLength":40},"reason":{"type":"string","minLength":1,"maxLength":1000},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["outputId","expectedCorrectionRevision","goodQuantity","scrapQuantity","unitCode","reason","idempotencyKey"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"manufacturing.operationOutput.correct"},"correctionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"outputId":{"type":"string","minLength":1},"correctionRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"goodQuantity":{"type":"number","minimum":0},"scrapQuantity":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1},"actorId":{"type":"string","minLength":1},"recordedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["operationCode","correctionId","outputId","correctionRevision","goodQuantity","scrapQuantity","unitCode","reason","actorId","recordedAt"],"additionalProperties":false}},{"code":"manufacturing.operationOutput.record","version":"0.1.0","page":"/demo/?operation=manufacturing.operationOutput.record","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationId":{"type":"string","minLength":1,"maxLength":200},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"goodQuantity":{"type":"number","minimum":0},"scrapQuantity":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1,"maxLength":40},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["operationId","goodQuantity","scrapQuantity","unitCode","idempotencyKey"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"manufacturing.operationOutput.record"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"output":{"type":"object","properties":{"operationId":{"type":"string","minLength":1,"maxLength":200},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"goodQuantity":{"type":"number","minimum":0},"scrapQuantity":{"type":"number","minimum":0},"unitCode":{"type":"string","minLength":1,"maxLength":40},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["operationId","goodQuantity","scrapQuantity","unitCode","idempotencyKey"],"additionalProperties":false},"recordedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"reportedBy":{"type":"string","minLength":1},"status":{"type":"string","const":"reported"}},"required":["operationCode","id","output","recordedAt","reportedBy","status"],"additionalProperties":false}},{"code":"manufacturing.product.assemble","version":"0.1.0","page":"/demo/?operation=manufacturing.product.assemble","availableOnSite":"description"},{"code":"manufacturing.product.inspect","version":"0.1.0","page":"/demo/?operation=manufacturing.product.inspect","availableOnSite":"description"},{"code":"manufacturing.product.package","version":"0.1.0","page":"/demo/?operation=manufacturing.product.package","availableOnSite":"description"},{"code":"manufacturing.workpiece.bend","version":"0.1.0","page":"/demo/?operation=manufacturing.workpiece.bend","availableOnSite":"description"},{"code":"manufacturing.workpiece.cut","version":"0.1.0","page":"/demo/?operation=manufacturing.workpiece.cut","availableOnSite":"description"},{"code":"manufacturing.workpiece.weld","version":"0.1.0","page":"/demo/?operation=manufacturing.workpiece.weld","availableOnSite":"description"},{"code":"storage.object.deleteFile","version":"0.1.0","page":"/demo/?operation=storage.object.deleteFile","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bucketRef":{"type":"object","properties":{"bucket":{"type":"string","minLength":1},"region":{"type":"string","minLength":1},"endpointUrl":{"type":"string","format":"uri"},"credentials":{"type":"object","properties":{"accessKeyId":{"type":"string","minLength":1},"secretAccessKey":{"type":"string","minLength":1}},"required":["accessKeyId","secretAccessKey"]},"keyPrefix":{"default":"","type":"string"}},"required":["bucket","region","endpointUrl"]},"key":{"type":"string","minLength":1}},"required":["bucketRef","key"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"storage.object.deleteFile"},"key":{"type":"string","minLength":1},"deleted":{"type":"boolean"}},"required":["operationCode","key","deleted"],"additionalProperties":false}},{"code":"storage.object.list","version":"0.1.0","page":"/demo/?operation=storage.object.list","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bucketRef":{"type":"object","properties":{"bucket":{"type":"string","minLength":1},"region":{"type":"string","minLength":1},"endpointUrl":{"type":"string","format":"uri"},"credentials":{"type":"object","properties":{"accessKeyId":{"type":"string","minLength":1},"secretAccessKey":{"type":"string","minLength":1}},"required":["accessKeyId","secretAccessKey"]},"keyPrefix":{"default":"","type":"string"}},"required":["bucket","region","endpointUrl"]},"options":{"type":"object","properties":{"prefix":{"default":"","type":"string"},"maxKeys":{"default":100,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"continuationToken":{"type":"string"}}}},"required":["bucketRef"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"storage.object.list"},"objects":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"etag":{"type":"string","minLength":1},"lastModified":{"type":"string","minLength":1},"storageClass":{"type":"string"}},"required":["key","size","etag","lastModified"],"additionalProperties":false}},"nextContinuationToken":{"type":"string"},"isTruncated":{"type":"boolean"}},"required":["operationCode","objects","isTruncated"],"additionalProperties":false}},{"code":"storage.object.uploadFile","version":"0.1.0","page":"/demo/?operation=storage.object.uploadFile","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bucketRef":{"type":"object","properties":{"bucket":{"type":"string","minLength":1},"region":{"type":"string","minLength":1},"endpointUrl":{"type":"string","format":"uri"},"credentials":{"type":"object","properties":{"accessKeyId":{"type":"string","minLength":1},"secretAccessKey":{"type":"string","minLength":1}},"required":["accessKeyId","secretAccessKey"]},"keyPrefix":{"default":"","type":"string"}},"required":["bucket","region","endpointUrl"]},"targetKey":{"type":"string","minLength":1},"fileContent":{"type":"string","minLength":1},"options":{"default":{},"type":"object","properties":{"contentType":{"type":"string"},"cacheControl":{"type":"string"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"websiteRedirectLocation":{"type":"string","minLength":1}}}},"required":["bucketRef","targetKey","fileContent"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"storage.object.uploadFile"},"key":{"type":"string","minLength":1},"etag":{"type":"string","minLength":1},"storageClass":{"type":"string"}},"required":["operationCode","key","etag"],"additionalProperties":false}},{"code":"storage.website.delete","version":"0.1.0","page":"/demo/?operation=storage.website.delete","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bucketRef":{"type":"object","properties":{"bucket":{"type":"string","minLength":1},"region":{"type":"string","minLength":1},"endpointUrl":{"type":"string","format":"uri"},"credentials":{"type":"object","properties":{"accessKeyId":{"type":"string","minLength":1},"secretAccessKey":{"type":"string","minLength":1}},"required":["accessKeyId","secretAccessKey"]},"keyPrefix":{"default":"","type":"string"}},"required":["bucket","region","endpointUrl"]}},"required":["bucketRef"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"storage.website.delete"},"bucket":{"type":"string","minLength":1},"deleted":{"type":"boolean","const":true}},"required":["operationCode","bucket","deleted"],"additionalProperties":false}},{"code":"storage.website.get","version":"0.1.0","page":"/demo/?operation=storage.website.get","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bucketRef":{"type":"object","properties":{"bucket":{"type":"string","minLength":1},"region":{"type":"string","minLength":1},"endpointUrl":{"type":"string","format":"uri"},"credentials":{"type":"object","properties":{"accessKeyId":{"type":"string","minLength":1},"secretAccessKey":{"type":"string","minLength":1}},"required":["accessKeyId","secretAccessKey"]},"keyPrefix":{"default":"","type":"string"}},"required":["bucket","region","endpointUrl"]}},"required":["bucketRef"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"storage.website.get"},"bucket":{"type":"string","minLength":1},"configuration":{"type":"object","properties":{"indexDocument":{"type":"string","minLength":1},"errorDocument":{"type":"string","minLength":1},"redirectAllRequestsTo":{"type":"object","properties":{"hostName":{"type":"string","minLength":1},"protocol":{"type":"string","enum":["http","https"]}},"required":["hostName"],"additionalProperties":false},"routingRules":{"default":[],"type":"array","items":{"type":"object","properties":{"condition":{"type":"object","properties":{"keyPrefixEquals":{"type":"string"},"httpErrorCodeReturnedEquals":{"type":"string"}},"additionalProperties":false},"redirect":{"type":"object","properties":{"hostName":{"type":"string"},"httpRedirectCode":{"type":"string"},"protocol":{"type":"string","enum":["http","https"]},"replaceKeyPrefixWith":{"type":"string"},"replaceKeyWith":{"type":"string"}},"additionalProperties":false}},"required":["redirect"],"additionalProperties":false}}},"required":["routingRules"],"additionalProperties":false}},"required":["operationCode","bucket","configuration"],"additionalProperties":false}},{"code":"storage.website.put","version":"0.1.0","page":"/demo/?operation=storage.website.put","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bucketRef":{"type":"object","properties":{"bucket":{"type":"string","minLength":1},"region":{"type":"string","minLength":1},"endpointUrl":{"type":"string","format":"uri"},"credentials":{"type":"object","properties":{"accessKeyId":{"type":"string","minLength":1},"secretAccessKey":{"type":"string","minLength":1}},"required":["accessKeyId","secretAccessKey"]},"keyPrefix":{"default":"","type":"string"}},"required":["bucket","region","endpointUrl"]},"configuration":{"type":"object","properties":{"indexDocument":{"type":"string","minLength":1},"errorDocument":{"type":"string","minLength":1},"redirectAllRequestsTo":{"type":"object","properties":{"hostName":{"type":"string","minLength":1},"protocol":{"type":"string","enum":["http","https"]}},"required":["hostName"]},"routingRules":{"default":[],"type":"array","items":{"type":"object","properties":{"condition":{"type":"object","properties":{"keyPrefixEquals":{"type":"string"},"httpErrorCodeReturnedEquals":{"type":"string"}}},"redirect":{"type":"object","properties":{"hostName":{"type":"string"},"httpRedirectCode":{"type":"string"},"protocol":{"type":"string","enum":["http","https"]},"replaceKeyPrefixWith":{"type":"string"},"replaceKeyWith":{"type":"string"}}}},"required":["redirect"]}}}}},"required":["bucketRef","configuration"]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"storage.website.put"},"bucket":{"type":"string","minLength":1},"routingRules":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["operationCode","bucket","routingRules"],"additionalProperties":false}},{"code":"trust.certificate.list","version":"0.1.0","page":"/demo/?operation=trust.certificate.list","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"validAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"qualifiedOnly":{"default":false,"type":"boolean"},"hardwareBackedOnly":{"default":false,"type":"boolean"},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":200},"pageToken":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"trust.certificate.list"},"providerCode":{"type":"string","minLength":1},"items":{"type":"array","items":{"type":"object","properties":{"certificateRef":{"type":"string","minLength":1},"subject":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"organizationName":{"type":"string","minLength":1},"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1},"identifiers":{"default":[],"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":2}},"required":["scheme","value"],"additionalProperties":false}}},"required":["displayName","identifiers"],"additionalProperties":false},"issuer":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"organizationName":{"type":"string","minLength":1},"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1},"identifiers":{"default":[],"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":2}},"required":["scheme","value"],"additionalProperties":false}}},"required":["displayName","identifiers"],"additionalProperties":false},"serialNumber":{"type":"string","minLength":1},"thumbprint":{"type":"string","minLength":1},"validFrom":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validTo":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"keyAlgorithm":{"type":"string","minLength":1},"signatureAlgorithm":{"type":"string","minLength":1},"keyUsages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"status":{"default":"unknown","type":"string","enum":["valid","notYetValid","expired","revoked","unknown"]},"usableForSigning":{"default":false,"type":"boolean"},"qualified":{"default":"unknown","type":"string","enum":["yes","no","unknown"]},"hardwareBacked":{"default":false,"type":"boolean"},"deviceRef":{"type":"string","minLength":1},"cryptoProviderRef":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["certificateRef","subject","keyUsages","status","usableForSigning","qualified","hardwareBacked","externalIds","metadata"],"additionalProperties":false}},"nextPageToken":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","providerCode","items","metadata"],"additionalProperties":false}},{"code":"trust.certificate.resolve","version":"0.1.0","page":"/demo/?operation=trust.certificate.resolve","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subjectIdentifiers":{"default":[],"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":2}},"required":["scheme","value"]}},"validAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"qualified":{"default":"any","type":"string","enum":["required","preferred","any"]},"hardwareBacked":{"default":"any","type":"string","enum":["required","preferred","any"]},"keyUsages":{"default":["digitalSignature"],"type":"array","items":{"type":"string","minLength":1}},"signatureFormat":{"type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]},"preferredDeviceRef":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"trust.certificate.resolve"},"providerCode":{"type":"string","minLength":1},"resolution":{"type":"string","enum":["selected","noMatch","ambiguous"]},"selected":{"type":"object","properties":{"certificateRef":{"type":"string","minLength":1},"subject":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"organizationName":{"type":"string","minLength":1},"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1},"identifiers":{"default":[],"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":2}},"required":["scheme","value"],"additionalProperties":false}}},"required":["displayName","identifiers"],"additionalProperties":false},"issuer":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"organizationName":{"type":"string","minLength":1},"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1},"identifiers":{"default":[],"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":2}},"required":["scheme","value"],"additionalProperties":false}}},"required":["displayName","identifiers"],"additionalProperties":false},"serialNumber":{"type":"string","minLength":1},"thumbprint":{"type":"string","minLength":1},"validFrom":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validTo":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"keyAlgorithm":{"type":"string","minLength":1},"signatureAlgorithm":{"type":"string","minLength":1},"keyUsages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"status":{"default":"unknown","type":"string","enum":["valid","notYetValid","expired","revoked","unknown"]},"usableForSigning":{"default":false,"type":"boolean"},"qualified":{"default":"unknown","type":"string","enum":["yes","no","unknown"]},"hardwareBacked":{"default":false,"type":"boolean"},"deviceRef":{"type":"string","minLength":1},"cryptoProviderRef":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["certificateRef","subject","keyUsages","status","usableForSigning","qualified","hardwareBacked","externalIds","metadata"],"additionalProperties":false},"candidates":{"default":[],"type":"array","items":{"type":"object","properties":{"certificateRef":{"type":"string","minLength":1},"subject":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"organizationName":{"type":"string","minLength":1},"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1},"identifiers":{"default":[],"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":2}},"required":["scheme","value"],"additionalProperties":false}}},"required":["displayName","identifiers"],"additionalProperties":false},"issuer":{"type":"object","properties":{"displayName":{"type":"string","minLength":1},"organizationName":{"type":"string","minLength":1},"givenName":{"type":"string","minLength":1},"familyName":{"type":"string","minLength":1},"identifiers":{"default":[],"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","minLength":1},"value":{"type":"string","minLength":1},"jurisdiction":{"type":"string","minLength":2}},"required":["scheme","value"],"additionalProperties":false}}},"required":["displayName","identifiers"],"additionalProperties":false},"serialNumber":{"type":"string","minLength":1},"thumbprint":{"type":"string","minLength":1},"validFrom":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validTo":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"keyAlgorithm":{"type":"string","minLength":1},"signatureAlgorithm":{"type":"string","minLength":1},"keyUsages":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"status":{"default":"unknown","type":"string","enum":["valid","notYetValid","expired","revoked","unknown"]},"usableForSigning":{"default":false,"type":"boolean"},"qualified":{"default":"unknown","type":"string","enum":["yes","no","unknown"]},"hardwareBacked":{"default":false,"type":"boolean"},"deviceRef":{"type":"string","minLength":1},"cryptoProviderRef":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["certificateRef","subject","keyUsages","status","usableForSigning","qualified","hardwareBacked","externalIds","metadata"],"additionalProperties":false}},"reasonCode":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","providerCode","resolution","candidates","reasonCode","metadata"],"additionalProperties":false}},{"code":"trust.device.list","version":"0.1.0","page":"/demo/?operation=trust.device.list","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"kinds":{"default":[],"type":"array","items":{"type":"string","enum":["hardwareToken","smartCard","hsm","secureElement","softwareStore","other"]}},"presentOnly":{"default":true,"type":"boolean"},"pageSize":{"default":50,"type":"integer","minimum":1,"maximum":200},"pageToken":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"trust.device.list"},"providerCode":{"type":"string","minLength":1},"items":{"type":"array","items":{"type":"object","properties":{"deviceRef":{"type":"string","minLength":1},"kind":{"type":"string","enum":["hardwareToken","smartCard","hsm","secureElement","softwareStore","other"]},"displayName":{"type":"string","minLength":1},"manufacturer":{"type":"string","minLength":1},"model":{"type":"string","minLength":1},"connection":{"type":"string","enum":["usb","nfc","bluetooth","network","virtual","internal","unknown"]},"state":{"type":"string","enum":["available","busy","locked","unavailable","unsupported"]},"cryptographicMode":{"default":"unknown","type":"string","enum":["active","passive","hybrid","unknown"]},"supportsKeyStorage":{"default":true,"type":"boolean"},"supportsHardwareSigning":{"default":false,"type":"boolean"},"authenticationMode":{"default":"unknown","type":"string","enum":["pin","biometric","external","none","unknown"]},"algorithms":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["deviceRef","kind","displayName","connection","state","cryptographicMode","supportsKeyStorage","supportsHardwareSigning","authenticationMode","algorithms","externalIds","metadata"],"additionalProperties":false}},"nextPageToken":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","providerCode","items","metadata"],"additionalProperties":false}},{"code":"trust.digitalSignature.create","version":"0.1.0","page":"/demo/?operation=trust.digitalSignature.create","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"certificate":{"type":"object","properties":{"certificateRef":{"type":"string","minLength":1},"thumbprint":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}}},"targets":{"minItems":1,"type":"array","items":{"type":"object","properties":{"targetId":{"type":"string","minLength":1},"name":{"type":"string","minLength":1},"digest":{"type":"object","properties":{"valueBase64":{"type":"string","minLength":1},"algorithm":{"type":"string","minLength":1},"providerAlgorithmCode":{"type":"string","minLength":1}},"required":["valueBase64"]},"contentUrl":{"type":"string","format":"uri"},"signatureFormat":{"default":"providerDefined","type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["targetId","digest"]}},"signatureFormat":{"type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]},"confirmUserPresence":{"type":"boolean","const":true},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["certificate","targets","signatureFormat","confirmUserPresence"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"trust.digitalSignature.create"},"providerCode":{"type":"string","minLength":1},"signatures":{"minItems":1,"type":"array","items":{"type":"object","properties":{"targetId":{"type":"string","minLength":1},"fileName":{"type":"string","minLength":1},"valueBase64":{"type":"string","minLength":1},"format":{"type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]},"certificate":{"type":"object","properties":{"certificateRef":{"type":"string","minLength":1},"thumbprint":{"type":"string","minLength":1},"externalIds":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","minLength":1}}},"required":["externalIds"],"additionalProperties":false},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["targetId","valueBase64","format","certificate","metadata"],"additionalProperties":false}},"userPresenceVerified":{"type":"boolean"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","providerCode","signatures","userPresenceVerified","metadata"],"additionalProperties":false}},{"code":"trust.signingEnvironment.configure","version":"0.1.0","page":"/demo/?operation=trust.signingEnvironment.configure","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"environmentRef":{"type":"string","minLength":1},"setupPlanRef":{"type":"string","minLength":1},"requirements":{"default":{"signatureFormats":[],"digestAlgorithms":[],"keyAlgorithms":[],"qualifiedSignature":"any","hardwareBacked":"any","metadata":{}},"type":"object","properties":{"signatureFormats":{"default":[],"type":"array","items":{"type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]}},"digestAlgorithms":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"keyAlgorithms":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"qualifiedSignature":{"default":"any","type":"string","enum":["required","preferred","any"]},"hardwareBacked":{"default":"any","type":"string","enum":["required","preferred","any"]},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"allowSoftwareInstallation":{"default":true,"type":"boolean"},"allowSoftwareUpdates":{"default":true,"type":"boolean"},"allowLicenseActivation":{"default":true,"type":"boolean"},"confirmSystemChanges":{"type":"boolean","const":true},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["confirmSystemChanges"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"trust.signingEnvironment.configure"},"providerCode":{"type":"string","minLength":1},"environment":{"type":"object","properties":{"environmentRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["ready","setupRequired","restartRequired","blocked","error"]},"platform":{"type":"string","enum":["windows","linux","macos","other"]},"architecture":{"type":"string","minLength":1},"components":{"type":"array","items":{"type":"object","properties":{"componentRef":{"type":"string","minLength":1},"kind":{"type":"string","enum":["localBridge","deviceMiddleware","cryptographicProvider","certificateStore","timeStampAuthority","other"]},"name":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"version":{"type":"string","minLength":1},"state":{"type":"string","enum":["ready","missing","outdated","unlicensed","misconfigured","unsupported","error"]},"required":{"default":true,"type":"boolean"},"canConfigureAutomatically":{"default":false,"type":"boolean"},"requiresElevation":{"default":false,"type":"boolean"},"requiresRestart":{"default":false,"type":"boolean"},"userAction":{"default":"none","type":"string","enum":["none","approveElevation","acquireLicense","restart","contactSupport"]},"message":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["componentRef","kind","name","state","required","canConfigureAutomatically","requiresElevation","requiresRestart","userAction","metadata"],"additionalProperties":false}},"checkedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["environmentRef","state","platform","architecture","components","checkedAt","metadata"],"additionalProperties":false},"actions":{"type":"array","items":{"type":"object","properties":{"actionRef":{"type":"string","minLength":1},"kind":{"type":"string","enum":["install","update","configure","activateLicense","restartService","restartSystem"]},"componentRef":{"type":"string","minLength":1},"status":{"type":"string","enum":["completed","pending","skipped","failed"]},"message":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["actionRef","kind","componentRef","status","metadata"],"additionalProperties":false}},"completed":{"type":"boolean"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","providerCode","environment","actions","completed","metadata"],"additionalProperties":false}},{"code":"trust.signingEnvironment.inspect","version":"0.1.0","page":"/demo/?operation=trust.signingEnvironment.inspect","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requirements":{"default":{"signatureFormats":[],"digestAlgorithms":[],"keyAlgorithms":[],"qualifiedSignature":"any","hardwareBacked":"any","metadata":{}},"type":"object","properties":{"signatureFormats":{"default":[],"type":"array","items":{"type":"string","enum":["raw","cmsDetached","cadesBes","xmlDsig","providerDefined"]}},"digestAlgorithms":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"keyAlgorithms":{"default":[],"type":"array","items":{"type":"string","minLength":1}},"qualifiedSignature":{"default":"any","type":"string","enum":["required","preferred","any"]},"hardwareBacked":{"default":"any","type":"string","enum":["required","preferred","any"]},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"trust.signingEnvironment.inspect"},"providerCode":{"type":"string","minLength":1},"environment":{"type":"object","properties":{"environmentRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["ready","setupRequired","restartRequired","blocked","error"]},"platform":{"type":"string","enum":["windows","linux","macos","other"]},"architecture":{"type":"string","minLength":1},"components":{"type":"array","items":{"type":"object","properties":{"componentRef":{"type":"string","minLength":1},"kind":{"type":"string","enum":["localBridge","deviceMiddleware","cryptographicProvider","certificateStore","timeStampAuthority","other"]},"name":{"type":"string","minLength":1},"providerCode":{"type":"string","minLength":1},"version":{"type":"string","minLength":1},"state":{"type":"string","enum":["ready","missing","outdated","unlicensed","misconfigured","unsupported","error"]},"required":{"default":true,"type":"boolean"},"canConfigureAutomatically":{"default":false,"type":"boolean"},"requiresElevation":{"default":false,"type":"boolean"},"requiresRestart":{"default":false,"type":"boolean"},"userAction":{"default":"none","type":"string","enum":["none","approveElevation","acquireLicense","restart","contactSupport"]},"message":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["componentRef","kind","name","state","required","canConfigureAutomatically","requiresElevation","requiresRestart","userAction","metadata"],"additionalProperties":false}},"checkedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["environmentRef","state","platform","architecture","components","checkedAt","metadata"],"additionalProperties":false},"setupPlanRef":{"type":"string","minLength":1},"metadata":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationCode","providerCode","environment","metadata"],"additionalProperties":false}},{"code":"workforce.assignment.create","version":"0.1.0","page":"/demo/?operation=workforce.assignment.create","availableOnSite":"description"},{"code":"workforce.employment.create","version":"0.1.0","page":"/demo/?operation=workforce.employment.create","availableOnSite":"description"},{"code":"workforce.employment.end","version":"0.1.0","page":"/demo/?operation=workforce.employment.end","availableOnSite":"description"},{"code":"workforce.leave.request","version":"0.1.0","page":"/demo/?operation=workforce.leave.request","availableOnSite":"description"},{"code":"workforce.payroll.calculate","version":"0.1.0","page":"/demo/?operation=workforce.payroll.calculate","availableOnSite":"description"},{"code":"workforce.shift.schedule","version":"0.1.0","page":"/demo/?operation=workforce.shift.schedule","availableOnSite":"description"},{"code":"workforce.timeEntry.record","version":"0.1.0","page":"/demo/?operation=workforce.timeEntry.record","availableOnSite":"description"},{"code":"workforce.workSession.correct","version":"0.1.0","page":"/demo/?operation=workforce.workSession.correct","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedCorrectionRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"workedMilliseconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"reason":{"type":"string","minLength":1,"maxLength":1000},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["sessionId","expectedCorrectionRevision","workedMilliseconds","reason","idempotencyKey"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"workforce.workSession.correct"},"correctionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"correctionRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"beforeMilliseconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"workedMilliseconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"reason":{"type":"string","minLength":1},"actorId":{"type":"string","minLength":1},"recordedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["operationCode","correctionId","sessionId","correctionRevision","beforeMilliseconds","workedMilliseconds","reason","actorId","recordedAt"],"additionalProperties":false}},{"code":"workforce.workSession.transition","version":"0.1.0","page":"/demo/?operation=workforce.workSession.transition","availableOnSite":"contract","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"workerId":{"type":"string","minLength":1,"maxLength":200},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action":{"type":"string","const":"start"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200},"id":{"type":"string","minLength":1,"maxLength":200}},"required":["type","id"],"additionalProperties":false}},"required":["workerId","idempotencyKey","action","target"],"additionalProperties":false},{"type":"object","properties":{"workerId":{"type":"string","minLength":1,"maxLength":200},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"action":{"type":"string","const":"pause"},"reason":{"type":"string","minLength":1,"maxLength":500}},"required":["workerId","idempotencyKey","sessionId","expectedRevision","action","reason"],"additionalProperties":false},{"type":"object","properties":{"workerId":{"type":"string","minLength":1,"maxLength":200},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"action":{"type":"string","const":"resume"}},"required":["workerId","idempotencyKey","sessionId","expectedRevision","action"],"additionalProperties":false},{"type":"object","properties":{"workerId":{"type":"string","minLength":1,"maxLength":200},"idempotencyKey":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"action":{"type":"string","const":"finish"},"note":{"type":"string","maxLength":1000}},"required":["workerId","idempotencyKey","sessionId","expectedRevision","action"],"additionalProperties":false}]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operationCode":{"type":"string","const":"workforce.workSession.transition"},"session":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workerId":{"type":"string","minLength":1,"maxLength":200},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":200},"id":{"type":"string","minLength":1,"maxLength":200}},"required":["type","id"],"additionalProperties":false},"state":{"type":"string","enum":["running","paused","finished"]},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"runningSince":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"workedMilliseconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"pauseReason":{"type":["string","null"]}},"required":["id","workerId","target","state","revision","startedAt","finishedAt","runningSince","workedMilliseconds","pauseReason"],"additionalProperties":false}},"required":["operationCode","session"],"additionalProperties":false}}]}
