edas / cozy-doctypes

The doctypes used in cozy-stack

Home Page:https://cozy.github.io/cozy-doctypes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of contents

Cozy doctypes

Remote doctypes

This repository is where the declaration of remote doctypes is done. Read more about remote doctypes in the cozy stack repository.

External doctypes

Metadata

Every doctype should have metadata fields.

  • version is be useful for migrations
  • dateImport is useful for debugging purposes
{
  _id: '123456',
  metadata: {
    version: 1,
    dateImport: '2018-02-22T14:54:36.861Z'
  }
}

Date format

Date should be formatted in ISO8601 :

  • 2017-04-22T01:00:00-05:00
  • 2017-04-22T01:00:00Z
  • 2017-04-22 01:00

About

The doctypes used in cozy-stack

https://cozy.github.io/cozy-doctypes/

License:GNU Affero General Public License v3.0