{ "type": "array", "items": { "type": "object", "required": [ "type" ], "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "apis", "database", "dataservices", "user" ] }, "apis": { "type": "array", "items": { "type": "string", "enum": [ "sql", "maps", "do" ] } }, "schemas": { "type": "array", "additionalProperties": false, "items": { "type": "object", "required": [ "name", "permissions" ], "additionalProperties": false, "properties": { "schema": { "type": "string" }, "name": { "type": "string" }, "permissions": { "type": "array", "items": { "type": "string", "enum": [ "create" ] } } } } }, "tables": { "type": "array", "additionalProperties": false, "items": { "type": "object", "required": [ "schema", "name", "permissions" ], "additionalProperties": false, "properties": { "schema": { "type": "string" }, "name": { "type": "string" }, "owner": { "type": "boolean" }, "permissions": { "type": "array", "items": { "type": "string", "enum": [ "insert", "select", "update", "delete" ] } } } } }, "services": { "type": "array", "items": { "type": "string", "enum": [ "geocoding", "routing", "isolines", "observatory" ] } }, "data": { "type": "array", "items": { "type": "string", "enum": [ "profile" ] } }, "table_metadata": { "type": "array" } } } }