github.com/mmatczuk/gohan@v0.0.0-20170206152520-30e45d9bdb69/examples/mysql/example_schema.yaml (about)

     1  extensions: []
     2  schemas:
     3  - description: Network
     4    id: network
     5    parent: ""
     6    plural: networks
     7    prefix: /v2.0
     8    schema:
     9      properties:
    10        id:
    11          description: ""
    12          format: uuid
    13          permission:
    14          - create
    15          title: ID
    16          type: string
    17          unique: true
    18        name:
    19          default: ""
    20          description: ""
    21          permission:
    22          - create
    23          - update
    24          title: Name
    25          type: string
    26          unique: false
    27        tenant_id:
    28          description: ""
    29          format: uuid
    30          permission:
    31          - create
    32          title: Tenant id
    33          type: string
    34          unique: false
    35      propertiesOrder:
    36      - id
    37      - name
    38      - tenant_id
    39    singular: network
    40    title: Network