dex/vendor/google.golang.org/api/google-api-go-generator/testdata/mapofany.json
2016-04-08 11:56:29 -07:00

51 lines
1.2 KiB
JSON

{
"kind": "discovery#restDescription",
"etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
"discoveryVersion": "v1",
"id": "mapofany:v1",
"name": "mapofany",
"version": "v1",
"title": "Example API",
"description": "The Example API demonstrates an associative array.",
"ownerDomain": "google.com",
"ownerName": "Google",
"protocol": "rest",
"schemas": {
"TableDataInsertAllRequest": {
"id": "TableDataInsertAllRequest",
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "The resource type of the response.",
"default": "bigquery#tableDataInsertAllRequest"
},
"rows": {
"type": "array",
"description": "The rows to insert.",
"items": {
"type": "object",
"properties": {
"json": {
"$ref": "JsonObject",
"description": "[Required] A JSON object that contains a row of data. The object's properties and values must match the destination table's schema."
}
}
}
}
}
},
"JsonObject": {
"id": "JsonObject",
"type": "object",
"description": "Represents a single JSON object.",
"additionalProperties": {
"$ref": "JsonValue"
}
},
"JsonValue": {
"id": "JsonValue",
"type": "any"
}
}
}