Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P2626
CollaborationKit content model JSON schema
Active
Public
Actions
Authored by
Harej
on Feb 16 2016, 5:32 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
MediaWiki-extensions-CollaborationKit
WikiProject-X
Referenced Files
F3364449: CollaborationKit content model JSON schema
Feb 24 2016, 5:27 AM
2016-02-24 05:27:50 (UTC+0)
Subscribers
Halfak
Isarra
{
"$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"
}
}
}
}
}
}
}
}
Event Timeline
Harej
changed the title of this paste from untitled to
CollaborationKit content model JSON schema
.
Feb 16 2016, 5:32 PM
2016-02-16 17:32:39 (UTC+0)
Harej
updated the paste's language from
autodetect
to
json
.
Harej
edited the content of this paste.
(Show Details)
Harej
added projects:
MediaWiki-extensions-CollaborationKit
,
WikiProject-X
.
Harej
added subscribers:
Isarra
,
Halfak
.
Harej
mentioned this in
T120928: Specify a proper JSON Schema for WikiProjects
.
Feb 16 2016, 5:34 PM
2016-02-16 17:34:49 (UTC+0)
Log In to Comment