Skip to content

Instantly share code, notes, and snippets.

@philschatz
Created January 30, 2014 15:31
Show Gist options
  • Save philschatz/8711072 to your computer and use it in GitHub Desktop.
Save philschatz/8711072 to your computer and use it in GitHub Desktop.
USER =
email:
firstname:
fullname:
id:
othername:
suffix:
surname:
title:
website:
WEBVIEW =
# The following are identical between the 2 formats
id: '1d1fd537-77fb-4eac-8a8a-60bbaa747b6d'
title: 'Introduction to ...'
mediaType: 'application/vnd.org.cnx.module'
authors: [ USER ]
language: 'en'
# The following differ only in the key
licensors: [ USER ]
revised: '2012-07-06T01:00:59Z'
googleAnalytics: ''
# The following differ in the value (and maybe the key)
content: '<html/>'
subject: 'Mathematics and Statistics'
# The following are specific to this format (but should not be)
abstract: '<div/>'
buyLink: 'http://'
license:
code: 'by'
name: 'Creative Commons Attribution License'
url: 'http://creativecommons.org/licenses/by/3.0/'
version: '3.0'
# The following are specific to this format
created: '2011-12-28T17:41:38Z'
submitter: USER
version: '3'
history: [
changes: ''
publisher: USER
revised:
version: '3'
]
legacy_id:
legacy_version:
parentAuthors: []
parentId: null
parentVersion: ''
doctype: ''
stateid: 1
submitlog: 'updated images'
# ---------------
maintainers: [ USER ]
roles: null
# ==========================
# ==========================
# ==========================
USER =
id:
title:
ATC =
# The following are identical between the 2 formats
id: 'uuid-5'
title: 'Module in a Simple Book'
mediaType: 'application/vnd.org.cnx.module'
authors: [ USER ]
language: 'en-US'
# The following differ only in the key
copyrightHolders: [ USER ]
dateLastModifiedUTC: '2014-01-30T00:08:27.342Z'
googleTrackingID: [] # ???
# The following differ in the value (and maybe the key)
body: '<div/>'
subjects: [ 'Subject 1' ]
# The following are specific to this format
editors: [ USER ]
keywords: [ 'keyword1' ]
translators: [ USER ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment