From 96bc95c9528413ef3097e737db9a5920368c0b4d Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 8 Sep 2015 22:15:51 -0700 Subject: [PATCH] Update donut-metadata.md formatting changes --- donut-metadata.md | 65 ++++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/donut-metadata.md b/donut-metadata.md index df52e1c39..7a6ab62fd 100644 --- a/donut-metadata.md +++ b/donut-metadata.md @@ -1,21 +1,22 @@ ##### Users Collection -```json -minio: { - version: 1, - users: [{ - secret-key: string, - access-key: string, - status: string // enum: ok, disabled, deleted +```js + +"minio": { + "version": 1, + "users": [{ + "secret-key": string, + "access-key": string, + "status": string // enum: ok, disabled, deleted }], - hosts: [{ - address: string, - uuid: string, - status: string, // enum: ok, disabled, deleted, busy, offline, - disks: [{ - disk: string, - uuid: string, - status: string // ok, offline, disabled, busy + "hosts": [{ + "address": string, + "uuid": string, + "status": string, // enum: ok, disabled, deleted, busy, offline, + "disks": [{ + "disk": string, + "uuid": string, + "status": string // ok, offline, disabled, busy }] }] } @@ -23,32 +24,32 @@ minio: { ##### Bucket Collection -```json -buckets: { - bucket: string, // index - permissions: string, - deleted: bool +```js +"buckets": { + "bucket": string, // index + "permissions": string, + "deleted": bool } ``` ##### Object Collection -```json -objects: { - key: string, // index - createdAt: Date, - hosts[16]: [{ - host: string, - disk: string, +```js +"objects": { + "key": string, // index + "createdAt": Date, + "hosts[16]": [{ + "host": string, + "disk": string, }] - deleted: bool + "deleted": bool } ``` -```json -meta: { - key: string, // index - type: string // content-type +```js +"meta": { + "key": string, // index + "type": string // content-type // type speific meta } ```