|
|
```
|
|
|
[
|
|
|
{
|
|
|
"$id": "numbers.json",
|
|
|
"definitions": {
|
|
|
"timestamp": {
|
|
|
"type": "number",
|
|
|
"minimum": 0,
|
|
|
"maximum": 2000000000
|
|
|
},
|
|
|
"borderWidth": {
|
|
|
"type": "number",
|
|
|
"minimum": 0,
|
|
|
"maximum": 5
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"$id": "strings.json",
|
|
|
"definitions": {
|
|
|
"_id": {
|
|
|
"type": "string",
|
|
|
"pattern": "^MP[a-zA-Z]+:[0-9a-zA-Z\\-]+"
|
|
|
},
|
|
|
"hexColor": {
|
|
|
"type": "string",
|
|
|
"pattern": "^#[a-fA-F0-9]{6}"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPAffiliation.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"addressLine1": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"addressLine2": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"addressLine3": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"city": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"country": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"county": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"department": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"institution": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPAffiliation"
|
|
|
]
|
|
|
},
|
|
|
"postCode": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"priority": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPAuxiliaryObjectReferenceStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"embeddedReferenceStringComponents": {
|
|
|
"type": "array",
|
|
|
"items": [
|
|
|
{
|
|
|
"$ref": "MPStyleableStringComponent.json#"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPAuxiliaryObjectReferenceStyle"
|
|
|
]
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPBorder.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"color": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPBorder"
|
|
|
]
|
|
|
},
|
|
|
"style": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"width": {
|
|
|
"$ref": "numbers.json#/definitions/borderWidth"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"width",
|
|
|
"_id",
|
|
|
"objectType"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPBorderStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"doubleLines": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPBorderStyle"
|
|
|
]
|
|
|
},
|
|
|
"pattern": {
|
|
|
"type": "array",
|
|
|
"items": [
|
|
|
{
|
|
|
"type": "number"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPCaptionStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"embeddedCaptionComponents": {
|
|
|
"type": "array",
|
|
|
"items": [
|
|
|
{
|
|
|
"$ref": "MPStyleableStringComponent.json#"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"embeddedFigureTitleComponents": {
|
|
|
"type": "array",
|
|
|
"items": [
|
|
|
{
|
|
|
"$ref": "MPStyleableStringComponent.json#"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"figureTitleNumberingScheme": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"decimal"
|
|
|
]
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPCaptionStyle"
|
|
|
]
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"embeddedCaptionComponents",
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPColor.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"deviceColor": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPColor"
|
|
|
]
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"value": {
|
|
|
"$ref": "strings.json#/definitions/hexColor"
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPColorScheme.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"colors": {
|
|
|
"type": "array",
|
|
|
"items": [
|
|
|
{
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPColorScheme"
|
|
|
]
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPFigureLayout.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"columns": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPFigureLayout"
|
|
|
]
|
|
|
},
|
|
|
"rows": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"columns",
|
|
|
"rows",
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPFigureStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"captionPosition": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"above",
|
|
|
"top",
|
|
|
"bottom",
|
|
|
"below"
|
|
|
]
|
|
|
},
|
|
|
"innerBorder": {
|
|
|
"$ref": "MPBorder.json#"
|
|
|
},
|
|
|
"innerSpacing": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPFigureStyle"
|
|
|
]
|
|
|
},
|
|
|
"outerBorder": {
|
|
|
"$ref": "MPBorder.json#"
|
|
|
},
|
|
|
"outerSpacing": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"preferredXHTMLElement": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"captionPosition",
|
|
|
"innerBorder",
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPListItemBulletStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"bulletStyle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"customBullet": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPListItemBulletStyle"
|
|
|
]
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"_id",
|
|
|
"objectType"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPNumberingStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"numberingScheme": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"none",
|
|
|
"decimal",
|
|
|
"decimal-with-leading-zero",
|
|
|
"uppercase-latin",
|
|
|
"lowercase-latin",
|
|
|
"uppercase-roman",
|
|
|
"lowercase-roman",
|
|
|
"lowercase-greek"
|
|
|
]
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPNumberingStyle"
|
|
|
]
|
|
|
},
|
|
|
"prefix": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"suffix": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"startIndex": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"startIndex",
|
|
|
"_id",
|
|
|
"objectType"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPPageLayout.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"beginChaptersOnRightHandPages": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"bottomMargin": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"defaultParagraphStyle": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"displayUnits": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"embeddedNumberingStyle": {
|
|
|
"$ref": "MPNumberingStyle.json#"
|
|
|
},
|
|
|
"leftMargin": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"mirrorPagesHorizontally": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPPageLayout"
|
|
|
]
|
|
|
},
|
|
|
"pageSize": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"rightMargin": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"showManuscriptTitle": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"topMargin": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"beginChaptersOnRightHandPages",
|
|
|
"bottomMargin",
|
|
|
"displayUnits",
|
|
|
"defaultParagraphStyle",
|
|
|
"leftMargin",
|
|
|
"mirrorPagesHorizontally",
|
|
|
"pageSize",
|
|
|
"rightMargin",
|
|
|
"topMargin",
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPParagraphElement.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPParagraphElement"
|
|
|
]
|
|
|
},
|
|
|
"paragraphStyle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"contents": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"placeholderInnerHTML": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"elementType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"p"
|
|
|
]
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"elementType",
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPParagraphStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"alignment": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"bottomSpacing": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"embeddedListItemBulletStyles": {
|
|
|
"type": "object",
|
|
|
"patternProperties": {
|
|
|
"^\\d+$": {
|
|
|
"$ref": "MPListItemBulletStyle.json#"
|
|
|
}
|
|
|
},
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
"embeddedListItemNumberingStyles": {
|
|
|
"type": "object",
|
|
|
"patternProperties": {
|
|
|
"^\\d+$": {
|
|
|
"$ref": "MPNumberingStyle.json#"
|
|
|
}
|
|
|
},
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
"firstLineIndent": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"headIndent": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"hideListNumberingSuffixForLastLevel": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"hierarchicalListNumbering": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"kind": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"lineSpacing": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"listItemIndentPerLevel": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"listHeadIndent": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"listTailIndent": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"nextStyle": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPParagraphStyle"
|
|
|
]
|
|
|
},
|
|
|
"partOfTOC": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"preferredXHTMLElement": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sectionNumberingStyle": {
|
|
|
"$ref": "MPNumberingStyle.json#"
|
|
|
},
|
|
|
"tailIndent": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"textStyling": {
|
|
|
"$ref": "MPTextStyling.json#"
|
|
|
},
|
|
|
"topSpacing": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"alignment",
|
|
|
"firstLineIndent",
|
|
|
"headIndent",
|
|
|
"kind",
|
|
|
"lineSpacing",
|
|
|
"preferredXHTMLElement",
|
|
|
"tailIndent",
|
|
|
"topSpacing",
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPSection.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"placeholderTitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"elementIDs": {
|
|
|
"type": "array",
|
|
|
"items": [
|
|
|
{
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
],
|
|
|
"additionalItems": false
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPSection"
|
|
|
]
|
|
|
},
|
|
|
"path": {
|
|
|
"type": "array",
|
|
|
"items": [
|
|
|
{
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
],
|
|
|
"additionalItems": false
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"path",
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPStyleableStringComponent.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"bold": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"editable": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"italic": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPStyleableStringComponent"
|
|
|
]
|
|
|
},
|
|
|
"placeholderString": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"bold",
|
|
|
"italic",
|
|
|
"_id",
|
|
|
"objectType"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPTableStyle.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"bodyBackgroundColor": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"bodyBackgroundAlternateColor": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"bodyColumnSeparatorBorder": {
|
|
|
"$ref": "MPBorder.json#"
|
|
|
},
|
|
|
"footerBackgroundColor": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"footerBottomBorder": {
|
|
|
"$ref": "MPBorder.json#"
|
|
|
},
|
|
|
"footerTopBorder": {
|
|
|
"$ref": "MPBorder.json#"
|
|
|
},
|
|
|
"footerTopSpacing": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"headerBackgroundColor": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"headerBottomBorder": {
|
|
|
"$ref": "MPBorder.json#"
|
|
|
},
|
|
|
"headerBottomSpacing": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"headerTopBorder": {
|
|
|
"$ref": "MPBorder.json#"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPTableStyle"
|
|
|
]
|
|
|
},
|
|
|
"desc": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"subtitle": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"title": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"sessionID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"_rev": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"createdAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
},
|
|
|
"updatedAt": {
|
|
|
"$ref": "numbers.json#/definitions/timestamp"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"_id",
|
|
|
"_rev",
|
|
|
"objectType",
|
|
|
"createdAt",
|
|
|
"updatedAt"
|
|
|
],
|
|
|
"type": "object"
|
|
|
},
|
|
|
{
|
|
|
"$id": "MPTextStyling.json",
|
|
|
"additionalProperties": false,
|
|
|
"properties": {
|
|
|
"bold": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"capitalized": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"color": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
},
|
|
|
"fontFamily": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"fontSize": {
|
|
|
"type": "number"
|
|
|
},
|
|
|
"italic": {
|
|
|
"type": "boolean"
|
|
|
},
|
|
|
"objectType": {
|
|
|
"type": "string",
|
|
|
"enum": [
|
|
|
"MPTextStyling"
|
|
|
]
|
|
|
},
|
|
|
"_id": {
|
|
|
"$ref": "strings.json#/definitions/_id"
|
|
|
}
|
|
|
},
|
|
|
"required": [
|
|
|
"bold",
|
|
|
"fontSize",
|
|
|
"italic",
|
|
|
"_id",
|
|
|
"objectType"
|
|
|
],
|
|
|
"type": "object"
|
|
|
}
|
|
|
]
|
|
|
``` |
|
|
\ No newline at end of file |