diff --git a/p-transaction.yml b/p-transaction.yml index c0544f58..faecf3f7 100644 --- a/p-transaction.yml +++ b/p-transaction.yml @@ -227,34 +227,8 @@ components: TransactionProcessRequest: type: object properties: - tag: - type: string - description: "session id" processParam: - $ref: "./p-process.yml#/components/schemas/ProcessParams" - List: - type: array - items: - $ref: "./p-process.yml#/components/schemas/ProcessRequestImage" - livePortrait: - type: string - format: base64 - example: "Base64 encoded data" - description: "Live portrait photo" - extPortrait: - type: string - format: base64 - example: "Base64 encoded data" - description: "Portrait photo from an external source" - ContainerList: - $ref: "./rt.yml#/components/schemas/ContainerList" - systemInfo: - $ref: "./p-process.yml#/components/schemas/ProcessSystemInfo" - passBackObject: - type: object - description: "Free-form object to be included in response. Must be object, not list or simple value. - Do not affect document processing. Use it freely to pass your app params. Stored in process logs." - additionalProperties: true + $ref: "#/components/schemas/TransactionScenarioRequest" required: - processParam @@ -285,3 +259,9 @@ components: url: type: string description: "Image url" + + TransactionScenarioRequest: + type: object + properties: + scenario: + $ref: "./common.yml#/components/schemas/Scenario"