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

     1  ---
     2  comment:
     3    type: object
     4    title: comment
     5    properties:
     6      id:
     7        type: string
     8      message:
     9        type: string
    10      has_replies:
    11        type: boolean
    12      user:
    13        "$ref": "./user_preview.yaml#/user_preview"
    14      created_at:
    15        type: string
    16        format: date-time
    17      updated_at:
    18        type: string
    19        format: date-time
    20      mentioned_users:
    21        type: array
    22        items:
    23          "$ref": "./user_preview.yaml#/user_preview"
    24      locales:
    25        type: array
    26        items:
    27          "$ref": "./locale_preview.yaml#/locale_preview"
    28    example:
    29      id: abcd1234cdef1234abcd1234cdef1234
    30      message: Some message...
    31      has_replies: true
    32      user:
    33        id: abcd1234cdef1234abcd1234cdef1234
    34        username: joe.doe
    35        name: Joe Doe
    36      created_at: '2015-01-28T09:52:53Z'
    37      updated_at: '2015-01-28T09:52:53Z'
    38      locales:
    39      - id: abcd1234cdef1234abcd1234cdef1234
    40        name: English
    41        code: en-GB