github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/schemas/member_project_detail.yaml (about)

     1  ---
     2  member_project_detail:
     3    type: object
     4    title: member_project_detail
     5    properties:
     6      id:
     7        type: string
     8      email:
     9        type: string
    10      username:
    11        type: string
    12      role:
    13        type: string
    14      projects:
    15        type: array
    16        items:
    17          "$ref": "./project_locales.yaml#/project_locales"
    18      permissions:
    19        type: object
    20      locale_ids:
    21        type: array
    22        items:
    23          type: string
    24      default_locale_codes:
    25        type: array
    26        items:
    27          type: string
    28      spaces:
    29        type: array
    30        items:
    31          type: object
    32          properties:
    33            id:
    34              type: string
    35            name:
    36              type: string
    37            created_at:
    38              type: string
    39              format: date-time
    40            updated_at:
    41              type: string
    42              format: date-time
    43            projects_count:
    44              type: integer
    45      project_roles: 
    46        type: array
    47        items:
    48          type: object
    49          properties:
    50            project_id:
    51              type: string
    52            role:
    53              type: string
    54    example:
    55      id: acbdacbdacbdacbdacbdacbd
    56      email: foo@bar.com
    57      username: myname
    58      role: Manager
    59      projects:
    60      - id: abcd1234cdef1234abcd1234cdef1234
    61        name: My Android Project
    62        main_format: xml
    63        created_at: '2015-01-28T09:52:53Z'
    64        updated_at: '2015-01-28T09:52:53Z'
    65        locales:
    66        - id: abcd1234cdef1234abcd1234cdef1234
    67          name: English
    68          code: en-Gb
    69      permissions:
    70      - create_upload: true
    71        review_translations: true
    72      locale_ids:
    73      - abcd1234abcd1234abcd1234
    74      - abcd1234abcd1234abcd1235
    75      default_locale_codes:
    76      - en
    77      - fi
    78      spaces:
    79      - id: "04d36d845576b9d494d05e0b70fe813b"
    80        name: "Space2"
    81        created_at: "2020-12-07T12:56:21Z"
    82        updated_at: "2020-12-07T12:56:21Z"
    83        projects_count: 1
    84      project_roles:
    85      - project_id: abcd1234cdef1234abcd1234cdef1234
    86        role: Developer