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

     1  ---
     2  translation:
     3    type: object
     4    title: translation
     5    properties:
     6      id:
     7        type: string
     8      content:
     9        type: string
    10        x-json-tag: json:"content"
    11      unverified:
    12        type: boolean
    13      excluded:
    14        type: boolean
    15      plural_suffix:
    16        type: string
    17      key:
    18        "$ref": "./key_preview.yaml#/key_preview"
    19      locale:
    20        "$ref": "./locale_preview.yaml#/locale_preview"
    21      placeholders:
    22        type: array
    23        items:
    24          type: string
    25      state:
    26        type: string
    27      created_at:
    28        type: string
    29        format: date-time
    30      updated_at:
    31        type: string
    32        format: date-time
    33    example:
    34      id: abcd1234cdef1234abcd1234cdef1234
    35      content: My translation
    36      unverified: false
    37      excluded: false
    38      plural_suffix: ''
    39      key:
    40        id: abcd1234cdef1234abcd1234cdef1234
    41        name: home.index.headline
    42        plural: false
    43      locale:
    44        id: abcd1234cdef1234abcd1234cdef1234
    45        name: de
    46        code: de-DE
    47      placeholders:
    48      - "%{count}"
    49      state: translated
    50      created_at: '2015-01-28T09:52:53Z'
    51      updated_at: '2015-01-28T09:52:53Z'