{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PUT JSON Schema for logicalNetworks",
"type": "object",
"definitions": {
"resourceMetadata": {
"properties": {
"client": {
"type": "string"
},
"tenantId": {
"type": "string"
},
"groupId": {
"type": "string"
},
"resourceName": {
"type": "string"
},
"originalHref": {
"type": "string"
}
}
},
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"etag": {
"type": "string"
},
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"tags": {
"additionalProperties": { "type": "string" }
},
"properties": {
"properties": {
"subnets": {
"type": "array",
"items": {
"type": "object",
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"etag": {
"type": "string"
},
"properties": {
"type": "object",
"properties": {
"addressPrefix": {
"type": "string"
},
"vlanID": {
"type": "string"
},
"routes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceRef": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"resourceMetadata": {
"$ref": "#/definitions/resourceMetadata"
},
"etag": {
"type": "string"
},
"properties": {
"type": "object",
"properties": {
"destination": {
"type": "string"
},
"nextHop": {
"type": "string"
}
}
}
},
"required": [
"resourceId",
"properties"
]
}
},
"dnsServers": {
"type": "array",
"items": {
"type": "string"
}
},
"defaultGateways": {
"type": "array",
"items": {
"type": "string"
}
},
"isPublic": {
"type": "boolean"
}
},
"required": [
"addressPrefix"
]
}
},
"required": [
"resourceId",
"properties"
]
}
},
"networkVirtualizationEnabled": {
"type": "string"
}
}
}
},
"required": [
"resourceId",
"properties"
]
}