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

     1  ---
     2  custom_metadata_property:
     3    type: object
     4    title: custom_metadata_property
     5    properties:
     6      id:
     7        type: string
     8      name:
     9        type: string
    10      description:
    11        type: string
    12      data_type:
    13        "$ref": "./custom_metadata_data_type.yaml#/data_type"
    14      user:
    15        "$ref": "./user_preview.yaml#/user_preview"
    16      projects:
    17        type: array
    18        items:
    19          "$ref": "./project_short.yaml#/project_short"
    20      value_options:
    21        type: array
    22        items:
    23          type: string
    24      created_at:
    25        type: string
    26        format: date-time
    27      updated_at:
    28        type: string
    29        format: date-time
    30    example:
    31      id: abcd1234cdef1234abcd1234cdef1234
    32      name: Nuts
    33      description: A healthy snack for all ages
    34      data_type: multi_select
    35      user:
    36        id: abcd1234cdef1234abcd1234cdef1234
    37        username: joe.doe
    38        name: Joe Doe
    39      created_at: '2015-01-28T09:52:53Z'
    40      updated_at: '2015-01-28T09:52:53Z'
    41      projects:
    42      - id: abcd1234cdef1234abcd1234cdef1234
    43        name: My Android Project
    44        main_format: xml
    45        created_at: '2015-01-28T09:52:53Z'
    46        updated_at: '2015-01-28T09:52:53Z'
    47      value_options:
    48        - apple
    49        - banana
    50        - coconut
    51