github.com/mmatczuk/gohan@v0.0.0-20170206152520-30e45d9bdb69/extension/gohanscript/lib/tests/schema.yaml (about)

     1  schemas:
     2  - id: network
     3    plural: networks
     4    prefix: /v2.0
     5    description: Network
     6    schema:
     7      properties:
     8        id:
     9          permission:
    10          - create
    11          title: ID
    12          type: string
    13          format: uuid
    14          unique: true
    15          description: ID
    16          view:
    17          - detail
    18        name:
    19          permission:
    20          - create
    21          - update
    22          title: Name
    23          type: string
    24          unique: false
    25          description: Name
    26      propertiesOrder:
    27      - id
    28      - name
    29      type: object
    30    singular: network
    31    title: Network
    32  - id: subnet
    33    plural: subnets
    34    prefix: /v2.0
    35    description: Subnet
    36    parent: network
    37    schema:
    38      properties:
    39        id:
    40          permission:
    41          - create
    42          title: ID
    43          type: string
    44          format: uuid
    45          unique: true
    46          description: ID
    47          view:
    48          - detail
    49        cidr:
    50          permission:
    51          - create
    52          - update
    53          title: Cidr
    54          type: string
    55          unique: false
    56          description: Cidr
    57      propertiesOrder:
    58      - id
    59      - cidr
    60      type: object
    61    singular: subnet
    62    title: Subnet