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

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