---
title: "ResultType"
url: "https://apiportal-qa.np.six-group.com/apis/simulator-ch-qa-v1/versions/c729661a-062a-4141-9704-f637226fa5f0/schemas/ResultType"
---

> Full API specification: https://apiportal-qa.np.six-group.com/apis/simulator-ch-qa-v1/versions/c729661a-062a-4141-9704-f637226fa5f0.md

# ResultType

Data structure for all operations.

## OpenAPI definition

```yaml
openapi: 3.0.2
info:
  title: DCleaR - Risk Simulator API - v1
  version: 1.0.0
servers:
  - url: https://api-qa.np.six-group.com/clearing/risk/simulator/dev/v1
  - url: https://api-qa.np.p2p.six-group.com/clearing/risk/simulator/dev/v1
  - url: https://api-qa.np.fip.six-group.com/clearing/risk/simulator/dev/v1
components:
  schemas:
    ResultAttributesType:
      required:
        - baseInitialMargin
        - finalInitialMargin
        - member
        - positionSizeAdjustment
        - wrongWayRisk
      type: object
      properties:
        member:
          maxLength: 50
          minLength: 1
          type: string
          description: Name of the member account for the IM group calculation
          example: Member-1
        baseInitialMargin:
          type: number
          description: Initial margin is the percentage of the purchase price of a
            security that must be covered by cash or collateral when using a
            margin account
          format: double
          example: 100
        positionSizeAdjustment:
          type: number
          description: The number of units invested in a particular security by an
            investor or trader
          format: double
          example: 50
        wrongWayRisk:
          type: number
          description: In the field of finance, a wrong way risk (WWR) occurs when credit
            exposure to a counterparty is negatively correlated with the credit
            quality of that counterparty
          format: double
          example: 45
        finalInitialMargin:
          type: number
          description: Aggregated value of baseInitialMargin, positionSizeAdjustment and
            wrongWayRisk.
          format: double
          example: 195
      description: Basic attributes of the object.
    BasicResourceType:
      required:
        - type
      type: object
      properties:
        id:
          $ref: "#/components/schemas/UUIDType"
        type:
          type: string
          description: Type of the resource attributes being represented
          example: simulation
          enum:
            - simulation
            - calculation
            - result
            - open-position
            - import-open-positions
            - result-detail
            - report
    UUIDType:
      pattern: ^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$
      type: string
      description: UUID type implementing the [RFC
        4122](https://www.ietf.org/rfc/rfc4122.txt).
      format: string
      example: 95b1b467-bd69-4436-8181-96c16408c230
    ResultType:
      type: object
      description: Data structure for all operations.
      allOf:
        - type: object
          properties:
            attributes:
              $ref: "#/components/schemas/ResultAttributesType"
        - $ref: "#/components/schemas/BasicResourceType"
```
