github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2919/edge-api/shared/identities.yml (about)

     1  ---
     2  
     3  definitions:
     4    identityList:
     5      description: A list of identities
     6      type: array
     7      items:
     8        $ref: '#/definitions/identityDetail'
     9    identityDetail:
    10      description: Detail of a specific identity
    11      type: object
    12      allOf:
    13        - $ref: 'base-entity.yml#/definitions/baseEntity'
    14        - type: object
    15          required:
    16            - name
    17            - type
    18            - typeId
    19            - isDefaultAdmin
    20            - isAdmin
    21            - authenticators
    22            - enrollment
    23            - envInfo
    24            - sdkInfo
    25            - roleAttributes
    26            - hasEdgeRouterConnection
    27            - hasApiSession
    28            - isMfaEnabled
    29            - serviceHostingPrecedences
    30            - serviceHostingCosts
    31            - defaultHostingCost
    32            - authPolicyId
    33            - externalId
    34            - disabled
    35          properties:
    36            name:
    37              type: string
    38            type:
    39              $ref: 'base-entity.yml#/definitions/entityRef'
    40            typeId:
    41              type: string
    42            isDefaultAdmin:
    43              type: boolean
    44            isAdmin:
    45              type: boolean
    46            authenticators:
    47              $ref: '#/definitions/identityAuthenticators'
    48            enrollment:
    49              $ref: '#/definitions/identityEnrollments'
    50            envInfo:
    51              $ref: 'authenticate.yml#/definitions/envInfo'
    52            sdkInfo:
    53              $ref: 'authenticate.yml#/definitions/sdkInfo'
    54            roleAttributes:
    55              $ref: 'base-entity.yml#/definitions/attributes'
    56            hasEdgeRouterConnection:
    57              type: boolean
    58            hasApiSession:
    59              type: boolean
    60            isMfaEnabled:
    61              type: boolean
    62            authPolicyId:
    63              type: string
    64            defaultHostingPrecedence:
    65              $ref: 'terminators.yml#/definitions/terminatorPrecedence'
    66            defaultHostingCost:
    67              $ref: 'terminators.yml#/definitions/terminatorCost'
    68            serviceHostingPrecedences:
    69              $ref: 'terminators.yml#/definitions/terminatorPrecedenceMap'
    70            serviceHostingCosts:
    71              $ref: 'terminators.yml#/definitions/terminatorCostMap'
    72            appData:
    73              $ref: 'base-entity.yml#/definitions/tags'
    74            externalId:
    75              type: string
    76              x-nullable: true
    77            disabled:
    78              type: boolean
    79            disabledAt:
    80              type: string
    81              format: date-time
    82              x-nullable: true
    83            disabledUntil:
    84              type: string
    85              format: date-time
    86              x-nullable: true
    87    identityAuthenticators:
    88      type: object
    89      properties:
    90        updb:
    91          properties:
    92            id:
    93              type: string
    94            username:
    95              type: string
    96          type: object
    97        cert:
    98          type: object
    99          properties:
   100            id:
   101              type: string
   102            fingerprint:
   103              type: string
   104    identityEnrollments:
   105      type: object
   106      properties:
   107        updb:
   108          type: object
   109          properties:
   110            id:
   111              type: string
   112            token:
   113              type: string
   114            jwt:
   115              type: string
   116            expiresAt:
   117              type: string
   118              format: date-time
   119        ott:
   120          type: object
   121          properties:
   122            id:
   123              type: string
   124            token:
   125              type: string
   126            jwt:
   127              type: string
   128            expiresAt:
   129              type: string
   130              format: date-time
   131        ottca:
   132          type: object
   133          properties:
   134            id:
   135              type: string
   136            token:
   137              type: string
   138            jwt:
   139              type: string
   140            caId:
   141              type: string
   142            ca:
   143              $ref: 'base-entity.yml#/definitions/entityRef'
   144            expiresAt:
   145              type: string
   146              format: date-time