Skip to main content

Home > git-documentdb > JsonDocMetadata

JsonDocMetadata type#

Metadata for JsonDoc

export declare type JsonDocMetadata = {
_id: string;
name: string;
fileOid: string;
type: 'json';


  • _id: _id of a JSON document. This is a file name without extension.

  • name: A file name in Git. e.g.) "foo.json", "bar/"

  • fileOid: SHA-1 hash of Git object (40 characters)

  • type: type shows a DocType. type of JsonDocMetadata is fixed to 'json'.