Page MenuHomePhabricator

CollaborationKit content model JSON schema

Authored By
Harej
Feb 16 2016, 5:32 PM
Size
1 KB
Referenced Files
None
Subscribers
None

CollaborationKit content model JSON schema

{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"display_name": {
"type": "string"
},
"theme": {
"type": "object",
"properties": {
"color": {
"type": "string",
"default": "#6af"
},
"icon": {
"type": "string",
"pattern": "^(Image|File):.*"
}
}
},
"scope": {
"type": "object",
"properties": {
"include_category": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"depth": {
"type": "integer",
"default": 9
}
}
}
},
"include_page": {
"type": "array",
"items": {
"type": "string"
}
},
"exclude_category": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"depth": {
"type": "integer",
"default": 9
}
}
}
},
"exclude_page": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"contents": {
"type": "object",
"properties": {
"intro": {
"type": "string"
},
"modules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"parameter": {
"type": "string"
},
"standard_module": {
"type": "string"
},
"content_model": {
"type": "string",
"default": "wikitext"
},
"editable": {
"type": "boolean",
"default": true
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
}
}
}
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3371404
Default Alt Text
CollaborationKit content model JSON schema (1 KB)

Event Timeline