github.com/mmatczuk/gohan@v0.0.0-20170206152520-30e45d9bdb69/examples/keystone/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 firewall_id: 11 description: "" 12 permission: 13 - create 14 relation: firewall 15 title: Firewall 16 type: string 17 unique: false 18 id: 19 description: "" 20 format: uuid 21 permission: 22 - create 23 title: ID 24 type: string 25 unique: true 26 name: 27 default: "" 28 description: "" 29 permission: 30 - create 31 - update 32 title: Name 33 type: string 34 unique: false 35 tenant_id: 36 description: "" 37 format: uuid 38 permission: 39 - create 40 title: Tenant id 41 type: string 42 unique: false 43 propertiesOrder: 44 - id 45 - name 46 - tenant_id 47 - firewall_id 48 singular: network 49 title: Network 50 - description: Firewall 51 id: firewall 52 parent: "" 53 plural: firewalls 54 prefix: /v2.0 55 schema: 56 properties: 57 id: 58 description: "" 59 permission: 60 - create 61 title: ID 62 type: string 63 unique: true 64 view: 65 - detail 66 name: 67 default: "" 68 description: "" 69 permission: 70 - create 71 title: Name 72 type: string 73 unique: false 74 tenant_id: 75 description: "" 76 permission: 77 - create 78 title: Tenant ID 79 type: string 80 unique: false 81 view: 82 - detail 83 propertiesOrder: 84 - id 85 - name 86 - tenant_id 87 singular: firewall 88 title: Firewall 89 - description: Firewall Rule 90 id: firewall_rule 91 parent: firewall 92 plural: firewall_rules 93 prefix: /v2.0 94 schema: 95 properties: 96 action: 97 default: "" 98 description: "" 99 enum: 100 - accept 101 - reject 102 permission: 103 - create 104 title: Action 105 type: string 106 unique: false 107 destination_port: 108 default: "" 109 description: "" 110 permission: 111 - create 112 title: Destination port 113 type: string 114 unique: false 115 id: 116 description: "" 117 permission: 118 - create 119 title: ID 120 type: string 121 unique: true 122 view: 123 - detail 124 protocol: 125 default: "" 126 description: "" 127 enum: 128 - icmp 129 - udp 130 - tcp 131 permission: 132 - create 133 title: Protocol 134 type: string 135 unique: false 136 tenant_id: 137 description: "" 138 permission: 139 - create 140 title: Tenant ID 141 type: string 142 unique: false 143 view: 144 - detail 145 propertiesOrder: 146 - id 147 - protocol 148 - destination_port 149 - tenant_id 150 - action 151 singular: firewall_rule 152 title: Firewall Rule 153 - description: device 154 id: device 155 plural: devices 156 prefix: /v2.0 157 schema: 158 properties: 159 id: 160 description: ID 161 format: uuid 162 permission: 163 - create 164 title: ID 165 type: string 166 unique: true 167 management_ip: 168 description: Management IP 169 permission: 170 - create 171 title: management ip address 172 type: string 173 unique: false 174 name: 175 description: Name 176 permission: 177 - create 178 - update 179 title: Name 180 type: string 181 unique: false 182 status: 183 description: status 184 permission: [] 185 title: Status 186 type: string 187 unique: false 188 tenant_id: 189 description: TenantID 190 permission: 191 - create 192 title: TenantID 193 type: string 194 unique: false 195 propertiesOrder: 196 - id 197 - name 198 - management_ip 199 - status 200 - tenant_id 201 type: object 202 singular: device 203 title: Device 204 - description: test 205 id: test 206 plural: tests 207 schema: 208 properties: 209 description: 210 description: Description 211 permission: 212 - create 213 - update 214 title: Description 215 type: string 216 id: 217 description: ID 218 permission: 219 - create 220 title: ID 221 type: string 222 view: 223 - detail 224 name: 225 description: Name 226 permission: 227 - create 228 - update 229 title: Name 230 type: string 231 tenant_id: 232 description: Tenant ID 233 permission: 234 - create 235 title: Tenant ID 236 type: string 237 view: 238 - detail 239 test5: 240 description: test5 241 permission: 242 - create 243 - update 244 title: test5 245 type: string 246 propertiesOrder: 247 - id 248 - name 249 - description 250 - tenant_id 251 - test5 252 required: [] 253 type: object 254 singular: test 255 title: test